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
/* | |
See http://4a.bsoi.st/ for more information | |
and an updated version of this. | |
*/ | |
Task Whole Outline | |
var taskdata = ""; | |
var bsoist_prefix = ""; | |
var bsoist_suffix = ":\r\n"; | |
op.firstSummit(); | |
op.visitSubs( |
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
/* | |
Heavily inspired by | |
Jeffrey Kishner [ http://blog.jeffreykishner.com/ ] | |
Ken Smith [ http://smith.smallpict.com/ ] | |
and | |
Dave Winer [ http://scripting.com ] | |
I'm working on posts to give proper credit. | |
*/ |
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
// See http://4a.bsoi.st/ for more information | |
Task This | |
dialog.ask("Enter a file name ", "", "", function(answer) { | |
bsoistVerbs.taskThis(answer); | |
}); | |
Task Whole Outline | |
op.firstSummit(); | |
bsoistVerbs.taskThis(false); |
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
/* | |
One of my verbs for use converting | |
OPML to TaskPaper | |
See http://4a.bsoi.st/ for more information | |
*/ | |
taskThis: function(filename) { | |
var bsoist_ext = '.todo'; | |
if (! filename ) { | |
filename = file.getCurrentFilePath().split('.')[0] + bsoist_ext; |
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
addLink: function() { | |
var link = prompt("Paste here ","").split('==='); | |
var url = link[0]; | |
var title = link[1]; | |
bsoistVerbs.postUnderDate(2); | |
op.insert(title,down); | |
op.attributes.setOne("type","link"); | |
op.attributes.setOne("url",url); | |
op.attributes.setOne("icon","link"); | |
op.attributes.setOne("isFeedItem","true"); |
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
tweetThis: function() { | |
var text = op.getLineText(); | |
bsoistVerbs.goTweet(text,null); | |
}, | |
tweetBlog: function() { | |
var text = op.getLineText(); | |
var link = op.getCursorUrl(); | |
bsoistVerbs.goTweet(text,link); | |
}, |
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
import httplib, re | |
from htmldom import htmldom | |
from operator import itemgetter | |
index, playerinfo = 0, [] | |
PASSING_YARDS = 0 | |
PASSING_TDS = 1 | |
INT = 2 | |
RUSHING_YARDS = 4 |
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
import json, urllib2, time | |
API_KEY = "" | |
BASE_URL = "https://disqus.com/api/3.0/" | |
CURSOR = "" | |
FORUM = "" | |
DOMAIN = "" | |
threads = [] |
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
jQuery(".aStreamDayLink").each(function() { this.href = this.href.split('/').slice(0,3).join('/') + "/" + pagetable.path + "/" + this.href.split('/').slice(3).join('/'); }) |
OlderNewer