Skip to content

Instantly share code, notes, and snippets.

@ivan-loh
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save ivan-loh/8137271d4ca15ea759b0 to your computer and use it in GitHub Desktop.

Select an option

Save ivan-loh/8137271d4ca15ea759b0 to your computer and use it in GitHub Desktop.
my osx .bashrc_custom
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/opt/go/libexec/bin
export PATH=$PATH:$GOPATH/bin
_type=$(uname -s)
# BSD Date
if [ "$_type" = "Darwin" ]; then
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
fi
alias tunnel_compute="ssh -L27017:localhost:27017 -L6379:localhost:6379 compute"
alias tunnel_mnemonic="ssh -L27017:localhost:27017 -L6379:localhost:6379 mnemonic"
alias httpserver="python -m SimpleHTTPServer 8888";
alias mongod="ulimit -n 2048 && mongod"
# Mosh Variables
export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment