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
Add Feed | |
dialog.ask ("Paste the URL", "", "", function (name) { | |
op.attributes.setOne ("xmlUrl", name); | |
}); |
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
View in Instapaper | |
var link = op.attributes.getOne("url"); | |
window.open("https://www.instapaper.com/text?u="+link); | |
Add to Instapaper | |
var link = op.attributes.getOne("url"); | |
window.open("http://www.instapaper.com/edit?url=" + link); |
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
View in New Window | |
var link = op.attributes.getOne("url"); | |
window.open(link); |
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
var jeffVerbs = { | |
viewFeed: function() { | |
$.getScript("DOMAIN.COM/rssReader.js", function() { | |
var rss = new RssReader; | |
rss.main(); | |
}); | |
} | |
} |
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
file.readWholeFile ("myVerbs.js", $.globalEval); | |
$("body").keydown(function(e) { var commandKey = e.metaKey || e.ctrlKey; switch(e.which) { case 69: if(commandKey) { jeffVerbs.viewFeed (); } break; } }); |
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
#! /bin/bash | |
encodedmessage=$(echo "$message" | sed -f urlencode.sed) | |
encodedaction=$(echo "$action" | sed -f urlencode.sed) | |
curl -s \ | |
-F "token=$APP_TOKEN" \ | |
-F "user=$USER_KEY" \ | |
-F "message=drafts:///create?text=$encodedmessage&action=$encodedaction" \ | |
https://api.pushover.net/1/messages.json |
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
# Source: http://gimi.name/snippets/uploads/urlencode.sed | |
s/%/%25/g | |
s/ /%20/g | |
s/ /%09/g | |
s/!/%21/g | |
s/"/%22/g | |
s/#/%23/g | |
s/\$/%24/g | |
s/\&/%26/g | |
s/'\''/%27/g |
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
#!/usr/bin/env python | |
# Minor modifications by Jeffrey Kishner to send title and URL to Drafts instead of Buffer | |
# @kishner | |
# http://blog.jeffreykishner.com | |
# Coded poorly by Brett Kelly | |
# http://nerdgap.com | |
# @inkedmn |
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
<outline text="Google" type="link" url="http://google.com"/> |
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
<outline text="Google" _note="http://google.com"/> |