Skip to content

Instantly share code, notes, and snippets.

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

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

   c. It will then show a remaining time of about 10-15 minutes

@emanjavacas
emanjavacas / zip_visitors.clj
Last active May 31, 2016 08:42
Clojure Zipper Lazy Visitors
(require 'clojure.zip :as zip)
;;; see also
;;; https://gist.github.com/luxbock/4a4cafdcf2522ede6575
;;; http://stackoverflow.com/a/11426326
(defn depth-first [loc]
(take-while (complement zip/end?) (iterate zip/next loc)))
;;; (peek PQueue) -> head