Skip to content

Instantly share code, notes, and snippets.

Nerding out on code

DJ Mason djmason9

Nerding out on code
View GitHub Profile
View Disable Device Enrollment Program (DEP) notification on macOS

Disable Device Enrollment Program (DEP) notification on macOS

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

View Disable Device Enrollment Notification on

Disable Device Enrollment Notification on

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable
lbrenman /
Last active Jun 11, 2018
Arrow Builder coding notes, tips and tricks

Arrow Builder coding notes, tips and tricks

  • Create a new project using:

    appc new
  • For npm's required in your project, you need to do the following:

    • "sudo npm install " for running locally OR add to package.json -> devDependencies section
gbaman /
Last active Apr 3, 2021
Simple guide for setting up OTG modes on the Raspberry Pi Zero, the fast way!

Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)

More details -

For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh in the SD card as well. By default SSH i

kriegsman / ColorWavesWithPalettes.ino
Created Aug 19, 2015
ColorWavesWithPalettes - demo of using cpt-city palettes in FastLED code
View ColorWavesWithPalettes.ino
#include "FastLED.h"
// ColorWavesWithPalettes
// Animated shifting color waves, with several cross-fading color palettes.
// by Mark Kriegsman, August 2015
// Color palettes courtesy of cpt-city and its contributors:
// Color palettes converted for FastLED using "PaletteKnife" v1:
mstepanov / app.js
Created Mar 19, 2013
Titanium ListView Examples
View app.js
var rootWin = Ti.UI.createWindow();
var navGroup = Ti.UI.iPhone.createNavigationGroup({
window: rootWin
var button = Ti.UI.createButton({
title: 'Open ListView Tests'
button.addEventListener('click', function() {