Skip to content

Instantly share code, notes, and snippets.

I/ActivityManager( 310): START {cmp=com.nevargames.swoon/.SwoonGame u=0} from pid 526
I/ActivityManager( 310): Start proc com.nevargames.swoon for activity com.nevargames.swoon/.SwoonGame: pid=13448 uid=10049 gids={1015, 1023, 1028}
D/dalvikvm(13448): Trying to load lib /data/data/com.nevargames.swoon/lib/libSDL2.so 0x4193e6b0
D/dalvikvm(13448): Added shared lib /data/data/com.nevargames.swoon/lib/libSDL2.so 0x4193e6b0
D/dalvikvm(13448): Trying to load lib /data/data/com.nevargames.swoon/lib/libsdk.so 0x4193e6b0
D/dalvikvm(13448): Added shared lib /data/data/com.nevargames.swoon/lib/libsdk.so 0x4193e6b0
D/dalvikvm(13448): No JNI_OnLoad found in /data/data/com.nevargames.swoon/lib/libsdk.so 0x4193e6b0, skipping init
D/dalvikvm(13448): Trying to load lib /data/data/com.nevargames.swoon/lib/libdeadlogger.so 0x4193e6b0
D/dalvikvm(13448): Added shared lib /data/data/com.nevargames.swoon/lib/libdeadlogger.so 0x4193e6b0
D/dalvikvm(13448): No JNI_OnLoad found in /data/data/com.nevargames.swoon/lib/libdeadlogger.so
@numans[0].board(@vehicle)
@numans[1].board(@vehicle)
@vehicle.fly('#2098')
@numans[0].board(@vehicle)
@vehicle.fly('#5092')
@numans[0].board(@vehicle)
@numans[2].board(@vehicle)
@vehicle.fly('#2098')
@nddrylliog
nddrylliog / OpenHexagon
Created March 29, 2013 12:30
OpenHexagon launcher by flibitijibibo
#!/bin/bash
# Open Hexagon Shell Script
# Written by Ethan "flibitijibibo" Lee
# Move to script's directory
cd "`dirname "$0"`"
# Get the kernel/architecture information
UNAME=`uname`
ARCH=`uname -m`
#!/bin/bash
cd "${0%/*}"
./isaac
int temp;
if (condition) {
temp = 42;
} else {
temp = 16;
}
blah(temp);
@nddrylliog
nddrylliog / gnaar-ui.c
Created February 19, 2013 18:12
Weird closure bug.
void gnaar_ui__Frame_initEvents_impl(gnaar_ui__Frame* this) {
__gnaar_ui_closure1000_ctx* __ctx1001 = lang_Memory__gc_malloc(((lang_types__Class*)__gnaar_ui_closure1000_ctx_class())->size);
(*(__ctx1001)) = (__gnaar_ui_closure1000_ctx) {
this
};
lang_types__Closure __closure1002 = (lang_types__Closure) {
gnaar_ui____gnaar_ui_closure1000_thunk,
__ctx1001
};
dye_input__Input_onMousePress(this->input, SDL_BUTTON_LEFT, __closure1002);
@nddrylliog
nddrylliog / myarray.ooc
Created February 16, 2013 16:28
Oh my.
/**
* With template, everything is inlined - the struct
* type is written inline, the methods become macros,
* so there should be no symbol conflict
*/
MyArray: cover template <T> {
length: Int
data: T*
Sack: cover template <Kalamazoo> {
init: func@ {
"Sack with elements of size %d" printfln(Kalamazoo size)
}
}
main: func {
s := makeSack(Int)
}
@nddrylliog
nddrylliog / listtest.ooc
Created February 15, 2013 09:49
Cover templates + generics = <3
// our stuff
import myarray
// sdk stuff
import structs/ArrayList
main: func {
ints := MyArray<Int> new(1)
ints[0] = 1
/**
* With template, everything is inlined - the struct
* type is written inline, the methods become macros,
* so there should be no symbol conflict
*/
MyArray: cover template <T> {
length: Int
data: T*