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
@:jsRequire("nano") | |
extern class Nano { | |
@:selfCall | |
public static function create(url: String): Nano; | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am fponticelli on github. | |
* I am fponticelli (https://keybase.io/fponticelli) on keybase. | |
* I have a public key whose fingerprint is D665 0895 F02A 5D6F 3089 7965 9CEC 6A8B B344 787C | |
To claim this, I am signing this object: |
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 abe.App; | |
import bl.server.*; | |
import js.Node.*; | |
import js.node.Cluster; | |
import js.node.Os; | |
import npm.Chalk.*; | |
class Server { | |
public static var defaultPort(default, null) = 8787; | |
public static var defaultHost(default, null) = "0.0.0.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
package bl.common; | |
using thx.promise.Promise; | |
import thx.Url; | |
import js.html.XMLHttpRequest; | |
import js.html.XMLHttpRequestResponseType; | |
class Request<T> { | |
public var response(default, null) : Promise<T>; | |
var request : XMLHttpRequest; |
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
private typedef _SActionFunc = EntityScript -> _SA -> Void; | |
private class _SActions { | |
// Every function in this class must be of type _SActionFunc. | |
// Who knows what will happen if this is not true. | |
public static function Idle(entity:EntityScript, action:_SA):Void { | |
} | |
public static function AnotherAction(entity:EntityScript, action:_SA):Void { | |
} |
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
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
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
cache=2 days | |
formats=png,html | |
[params] | |
start=true | |
end=true | |
path=true |