For faster connection speed and more flexibility.
- Start Xcode in command line by running this in commandline
/Applications/Xcode.app/Contents/MacOS/Xcode - Start downloading of the simulator
- Cancel it. YES CANCEL IT!
- You will get a message like this:
| #!/usr/bin/python | |
| """ | |
| Removes cached apple updates that are older than 24 hours | |
| """ | |
| import datetime | |
| import os | |
| import shutil | |
| import sys |
For faster connection speed and more flexibility.
/Applications/Xcode.app/Contents/MacOS/Xcode| #!/usr/bin/python | |
| # pylint: disable=C0103, W0612, E1101, E0602, E0611 | |
| # pylint: disable=W0101, W0110, W0141 | |
| ''''Fix 802.1x When Using Config Profiles and EAP-TLS''' | |
| # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
| # | |
| # This script will determine the profile ID that was used when | |
| # installing the 802.1x Ethernet Identity preference and make | |
| # a copy of the keychain entry to be used as a user identity preference | |
| # so that any Ethernet can be used when a user is logged in. As of 10.12.3 |
| #!/usr/bin/python | |
| # pylint: disable=E0611, E1101, E0602 | |
| ''''Fix 802.1x When Using Config Profiles and PEAP-MSCHAPV2 or EAP-TLS''' | |
| # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
| # | |
| # This script will find the system profile that is attached to one ethernet | |
| # interface from our configuration profile and then copy it to all other | |
| # ethernet interfaces so that other ethernet interfaces can be used instead | |
| # of just the FirstActiveEthernet at time of profile installation. This issue | |
| # is still an issue as of 10.12.3 |
| <?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>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>PayloadCertificateFileName</key> | |
| <string>my.org.cer</string> | |
| <key>PayloadContent</key> |
| #!/bin/bash | |
| cat <<__MARKDOWN__ | | |
| # Title ÅÄÖ | |
| * list | |
| __MARKDOWN__ | |
| /usr/bin/python <( cat <<__EOF__ | |
| #!/usr/bin/python |
| #!/bin/sh | |
| # Based on investigations and work by Pepijn Bruienne | |
| # Expects a single /Applications/Install macOS Sierra*.app on disk | |
| # Adapted from https://gist.github.com/gregneagle/7c802aef636ac4295536f2e360921bb1 | |
| IDENTIFIER="com.foo.FirmwareUpdateStandalone" | |
| VERSION=1.0 | |
| # find the Install macOS Sierra.app and mount the embedded InstallESD disk image | |
| echo "Mounting Sierra ESD disk image..." |
| from subprocess import Popen, PIPE, STDOUT, check_output | |
| from mimetools import Message | |
| from StringIO import StringIO | |
| from urlparse import urlparse, parse_qs | |
| from urllib import quote, basejoin, urlencode | |
| DEV_SITE = 'https://developer.apple.com' | |
| AUTH_SITE = 'https://idmsa.apple.com' | |
| AUTH_PATH = '/IDMSWebAuth/authenticate' | |
| APPIDKEY_PATH = "/services-account/download?path=%s" |
| package main | |
| import ( | |
| "fmt" | |
| "image" | |
| "image/draw" | |
| "image/jpeg" | |
| "image/png" | |
| "io" | |
| "log" |