This file contains 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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>ADAllowMultiDomainAuth</key> | |
<true/> | |
<key>ADAllowMultiDomainAuthFlag</key> |
This file contains 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
// This file sets some default prefs for use at USC Labs | |
// and locks down some other prefs. | |
// | |
// Safari Migration | |
lockPref("browser.migration.version", 1); | |
lockPref("browser.places.importBookmarksHTML", false); | |
lockPref("network.cookie.prefsMigrated", true); | |
// application updates | |
lockPref("app.update.enabled", false); |
This file contains 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
on processIsRunning(appName) | |
tell application "System Events" | |
return process appName exists | |
end tell | |
end processIsRunning | |
on GoGoGeohop(email, subject) | |
-- pause iTunes | |
if processIsRunning("iTunes") then | |
tell application "iTunes" |
This file contains 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 sys | |
import argparse | |
import urlparse | |
import urllib | |
import plistlib | |
import os.path | |
import subprocess |
This file contains 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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadContent</key> | |
<dict> | |
<key>com.apple.driver.AppleHIDMouse</key> |
This file contains 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
(* | |
run flake8 against the frontmost BBEdit document | |
You need to install flake8 with | |
sudo easy_install flake8 | |
more info here http://flake8.readthedocs.org/en/latest/ | |
*) |
This file contains 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
tell application "BBEdit" | |
if not (exists text document 1) then | |
return | |
end if | |
if source language of text document 1 is not "UNIX Shell Script" then | |
set thename to name of text document 1 | |
display dialog "Document '" & thename & "' does not seem to be a shell script!" | |
return | |
end if |
This file contains 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
global linkText | |
on run | |
set linkText to "" | |
tell application "Safari" | |
activate | |
set w to window 1 | |
set n to 0 |
This file contains 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
property defaultAccountName : "iCloud" | |
property defaultFolderName : "Saved Safari Windows" | |
global html | |
global processedURLs | |
on appendLineWithDoc(theDoc) | |
tell application "Safari" | |
tell theDoc | |
try |
This file contains 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
property defaultAccountName : "iCloud" | |
property defaultFolderName : "Saved iCloud Tabs" | |
global html | |
global processedURLs | |
on appendLineWithURLItem(urlItem) | |
my appendHTML(" <li>") | |
my appendHTML("<a href=\"" & |url| of urlItem & "\">") | |
my appendHTML(|Title| of urlItem) |
OlderNewer