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
Gassen Animation Demo | |
https://gist.github.com/ne-sachirou/48f02783837cf712286a | |
Author : ne_Sachirou <utakata.c4se@gmail.com> | |
Date : 2014-2014 | |
License : GPLv3 or later http://www.gnu.org/licenses/gpl.html | |
Music: | |
1. hainezu (FuniSaya,Crain) "gad1" CC by-sa 2014 | |
2. hainezu (FuniSaya,Crain) "gad2" CC by-sa 2014 |
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
Circle Hover rotation Demo | |
Author : ne_Sachirou <utakata.c4se@gmail.com> | |
Date : 2014-2014 | |
License : GPLv3 www.gnu.org/licenses/gpl.html |
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
TypeScriptやFlowやAtScriptやES6を使はずに、関数にコメントを書くことで型註釋[注釈]を行なひ、 | |
実行時に自動で検査します。 | |
例: | |
var f = typed(function (a/*:string*/)/*:number*/ { | |
return a; | |
}); | |
var g = typed(function (a/*:number*/, b/*:number?*/)/*:number*/ { | |
b = b || 0; |
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
defmodule Count do | |
def f parent, cnt do | |
send parent, {:print, cnt} | |
receive do | |
:up -> Count.f parent, cnt + 1 | |
_ -> | |
send parent, {:print, "バカ"} | |
Count.f parent, cnt | |
end | |
end |
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
class Container | |
def initialize | |
@c = {} | |
@fac = {} | |
yield self | |
end | |
def [] k | |
@c[k] || (@fac[k] && @fac[k].call(self)) | |
end |
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
class Matcher | |
def initialize enum | |
@enum = enum | |
@patterns = [] | |
@else = nil | |
end | |
def with pattern, &b | |
@patterns << [pattern, b, []] | |
end |
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
// @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', |
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
// @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/' | |
}; |
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
// ==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; |
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
// @author = http://c4se.sakura.ne.jp/profile/ne.html | |
// @date = 2011-02-24 | |
// @site = | |
// @license = public domain | |
var AzureaUtil = {}; | |
AzureaUtil.event = {}; | |
AzureaUtil.time = {}; |
OlderNewer