Last active
March 5, 2022 14:37
-
-
Save davebulaval/7e08d7997365c5bda57e9f3b04e62053 to your computer and use it in GitHub Desktop.
Personal functions I used in my terminal
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 purge-latex='setopt +o nomatch && rm -f *.aux *.bbl *.blg *.log *.lof *.lot *.synctex.gz *.toc *.nav *.out *.pyg *.snm *.loa' | |
alias package-update='sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove' | |
alias zsh_non_match='setopt +o nomatch' | |
alias connect='sudo openconnect vpncampus.ulaval.ca -u [email protected] --passwd-on-stdin < ~/.vpn/credentials' | |
codecorr() { | |
black ./ && pylint $1 tests | |
} | |
awk() { | |
mawk $1 | |
} | |
alias webcam='sudo modprobe v4l2loopback video_nr=10 card_label="OBS Video Source" exclusive_caps=1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment