Skip to content

Instantly share code, notes, and snippets.

View offsky's full-sized avatar

Jake Olefsky offsky

View GitHub Profile
@chanwit
chanwit / uq-toodledo-cmd.js
Last active December 14, 2015 14:18
Toodledo command via Twitter
Cu.import("resource://ubiquity/modules/oauth.js");
const TWITTER_STATUS_MAXLEN = 140;
CmdUtils.CreateCommand({
name: ["todo", "task"],
description: ("Add a task to Toodledo at most " + TWITTER_STATUS_MAXLEN + " characters."),
help: ("You'll need a <a href=\"http://twitter.com\">Twitter account</a>," +
" to add task. If the account isn't already authorized," +
" you'll be asked for password."),