Skip to content

Instantly share code, notes, and snippets.

@eversonl
eversonl / posterous bookmarklet
Created February 18, 2009 19:11
posterous.com bookmarklet
//posterous
CmdUtils.CreateCommand({
name: "posterous",
icon: "http://posterous.com/images/favicon.png",
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: "Select text, video, music or photos from any web page and post it instantly to your posterous, just by clicking a special bookmark",
// help: "",
preview: function(pblock) {
@eversonl
eversonl / crazymenu
Created February 18, 2009 15:52
search crazymenu.com for food type in any location
//crazymenu
var noun_arb_location = {
_name: "Location",
suggest: function( text, html ) {
return [ CmdUtils.makeSugg(text, html) ];
}
};
CmdUtils.CreateCommand({
@eversonl
eversonl / flickr-Mbedr
Created February 18, 2009 13:17
flickr-mdebr embed flickr pics with notes
//flickr-Mbedr
CmdUtils.CreateCommand({
name: "flickr-Mbedr",
icon: "http://www.elsewhere.org/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: "This utility will allow you to embed a photo from Flickr on your own site while retaining any annotated regions present on the original. If the photo you want to include on your site doesn't have any annotations notes, as Flickr calls them, then don't bother using this utility.",
help: "Only public photos can be used with this utility at the moment. ",
preview: function(pblock) {
@eversonl
eversonl / press-this (for wordpress)
Created February 17, 2009 14:22
press-this (for wordpress)
//press-this
CmdUtils.makeBookmarkletCommand({
name: 'press-this',
icon: "http://wordpress.org/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: "invoke worpress press-this bookmarklet, any where any time. That's it!",
help: "Just type 'press-this'",
url: "javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.leeeverson.co.uk/wp-admin/press-this.php',l=d.location,e=encodeURIComponent,g=f+'?u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s)+'&v=2';function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){l.href=g;}}setTimeout(a,0);void(0);",
@eversonl
eversonl / kwout-this
Created February 16, 2009 22:00
kwout for ubiquity
//kwout-this
CmdUtils.makeBookmarkletCommand({
name: 'kwout-this',
icon: "http://kwout.com/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: "invoke Kwout, any where any time. That's it!",
help: "Just type 'kwout'",
@eversonl
eversonl / x
Created February 15, 2009 18:56
vozme
// vozme
var URL = null;
CmdUtils.CreateCommand({
name: ["vozme"],
icon: "http://vozme.com/favicon.ico",
description: "Pronounces the selected/specified text",
author: { name: "Lee Everson", email: "lee@0-21.co.uk"},
homepage: 'http://www.0-21.co.uk/index.php/200902173422/Blog/Lee-s-Blog/My-Ubiquity-commands.html',
help: 'Select or type the text to speak it',
arguments: [{
@eversonl
eversonl / x
Created February 12, 2009 18:50
search 0-21 with google
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<head>
<title>Ubiquity 0-21 Google Search Command</title>
</head>
<body>
<p>This page contains a Ubiquity command for Googling 0-21.co.uk's archives.</p>
<script src="fake-infrastructure.js"></script>