Skip to content

Instantly share code, notes, and snippets.

View thony-p's full-sized avatar

Thony thony-p

  • Sky
  • UK
  • 20:21 (UTC +01:00)
View GitHub Profile
@thony-p
thony-p / kubernetes-certifications.md
Created November 28, 2023 09:49 — forked from bakavets/kubernetes-certifications.md
How I passed Kubernetes KCNA, CKAD, CKA, and CKS exams. My experience. Exam tips and tricks.
@thony-p
thony-p / WireGuard_Setup.txt
Created October 29, 2023 11:10 — forked from chrisswanda/WireGuard_Setup.txt
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be
@thony-p
thony-p / 1-Reboot to Recovery.command
Created September 1, 2023 17:31 — forked from MScottBlake/1-Reboot to Recovery.command
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"

Disable Device Enrollment Program (DEP) notification on macOS Monterey.md

NB! command-R is replaced with holding the power button on M1 macs.

With full reinstall (recommended)

   a. Boot into recovery using command-R during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS

   b. Initial installation will run for approximately 1 hour, and reboot once