This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # | |
| # getosversionfromdmg.py | |
| # | |
| # Copyright (c) 2014 The Regents of the University of Michigan | |
| # | |
| # Retrieves the OS version and build from the InstallESD.dmg contained in | |
| # a typical "Install (Mac) OS X <Name>.app" bundle. | |
| # | |
| # To run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| finish_jenkins_autopkg_run.py | |
| Created by Greg Neagle on 2013-08-23. | |
| """ | |
| import os | |
| import plistlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # | |
| # This is a rough Python script that demonstrates running AutoPkg with Jenkins | |
| # as only a "check" action, using the ScriptTrigger plugin. It's assumed | |
| # that AutoPkg is running directly out of a Git checkout from somewhere, but | |
| # this is not necessary. | |
| # | |
| # Also note that the the '-d' option is given to hardcoded recipe | |
| # search directories. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # | |
| # list_unused_munki_pkgs.py | |
| # Tim Sutton | |
| # | |
| # Simple script to list all Munki pkgs not currently referenced in a specific list | |
| # of catalogs. | |
| # It does not delete anything. | |
| # | |
| # CATALOGS can be modified to a list of catalogs in your repo that should be indexed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/munki/munki-python | |
| import sys | |
| import os | |
| from Foundation import NSDate | |
| from Foundation import NSPredicate | |
| def doComparison(comp_string, obj): | |
| print('Comparison: %s' % comp_string) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo IzzyBoot for Fusion Drives | |
| echo Version 1.0 | |
| echo | |
| # Are we already encrypted? | |
| if diskutil cs list | grep "Encrypted Extents" | grep -q "Yes"; then | |
| echo It appears as though this drive is using FileVault2 encryption. This tool is too | |
| echo simple to figure out what to do, but maybe you can use Disk Utility to repartition | |
| echo the drive or remove the encryption first. | |
| echo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
NewerOlder