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
<?php | |
//You can pass -nm into the php script and no minification will occure (for debug purposes) | |
$minify = true; | |
foreach($argv as $arg) | |
{ | |
if( $arg == "-nm" ) | |
{ | |
$minify = false; | |
} |
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
#include "ByteReader.h" | |
using namespace Orionark::Utility; | |
ByteReader::ByteReader(char *data) | |
: data(data), | |
pointer(0) | |
{ | |
if( O32_HOST_ORDER == O32_LITTLE_ENDIAN ) | |
{ |
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
<?php | |
if( !defined( "INCLUDE_DIR" ) ) { | |
define( "INCLUDE_DIR", "" ); | |
} | |
require_once INCLUDE_DIR . "PGSQLQuery.php"; | |
/** | |
* Class to allow an easy, elegant way to | |
* connect to a PostgreSQL database. |
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
<?php | |
/** | |
* Useful for keeping track of a tree-like | |
* collection of data, for templates, API | |
* returns, and accessing it with simple, | |
* powerful paths, much like a file structure | |
* or XPath. | |
*/ | |
class DataTree { |
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 { | |
public class AnderssonTree { | |
public function AnderssonTree() {} | |
public override function add( node:TreeNode ):void { | |
_root = insert( _root, node ); | |
_size++; | |
} |
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 { | |
import flash.errors.EOFError; | |
import flash.text.TextField; | |
import flash.utils.ByteArray; | |
import flash.utils.Endian; | |
import com.buraks.utils.fastmem; | |
public class ByteMap extends ByteArray { | |
private var _length:uint; |