Skip to content

Instantly share code, notes, and snippets.

View hayamiz's full-sized avatar

Yuto Hayamizu hayamiz

View GitHub Profile
// Ubiquity plugin
// ALC(eijiro)
var eijiro_waitqueue = [];
var word_var = {
_name: "search word",
suggest: function( text, html ) {
var suggestions = [CmdUtils.makeSugg(text)];
if(window.foxytunesGetCurrentTrackTitle){
// Ubiquity plugin
// Tokyo amesh.
CmdUtils.CreateCommand({
name: "amesh",
author: { name: "Y. Hayamizu", email: "[email protected]"},
description: "Check weather around Tokyo.",
help: "Just type \"amesh\", and then you get weather information.",
_zeropad: function(num, width){
if (width - num.toString().length > 0){