Skip to content

Instantly share code, notes, and snippets.

View danisfermi's full-sized avatar
🐢
Hing kung

Danis Fermi danisfermi

🐢
Hing kung
View GitHub Profile
@danisfermi
danisfermi / unlockapplewatch3.md
Created January 3, 2018 22:40
Unlock Macbook Pro (High Sierra) with Apple Watch Series 3
  1. Go to System Preferences > iCloud > Turn Off Keychain
  2. Under Keychain Access > Preferences > Reset My Default Keychains
  3. Reboot the Mac
  4. On loging back in, you'll be asked to enter your iCloud password - Enter it and wait for it to sync.
  5. Now, go to System Preferences > Security & Privacy > Click the lock to make changes (ensure it's UNLOCKED)
  6. Check Allow your Apple Watch to unlock your Macbook
@danisfermi
danisfermi / setupdb.md
Created December 15, 2017 23:00
Setup gdb on Mac OS Sierra/High Sierra

Here are the steps to installing and setting up GDB on Mac OS Sierra/High Sierra. Run brew install gdb. On starting gdb, you will get the following error:

Unable to find Mach task port for process-id 2133: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))

To fix this error, follow the following steps: