Mac App Store
Microsoft Office 365 - Word, Excel, PowerPoint, Outlook, OneNote, OneDrive
Microsoft Remote Desktop
Brew 🍺 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) " brew install \ colordiff \ composer \ diff-so-fancy \ expect \ git-extras \ php \ mas \ node \ python \ wget brew install --cask \ firefox \ microsoft-edge \ google-chrome \ aerial \ caffeine \ appcleaner \ cheatsheet \ rectangle \ vlc \ gimp \ the-unarchiver \ iterm2 \ microsoft-teams \ diffmerge \ visual-studio-code \ phpstorm \ sequel-pro \ azure-data-studio \ visual-studio-code \ mark-text \ notion \ docker \ postman open https://filezilla-project.org/download.php?type =client brew update && brew upgrade && brew upgrade --cask && brew autoremove && brew cleanup && brew doctor
iTerm2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 brew install --cask iterm2 iTerm2 > Make iTerm2 Default Term Preferences > Profiles > Terminal > Report Terminal Type > xterm-256color Preferences > Profiles > Colors > Color Presets > Dark Background Preferences > Profiles > Profiles > Window > Transparency: 30 Preferences > General > Window > unselect "Native full screen windows" Preferences > Appearance > Dimming > Unselect all dimming Preferences > Profiles > Profiles > Advanced > Semantic History -> Run command : https://github.com/Karmenzind/monaco-nerd-fonts/raw/master/fonts/Monaco%20Nerd%20Font%20Complete.otf Preferences > Profiles > Text > Font > Monaco Nerd Font Preferences > Profiles > Terminal > Notifications > Silence bell https://www.iterm2.com/documentation-shell-integration.html iTerm2 > Install Shell Integration curl -L https://iterm2.com/shell_integration/install_shell_integration_and_utilities.sh | bash https://gist.github.com/squarism/ae3613daf5c01a98ba3a
ZSH - oh-my-zsh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh) " plugins=( aws brew composer colored-man-pages colorize git gitfast git-prompt docker docker-compose extract pip python osx vscode z ) brew install \ zsh-syntax-highlighting \ zsh-autosuggestions \ zsh-completions source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zshsource /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zshif type brew &>/dev/null; then FPATH=$(brew --prefix)/share/zsh-completions:$FPATH autoload -Uz compinit compinit fi
My Shell Config - bash alias, git, vim, and ssh setting1 2 3 4 cd ~git clone https://github.com/rangerz/config.git ~/config/install.sh exec $SHELL
Git + GPG 1 2 3 4 5 6 7 8 9 10 11 12 13 git config --global user.name "Your Name" git config --global user.email "Your Email" brew install gpg gpg --gen-key gpg --list-secret-keys --keyid-format LONG gpg --armor --output public-key.txt --export E68AFE14FC29E92414C2E6AF731D0E574165A8D gpg --armor --output private-key.txt --export-secret-keys git config --global user.signingkey E68AFE14FC29E92414C2E6AF731D0E574165A8C0 git config --global commit.gpgsign true
SSH KeyGen 1 2 3 ssh-keygen -t ed25519 -a 100 ssh-keygen -t rsa -b 4096 -o -a 100
SSH with password (exssh script) 1 2 3 4 5 6 7 8 9 brew install expect curl -O https://gist.githubusercontent.com/rangerz/9e83514acf32ec4b094d0f16ce618ff8/raw/99c98d2d719b119d6eb8fc171762fd2f73d1fd5b/exssh chmod +x exsshsudo mv exssh /usr/local/bin/exssh exssh user@localhost password
MacOS Config Mouse Setting 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # Point & Click - [x] Look up & data detectors- [o] Secondary click - Click or tap with two fingers- [o] Tap to click# Scroll & Zoom - [x] Scroll direction: Natural- [o] Zoon in or out- [x] Smart zoom- [x] Rotate# More Gestures - [o] All# Three finger drag - Accessibility -> Pointer Control -> Trackpad Options -> Enable dragging -> three finger drag- https://support.apple.com/en-us/HT204609
Screenshots Folder 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 defaults write com.apple.screencapture location ~/Desktop/Screenshots defaults write com.apple.screencapture type jpg killall SystemUIServer chflags nohidden ~/Library defaults write com.apple.finder AppleShowAllFiles YES defaults write com.apple.finder ShowPathbar -bool true defaults write com.apple.finder ShowStatusBar -bool true killall Finder;
Keyboard Setting 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # 輸入法 (Typing) - Keyboard -> Input Source -> Select the previous input source -> Zhuyin- Use the Caps Lock key to switch to and from U.S.# Disable Capital Char and Smart Quotes - Keyboard -> Text- [x] Capitalize words outomatically- Use smart quotes and dashes"abc" 'abc' # Shift + Insent (Paste Text) - https://superuser.com/questions/703162/shift-insert-to-paste-in-mac-os-x- https://apple.stackexchange.com/questions/32297/how-can-i-reassign-the-copy-paste-keyboard-shortcuts# Home & End keys like Windows - https://damieng.com/blog/2015/04/24/make-home-end-keys-behave-like-windows-on-mac-os-x
Dock and Menu Bar 1 2 3 - Remove most applications from Dock- "Show recent applications in Dock" off- "Show indicators for open applications" on
Finder 1 2 3 4 - Add home folder to Favorites- Hide all Tags- Show all Filename Extensions- Remove Items from Bin after 30 Days
Keyboard 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 # 輸入法 (Typing) Keyboard -> Input Source -> Select the previous input source -> Chinese, Trad. -> Zhuyin Use the Caps Lock key to switch to and from U.S. # Disable Sticky Key Accessibility -> Keyboard -> Hardware -> Options -> Press the Shift key five times to toggle Sitcky Keys # Shift + Insent => Paste https://superuser.com/questions/703162/shift-insert-to-paste-in-mac-os-x https://apple.stackexchange.com/questions/32297/how-can-i-reassign-the-copy-paste-keyboard-shortcuts # Home & End https://damieng.com/blog/2015/04/24/make-home-end-keys-behave-like-windows-on-mac-os-x mkdir ~/Library/KeyBindings vim ~/Library/KeyBindings/DefaultKeyBinding.dict { "\UF729" = moveToBeginningOfParagraph:; // home "\UF72B" = moveToEndOfParagraph:; // end "$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home "$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end "^\UF729" = moveToBeginningOfDocument:; // ctrl-home "^\UF72B" = moveToEndOfDocument:; // ctrl-end "^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home "^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end } reboot
ulimit https://medium.com/mindful-technology/too-many-open-files-limit-ulimit-on-mac-os-x-add0f1bfddde
Double Screens https://medium.com/thevelops-tech-blog/how-to-switch-focus-between-screens-in-macos-21c6f02883a6
1 2 3 brew install --cask karabiner-elements
Resources