This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| # Textmate essential bundles | |
| cd /Applications/TextMate.app/Contents/SharedSupport/Bundles | |
| # mkdir -p cd /Applications/TextMate.app/Contents/SharedSupport/Bundles | |
| git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle | |
| git clone git://github.com/textmate/ruby-haml.tmbundle.git | |
| git clone git://github.com/seaofclouds/sass-textmate-bundle.git "Ruby Saas.tmbundle" | |
| git clone git://github.com/bmabey/cucumber-tmbundle.git Cucumber.tmbundle | |
| git clone git://github.com/karnowski/blue-ridge-tmbundle.git JavaScript\ Blue\ Ridge.tmbundle | |
| git clone git://github.com/johnmuhl/nginx-tmbundle.git nginx.tmbundle |
| #!/bin/sh | |
| # Install ImageMagick on Snow Leopard: by kain, improved by mislav and samsoffes | |
| # http://www.icoretech.org/2009/08/install-imagemagick-in-leopard-snow-leopard/ | |
| # Work with 64bit kernel mode | |
| set -e | |
| PREFIX=/usr/local | |
| # Passenger users: amend your Apache global configuration with the following directive | |
| # SetEnv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin |
| #!/bin/sh | |
| trap "exit 2" 1 2 3 13 15 | |
| ## | |
| # Ubuntu. | |
| if [ -f "/etc/lsb-release" ]; then | |
| ### Supported releases. | |
| #ISSUE="`awk '{print $2}' /etc/issue`" | |
| ISSUE="`awk -F"[ |.]" '{print $2$3}' /etc/issue`" |
| # app:sync | |
| # Local and production synchronization | |
| # - require yaml_db plugin | |
| namespace :app do | |
| namespace :sync do | |
| task :all => [:files, :db] | |
| task :files do | |
| `rsync -azv user@host:'/apps/myawesomeapp/shared/files/' #{Rails.root + 'files'}` |