This file contains hidden or 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 pony.net.Protobuf; | |
| import pony.net.SocketClient; | |
| import pony.net.SocketServer; | |
| import test.Main_Builder; | |
| import test.Sub_Builder; | |
| class ProtoTest { | |
| static function main() { | |
This file contains hidden or 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 pony.midi.MidiDevice; | |
| class Main { | |
| static function main() { | |
| var midi = new MidiDevice(0); | |
| //Signal - Key - Velocity << function | |
| midi.on - 81 - 0 << function() trace('first disable'); | |
| midi.on - 81 - 127 << function() trace('first enable'); | |
| midi.on - 82 - 0 << function() trace('second disable'); |
This file contains hidden or 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
| Send, trace(); | |
| Send, {Left} | |
| Send, {Left} |
This file contains hidden or 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 Example | |
| { | |
| static function main() | |
| { | |
| var t = new Tumbler(); | |
| t.onEnable << function() trace('enable'); | |
| t.onDisable << function() trace('disable'); | |
| t.enabled = true; |
This file contains hidden or 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
| #if macro | |
| import haxe.macro.Expr; | |
| import haxe.macro.Context; | |
| import haxe.macro.Type; | |
| #end | |
| #if !macro | |
| @:autoBuild(BuilderBuilder.build()) | |
| #end | |
| interface Builder { } |
This file contains hidden or 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
| cd C:\HaxeToolkit\haxe | |
| rd std /s /q | |
| rd haxe-3.1.3 /s /q | |
| del haxe.exe | |
| del haxelib.exe | |
| del haxe_latest.tar.gz | |
| wget http://hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/windows/haxe_latest.tar.gz | |
| 7z e haxe_latest.tar.gz -y | |
| 7z x haxe_latest.tar -y | |
| move haxe-3.1.3\std . |
This file contains hidden or 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 ; | |
| import com.dongxiguo.continuation.Continuation; | |
| import haxe.CallStack; | |
| import haxe.Log; | |
| import haxe.PosInfos; | |
| #if nodejs | |
| import js.Node; | |
| #end | |
| import pony.db.mysql.Flags; |
This file contains hidden or 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 ; | |
| import haxe.Log; | |
| import pony.events.Event; | |
| import pony.xr.modules.Object; | |
| import pony.xr.modules.Op; | |
| import pony.xr.modules.V; | |
| import pony.xr.XmlRequest; | |
| using pony.Tools; |
This file contains hidden or 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; | |
| import js.Node; | |
| import pony.math.Matrix; | |
| import pony.midi.devices.Launchpad; | |
| import pony.midi.devices.LaunchpadColor; | |
| import pony.text.TextTools; | |
| import pony.time.Timer; | |
| using pony.Tools; |
This file contains hidden or 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; | |
| import sys.io.File; | |
| /** | |
| * Appveyor munit helper | |
| * @author AxGord | |
| */ | |
| class Main { | |