Skip to content

Instantly share code, notes, and snippets.

View Godzil's full-sized avatar
🏠
Feeling alone "WFH"

Manoël Trapier Godzil

🏠
Feeling alone "WFH"
View GitHub Profile
Nom de l’exception : NSRangeException
Description : -[__NSCFString characterAtIndex:]: Range or index out of bounds
Informations sur l’utilisateur : (null)
0 CoreFoundation 0x00007fff943875eb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffa8bfd9ba objc_exception_throw + 48
2 CoreFoundation 0x00007fff94404955 +[NSException raise:format:] + 197
3 CoreFoundation 0x00007fff94300546 -[__NSCFString characterAtIndex:] + 102
4 ChatCore 0x0000000109151216 -[MVIRCChatConnection(MVIRCChatConnectionPrivate) _sendCommand:withArguments:withEncoding:toTarget:] + 896
5 Colloquy 0x0000000108f5bae0 -[JVDirectChatPanel send:] + 3787
@Godzil
Godzil / # libpng - 2016-07-17_01-43-23.txt
Created July 16, 2016 23:46
libpng on Mac OS X 10.12 - Homebrew build logs
Homebrew build logs for libpng on Mac OS X 10.12
Build date: 2016-07-17 01:43:23
typedef unsigned char u8;
typedef unsigned int u32;
u8 substitution[512]={
0xac,0xd1,0x25,0x94,0x1f,0xb3,0x33,0x28,0x7c,0x2b,0x17,0xbc,0xf6,0xb0,0x55,0x5d,
0x8f,0xd2,0x48,0xd4,0xd3,0x78,0x62,0x1a,0x02,0xf2,0x01,0xc9,0xaa,0xf0,0x83,0x71,
0x72,0x4b,0x6a,0xe8,0xe9,0x42,0xc0,0x53,0x63,0x66,0x13,0x4a,0xc1,0x85,0xcf,0x0c,
0x24,0x76,0xa5,0x6e,0xd7,0xa1,0xec,0xc6,0x04,0xc2,0xa2,0x5c,0x81,0x92,0x6c,0xda,
0xc6,0x86,0xba,0x4d,0x39,0xa0,0x0e,0x8c,0x8a,0xd0,0xfe,0x59,0x96,0x49,0xe6,0xea,
0x69,0x30,0x52,0x1c,0xe0,0xb2,0x05,0x9b,0x10,0x03,0xa8,0x64,0x51,0x97,0x02,0x09,
@Godzil
Godzil / gist:8115534
Created December 24, 2013 16:50
My Kano's Pong : Pongito
if (gameEvents.key.W) {
game.players.a.move( -1 );
}
if (gameEvents.hit) {
if (game.balls[0].velocity.x * (Math.abs(game.balls[0].velocity.x) + 5) > 0) {
var x = (Math.abs(game.balls[0].velocity.x) + 5);
} else {
var x = -(Math.abs(game.balls[0].velocity.x) + 5);
}