vim ~/.bash_profile
export PATH="/usr/local/opt/openssl/bin:/Users/argszero/scm/github.com/argszero/memo/bin:$PATH"
alias ls="ls -G"
alias ll="ls -Gl"
# change history size and format
export HISTIGNORE="ls:ll:cd:pwd"
export HISTFILESIZE=10000
export HISTSIZE=10000
export HISTCONTROL=ignoredups:erasedups
export HISTTIMEFORMAT="[$(tput setaf 6)%F %T$(tput sgr0)]: " # colorful date
/usr/local/Cellar/maven/3.5.2/libexec/conf/settings.xml
https://stackoverflow.com/questions/39972335/how-do-i-press-and-hold-a-key-and-have-it-repeat-in-vscode/44010683#44010683
控制台里执行:defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false,然后重启vscode
sudo vim /etc/pam.d/sudo add: auth sufficient pam_tid.so auth sufficient pam_tid.so
docker run --name mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=test -p 3306:3306 -d mysql:8