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
CmdUtils.CreateCommand({ | |
name: "nico-youtube-search", | |
icon: "http://nicovideo.jp/favicon.ico", | |
author: {name: "modeverv", email: "modeverv@ジーメイル"}, | |
license: "GPL", | |
description: "nico-youtube-search:\n" + " nico-youtube-search <keyword> \n", | |
help: "niconico youtube search", | |
takes: {"input": noun_arb_text}, | |
preview: function (pblock, input) { | |
var url = this._url(input); |
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
CmdUtils.CreateCommand({ | |
name: "nico-youtube-search", | |
icon: "http://nicovideo.jp/favicon.ico", | |
author: {name: "modeverv", email: "modeverv@ジーメイル"}, | |
license: "GPL", | |
description: "nico-youtube-search:\n" + " nico-youtube-search <keyword> \n", | |
help: "niconico youtube search", | |
takes: {"input": noun_arb_text}, | |
preview: function (pblock, input) { | |
var url = this._url(input); |
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
Sites = { | |
'youtube' :"http://www.youtube.com/results?search_query=${word}", | |
'veoh' :"http://www.veoh.com/search/videos/q/${word}", | |
'niconico' :"http://www.nicovideo.jp/search/${word}", | |
}; | |
var noun_type_query ={ | |
_name: "query", | |
suggest: function( text, html ) { | |
var suggestions = []; |
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
const Vs = { | |
Sites:['youtube','saymove','niconico','veoh'/*,'MEGAVIDEO'*/], | |
youtube :{ | |
base: "http://www.youtube.com", | |
get qurl(){ | |
return CmdUtils.renderTemplate( this.base+"/results?search_query=${word}", {word: encodeURI(Vs.D.word)} ); | |
}, | |
yank: function yank(p, doc, count) { | |
var self = this; | |
doc.find(".list-view").each(function(){ |
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
const tumblrLogo = <div><a href='http://www.tumblr.com/'> | |
<img src='http://assets.tumblr.com/images/logo.png?alpha&5' | |
style='border:none;'/> | |
</a></div>; | |
function say(inp){ | |
displayMessage(inp, this); | |
return true; | |
} | |
function accounts(url){ | |
var token = (Cc['@mozilla.org/security/pk11tokendb;1'] |
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
#! ruby | |
# -*- coding: utf-8 -*- | |
require "/Users/seijiro/code/ruby/my-lib.rb" | |
class ThisDo < MyObject | |
include RunPerSecModule | |
include MyDBModule | |
include MyPusherModule | |
def initialize |
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
;;; anything-gist.el --- anything-sources and some utilities for gist. | |
;; Filename: auto-complete-acr.el | |
;; Description: Anything extension for gist | |
;; Author: myuhe <yuhei.maeda_at_gmail.com> | |
;; Maintainer: myuhe | |
;; Copyright (C) 2009, 2010, myuhe , all rights reserved. | |
;; Created: 2009-04-13 | |
;; Version: 0.6 | |
;; Keywords: convenience, anything, git, gist |
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
#! /usr/bin/ruby | |
# coding: utf-8 | |
############################################################# | |
## | |
## csvを受け取りsqlを生成します | |
## csvの形式 | |
## 文字コード:utf-8 | |
## 内容: | |
## テーブル物理名,カラム物理名 | |
## |
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
package norainu; | |
import java.io.File; | |
import java.util.List; | |
import org.apache.commons.io.FileUtils; | |
/** | |
* CSVで読み取ってSQLを作成<br/> | |
* |
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
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> | |
</head> | |
<body> | |
<div id="d1" style="background-color:red;height:100px"> | |
ターゲット1(生JavaScript) | |
</div> | |
<div id="d2" style="background-color:yellow;height:100px"> |
OlderNewer