Skip to content

Instantly share code, notes, and snippets.

@rlb3
Created June 3, 2009 03:20
Show Gist options
  • Save rlb3/122769 to your computer and use it in GitHub Desktop.
Save rlb3/122769 to your computer and use it in GitHub Desktop.
COPYFILE_DISABLE=true
PATH=~/bin:/opt/git/bin:/opt/emacs/bin:/opt/perl/bin:/opt/local/bin:$PATH:/usr/local/mysql/bin:/Library/PostgreSQL/8.3/bin/:/Users/robert/.gem/ruby/1.8/bin
LSCOLORS=gxfxcxdxbxegedabagacad
EDITOR="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c -n --alternate-editor=/usr/bin/emacs"
GIT_EDITOR="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c --alternate-editor=/usr/bin/emacs"
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
export PATH COPYFILE_DISABLE LSCOLORS PS1 EDITOR GIT_EDITOR
. ~/.git-completion.sh
alias ls='ls -G'
alias prototype="perl -le 'print prototype qq<CORE::@{[+shift]}>'"
alias d2h="perl -e 'printf qq|%X\n|, int( shift )'"
alias d2o="perl -e 'printf qq|%o\n|, int( shift )'"
alias d2b="perl -e 'printf qq|%b\n|, int( shift )'"
alias h2d="perl -e 'printf qq|%d\n|, hex( shift )'"
alias h2o="perl -e 'printf qq|%o\n|, hex( shift )'"
alias h2b="perl -e 'printf qq|%b\n|, hex( shift )'"
alias o2h="perl -e 'printf qq|%X\n|, oct( shift )'"
alias o2d="perl -e 'printf qq|%d\n|, oct( shift )'"
alias o2b="perl -e 'printf qq|%b\n|, oct( shift )'"
alias scpresume="rsync --partial --progress --rsh=ssh"
alias cs="perl script/*_server.pl -d"
alias carpcs="perl -MCarp::Always script/*_server.pl -d"
alias ubuntu="ssh 172.16.217.129"
alias emacs=$EDITOR
alias ec=$EDITOR
alias ghash='git hash-object'
alias pg_start='pg_ctl -l /Users/robert/Database/logfile start'
alias pg_stop='pg_ctl stop'
alias pg_restart='pg_ctl restart'
alias pg_reload='pg_ctl reload'
alias pg_status='pg_ctl status'
alias pg_kill='pg_ctl kill'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment