Skip to content

Instantly share code, notes, and snippets.

clburlison / main.go
Created Jul 20, 2018
2018 Dallas Apple Meetup
View main.go
package main // import ""
// Huge credits to Tom Burgin (bur) & Victor Vrantchan (groob)
import (
clburlison / cfpref.go
Last active Jun 14, 2018
playing with cgo and CFPreferencesCopyAppValue. Currently supports reading Strings, NSData, and Booleans.
View cfpref.go
package main // import ""
import (
#cgo LDFLAGS: -framework CoreFoundation
#include <CoreFoundation/CoreFoundation.h>
clburlison / vbox_verification.txt
Created Mar 15, 2018
ohai/pull/1164 - vbox & vmware
View vbox_verification.txt
Last login: Wed Mar 14 22:54:07 on ttys000
vagrants-MacBook-Pro:embedded vagrant$ ohai hardware
[2018-03-14T22:54:39-07:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
"SMC_version_system": "2.3f35",
"apple_rom_info": "vboxVer_5.2.8vboxRev_121009",
"boot_rom_version": "VirtualBox",
"current_processor_speed": "2.71 GHz",
"l2_cache_core": "256 KB",
"l3_cache": "16 MB",
clburlison / xcode_results_9.2.txt
Created Feb 19, 2018
Xcode 9.2 AutoPkg Results
View xcode_results_9.2.txt
Last login: Thu Feb 8 12:56:50 on ttys001
vagrant-17D47:~ vagrant$ autopkg
-bash: autopkg: command not found
vagrant-17D47:~ vagrant$ sudo installer -pkg /Users/vagrant/Downloads/autopkg-1.0.3.pkg -tgt /
installer: Package name is autopkg-1.0.3
installer: Installing at base path /
installer: The install was successful.
vagrant-17D47:~ vagrant$ autopkg repo-add
Attempting git clone...
clburlison /
Created Jul 19, 2017 — forked from gregneagle/ Reads a preference, prints its value, type, and where it is defined.
import os
import sys
from CoreFoundation import (CFPreferencesAppValueIsForced,

Keybase proof

I hereby claim:

  • I am clburlison on github.
  • I am clburlison ( on keybase.
  • I have a public key ASAvgF1uXQVY5f5DtUWmG44s_7jHF8RFD5b7mqxqrKwvbgo

To claim this, I am signing this object:

clburlison / 10.12.3_10.12.4_launchd.rootless.diff
Created Apr 5, 2017
A diff of the xpc.launchd.rootless file from macOS 10.12.3 to 10.12.4
View 10.12.3_10.12.4_launchd.rootless.diff
--- 10.12.3_16D32/ 2017-04-04 19:17:25.000000000 -0500
+++ 10.12.4_16E195/ 2017-04-04 19:05:56.000000000 -0500
@@ -4,36 +4,13 @@
- <!-- Daemons -->
clburlison /
Created Feb 15, 2017
Update the CFBundleVersion based off of your git commits.
# based on
if git rev-parse --is-inside-work-tree 2> /dev/null > /dev/null; then
echo "Setting CFBundleVersion to Git rev-list --count"
build_number=$(git rev-list HEAD --count)
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $build_number" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"
echo "Not in a Git repo, not setting CFBundleVersion"
clburlison /
Last active Feb 28, 2018
A dirty mwa2 ubuntu 16 guide.

A dirty guide to setup MWA2 on Ubuntu 16. I want to convert this into a blog just haven't found the time.

Go full yolo sudo su

Install packages apt-get install git nginx python-pip python-dev

Let's create our mwa2 web config (no ssl so it's easier & using root because yolo)

clburlison /
Last active Oct 11, 2016
Update pip packages
# from
pip list --outdated | cut -d ' ' -f1 | cut -d = -f1 | xargs -n1 pip install -U