Skip to content

Instantly share code, notes, and snippets.

View ChewingPencils's full-sized avatar

Sean Korzdorfer ChewingPencils

View GitHub Profile
@ChewingPencils
ChewingPencils / of2nv.scpt
Created October 21, 2012 22:39
Creates an NVAlT note from an OmniFocus Task
--
-- Created by: Sean Korzdorfer
-- Created on: 06/08/12 17:05:27
-- This script incudes code from an example posted by Rob Trew
-- String Library can be obtained at:
-- http://applescript.bratis-lover.net/library/string/
-- Any line which contains a path needs to be edited for the users environment
-- NB: this could easily be edited to append.
@ChewingPencils
ChewingPencils / pinbook.js
Created October 15, 2012 00:42
Pinbook Bookmarklet
javascript:window.location='pinbook:///add?url='%20+%20encodeURIComponent(document.location.href)%20+%20'&title='%20+%20encodeURIComponent(document.title);
@ChewingPencils
ChewingPencils / qoutebook-sel.js
Created August 8, 2012 13:30
Bookmarklet to add the selected text Safari Mobile (iPad) to QuoteBook app.
/*
Author: Sean Korzdorfer
Date: 2012-07-31_140805
Call using :
javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://source-url.foo';})();
*/
@ChewingPencils
ChewingPencils / gist:2777049
Created May 23, 2012 18:52
External Drafts Bookmarklet js file.
/*
Drafts App Bookmarklets (http://agiletortoise.com/drafts)
Author: Sean Korzdorfer
Date: 13:51:29 Wed May 23 2012
Re: https://gist.github.com/gists/2579288
Most of the Date functions used snippets I created from:
http://www.webdevelopersnotes.com/tips/html/10_ways_to_format_time_and_date_using_javascript.php3
*/
@ChewingPencils
ChewingPencils / md-url_to_day-one
Created May 2, 2012 21:04
Send front safari tab to Day One app formatted as Markdown link
javascript:window.location='dayone://post?entry=%5B'+encodeURIComponent(document.title)+'%5D('+encodeURIComponent(document.location.href)+')'
@ChewingPencils
ChewingPencils / drafts_bookmarklets
Created May 2, 2012 19:02
Bookmarklets for Drafts App
/*
Drafts App Bookmarklets (http://agiletortoise.com/drafts)
Author: Sean Korzdorfer
Date: 14:01:43 Wed May 02 2012
Nota Bene: It's probably best to have the bookmarklet create a script tag that includes an external JS.
See: https://gist.github.com/2777049
Sends the current Mobile Safari Tab to Drafts app as Markdown link with date and time stamps