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
/* Coda-like Syntax Highlighting for TextMate */ | |
body { | |
margin: 0; | |
padding: 0; | |
} | |
pre.textmate-source { | |
margin: 0; | |
padding: 0 0 0 2px; |
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
-- New Safari Session Launcher: launch new Safari window with one click, even when out of focus, without reusing any existing windows (including minimized windows) | |
-- 2009 Nov 2. Written for OS X 10.5.x. | |
-- Gordon Mei, by suggestion from Andrew99 from Apple discussions | |
tell application "Safari" | |
activate | |
make new document | |
end tell |
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
-- Internet Sharing Toggler: Toggle Internet Sharing on/off in OS X | |
-- 2009 May 16. Written for OS X 10.5.x. | |
-- 2010 January 27. Changed row 10 to row 11 for OS X 10.6.x. | |
-- Gordon Mei | |
-- Feel free to use and distribute however you'd like. | |
tell application "System Preferences" | |
activate | |
tell application "System Events" | |
tell process "System Preferences" |
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
-- Hot Screen Off Toggler: Toggle all four hot corners off. This is the counterpart to the script that toggles all four hot corners on, for cases when a visitor comes over who isn't used to active screen corners. | |
-- 2009 May 14. Written for OS X 10.5.x. | |
-- Gordon Mei, with guidance from Pierre L. from Apple discussions | |
-- Feel free to use and distribute however you'd like. | |
-- Edit: Also compatible with OS X 10.6.x, but you need to check "Enable access for assistive devices" under the "Universal Access" preference pane in "System Preferences". | |
tell application "System Preferences" to activate | |
tell application "System Events" | |
tell process "System Preferences" | |
tell menu bar 1 |
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
-- Hot Screen On Toggler: Toggle all four hot corners on to specified settings (assumes you've set the script to use predefined settings you always use. This is the counterpart to the script that toggles all four hot corners off, for cases when a visitor comes over who isn't used to active screen corners. | |
-- 2009 May 14. Written for OS X 10.5.x. | |
-- Gordon Mei, with guidance from Pierre L. from Apple discussions | |
-- Feel free to use and distribute however you'd like. | |
-- Edit: Also compatible with OS X 10.6.x, but you need to check "Enable access for assistive devices" under the "Universal Access" preference pane in "System Preferences". | |
tell application "System Preferences" to activate | |
tell application "System Events" | |
tell process "System Preferences" | |
tell menu bar 1 |
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
1. once upon a time, there was a whale. | |
2. with wings. | |
3. |