rails g migration add_status_to_catalogs status:catalog_status
class AddStatusToCatalogs < ActiveRecord::Migration[5.1]
def up
execute <<-SQL
import NextApp, { | |
AppInitialProps | |
} from "next/app"; | |
import { | |
ApolloClient | |
} from "apollo-client"; | |
import { | |
ApolloProvider |
gem 'foreman' | |
gem 'puma' |
config.middleware.use RoutesReloader |
# Thanks to this post: | |
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x | |
$ brew install cabextract | |
$ cd ~/Downloads | |
$ mkdir consolas | |
$ cd consolas | |
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe | |
$ cabextract PowerPointViewer.exe | |
$ cabextract ppviewer.cab |
_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 "\[" ; |