Skip to content

Instantly share code, notes, and snippets.

Elliot Jordan homebysix

View GitHub Profile
homebysix /
Last active Feb 13, 2019
Convert AutoPkg recipes to AppPkgCreator
import os
import plistlib
from xml.parsers.expat import ExpatError
def evaluate(recipe, recipe_path):
'''Perform conversion to AppPkgCreator.'''
homebysix / .gitlab-ci.yml
Last active Jan 25, 2019
MunkiPkg linting
View .gitlab-ci.yml
TZ: America/Los_Angeles
script: python
homebysix /
Created Jan 10, 2019
import base64
import urllib2
import re
from time import time
import xml.etree.ElementTree as etree
from CoreFoundation import CFPreferencesCopyAppValue # pylint: disable=no-name-in-module
homebysix / postinstall
Created Apr 6, 2018
Trigger 10.13.2 update to begin installing at login window
View postinstall
"/System/Library/CoreServices/Software" -RootInstallMode YES -SkipConfirm YES
import jss
# Connect to the JSS. (Requires python-jss to be configured.)
jss_prefs = jss.JSSPrefs()
j = jss.JSS(jss_prefs)
# Print computer groups.
print j.ComputerGroup()
# This Python file uses the following encoding: utf-8
# HTTPS Spotter
# Copyright 2016 Elliot Jordan
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
homebysix / osx-software-update-urls.txt
Last active Jan 21, 2019 — forked from geoff-codes/osx-software-update-urls.txt
URLs of the index files used by the software update client on OS X
View osx-software-update-urls.txt
10.3 (Panther):
10.4 (Tiger):
10.5 (Leopard):
View email_report.html
* {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 9pt;
line-height: 1.2em;
a {
homebysix /
Last active Nov 13, 2015
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Downloads the current release version of Eclipse.</string>
homebysix /
Last active Mar 18, 2019
# Name:
# Description: A script that detects whether this Mac is on a particular
# subnet, as determined by whether the IP starts with a
# specific string.
# Author: Elliot Jordan <>
# Created: 2015-09-21
You can’t perform that action at this time.