Skip to content

Instantly share code, notes, and snippets.

@anthonyringoet
Created September 28, 2012 12:06
Show Gist options
  • Save anthonyringoet/3799432 to your computer and use it in GitHub Desktop.
Save anthonyringoet/3799432 to your computer and use it in GitHub Desktop.
personal .extra for use with .dotfiles
# folder aliases
alias home="cd ~"
alias p="cd ~/gitprojects"
alias dropbox="cd ~/Dropbox"
alias sites="cd ~/Sites"
alias desk="cd ~/Desktop"
alias logs="subl /Applications/MAMP/logs"
alias hosts="subl ~/Desktop/.alias/_vhosts"
# app aliases
alias drush='/usr/bin/drush'
. ~/.nvm/nvm.sh
alias mou='open -a Mou'
alias webkit2png='python ~/.webkit2png/webkit2png'
alias redis-server-start='redis-server /usr/local/etc/redis.conf'
alias mamp='cd /Applications/MAMP/'
# utilities
alias python-server='python -m SimpleHTTPServer $1'
# by @rem
alias base64='openssl base64 < "$1" | tr -d '\n' | pbcopy'
# http://fronto.be/blog/detail/generate-passwords-from-terminal
alias passgen='openssl rand -base64 14 | pbcopy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment