Skip to content

Instantly share code, notes, and snippets.

View ne-sachirou's full-sized avatar

さっちゃん ne-sachirou

View GitHub Profile
@ne-sachirou
ne-sachirou / AzureaVim.js
Created February 18, 2011 11:42
AzureaVim.js #AzureaScript
// @author = http://c4se.sakura.ne.jp/profile/ne.html
// @date = 2011-02-23
// @site = https://gist.github.com/833567
// @license = public domain
var COMMANDS_LIST = {
open: 'open',
o: 'open',
url: 'open url',
@ne-sachirou
ne-sachirou / unshorten.js
Created February 20, 2011 00:52
短縮URLを伸展する #AzureaScript
// @author = http://c4se.sakura.ne.jp/profile/ne.html
// @date = 2011-02-25
// @site = https://gist.github.com/835563
// @license = public domain
var services = [],
cashe = {
'http://c4se.tk/': 'http://c4se.sakura.ne.jp/'
};
@ne-sachirou
ne-sachirou / notify.js
Created February 20, 2011 14:17
notify.js #AzureaScript
// ==AzureaScript==
// @author http://c4se.sakura.ne.jp/profile/ne.html
// @scriptUrl http://c4se.sakura.ne.jp/widgets/azurea/
// @date 2011-03-13
// @site https://gist.github.com/835993
// @license public domain
// ==/AzureaScript==
var _notify;
@ne-sachirou
ne-sachirou / AzureaUtil.js
Created February 24, 2011 03:33
AzureaUtil.js #AzureaScript
// @author = http://c4se.sakura.ne.jp/profile/ne.html
// @date = 2011-02-24
// @site =
// @license = public domain
var AzureaUtil = {};
AzureaUtil.event = {};
AzureaUtil.time = {};
@ne-sachirou
ne-sachirou / xorshift.js
Created March 3, 2011 04:22
Xorshift random on JavaScript #js
// @license = public domain
// =Usage
// Number = Xorshift.random();
//
// var xor128 = Xorshift.init();
// Array = xor128.make(1000000);
(function() {
@ne-sachirou
ne-sachirou / HttpGrowl.rb
Created March 17, 2011 22:02
HttpGrowl.rb
# HTTP POSTをWEBRickで受け、Growl通知します。
# POSTのkeyには、 title, text, twitter_screen_name, icon_uri, sticky を使用します。
# ruby_gntp と nokogiri に依存します。
require 'webrick'
require 'ruby_gntp'
require 'open-uri'
require 'nokogiri'
require 'json'
@ne-sachirou
ne-sachirou / closeAll.js
Created March 22, 2011 13:42
closeAll.js #AzureaScript
// WindowsXPでのAzurea for Windows向けです。
// http://azurea.refy.net/ja/wiki/index.php?%E7%9B%AE%E5%AE%89%E7%AE%B1%2F12 の案4のパターンです。
// @License Public Domain
System.addContextMenuHandler('全ての検索を閉じる', 0, function() {
System.views.closeAllSearch();
});
System.addContextMenuHandler('全てのユーザータイムラインを閉じる', 0, function() {
System.views.closeAllUserTimeline();
});
@ne-sachirou
ne-sachirou / AzureaScript.kwd
Created March 22, 2011 13:55
サクラエディタの #AzureaScript 用キーワードファイル
// AzureaScript キーワード定義ファイル
// CASE=False
Geo
GeoLocation
Http
HttpResponce
PostFilterProcessTimelineStatus
PostProcessTimelineStatus
PostProcessTimelineStatuses
@ne-sachirou
ne-sachirou / Math.uuid.js
Created March 22, 2011 22:08
Math.uuid.js #js
// Copyright (c) 2010 Robert Kieffer
// http://www.broofa.com
// mailto:robert@broofa.com
// Copyright (c) 2011 http://c4se.sakura.ne.jp/profile/ne.html
// Dual licensed under the MIT and GPL licenses.
(function() {
var CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''),
random;
@ne-sachirou
ne-sachirou / convApp.js
Created March 22, 2011 22:19
#js 舊字←→新字変換ライブラリ
/*
* convApp.js 20110203
* 正字俗字変換エンジン
* ne_Sachirou utakata.c4se@gmail.com
*
* ==History
* 0.1 http://d.hatena.ne.jp/Kureduki_Maari/20090519/1242715608
* 0.2 http://d.hatena.ne.jp/Kureduki_Maari/20090817/1250464485
* 0.3 http://d.hatena.ne.jp/Kureduki_Maari/20100212/1265937568
* 0.4 http://d.hatena.ne.jp/Kureduki_Maari/20100413/1271113925