Skip to content

Instantly share code, notes, and snippets.

const Aliases = {
t: {
help: 'title',
get text() info().title,
},
u: {
help: 'URL',
get text() info().url,
},
a: {
;;; toggle-scala.el --- Toggle between test and implementation files.
;; Author: MIZUNO Hiroki<mzp.ppp_at_gmail.com>
;; Keywords: tools
;;; Usage:
;; Insert into your .emacs file the following line, (and eval it for
;; immediate usage:
;;
;; (require 'toggle-scala)
/**
* Favotter Viewer.
* Respect
* http://jsgt.org/mt/01/
* http://d.hatena.ne.jp/murky-satyr/
*
* TODO:HTTP 503のときに起こってる悲しい事態を何とかする。
*/
+function($j, urls){
CmdUtils.CreateCommand({
const Name = 'shorten-url',
Shorteners = [{
text: 'tinyurl.com',
data: function(lu, cb)({
url: 'http://tinyurl.com/api-create.php',
type: 'post',
data: {url: lu},
success: cb,
}),
logo: <h1 style={(
/**
* The LDOCE Online Dictionary.
*/
+function(){
const $j = jQuery;
const LDOCE_QUERY_URL = {
def: "http://www.ldoceonline.com",
html: "http://www.ldoceonline.com/search/?q="
};
const LDOCE_RENDER = function(pb, prm){
/**
* flvdl - FLV downloader.
* This is fork of
* http://gist.github.com/53229
*/
+function(flvdl_siteinfo){
CmdUtils.CreateCommand({
name: "flvdl",
description: "FLV Downloader.",
icon: "chrome://ubiquity/skin/icons/favicon.ico",