Skip to content

Instantly share code, notes, and snippets.

@5minpause
Created January 23, 2017 10:41
Show Gist options
  • Save 5minpause/3ca88e4cc152c0f92a7d9803fec62128 to your computer and use it in GitHub Desktop.
Save 5minpause/3ca88e4cc152c0f92a7d9803fec62128 to your computer and use it in GitHub Desktop.
alias migrate="rake db:migrate && cd test/dummy && rake db:test:prepare && cd ..."
alias remigrate="rake db:migrate && rake db:migrate:redo && rake db:schema:dump db:test:prepare"
alias remongrate="rake mongoid:migrate && rake mongoid:migrate:redo"
alias gu='gu'
alias g="git"
alias gcoma="git commit -a"
alias s="bundle exec rspec"
alias cuc="bundle exec cucumber"
alias gi="gem install"
alias giv="gem install -v"
alias gci="git pull --rebase && rake && git push"
alias tlf="tail -f"
alias b="bundle"
alias be="bundle exec"
alias bake="bundle exec rake"
alias ln='ln -v'
alias mkdir='mkdir -p'
alias ...='../..'
alias l='ls'
alias ll='ls -al'
alias lh='ls -Alh'
alias staging='heroku run console --remote staging'
alias production='heroku run console --remote production'
alias beanno='bundle exec annotate -p before'
alias beg='bundle exec guard'
alias status="rake db:migrate:status"
alias test:prepare="rake db:test:prepare"
alias pwdcopy="pwd | pbcopy"
alias -g G='| grep'
alias -g M='| less'
alias -g L='| wc -l'
alias -g ONE="| awk '{ print \$1}'"
alias -g subl=subl
alias -g lg=lg
alias git-undo='git reset --soft HEAD^'
alias git-count='git shortlog -sn'
alias gst='g st'
alias bi='bundle install --path .bundle/gems --binstubs .bundle/bin'
alias bu='bundle update'
alias rspec='rspec'
alias da="docker-compose run app"
alias dc="docker-compose"
alias netwtf='sudo /usr/local/Cellar/mtr/0.87/sbin/mtr -n 8.8.8.8'
alias migrateandannotate='bin/rake db:migrate && be annotate -p after'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment