Mounting DMGs w/ HFS partitions:
http://linuxforums.org.uk/index.php?topic=1072.0
apt-get install hfsplus hfsutils hfsprogs dmg2img
#!/usr/bin/python | |
# As written, this requires the following: | |
# - OS X 10.6+ (may not work in 10.10, haven't tested) | |
# - python 2.6 or 2.7 (for collections.namedtuple usage, should be fine as default python in 10.6 is 2.6) | |
# - pyObjC (as such, recommended to be used with native OS X python install) | |
# Only tested and confirmed to work against 10.9.5 | |
# Run with root |
#!/usr/bin/python | |
# modify_basesystem_dmg.py | |
# | |
# Adds additional frameworks to BaseSystem.dmg - Python is default | |
# Modify cpioextract() and xar_source to change what is extracted, | |
# and from what OS X installer PKG. | |
# | |
# To invoke: | |
# | |
# ./modify_basesystem_dmg.py /path/to/InstallESD.dmg |
Mounting DMGs w/ HFS partitions:
http://linuxforums.org.uk/index.php?topic=1072.0
apt-get install hfsplus hfsutils hfsprogs dmg2img
#!/usr/bin/python | |
# As written, this requires the following: | |
# - OS X 10.6+ (may not work in 10.10, haven't tested) | |
# - python 2.6 or 2.7 (for collections.namedtuple usage, should be fine as default python in 10.6 is 2.6) | |
# - pyObjC (as such, recommended to be used with native OS X python install) | |
# Only tested and confirmed to work against 10.9.5 | |
# Run with root |
#!/bin/sh | |
# Install latest vmware tools from vmware.com repo for rhel 6 | |
# get cert | |
wget -P /tmp http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
# install cert | |
sudo rpm --import /tmp/VMWARE-PACKAGING-GPG-RSA-KEY.pub | |
# Setup repo |
#!/usr/bin/python | |
# | |
# Simple python example of a Pashua password prompt window with a checkbox | |
# for saving the password to the keychain. None of it is wired up to | |
# actually function. It's just an example of what you can do. | |
# | |
# For easiest testing, you should have the Pashua.py connector and Pashua.app | |
# in the same directory as this script. | |
# | |
# The test password is 'password'. |
#!/usr/bin/python | |
import ctypes, ctypes.util | |
# Import CoreGraphics as a C library, so we can call some private functions | |
c_CoreGraphics = ctypes.CDLL(ctypes.util.find_library('CoreGraphics')) | |
def disable_beam_sync(doDisable): | |
if doDisable: | |
# Disabling beam sync: | |
# 1st: Enable Quartz debug |
When Apple moved to Xcode 5 (and later 6), they changed how you embed the Python.framework in a project: https://developer.apple.com/library/mac/technotes/tn2328/_index.html
This is a basic walkthrough of the process of conversion per that documentation for Xcode 6.
The example used here is the latest version of grahamgilbert's Crypt (at the time of this writeup): https://github.com/grahamgilbert/Crypt/tree/bdd49c849ed07fbc86d8c6f5bc31a525061d5077
(If you're viewing this via a gist blogging platform like roughdraft.io, make sure to view the original gist as there are image files included within the steps)
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
<?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>PayloadContent</key> | |
<dict> | |
<key>com.apple.Spotlight</key> |