Press CMD-SHIFT-. to show dot files in finder / open dialogs.
To trust a new CA cert, launch "sudo keychain-access" and select "File :: Import Items". Select the cert you want to trust (for example ~/.mitmproxy/mitmproxy-ca-cert.pem or similar). The cert first appears under "Certificate" marked with a red cross meaning not trusted. Double click the cert to open "get info" dialog for the cert, expand the "Trust" section and where it says "When using this certificate:" select value "Always trust"
Trust CA cert via CLI command: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/.mitmproxy/mitmproxy-ca-cert.pem
Command-Shift-5 to take screenshot or screen recording
Karabiner-Elements for fixing keyboard
chsh -s /bin/bash
# .bashrc
export BASH_SILENCE_DEPRECATION_WARNING=1
source $(brew --prefix git)/etc/bash_completion.d/git-completion.bash
source $(brew --prefix git)/etc/bash_completion.d/git-prompt.sh
export PS1='\[\e]0;\u@\h: \w\a\]\[\e[0;36m\]\u@\h: \w\[\e[1;32m\]$(__git_ps1 " %s") \$ \[\e[0;37m\]'
pfctl firewall
sudo pfctl -s info
sudo pfctl -e
sudo pfctl -d