Skip to content

Instantly share code, notes, and snippets.

//need to read this
CmdUtils.CreateCommand({
name: "need to read this",
icon: "http://media.ineedtoreadthis.com/images/favicon.ico",
homepage: "http://www.0-21.co.uk/index.php/200902173422/Blog/Lee-s-Blog/My-Ubiquity-commands.html",
author: { name: "Lee Everson", email: "lee@0-21.co.uk"},
license: "GPL",
description: "Adds the current page to your to-read list at ineedtoreadthis.com.",
preview: function(pblock) {
pblock.innerHTML = "Adds the current page to your to-read list at ineedtoreadthis.com";
//Read an article
CmdUtils.CreateCommand({
name: "read an article",
icon: "http://media.ineedtoreadthis.com/images/favicon.ico",
homepage: "http://www.0-21.co.uk/index.php/200902173422/Blog/Lee-s-Blog/My-Ubiquity-commands.html",
author: { name: "Lee Everson", email: "lee@0-21.co.uk"},
license: "GPL",
description: "Takes you to your list of stored articles at ineedtoreadthis.com",
preview: function(pblock) {
pblock.innerHTML = "Takes you to your list of stored articles at ineedtoreadthis.com";
noun_type_feed = new CmdUtils.NounType( "feed",["bbc", "cnn"]);
CmdUtils.CreateCommand({
name: "poo",
takes: {channel: noun_type_feed},
preview: function(pblock, feed)
{
var searchTerm = "poo "+feed.text;
// Don't even display any text before fetching search results,
// since the results come back nearly instantaneously. In the
CmdUtils.CreateCommand({
name: "tiny-geocode",
icon: "http://tinygeocoder.com/favicon.ico",
homepage: "http://tinygeocoder.com/",
author: { name: "Mskadu", email: "mskadu@gmail.com"},
license: "GPL",
description: "Turns a location (E.g. London, UK) into a latitude longitude pair (e.g. 51.5001524,-0.1262362)",
help: "tiny-geocode <location><BR/>Eg: tiny-geocode London, UK",
takes: {"location": noun_arb_text},
tinyGeoCode: function( location )
@eversonl
eversonl / gist:359976
Created April 8, 2010 10:45
Bing Serches
bingcommand("bing");
bingcommand("python", "docs.python.org", "http://www.python.org/favicon.ico");
bingcommand("django", "docs.djangoproject.com", "http://www.djangoproject.com/favicon.ico");
bingcommand("jquery", "api.jquery.com", "http://www.jquery.com/favicon.ico");
bingcommand("php", "www.php.net", "http://www.php.net/favicon.ico");
bingcommand("javascript", "developer.mozilla.org", "https://developer.mozilla.org/favicon.ico");
bingcommand("w3.org", "www.w3.org");
bingcommand("lifehacker", "lifehacker.com", "http://www.lifehacker.com/favicon.ico");
bingcommand("snownews", "0-21.co.uk", "http://www.0-21.co.uk/favicon.ico");
bingcommand("emacs", "emacswiki.org", "http://emacswiki.org/favicon.ico");
@eversonl
eversonl / lifehacker search
Created April 8, 2010 11:34
Google Lifhacker search
// ==UserScript==
// @name Flickr On Black Button
// @description Adds "Small On Black" and "Large On Black" button to a Flickr photo page
// @namespace http://.org/
// @include http://flickr.com/photos/*
// @include http://www.flickr.com/photos/*
// Based upon the original by Simon Whitaker (simon AT netcetera DOT org) that was based upon the original by Fabricio Zuardi (http://www.mamata.com.br/greasemonkey/)
// By Aki Korhonen (http://akikorhonen.org/)
// Edit by GeekShadow to work on last Flickr update
// ==/UserScript==