Skip to content

Latest commit

 

History

History
281 lines (244 loc) · 10.9 KB

os-mac.md

File metadata and controls

281 lines (244 loc) · 10.9 KB

MacOS

Table of Contents generated with DocToc

System

  1. Set up iCloud Keychain: Enable: Firewall (+stealth mode), Encryption, Find my mac
  2. Remove unneeded icons
  3. Install Updates
  4. Add Input Sources
  5. Set up Shortcuts
  6. Change computer's name and localhost name to 'mbpap' in Sharing
  7. Turn off screen saver: Never
  8. Disable guest user + login options (buttons, hints)
  9. Safari - set UTF8 default encoding
  10. Remove: iMovies, Garage Band, iPages
  11. apply GPG/PGP and Passwords
  12. Thin local Time Machine snapshots tmutil thinLocalSnapshots / 10000000000 4

Other config

  • Show All File Extensions (can be enabled in a Finder) defaults write NSGlobalDomain AppleShowAllExtensions -bool true
  • Show Hidden Files (hotkey: cmd+shift+.) defaults write com.apple.finder AppleShowAllFiles true
  • Show Path Bar defaults write com.apple.finder ShowPathbar -bool true
  • Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
    • defaults write com.apple.screencapture type -string "png"
  • set-environment-variables
  • awesome-osx
  • macOS-Security-and-Privacy-Guide
  • about file share smb

Resets

Hotkeys

  • cmd+R - bootcamp (recovery and etc.)
  • cmd+alt(option)+R - bootcamp with Ethernet (recovery and etc.)
  • cmd+ctrl+space - emoji picker

Links

Hardware

Finder

  1. Hide and sort sidebar icons
  2. Show Tab, Path, Status; remove toolbar icons
  3. Remove Remote Disc's, hide tags
  4. New windows show ~/
  5. Search the current folder
  6. Icons View:
  • Grid Max
  • Label Right
  • Use as Default
  1. Desktop view
  • Size 64
  • Grid Min
  • Sort Name
  1. Hide Public folder: chflags hidden ~/Public/

Soft

open-source-mac-os-apps

term

iterm2

  • defaults write com.googlecode.iterm2 PromptOnQuit -bool false Don’t display the annoying prompt when quitting iTerm
  • iterm2-solarized.md
  • open "${HOME}/init/Solarized Dark.itermcolors" Install the Solarized Dark theme for iTerm
  • brew update
  • brew outdated
  • brew upgrade
  • brew cleanup
  • brew doctor
  • brew update&&brew outdated&&brew upgrade&&brew cleanup

brew install

  • xcode-select --install - for gcc
  • brew install node wget git gcc clang-format cmake fd cppcheck gcc shellcheck wget yarn httpie

Spectacle

  1. A11y in System Preferences
  2. Launch at login
  3. Run as a background application
  4. Shortcuts with Ctr Option Cmd
  • Center M
  • Full F
  • Left ?
  • Right ?
  • Top ?
  • Bottom ?
  • UL 1
  • LL 3
  • UR 2
  • LR 4
  • Larger =
  • Smaller -

Sindre Sorhus Keybinds

  • Ctrl ` to toggle TotalTerminal.
  • Alt ` to toggle TotalFinder.
  • Alt Space to toggle Dash.
  • Cmd Space to toggle Alfred.
  • Cmd Tab to switch between apps.
  • Ctrl Tab to switch between Chrome/TotalFinder/Sublime tabs.s

Markdown Service Tools

  1. Download
  2. md - Convert - HTML to Clipboard
  3. md - Convert - HTML to Markdown
  4. Show package content, Info.plist
  • Markdown to HTML
  • HTML to Markdown
  1. Copy to ~/Library/Services

Folders that contains app's files (to cleanup)

  • ~/Library/Caches and ./
  • ~/Library/LaunchAgents and ./
  • ~/Library/LaunchDaemons and ./
  • ~/Library/Application Support and ./
  • ~/Library/Application Scripts
  • ~/Library/Containers
  • ~/Library/PreferencePanes
  • ~/Library/Preferences
  • ~/Library/Saved Application State
  • ~/Library/Saved
  • ~/Library/StartupItems
  • ~/Library/Developer/Xcode