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 | |
| if [ ! $1 ]; then | |
| echo "Usage: byhost_batch_rename.sh <username>" | |
| exit 1 | |
| else | |
| user=$1 | |
| MYUUID=`system_profiler SPHardwareDataType | awk -F"\ " '/Hardware\ UUID/{print $3}'` |
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
| #Generated: 2013-06-19 | |
| # $Rev$ from $Date$ | |
| # Catalog assumes your InstallESD is the latest build available on the Mac App Store. If you are on an older build, uncomment the combo updater. | |
| Installer Disc Builds: 12A269, 12B19, 12C60, 12D78, 12E55 | |
| Output Volume Name: Macintosh HD | |
| Output File Name: 10.8_vanilla | |
| OS Updates: |
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
| CC style installer | |
| Setup/Adobe\ Dreamweaver\ CC_0/ | |
| ├── Install.app | |
| │ └── Contents | |
| │ ├── Dylibs | |
| │ ├── Frameworks | |
| │ ├── Info.plist | |
| │ ├── MacOS | |
| │ ├── PkgInfo |
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 | |
| from Cocoa import * | |
| from Automator import * | |
| from Foundation import NSURL | |
| workflow_path = "/someplace/some.workflow" | |
| file_url = NSURL.fileURLWithPath_(workflow_path) | |
| class completionHandler: | |
| def __call__(self): |
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/bash | |
| /usr/bin/touch "${2}/var/db/.AppleSetupDone" | |
| /usr/bin/touch "${2}/var/db/.SetupRegComplete" | |
| /usr/bin/defaults write "${2}/System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant" DidSeeCloudSetup -bool TRUE | |
| /usr/bin/defaults write "${2}/System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant" GestureMovieSeen -bool TRUE | |
| /usr/bin/defaults write "${2}/System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant" LastCacheCleanupProductVersion -string "10.9" | |
| /usr/bin/defaults write "${2}/System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant" LastPreLoginTasksPerformedBuild -string "13A598" | |
| /usr/bin/defaults write "${2}/System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant" LastPreLoginTasksPerformedVersion -string "10.9" |
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
| <?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>generateduid</key> | |
| <array> | |
| <string>D5E13A65-4CF4-4AD3-913D-46CC16C47E93</string> | |
| </array> | |
| <key>name</key> | |
| <array> |
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
| <?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>autoremove</key> | |
| <false/> | |
| <key>catalogs</key> | |
| <array> | |
| <string>testing</string> | |
| </array> |
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 | |
| import os | |
| import sys | |
| import plistlib | |
| import json | |
| import fnmatch | |
| basepath = '/Library/Printers' | |
| for root, dirs, files in os.walk(basepath): | |
| if fnmatch.fnmatch(root, "*PDE*"): |
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
| # Set load libpython from binary directory default | |
| if standalone_mode and gcc_mode and sys.platform != "darwin": | |
| env.Append( LINKFLAGS = [ "-Wl,-R,'$$ORIGIN'" ] ) | |
| else: | |
| print 'LINKFLAGS for Darwin used' | |
| env.Append( LINKFLAGS = [ "-Wl,-rpath,'$$ORIGIN'" ] ) |
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
| pkgutil --pkgs="com\.microsoft\.office\.[a-z]{2}\..*" | awk -F. '!seen[$4] {print $4} {++seen[$4]}' |