Skip to content

Instantly share code, notes, and snippets.

@cirias
Last active August 29, 2015 14:17
Show Gist options
  • Save cirias/0ff00032a0c20aa25ace to your computer and use it in GitHub Desktop.
Save cirias/0ff00032a0c20aa25ace to your computer and use it in GitHub Desktop.
osx disable ctrl shift up/down
osx disable ctrl shift up/down
  1. open ~/Library/Preferences/com.apple.symbolichotkeys.plist
  2. For items 34, 35, and 37, set enabled to NO.
plutil -convert xml1 file.plist

show listening port on osx
lsof -n -i4TCP:$PORT | grep LISTEN

identifyservicesd cpu usage 100%

Gmail password has been changed


Turn off keyboard
sudo kextunload /System/Library/Extensions/AppleHIDKeyboard.kext/

NOTE: Can't load the keyboard unless restart the Mac


Safe Mode and Recovery Tool

Recovery: Hold Command + R when heard the start sound until Apple logo appear.

Safe Mode: Hold shift instead of Command + R


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment