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
/** | |
* Ubiquity Command to interact with a TiddlyWiki | |
* | |
* contact@garyhodgson.com | |
*/ | |
var TiddlyUbiquity = {}; | |
TiddlyUbiquity.SETUP_WARNING = "Warning: You must supply the URL of your TiddlyWiki. Please use tiddlywiki-setup."; | |
TiddlyUbiquity.NO_URL_MSG = "No TiddlyWiki URL found. Please use tiddlywiki-setup."; | |
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 asd = function(){ | |
d = new Date(); | |
CmdUtils.log(d.getTime()); | |
return ['asd1','asd2','asd'+d.getTime()]; | |
} | |
/* This is a template command */ | |
CmdUtils.CreateCommand({ | |
name: "example", | |
icon: "http://example.com/example.png", |
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
/** | |
* Ubiquity command to perform a 'Blended' search in Amazon Germany, UK, USA, Japan or Canada. | |
*/ | |
/** | |
* Core Type Extension | |
* Now returns the index of the suggestion array as the data element | |
*/ | |
function ModNounType(name, expectedWords) {this._init(name, expectedWords);}; | |
var F = function() {}; |
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
/** | |
* Command to shorten URLs using bit.ly | |
* | |
* Copied from http://mskadu.googlepages.com/bitly | |
*/ | |
CmdUtils.CreateCommand({ | |
name: "bitly", | |
takes: {"url to shorten": noun_arb_text}, | |
icon: "http://bit.ly/static/images/favicon.png", | |
description: "Replaces the selected URL with a shortened version from <a href=\"http://bit.ly/go\">Bit.ly</a><br/>And copies it to your clipboard for further use", |
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
/** | |
* Ubiquity commands to search mininova.org or thepiratebay.org | |
*/ | |
var TorrentUbiquity = {}; | |
TorrentUbiquity.MCM = { | |
'ANIME' : '1', | |
'BOOKS' : '2', | |
'GAMES' : '3', | |
'MOVIES' : '4', | |
'MUSIC' : '5', |
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
/* This is a template command */ | |
CmdUtils.CreateCommand({ | |
name: "example", | |
icon: "http://example.com/example.png", | |
homepage: "http://example.com/", | |
author: { name: "Your Name", email: "you@example.com"}, | |
license: "GPL", | |
description: "A short description of your command", | |
help: "how to use your command", | |
takes: {"input": noun_arb_text}, |
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
/** | |
* Ubiquity command to search Oracle documentation | |
*/ | |
CmdUtils.CreateCommand({ | |
name: "oracle", | |
author: { | |
name: "Gary Hodgson", | |
homepage: "http://www.garyhodgson.com/", | |
email: "contact@garyhodgson.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
/** | |
* Ubiquity commands to search and bookmark with Google Bookmarks | |
*/ | |
CmdUtils.CreateCommand({ | |
name: "bookmark", | |
description: "Bookmarks the current site using Google Bookmarks", | |
author: { | |
name: "Gary Hodgson", | |
homepage: "http://www.garyhodgson.com/", | |
email: "contact@garyhodgson.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
/** | |
* Ubiquity command to add a task to RTM, using a bookmarklet | |
*/ | |
CmdUtils.CreateCommand({ | |
name: "rtm-bookmarklet", | |
author: { | |
name: "Gary Hodgson", | |
homepage : "http://www.garyhodgson.com/ubiquity/rtm-bookmarklet.html", | |
email : "contact@garyhodgson.com" | |
}, |
OlderNewer