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 jabber.component; | |
import jabber.stream.PacketCollector; | |
/** | |
*/ | |
class HistoryMessage extends xmpp.Message { | |
public var nick(default,null) : String; | |
public function new( nick : String, body : String, from : String, stamp : String ) { | |
super( null, body ); |
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 "Arduino.h" | |
#include <Wire.h> | |
#include "GY521.h" | |
void gy521_setup() { | |
int error; | |
uint8_t c; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Subl color schemes | |
## GoldenDragon | |
#191919 | |
#66cccc | |
#AEAEAE | |
#3B3A32 | |
#2D2D2D | |
#FFE792 |
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
#!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
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"; | |
OlderNewer