This app helps you transform your team and codebase into code hospitable entities.
- Go to the Code Hospitality homepage
- Click the 'DOWNLOAD RIGHT NOW' button
- Twiddle thumbs
- Enjoy
Command Line
pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb - load your rails into a pry sessionDebugger
| #!/usr/bin/env ruby | |
| require 'csv' | |
| require 'json' | |
| if ARGV.size != 2 | |
| puts 'Usage: csv_to_json input_file.csv output_file.json' | |
| puts 'This script uses the first line of the csv file as the keys for the JSON properties of the objects' | |
| exit(1) | |
| end |
| for app in $(heroku apps); do heroku apps:destroy --app $app --confirm $app; done |
| _complete_ssh_hosts () | |
| { | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
| cut -f 1 -d ' ' | \ | |
| sed -e s/,.*//g | \ | |
| grep -v ^# | \ | |
| uniq | \ | |
| grep -v "\[" ; |
| ############################################################################ | |
| # _ | |
| # | |_ _ __ ___ _ ___ __ | |
| # | __| '_ ` _ \| | | \ \/ / | |
| # | |_| | | | | | |_| |> < | |
| # \__|_| |_| |_|\__,_/_/\_\ | |
| # | |
| # Cheatsheets: | |
| # https://devhints.io/tmux | |
| # `property not found` issue: |