Skip to content

Instantly share code, notes, and snippets.

@zhangolve
Created March 21, 2019 06:55
Show Gist options
  • Select an option

  • Save zhangolve/d4e273903e37fd75265bdee7e98923b1 to your computer and use it in GitHub Desktop.

Select an option

Save zhangolve/d4e273903e37fd75265bdee7e98923b1 to your computer and use it in GitHub Desktop.
.zshrc
alias zshconfig="sudo vim ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"alias ll='ls -alF'
alias la='ls -A'
#alias l='ls -CF'
alias ljmall='cd ~/Desktop/honovation/ljmall'
alias ljdd='psql -h 127.0.0.1 -U veil ljmall'
alias tunnel='veil tunnel-to ljmall-public--2 ljhost-01.dmright.com'
alias gits='git status'
alias ssstart='sudo sslocal -c /etc/shadowsock.json -d start'
alias ssrestart='sudo sslocal -c /etc/shadowsock.json -d restart'
alias h='history'
alias cdd='cd ~/Desktop'
alias tunnel-staging='veil tunnel-to ljmall-staging ext.staging.lijiabaobei.com 8122'
alias staging-deploy='veil deploy-env ljmall-staging ../ljsecurity'
alias staging-patch='veil patch-env ljmall-staging ../ljsecurity'
alias prod-patch='veil patch-env ljmall-public--2 ../ljsecurity'
alias prod-deploy='veil deploy-env ljmall-public--2 ../ljsecurity'
# pws: goVeil2011!
alias staging-ssh='ssh [email protected] -p 8122'
alias ljpd='psql -h 10.24.2.30 -U readonly ljmall'
# pws: r1adonly
alias ljpdd='psql -h 10.24.2.30 -U veil ljmall'
# psw: p@55wordProd
alias tunnel-public='veil tunnel-to ljmall-public--2 ljhost-01.dmright.com'
alias ljsd='psql -h 10.25.1.30 -U readonly ljmall'
alias hp='export http_proxy=http://localhost:8123'
alias bby='cd ~/Desktop/github/js-code-lab/node/crawler/billbill-hot'
alias cnpm="npm --registry=https://registry.npm.taobao.org \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npm.taobao.org/dist \
--userconfig=$HOME/.cnpmrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment