Skip to content

Instantly share code, notes, and snippets.

@holin
Created June 30, 2010 14:25
Show Gist options
  • Save holin/458716 to your computer and use it in GitHub Desktop.
Save holin/458716 to your computer and use it in GitHub Desktop.
alias ll="ls -la -G"
#edit .bash_profile
alias vb='vi ~/.bashrc;. ~/.bashrc'
#nginx
alias rg='sudo nginx -s reload'
# mkdir, cd into it
mkcd () {
mkdir -p "$*"
cd "$*"
}
alias server='python -m SimpleHTTPServer'
alias psg='ps aux |grep'
alias ag='alias |grep '
alias lg='sudo lsof -i -P |grep '
alias sc='script/console'
alias ss='script/server'
alias ssp='script/server -p'
alias sg='script/generate'
alias spi='script/plugin install'
alias rdb='rake db:migrate'
alias rt='rake test'
alias pss="RAILS_ENV=production script/server"
alias psc="RAILS_ENV=production script/console"
alias tr='touch tmp/restart.txt'
# alias gp='git push origin master'
alias irbg='irb -rubygems'
alias gb='git branch'
alias gs='git status'
alias gc='git checkout'
# alias gac='git add .;git commit'
alias gac='git add .;git commit -m'
alias gm='git merge'
alias gp='git push'
alias gl='git pull'
alias gi='~/bin/git-info.sh'
alias gw='git-instaweb -d webrick -p 8888'
alias gws='gw --stop'
alias glog='git log --pretty=oneline'
alias t='tail -f -n 200'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment