- Minimize app in dock: Opt + Click the icon app (https://apple.stackexchange.com/a/38201)
- Screenshot: ⌘ cmd + Shift + 3/4
- Record Screen: ⌘ cmd + Shift + 5 - https://support.apple.com/en-us/HT208721
- Set primary display: https://www.addictivetips.com/mac-os/set-the-primary-display-on-macos/
- GIF Screen Recorder: ???
- Set default editor to
nano
: https://unix.stackexchange.com/a/501863 - Resize window: https://www.theverge.com/2020/3/6/21168153/macos-catalina-windows-size-rearrange-how-to
- See all opened windows: System Preferences > Mission Control > Keyboard & Mouse Shortcuts => Mission Control : Left Option - https://support.apple.com/guide/mac-help/open-windows-spaces-mission-control-mh35798/mac
- make auto-hide/show for the dock faster - https://apple.stackexchange.com/a/46222
defaults write com.apple.dock autohide-time-modifier -float 0.5;killall Dock
- Go to specific folder: shift + ⌘ cmd + G (makesure you on Finder window)
- Iterm2 disable automatically copied when text selected: https://apple.stackexchange.com/a/328443
- Others: https://github.com/secfigo/dotfiles
~/.bash_profile
# Setup Python Virtualenv
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_VIRTUALENV=/Users/{user_name}/Library/Python/3.8/bin/virtualenv
source /Users/{user_name}/Library/Python/3.8/bin/virtualenvwrapper.sh
alias virtualenv="/Users/{user_name}/Library/Python/3.8/bin/virtualenv"
# Setup Default Editor to Nano
export EDITOR=nano
export VISUAL="$EDITOR"
~/.zshrc
# Custom Aliases
alias cloudegg="cd /Users/{user_name}/envs/env-cloud-egg/ && source bin/activate && cd cloud-egg/"
# https://github.com/zsh-users/zsh-syntax-highlighting
source /Users/{user_name}/.oh-my-zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Acticate the custom profile setup
source ~/.bash_profile
- Mac keyboard shortcut: https://support.apple.com/en-us/HT201236
- Atom editor cheat sheet: http://sweetme.at/2014/03/10/atom-editor-cheat-sheet/
- Atom editor cheat sheet: http://blog.bugsnag.com/atom-editor-cheat-sheet
https://gist.github.com/fzrhrs/01cc8cb5f34bfd91e8a7a09dba5be3fe
Getting slow when loading the local django webpage that using docker? You can uncheck some unnecessary settings, such as "send usage statistics", "show weekly tips", etc.
Rectangle tips;
- Full screen: Ctrl + Alt Opt + Enter
- Left side: Ctrl + Alt Opt + Left
- Right side: Ctrl + Alt Opt + Right