Skip to content

Instantly share code, notes, and snippets.

View macmule's full-sized avatar

macmule macmule

View GitHub Profile
<key>EnabledSystemIdentifiers</key>
<array>
<string>MacBook11,1</string>
</array>
<key>DisabledSystemIdentifiers</key>
<array>
<string>iMac10,1</string>
<string>iMac11,1</string>
<string>iMac11,2</string>
<string>iMac11,3</string>
<string>iMac12,1</string>
<string>iMac12,2</string>
<string>iMac13,1</string>
<string>iMac13,2</string>
-- Copy the boot.efi to the booter shell
on copyBootEfi_(sender)
try
-- Update Build Process Window's Text Field
set my buildProcessTextField to "Copying boot.efi"
delay 0.1
-- Update build Process ProgressBar
set my buildProcessProgressBar to buildProcessProgressBar + 1
--Log Action
set logMe to "Copying " & quoted form of netBootDmgMountPath & "/System/Library/CoreServices/boot.efi to " & quoted form of netBootDirectory & "/i386/booter"
#!/bin/bash
####################################################################################################
#
# License: https://macmule.com/license/
#
####################################################################################################
#
# DEFINE VARIABLES & READ IN PARAMETERS
#
####################################################################################################
<key>NSToolbar Configuration BrowserToolbarIdentifier</key>
<dict>
<key>TB Default Item Identifiers</key>
<array>
<string>BackForwardToolbarIdentifier</string>
<string>com.mycomany.extension-myDeveloperID identifier</string>
<string>CloudTabsToolbarIdentifier</string>
<string>ShareToolbarIdentifier</string>
<string>InputFieldsToolbarIdentifier</string>
<string>ShowDownloadsToolbarIdentifier</string>
#!/usr/bin/env python
'''
License: https://macmule.com/license/
'''
import logging
import os
import shutil
<config>
<panel>
<name>AppsPanel</name>
<visible>true</visible>
</panel>
<feature>
<name>SelfServeInstalls</name>
<enabled>false</enabled>
</feature>
</config>
#!/bin/sh
####################################################################################################
#
# License: https://macmule.com/license/
#
####################################################################################################
###
# Get the Active Directory Node Name
###
#!/bin/bash
####################################################################################################
#
# License: https://macmule.com/license/
#
###################################################################################################
#
# DEFINE VARIABLES & READ IN PARAMETERS
#
####################################################################################################
-- Get the name Volume Name of the Macs CoreStorage volume.
set csVolume to do shell script "diskutil cs list | awk '/Volume Name:/{out=$3; for(i=4;i<=NF;i++){out=out\" \"$i}; print out}'"
-- If the above command come back with a Volume Name.
if csVolume is not "" then
-- Set this app to the front
tell application "System Events" to set frontmost of process "CoreStorage Revert" to true
-- Advise that volume needs to be reverted, offering option to skip if wanted