This file contains hidden or 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/env python | |
| # A quick and dirty script to rename a pinboard.in tag. | |
| # I'll probably update this become a proper command line app one day | |
| import urllib2 | |
| import pinboard | |
| pinuser = "" | |
| pinpasswd = "" |
This file contains hidden or 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
| -- Sean Korzdorfer | |
| -- 2013-01-21 | |
| -- Fork of benwaldie Current Week Range TextExpander snippet: https://gist.github.com/4583398 | |
| set theDate to (current date) | |
| set theStartDate to theDate | |
| repeat until weekday of theStartDate = Monday | |
| set theStartDate to theStartDate - 1 * days | |
| end repeat | |
| set theEndDate to theDate |
This file contains hidden or 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
| drafts://x-callback-url/import_action?type=URL&name=Search%20Tweetbox&url=tweetbot%3A%2F%2F%2Fsearch%3Fquery%3D%5B%5Bdraft%5D%5D%2520lang%253Aen%2520-filter%253Aretweet%2520-%2522RT%2520%2522 |
This file contains hidden or 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
| javascript:(function()%20%7Bwindow.location='pinbook://x-callback-url/add?x-source='+encodeURIComponent(window.location.hostname.replace('www.',''))+'&x-success='+encodeURIComponent(window.location)+'&title='+encodeURIComponent(document.title)+'&description='+window.getSelection()+'&url='+encodeURIComponent(window.location);%7D)(); |
This file contains hidden or 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
| /* | |
| The pageWasOpened function is called when a page is opened in a VoodooPad document for viewing. | |
| */ | |
| function pageWasOpened(document, page) { | |
| // print("pageWasOpened: " + page.displayName()); | |
| //if (page.displayName() == "Category_Reading_Notes") | |
| if (page.displayName().indexOf("Category_") !== -1) | |
| pageList = listBacklinks(String(page.displayName()), page) |
This file contains hidden or 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
| drafts://x-callback-url/import_action?type=dropbox&name=TaskPaper%20with%20Indented%20Note&path=%2FTaskPaper%2F&filenametype=2&filename=filename&ext=txt&writetype=0&template=%09-%20%5B%5Btitle%5D%5D%0A%09%09%5B%5Bbody%5D%5D |
This file contains hidden or 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
| due:///add?title=Get%20Ready%20to%20go%20re%3A%20[prompt]%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20due%3A%2F%2F%2Fadd%3Ftitle%3DLeave%26secslater%3D1200 |
This file contains hidden or 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
| due:///add?title=Get%20ready%20to%20go%20re%3A%20[[draft]]%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20due%3A%2F%2F%2Fadd%3Ftitle%3D{{HAUL%20ASS!}}%26secslater%3D1200 |
This file contains hidden or 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
| # Sean Korzdorfer | |
| # 2013-03-10 | |
| # quote_bits.py | |
| # | |
| # Creates and submits a Quotebook app URL. | |
| # | |
| # [Quotebook](http://quotebookapp.com/) | |
| # [Drafts](http://agiletortoise.com/drafts) | |
| # [Pythonista](http://omz-software.com/pythonista/) | |
| # |
This file contains hidden or 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
| # Sean Korzdorfer | |
| # 2013-03-10 | |
| # quote_bits.py | |
| import sys | |
| import urllib | |
| import webbrowser | |
| def main(): |