Skip to content

Instantly share code, notes, and snippets.

Elliot Jordan homebysix

Block or report user

Report or block homebysix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View https_spotter.py
#!/usr/bin/python
# This Python file uses the following encoding: utf-8
# HTTPS Spotter
# Copyright 2016-2019 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
homebysix / PkgCreator_to_AppPkgCreator.py
Last active May 19, 2019
Convert AutoPkg recipes to AppPkgCreator
View PkgCreator_to_AppPkgCreator.py
#!/usr/bin/python
"""
Name: PkgCreator_to_AppPkgCreator.py
Description: Script for converting compatible AutoPkg "pkg" type recipes from using
PkgRootCreator-Copier-PkgCreator to using AppPkgCreator. Be sure to `cd` to
your AutoPkg recipes folder before running this script.
Author: Elliot Jordan <elliot@elliotjordan.com>
Created: 2019-02-13
View shard.sh
#!/bin/bash
###
#
# Name: shard.sh
# Description: This Casper extension attribute takes a Mac serial
# number as input and uses that serial number to output a
# number from 0 to 9. This can be useful in scoping Casper
# policies to a specific percentage of the fleet.
# Author: Elliot Jordan <elliot@elliotjordan.com>
@homebysix
homebysix / get_sourceforge_group_id.py
Last active Mar 18, 2019
get_sourceforge_group_id.py
View get_sourceforge_group_id.py
#!/usr/bin/env python
'''
Name: get_sourceforge_group_id.py
Description: Given the name of a SourceForge project, returns its group
ID. Useful for creating AutoPkg recipes that leverage the
SourceForgeURLProvider processor.
Author: Elliot Jordan <elliot@elliotjordan.com>
Created: 2015-07-11
@homebysix
homebysix / ip_addresses.sh
Last active Mar 18, 2019
A Casper extension attribute that displays the active IP addresses of the Mac.
View ip_addresses.sh
#!/bin/bash
###
#
# Name: ip_addresses.sh
# Description: A Casper extension attribute that displays the active IP
# addresses of the Mac.
# Author: Elliot Jordan <elliot@elliotjordan.com>
# Created: 2014-06-04
# Last Modified: 2015-03-18
@homebysix
homebysix / git_version.sh
Last active Mar 18, 2019
Casper extension attribute that collects the version of Git installed.
View git_version.sh
#!/bin/sh
###
#
# Name: git_version.sh
# Description: Casper extension attribute that displays the version of Git.
# Excludes /usr/bin/git in order to prevent Xcode install prompt.
# Author: Elliot Jordan <elliot@elliotjordan.com>
# Created: 2014-12-19
# Last Modified: 2014-12-22
@homebysix
homebysix / is_in_specified_subnet.sh
Last active Mar 18, 2019
is_in_specified_subnet.sh
View is_in_specified_subnet.sh
#!/bin/bash
###
#
# Name: is_in_specified_subnet.sh
# 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 <elliot@elliotjordan.com>
# Created: 2015-09-21
@homebysix
homebysix / jamfHelper_help.txt
Last active Mar 18, 2019
jamfHelper_help.txt
View jamfHelper_help.txt
JAMF Helper Help Page
Usage: jamfHelper -windowType [-windowPostion] [-title] [-heading] [-description] [-icon] [-button1] [-button2] [-defaultButton] [-cancelButton] [-showDelayOptions] [-alignDescription] [-alignHeading] [-alignCountdown] [-timeout] [-countdown] [-iconSize] [-lockHUD] [-startLaunchd] [-fullScreenIcon] [-kill]
-windowType [hud | utility | fs]
hud: creates an Apple "Heads Up Display" style window
utility: creates an Apple "Utility" style window
fs: creates a full screen window the restricts all user input
WARNING: Remote access must be used to unlock machines in this mode
@homebysix
homebysix / .gitlab-ci.yml
Last active Jan 25, 2019
MunkiPkg linting
View .gitlab-ci.yml
variables:
TZ: America/Los_Angeles
munkipkg_linting:
script: python munkipkg_linting.py
@homebysix
homebysix / osx-software-update-urls.txt
Last active Jan 21, 2019 — forked from geoff-nixon/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):
https://swscan.apple.com/scanningpoints/scanningpointX.xml
10.4 (Tiger):
https://swscan.apple.com/content/catalogs/index.sucatalog
https://swscan.apple.com/content/catalogs/index-1.sucatalog
10.5 (Leopard):
https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog
You can’t perform that action at this time.