This file contains 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
# coding: utf-8 | |
#!/usr/bin/env python | |
import sys | |
import beanstalkc | |
HOST = '127.0.0.1' | |
PORT = 14711 | |
def main(): |
This file contains 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
/* Mozilla Ubiquity Command for Diigo, currently only support add bookmark. | |
* Some code from https://ubiquity.mozilla.com/standard-feeds/social.js | |
*/ | |
var store = Application.storage; | |
const DIIGO_CUR_LOGIN = "ubiquity_diigo_cur_login"; | |
var Choices = {"yes": "yes", "no": "no"}; | |
var noun_type_share = { | |
_name: "yes/no", |
This file contains 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
/* Mozilla Ubiquity Command for Diigo, currently only support add bookmark. | |
* Some code from https://ubiquity.mozilla.com/standard-feeds/social.js | |
*/ | |
var store = Application.storage; | |
const DIIGO_CUR_LOGIN = "ubiquity_diigo_cur_login"; | |
var Choices = {"yes": "yes", "no": "no"}; | |
var sortChoices = { "created": 0, "updated": 1, "popularity": 2, "hot": 3 }; | |
var noun_type_share = { |