Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.59 KB

mac-notes.md

File metadata and controls

59 lines (38 loc) · 1.59 KB

Mac Notes

Check if the computer is throttling

$ pmset -g thermlog

Check the CPU speed limit line

Play a system sound on the command line

$ afplay /System/Library/Sounds/Funk.aiff

Show hidden files in finder

$ defaults write com.apple.finder AppleShowAllFiles YES
$ killall Finder

Allow keyboard hold down repeat

$ defaults write -g ApplePressAndHoldEnabled -bool false

Use zshell by default

$ sudo dscl . -create /Users/$USER UserShell /usr/local/bin/zsh

Don't use the window opening animation

$ defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO

Create install USB drive

Download Sierra (or current Mac OS) via the AppStore App. Cancel out of the installer window when it loads up after it downloads.

The installer app will be in the Applications directory.

After inserting the USB stick, run the following command on the terminal. Note this expects the USB drive to be named Untitled:

$ sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app

Scheduling Timed Jobs

You need to use the launchd agent for this