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 <stdio.h> | |
//#include <stdarg.h> | |
//#include <stdlib.h> | |
//#include <time.h> | |
#include <math.h> | |
#include <SDL/SDL.h> | |
#include <neko.h> | |
#define rnd(n) (rand()%(n+1)) |
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 android; | |
/** | |
Android Cloud 2 Device Messenger. | |
*/ | |
class C2DMessenger { | |
public static inline var C2DM_URL_LOGIN = "https://www.google.com/accounts/ClientLogin"; | |
public static inline var C2DM_URL_SEND = "https://android.apis.google.com/c2dm/send"; |
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 jabber.sasl.MD5Calculator; | |
using Lambda; | |
/** | |
Simple, remote SASL-MD5 calculator for XMPP clients | |
*/ | |
class Index { | |
static var passwords = { | |
tong : 'test' |
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 | |
header("Access-Control-Allow-Origin: *"); | |
header("Access-Control-Allow-Credentials: true "); | |
header("Access-Control-Allow-Methods: OPTIONS, GET, POST"); | |
header("Access-Control-Allow-Headers: Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control"); | |
$url = "http://example.com/http-bind"; // URI of the HTTP/BOSH gate to the XMPP server | |
$postdata = file_get_contents('php://input'); |
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
<!-- NativeClient hxcpp toolchain --> | |
<xml> | |
<include name="gcc-toolchain.xml"/> | |
<path name="${NACL_SDK_ROOT}/toolchain/linux_x86_newlib/bin"/> | |
<set name="M" value="32" unless="HXCPP_M64" /> |
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
#!bash | |
# | |
# Haxe bash completion | |
# | |
__haxe_commands() { | |
echo "-cp -js -swf -as3 -neko -php -cpp -cs -java -python -xml -main -lib -D -v -debug -dce -swf-version -swf-header -swf-lib -swf-lib-extern -java-lib -net-lib -net-std -c-arg -x -resource -prompt -cmd --flash-strict --no-traces --gen-hx-classes --next --each --display --no-output --times --no-inline --no-opt --php-front --php-lib --php-prefix --remap --interp --macro --eval --wait --connect --cwd -version --help-defines --help-metas -help --help" | |
} | |
_haxe_complete() { |
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
#!bash | |
# | |
# Haxelib bash completion (3.2.0-rc.3) | |
# | |
__haxelib_commands() { | |
echo "install upgrade update remove list set search info user config path version help submit register local dev git setup newrepo deleterepo selfupdate convertxml run proxy" | |
} | |
_haxelib_complete(){ |
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 sys.FileSystem; | |
import sys.io.File; | |
/** | |
Haxe port of nekoboot.neko for creating executables from neko bytecode. | |
Original version: https://github.com/HaxeFoundation/neko/blob/master/src/tools/nekoboot.neko | |
Usage : nekoboot <file.n> | |
*/ |
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 sys.net; | |
import haxe.crypto.Sha1; | |
import haxe.io.BytesInput; | |
import haxe.io.Output; | |
class WebSocketUtil { | |
public static inline var MAGIC_STRING = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer