This file contains 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
# | |
# Common Requirements | |
# See below for *nix and MacOS requirements. | |
# | |
appdirs==1.4.4 | |
attrs==21.4.0 | |
black==22.3.0 | |
certifi==2021.10.8 | |
cffi==1.15.0 | |
cfgv==3.3.1 |
This file contains 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
autopkg run -vvv Xcode.munki -p ~/Downloads/xcode_9.2.xip | |
Processing Xcode.munki... | |
... | |
PackageRequired | |
{'Input': {}} | |
{'Output': {}} | |
XcodeXIPUnpacker | |
{'Input': {'PKG': '/Users/nmcspadden/Downloads/xcode_9.2.xip'}} | |
XcodeXIPUnpacker: Xar unpacking /Users/nmcspadden/Downloads/xcode_9.2.xip | |
XcodeXIPUnpacker: |
This file contains 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
$ autopkg run -vvv Xcode.munki -p ~/Downloads/Xcode_9.3_beta_2.xip | |
Processing Xcode.munki... | |
... | |
PackageRequired | |
{'Input': {}} | |
{'Output': {}} | |
XcodeXIPUnpacker | |
{'Input': {'PKG': '/Users/nmcspadden/Downloads/Xcode_9.3_beta_2.xip'}} | |
XcodeXIPUnpacker: Xar unpacking /Users/nmcspadden/Downloads/Xcode_9.3_beta_2.xip | |
XcodeXIPUnpacker: |
This file contains 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
$ python named_logger.py | |
WARNING:root:warning | |
ERROR:root:error | |
CRITICAL:root:critical | |
Hi. | |
$ python unnamed_logger.py | |
2017-11-28 08:05:40 INFO: Writing verbose debug log to: /var/folders/th/3tqg05g54f73x0k_mstm5wy1_0g_xw/T/mm.XcXk7B.log | |
2017-11-28 08:05:40 INFO: info | |
2017-11-28 08:05:40 WARNING: warning | |
2017-11-28 08:05:40 ERROR: error |
This file contains 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 | |
"""Verify the date because Apple can't.""" | |
import datetime | |
import shell_tools | |
import sys_tools | |
current_year = int(datetime.datetime.now().year) | |
sys_tools.log('CPE-date_verification', 'Year is: %s' % current_year) |
This file contains 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/bash | |
# | |
# Start a linked clone of a VM and list available software updates. | |
declare -r FUSION_PATH="/Applications/VMware Fusion.app" | |
declare -r GUEST_USER="swup" | |
declare -r GUEST_PASSWORD="swup" | |
# Exit status constants. |
This file contains 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
December 2, 2016 at 12:02:02 PM PST Starting phase: Converting disk image | |
December 2, 2016 at 12:02:02 PM PST phase: Converting disk image | |
December 2, 2016 at 12:02:02 PM PST Ejecting image | |
December 2, 2016 at 12:02:02 PM PST message: Ejecting image | |
December 2, 2016 at 12:02:02 PM PST Ejecting '/Volumes/Macintosh HD' | |
December 2, 2016 at 12:02:02 PM PST message: Ejecting '/Volumes/Macintosh HD' | |
December 2, 2016 at 12:02:02 PM PST hdiutil: detach: processing "/Volumes/Macintosh HD" | |
December 2, 2016 at 12:02:02 PM PST LetDIDriverSettleDown: calling IOServiceWaitQuiet... | |
December 2, 2016 at 12:02:02 PM PST DI_kextWaitQuiet: about to call IOServiceWaitQuiet... | |
December 2, 2016 at 12:02:02 PM PST DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000002 seconds |
This file contains 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
autopkg run -vv android_ndk.munki -k RELEASE='r12b' | |
Processing android_ndk.munki... | |
URLTextSearcher | |
{'Input': {'re_pattern': u'"(https:\\/\\/dl\\.google\\.com\\/android\\/repository\\/android-ndk-r12b-darwin-x86_64.zip)"', | |
'url': u'https://github.com/android-ndk/ndk/wiki'}} | |
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl | |
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match | |
URLTextSearcher: Found matching text (match): https://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip | |
{'Output': {'match': 'https://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip'}} | |
URLDownloader |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>OnDemand</key> | |
<true/> | |
<key>autoremove</key> | |
<false/> | |
<key>catalogs</key> | |
<array> |
This file contains 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 | |
"""Add Adobe products to user on-demand.""" | |
import sys | |
# If you need to make sure this is always in your path, use: | |
# sys.path.append('/path/to/your/lib') | |
# Example: | |
# sys.path.append('/opt/facebook/lib') | |
import adobe_tools |
NewerOlder