Skip to content

Instantly share code, notes, and snippets.

@glimpsed
Last active March 8, 2018 03:58
Show Gist options
  • Select an option

  • Save glimpsed/b9bedcb8d9c33df233a9 to your computer and use it in GitHub Desktop.

Select an option

Save glimpsed/b9bedcb8d9c33df233a9 to your computer and use it in GitHub Desktop.
OS X tips and tricks
Fix slow Finder:
rm ~/Library/Caches/CloudKit/CloudKitMetadata*;killall cloudd
Fix macOS not remembering keyboard shortcuts:
rm ~/Library/Preferences/com.apple.symbolichotkeys.plist
rm ~/Library/Preferences/com.apple.symbolichotkeys.plist.lockfile
log out
set keyboard shortcuts
log out
Create a 4 GB RAM disk:
diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://8388608`
Set Mac to start and shutdown
sudo pmset repeat wakeorpoweron MTWRFSU 07:30:00 shutdown MTWRFSU 22:00:00
Disable mouse acceleration:
defaults write .GlobalPreferences com.apple.mouse.scaling -1
Create bootable disk Yosemite:
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Yosemite.app
Make Offline Mirror of a Site using `wget`
wget -mkEpnp http://example.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment