Last active
April 7, 2020 15:53
-
-
Save Apreche/1239622 to your computer and use it in GitHub Desktop.
bash_aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias apt-search="apt-cache search --names-only" | |
alias greppy='find ! -path "*migrations*" -name "*.py" | xargs grep' | |
alias grephtml='find -name "*.html" | xargs grep' | |
alias grepjs='find -name "*.js" | xargs grep' | |
alias grepcss='find -name "*.css" | xargs grep' | |
alias grepall='find ! -path "*migrations*" -and ! -name "*.pyc" | xargs grep' | |
alias grepregex='grep -rnE' | |
alias rmpyc='find -name "*.pyc" -delete' | |
alias runserver='./manage.py runserver_plus 0.0.0.0:8000' | |
alias gittag='git tag | sort -g' | |
alias curljax='curl -H "X_REQUESTED_WITH: XMLHttpRequest"' | |
alias prettyjson='python -m json.tool' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment