This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.JPG' -exec bash -c 'mv "$1" "${1/%.JPG/.jpg}"' -- {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku run console | |
Dalli::Client.new.flush |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install --use-gcc fontforge | |
fontforge -script fontpatcher MyFontFile.ttf | |
rm /tmp/Powerline.cache | |
in .vimrc | |
set guifont=Menlo\ for\ Powerline:h14 | |
let g:Powerline_symbols = 'fancy' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm use system | |
brew install https://raw.github.com/gist/1594296/vim.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku create --stack cedar | |
heroku rename new_app | |
heroku create new_app --stack cedar | |
heroku addons:add logging:expanded | |
heroku addons:upgrade logging:expanded | |
http://devcenter.heroku.com/articles/mongolab | |
heroku addons:add mongolab:starter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew uninstall imagemagick | |
brew install imagemagick --disable-openmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew remove node --force | |
brew versions node | |
git checkout 3eea412 /usr/local/Library/Formula/node.rb | |
brew install node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for other JRuby processes, use nailgun and 1.9 | |
export JRUBY_OPTS="--ng --1.9" | |
# to start a nailgun server | |
export JRUBY_OPTS='--1.9' | |
function rbenvsudo(){ | |
executable=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--type-set=haml=.haml | |
--type-set=sass=.sass | |
--type-set=scss=.scss | |
--type-set=erb=.erb | |
--type-set=coffee=.coffee | |
--type-set=feature=.feature | |
--type-add=ruby=.haml | |
--type-add=js=.javascript | |
--type-add=js=.coffee | |
--ignore-dir=vendor/bundle/ |