This file contains hidden or 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
# Python 2.5.2 powered by GAE | |
# | |
# Like a typical App Engine environment with req and resp objects. | |
# Make HTTP requests with: fetch (see App Engine documentation) | |
# | |
USERNAME = "username" | |
PASSWORD = "password" | |
STATUS = "[infinity symbol goes here] " + req.get("post_title") + " " + req.get("post_url") |
This file contains hidden or 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
//TODO: force this to be re-evaluated all the time | |
//if(CmdUtils.getDocument().location.href.indexOf("https://bespin.mozilla.com/") == 0){ | |
var bespin = {cmd : {commands : {}}}; | |
bespin.cmd.commands.add = function(obj){ | |
var cmd = {}; | |
var roles = ["object", "goal", "source", "location", "time"]; | |
var ubiqArgs = []; |
This file contains hidden or 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
CmdUtils.makeSearchCommand({ | |
name: "alpha", | |
synonyms: ["wolframalpha"], | |
url: "http://www.wolframalpha.com/input/?i={QUERY}", | |
icon: "http://www16.wolframalpha.com/images/favicon.ico", | |
description: "Searches Wolfram|Alpha. Previews coming as soon as Wolfram|Alpha releases its API." | |
}); |
This file contains hidden or 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
function getBookmarklets(callback) { | |
var bookmarklets = {}; | |
var Ci = Components.interfaces; | |
var Cc = Components.classes; | |
var bookmarks = Cc["@mozilla.org/browser/nav-bookmarks-service;1"] | |
.getService(Ci.nsINavBookmarksService); | |
var history = Cc["@mozilla.org/browser/nav-history-service;1"] |
This file contains hidden or 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: "hide-lazybar", | |
homepage: "http://foyrek.com/", | |
author: { name: "Abimanyu", email: "[email protected]"}, | |
license: "GPL", | |
description: "Hides the LazyBar", | |
execute: function(input) { |
NewerOlder