Skip to content

Instantly share code, notes, and snippets.

View MScottBlake's full-sized avatar
💥

Scott Blake MScottBlake

💥
View GitHub Profile
@MScottBlake
MScottBlake / 1-Reboot to Recovery.command
Last active October 26, 2023 15:20
Removing a Non-Removable MDM Profile
#!/bin/zsh
# Elevate permissions, if needed
if [ $USER != 'root' ]; then
sudo $0
exit 0
fi
# Reboot to Recovery
/usr/sbin/nvram "recovery-boot-mode=unused"
@MScottBlake
MScottBlake / 0_reuse_code.js
Created January 4, 2017 18:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console