Skip to content

Instantly share code, notes, and snippets.

View choffee's full-sized avatar

John Cooper choffee

View GitHub Profile
@choffee
choffee / x
Created February 26, 2009 12:42
Take you to an Ubuntu bug number
// Shoould really check for a valid number
// Would be nice to do a preview first
CmdUtils.makeSearchCommand({
name: "Ubuntu-bug-number",
url: "https://bugs.launchpad.net/bugs/{QUERY}",
icon: "http://launchpad.net/favicon.ico",
description: "Takes you to a bug number"
});
@choffee
choffee / x
Created February 26, 2009 12:07
Free text search of debian bugs.
//Note: This command was automatically generated by the create-new-search-command command.
CmdUtils.makeSearchCommand({
name: "debian-bug-search",
url: "http://merkel.debian.org/~don/cgi/search.cgi?phrase={QUERY}&skip=0",
icon: "http://merkel.debian.org/favicon.ico",
description: "Searches debian bugs for a phrase"
});
@choffee
choffee / x
Created February 26, 2009 12:03
Search Debian Bugs by bug number
//Note: This command was automatically generated by the create-new-search-command command.
CmdUtils.makeSearchCommand({
name: "debian-bug-by-number",
url: "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug={QUERY}",
icon: "http://www.debian.org/favicon.ico",
description: "Searches Debian bugs buy number"
});
@choffee
choffee / x
Created February 23, 2009 14:55
Search York Directory by Surname
//Note: This command was automatically generated by the create-new-search-command command.
CmdUtils.CreateCommand({
name: "yorksurnamesearch",
url: "https://www.york.ac.uk/directory/user.yrk/searchaction.cfm",
icon: "http://www.york.ac.uk/favicon.ico",
description: "Searches www.york.ac.uk",
@choffee
choffee / x
Created February 16, 2009 16:28
Search York website
CmdUtils.makeSearchCommand({
name: "YorkWeb",
url: "http://search.york.ac.uk/search?q={QUERY}&site=yorkweb&client=yorkweb&output=xml_no_dtd&proxystylesheet=yorkweb",
icon: "http://www.york.ac.uk/favicon.ico",
description: "Searches www.york.ac.uk"
});
@choffee
choffee / x
Created February 16, 2009 16:21
Search York directory
//Note: This command was automatically generated by the create-new-search-command command.
CmdUtils.CreateCommand({
name: "yorkbyusername",
url: "https://www.york.ac.uk/directory/user/searchaction.cfm",
icon: "http://www.york.ac.uk/favicon.ico",
description: "Searches www.york.ac.uk for a username",
takes: {"search term": noun_arb_text},
execute: function(input){ var query = encodeURIComponent(input.text);