Skip to content

Instantly share code, notes, and snippets.

View IBwWG's full-sized avatar

KJB IBwWG

View GitHub Profile
use strict;
use warnings;
use Test;
BEGIN { plan tests => 4 }
my $commonResult = [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
joinOkay($commonResult, IBwWG::Flattener::flatten(-1, 0, 1, 2, [3], [4, [5, 6]], [[7]], 8, 9, [10, 11]));
joinOkay($commonResult, IBwWG::Flattener::flatten([[[-1]]], 0, 1, 2, [3], [4, [5, 6]], [[7], [8, [9]]], 10, 11));
@IBwWG
IBwWG / install-haxe.sh
Last active June 5, 2018 15:57 — forked from jgranick/install-haxe.sh
Haxe Linux install script
#!/bin/sh
HAXE_VERSION=3.4.2
NEKO_VERSION=2.1.0
if [ `uname -m` = "armv7l" ]; then
HAXE_VERSION=3.1.3
#!/bin/sh
echo ""
echo "-----------------------------------"
echo " Installing Flash Debugger"
echo "-----------------------------------"
wget -c https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/flash_player_sa_linux_debug.x86_64.tar.gz
tar xvzf flash_player_sa_linux_debug.x86_64.tar.gz
rm flash_player_sa_linux_debug.x86_64.tar.gz
@IBwWG
IBwWG / PlayState.hx
Last active March 5, 2020 20:30 — forked from MSGhero/PlayState.hx
9-Slice Algo Test
package;
import flash.display.BitmapData;
import flash.geom.Matrix;
import flash.geom.Point;
import flash.geom.Rectangle;
import flixel.FlxSprite;
import flixel.FlxState;
/**