Skip to content

Instantly share code, notes, and snippets.

@austenito
austenito / gist:2629842
Created May 7, 2012 19:27
Maddox Def Poetry Jam
you dawg I got no apologies
Ain't no slave to formal methodologies
why become an abuser
when I pimp an application for the user
If you want your app to gain traction
better focus on your abstractions
Cause if you only got details
you'll see nothing but fail whales
{"hostname":"host","run_list":["recipe[apps::gcc]","recipe[config::dock]","recipe[config::finder]","recipe[config::global]","recipe[config::hot_corners]","recipe[config::keyboard]","recipe[config::screensaver]","recipe[config::sshd]","recipe[homebrew::taps]","recipe[homebrew::packages]","recipe[homebrew::environment]","recipe[homebrew]","recipe[app::alfred]","recipe[app::1password]","recipe[app::sublime]","recipe[app::macvim]"],"homebrew":{"packages":["ack","git","p7zip","par","pstree","s3cmd","tmux","tree","unison","unrar"]},"alfred":{"sync_folder":"syncing folder","email":"email","key":""},"1password":{"name":"name","key":""},"sublime":{"key":""},"macvim":{"config_repo":"testing"},"api_key":"e2c72232220a6bf818a40e721739662dc93b529e"}
" show color column
if exists('+colorcolumn')
set colorcolumn=80
endif
testing
gist me
"name" => "web",
"active" => true,
"config" => {
"url" => "http://something.com/webhook"
}
}
bash < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
source /home/vagrant/.rvm/scripts/rvm
rvm install 1.9.3
rvm use 1.9.3
gem install bundler
gem install passenger
gem install rvm-capistrano
rvmsudo passenger-install-nginx-module --auto --auto-download --prefix /opt/nginx
bash < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
source /home/vagrant/.rvm/scripts/rvm
rvm install 1.9.3
rvm use 1.9.3
gem install bundler
gem install passenger
gem install rvm-capistrano
rvmsudo passenger-install-nginx-module --auto --auto-download --prefix /opt/nginx
@austenito
austenito / nginx.conf
Created June 4, 2012 21:45
nginx + passenger configuration
worker_processes 4;
events {
worker_connections 1024;
}
http {
passenger_root /home/vagrant/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.12;
passenger_ruby /home/vagrant/.rvm/wrappers/ruby-1.9.3-p194/ruby;
@austenito
austenito / gist:2882354
Created June 6, 2012 14:53
postgres hungry academy
bash < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
source /home/vagrant/.rvm/scripts/rvm
rvm install 1.9.3
rvm use 1.9.3
gem install passenger
rvmsudo passenger-install-nginx-module --auto --auto-download --prefix /opt/nginx