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
// log an object to the browser console | |
console.log({ text: "foobar" }); |
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
~/Library/Application Scripts/com.Growl.GrowlHelperApp. | |
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
ignoring case | |
if notification's note description contains "GrowlMac" then | |
return {display:"Music Video"} | |
end if | |
end ignoring | |
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
Tomorrow, I’m going to %filltext:name=Tomorrow's Goal%. | |
To be ready, I need to %filltext:name=Preparation required%. | |
I will remember %filltext:name=Remember tomorrow:default=my%. | |
The random thoughts that just filled my head are %fillarea:name=Dump it here%. | |
%fillpart:name=Also Remember:default=yes%Also remember to %filltext:name=More to remember for tomorrow% %fillpartend% |
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 "Finder" to set file_name to (name of theFile) | |
tell application "OmniFocus" | |
set task_title to "Review " & file_name | |
tell default document | |
set newTask to make new inbox task with properties {name:task_title} | |
tell the note of newTask | |
make new file attachment with properties {file name:theFile, embedded:false} | |
end tell | |
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
tell application "Finder" to set file_name to (name of theFile) | |
tell application "OmniFocus" | |
set task_title to "Review " & file_name | |
tell default document | |
set newTask to make new inbox task with properties {name:task_title} | |
tell the note of newTask | |
make new file attachment with properties {file name:theFile, embedded:false} | |
end tell | |
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
<markdown> | |
# Usage Guidelines: Using Omnifocus # | |
[Omnifocus](http://www.omnigroup.com/products/omnifocus/) is a great tool, but | |
not as intuitive as e.g. [Things](http://culturedcode.com/things/). This is | |
not necessarily a bad thing as this is what happens when you give the user the | |
freedom of tailoring an application to his or her needs. | |
As a note to myself and perhaps a guide to others trying to figure out how to |
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
<?php // WP 404 ALERTS @ http://wp-mix.com/wordpress-404-email-alerts/ | |
// set status | |
header("HTTP/1.1 404 Not Found"); | |
header("Status: 404 Not Found"); | |
// site info | |
$blog = get_bloginfo('name'); | |
$site = get_bloginfo('url') . '/'; | |
$email = get_bloginfo('admin_email'); |
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
-- | |
-- OCR all documents added to a folder | |
-- | |
on adding folder items to this_folder after receiving added_items | |
try | |
repeat with i from 1 to number of items in added_items | |
set this_item to item i of added_items | |
set appName to my getAppName() | |
tell application appName | |
activate |
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
window.fluid.dockBadge = ''; | |
setTimeout(updateDockBadge, 1000); | |
setTimeout(updateDockBadge, 3000); | |
setInterval(updateDockBadge, 5000); | |
function updateDockBadge() { | |
var newBadge = ''; | |
var res = findInboxAnchorMatchResult(); | |
if (res) { |
OlderNewer