This file contains 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
spec/ export-ignore | |
src/ export-ignore | |
.gitignore export-ignore | |
Gemfile export-ignore | |
Gemfile.lock export-ignore | |
Guardfile export-ignore | |
Rakefile export-ignore |
This file contains 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
git clone --no-hardlinks orig_repo new_repo | |
cd new_repo | |
git filter-branch --subdirectory-filter directory/containing/desired/file --prune-empty HEAD | |
git reset --hard | |
rm -rf .git/refs/original/ | |
git remote rm origin | |
git update-ref -d refs/original/refs/heads/master | |
git reflog expire --expire=now --all | |
git gc --aggressive --prune=now | |
git repack -ad |
This file contains 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
# See rails source: | |
# https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/caching/pages.rb | |
# | |
# Turn on caching in development, by changing this line to true in config/environments/development.rb: | |
# | |
# config.action_controller.perform_caching = true | |
# | |
# Then run: | |
# | |
# bundle exec rake pages:cache |
This file contains 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
Procfile.me | |
.sass-cache/ |
This file contains 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
############################################ | |
# Modified from emilis bash prompt script | |
# from https://github.com/emilis/emilis-config/blob/master/.bash_ps1 | |
# | |
# Modified for Mac OS X by |
This file contains 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
require 'hpricot' | |
require 'ruby_parser' | |
class ToHaml | |
def initialize(path) | |
@path = path | |
end | |
def convert! | |
Dir["#{@path}/**/*.erb"].each do |file| |
This file contains 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
# Installing ruby-debug19 with ruby-1.9.3 | |
gem install ruby-debug19 -- --with-ruby-include="$rvm_path/src/$(rvm tools identifier)/" |
This file contains 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
skip_vim_plugin "nerdtree" | |
vim_plugin_task "nerdtree-scrooloose", "git://github.com/scrooloose/nerdtree.git" |
This file contains 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
color jellybeans+ | |
let NERDTreeDirArrows = 1 | |
let NERDTreeMouseMode = 1 | |
" <Ctrl-l> redraws the screen and removes any search highlighting. | |
nnoremap <silent> <C-l> :nohl<CR><C-l> |
This file contains 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
alias rs="rails s" | |
alias rc="rails c" | |
alias ber="bundle exec rspec" |