Skip to content

Instantly share code, notes, and snippets.

@alan23273850
Last active October 22, 2022 16:19
Show Gist options
  • Save alan23273850/f4316c174fca13a5f9e7b428510ea0e7 to your computer and use it in GitHub Desktop.
Save alan23273850/f4316c174fca13a5f9e7b428510ea0e7 to your computer and use it in GitHub Desktop.
alias rm='rm -i'
alias ps='pipenv shell'
alias pi='pipenv install'
alias dc='deactivate'
alias bwt='cd content && bash insert_title_and_tags.sh && cd .. && hugo server --disableFastRender'
alias bw='git commit -m "commit" && git push && cd content && bash insert_title_and_tags.sh && cd .. && hugo && cd public && git add . && git commit -m "commit" && git push && cd ..'
alias new='f(){ hugo new zerojudge/$1.md; touch static/zerojudge/$1.cpp; unset -f f; }; f'
alias z='cd ..'
alias ga='git add'
alias gb='git branch'
alias gch='git checkout'
alias gcl='git clone'
alias gcm='git commit -m'
alias gcp='git cherry-pick'
alias gl='git log'
alias gph='git push'
alias gpl='git pull'
alias gs='git status'
alias gsd='git stash drop'
alias gsh='git stash'
alias gsl='git stash list'
alias gsp='git stash pop'
alias z='cd ..'
alias tar1='tar -zcvf'
alias tar2='tar -zxvf'
alias mc='make clean'
alias md='make debug'
alias mr='make release'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment