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
cache=2 days | |
formats=pdf,ps,png,jpg,svg,bmp,tif,html | |
[params] | |
viz[0]=pieChart | |
viz[1]=barChart | |
[defaults] | |
viz=pieChart |
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
cache=2 days | |
formats=png,html | |
[params] | |
start=true | |
end=true | |
path=true |
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
cache=2 days | |
formats=png,jpg,pdf,html | |
screenWidth=580 | |
[params] | |
start=true | |
end=true | |
path=true | |
token=true |
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
abstract FunctionInfo<T>({ f : T, arity : Int, hasReturn : Bool }) | |
{ | |
public inline function new(f : T, arity : Int, hasReturn : Bool) | |
{ | |
this = { f : f, arity : arity, hasReturn : hasReturn }; | |
} | |
public inline function self() : T return this.f; | |
public inline function call(args : Array<Dynamic>) |
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
import bone.Bone; | |
import thx.color.Color; | |
import thx.color.HSL; | |
using thx.color.Convert; | |
class RGBLed | |
{ | |
public static function main() | |
{ | |
reset(); |
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
#ifndef _LINKEDLIST_H | |
#define _LINKEDLIST_H | |
template <typename T> | |
class LinkedList { | |
public: | |
LinkedList(); | |
~LinkedList(); | |
void add(T value); | |
void remove(T value); |
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
import Timer from 'ui/timer'; | |
let _listeners = Symbol(); | |
class Source { | |
constructor(callback) { | |
this[_listeners] = []; | |
let sink = (value) => { | |
Timer.immediate(() => { | |
this[_listeners].map(ƒ => ƒ(value)); |
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
import react.React; | |
class CommentBox extends React { | |
static function main() { | |
React.renderComponent( | |
@dom '<CommentBox url="comments.json" pollInterval={2000} />', | |
js.Browser.document.getElementById('content') | |
); | |
} |
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 Sample<T>(value : T) { | |
trace(value) | |
def toString = value | |
} |
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
import sui.Sui; | |
class DemoObject { | |
public static function main() { | |
var o = new DemoObject(), | |
sui = new Sui(); | |
sui.bind(o.name); | |
sui.bind(o.enabled); | |
sui.bind(o.startedOn); | |
sui.bind(o.traceMe); |
OlderNewer