# hexo alias hs='cd ~/ghome/blog && hexo clean && hexo s -p 5000 &' alias hsy='cd ~/ghome/blogyih && hexo clean && hexo s -p 5001 &'
alias cpost='cd ~/ghome/blog/source/_posts'
# deploy blog alias db='~/ghome/blog && sh dp.sh' alias dby='cd ~/ghome/blogyih && sh dp.sh'
alias gp='cd ~/ghome/blog/source && git pull && cd ~/ghome/blog/52binge.github.io && git pull && cd .. && clear' alias gpy='cd ~/ghome/blogyih/source && git pull && cd ~/ghome/blogyih/52binge.github.io && git pull && cd .. && clear'
# Docker alias dis='docker images' alias dri='docker rmi' alias dpa='docker ps -a' alias dks='docker stop' alias dck='docker container kill' alias dcr='docker container rm' alias dlog='docker logs'
# k8s alias kb='kubectl' alias kbg='kubectl get' alias kbd='kubectl delete' alias kbgdps='kbg deploy,po,svc' alias kbdev='export KUBECONFIG=~/kube/dev-kubeconfig' alias kbtest='export KUBECONFIG=~/kube/test-kubeconfig'
## upload # rsync -z -P demo.zip qh:/data/Libin/work_project/ alias cpysk="/Users/blair/ghome/github/spark3.0/pyspark"
alias cwk='cd ~/ghome/6E/work_project' alias csf='cd ~/ghome/6E/self_project' alias cmlsearch='cd ~/ghome/6E/work_project/mlsearch' alias cmlar='cd ~/ghome/6E/work_project/mlar' alias sqh='ssh -L 8889:localhost:8888 -CN qh' alias sqh-mlsearch='ssh -L 8001:localhost:8001 -CN qh' alias sqh-mlar='ssh -L 8003:localhost:8003 -CN qh' alias sqh-mlar-cs='ssh -L 8300:localhost:8300 -CN qh'
alias local_to_es='ssh -L 9200:192.168.x.xxx:9200 -CN onenorth' alias kibana="ssh -D 1080 -CN onenorth"
alias catma='conda activate mlar' alias catms='conda activate mlsearch' alias catnn='conda activate nn_framework'
alias catsk='conda activate spark' alias cata='conda activate anaconda3'
alias doc='~/ghome/6E/chenlibin/data-doc/source/weekly'
# zshrc alias vzp='vim ~/.zprofile' alias szp='source ~/.zprofile'
#pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
4. docker, k8s
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Docker alias dis='docker images' alias dri='docker rmi' alias dpa='docker ps -a' alias dks='docker stop' alias dck='docker container kill' alias dcr='docker container rm' alias dlog='docker logs'
# k8s alias kb='kubectl' alias kbg='kubectl get' alias kbd='kubectl delete' alias kbgdps='kbg deploy,po,svc' alias kbdev='export KUBECONFIG=~/kube/dev-kubeconfig' alias kbtest='export KUBECONFIG=~/kube/test-kubeconfig'
5. work
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# work alias rqh='rsync -v --progress qh:'
alias cw='cd ~/ghome/6E/work_project' alias cs='cd ~/ghome/6E/self_project'
alias cmlar='cd ~/ghome/6E/work_project/mlar'
alias sqh='ssh -L 8889:localhost:8888 -CN qh'
alias catm='conda activate mlar' alias catn='conda activate nn_framework'
# If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. export ZSH=/Users/blair/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes ZSH_THEME="robbyrussell" ZSH_THEME="astro"
Checking if Disqus is accessible...