View gist:5091486
<?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>Label</key> | |
<string>org.sacredsf.wifi.plist</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/libexec/add_wifi.sh</string> | |
</array> |
View AddWifi.sh
#!/bin/sh | |
# Set paths to our utilities | |
networksetup=/usr/sbin/networksetup | |
airport=/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport | |
# Determines which OS the script is running on | |
osvers=$(sw_vers -productVersion | awk -F. '{print $2}') | |
# On 10.7 and higher, the Wi-Fi interface needs to be identified. |
View gist:5162560
<?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>RestartAction</key> | |
<string>RequireRestart</string> | |
<key>autoremove</key> | |
<false/> | |
<key>catalogs</key> | |
<array> |
View gist:5162585
<?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>AdobeSetupType</key> | |
<string>ProductInstall</string> | |
<key>adobe_install_info</key> | |
<dict> | |
<key>media_signature</key> | |
<string>{D8C642B6-A719-4234-8039-2654ED436D2A}</string> |
View ARD installcheck_script
#!/bin/sh | |
# Determines if the Remote Management settings are set | |
# for "All Users" or for "Only these users:" in System | |
# Preferences' Sharing preference pane | |
ARD_ALL_LOCAL=`/usr/bin/defaults read /Library/Preferences/com.apple.RemoteManagement ARD_AllLocalUsers` | |
# Lists all local user accounts on the Mac with a UID | |
# of greater or equal to 500 and less than 1024. This |
View StrategicPlanReport
/*global SpreadsheetApp: false, UiApp: false */ | |
// Close the current UI | |
function exit() { | |
"use strict"; | |
var ui = UiApp.getActiveApplication(); | |
return ui.close(); | |
} | |
// Callback action for button labelled "Generate Report" |
View ARD Login Template
osascript <<EndOfMyScript | |
set logInUser to "name" | |
set logInPassword to "password" | |
tell application "System Events" | |
tell application process "loginwindow" | |
key code 53 | |
delay 1 | |
key code 125 | |
delay 1 | |
key code 36 using option down |
View Java7Update21.pkginfo
<?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> |
View StrategicReporter
/*global SpreadsheetApp: false, UiApp: false */ | |
// Close the current UI | |
function exit() { | |
"use strict"; | |
var ui = UiApp.getActiveApplication(); | |
return ui.close(); | |
} | |
// Callback action for button labelled "Generate Report" |
View ARD kickstart
#!/bin/sh | |
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers | |
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users "admin" -privs -all -restart -agent |
OlderNewer