Skip to content

Instantly share code, notes, and snippets.

@jonbro
jonbro / gist:6094281
Created July 27, 2013 08:47
colloquy xmpp crash log
7/27/13 9:38:26.211 AM Colloquy: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFSet removeObject:]: attempt to remove nil'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8acaff56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8e977d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8acafd8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff8acafd14 +[NSException raise:format:] + 116
4 CoreFoundation 0x00007fff8ac88c63 -[__NSCFSet removeObject:] + 147
5 Bouncer 0x0000000110004416 -[CQBouncerConnectionController _gotRawConnectionMessage:] + 359
6 Foundation 0x00007fff862acd0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
AARON
ABACUS
ABATTOIR
ABBEY and SLOANE
ABBOTT
ABDOMEN
ABERCROMBIE
ABERCROMBIE
ABERRATION
ABIGAIL
Vec2 = class(function(vec,x,y)
vec.x = x
vec.y = y
end)
function Vec2:set(v)
self.x = v.x
self.y = v.y
return self
end
function Vec2:add(v)
@jonbro
jonbro / spritepacker.html
Created September 2, 2012 16:43
html sprite packer
<!DOCTYPE html>
<!--
instructions:
drag a set of images onto the canvas.
it will create a spritesheet from these images.
credits:
http://robertnyman.com/2011/03/10/using-html5-canvas-drag-and-drop-and-file-api-to-offer-the-cure/
http://www.blackpawn.com/texts/lightmaps/
http://www.html5rocks.com/en/tutorials/file/dndfiles/
//import controlP5.*;
//ControlP5 cp5;
int[][] terrain;
int gridSize = 20;
int arraySize;
void setup() {
size(400, 400);
arraySize = (width/gridSize)+1;
terrain = new int[arraySize][arraySize];
avclub.com
bricklink.com
calendar.google.com
gmail.com
ebay.co.uk
facebook.com
gmail.com
hem.spray.se/kendoka/
imgur.com
jonathanbrodsky.com
import processing.opengl.*;
PImage bg = new PImage();
PImage car = new PImage();
PImage[] grid = new PImage[4096];
PVector[] vgrid = new PVector[4096];
color[] cgrid = new color[4096];
float[] dgrid = new float[4096];
@jonbro
jonbro / gist:2199756
Created March 25, 2012 21:06
First Fiasco Play Report.
Played Fiasco (a GM less storytelling RPG. see www.bullypulpitgames.com/games/fiasco) with Morgan Cahn, Erin Hardee, and Morag Hannah... Here is the story that we created. It is slightly edited because I didn't take the best notes, and also slightly edited to make the scene transitions work a bit better.
ACT 1
JJ is a struggling business man, looking for any way to keep is failing parts company from being purchased by Charlotte Steadler. He attempts to get small time criminal sweets to hold his champion dog for him, while he commits dognap insurance fraud.
Before he is able to get Sweets to hold his dog for him, he is brought into a meeting with Charlotte, who attempts to strong arm him into signing the paper to sell his business to her. Charlotte wants to take both of these businesses and convert them into a philanthropic organizations. During this meeting, JJ begins to show cracks in his personality, threatening Charlottes business.
Meanwhile, Sweets is being talked to by her brother Gunter, who wants
* module 1
* class 1
* class 2
* class 2
* module 2
* class 1
* class 2
* class 2
precision highp float;
#endif
uniform vec2 resolution;
uniform float time;
uniform sampler2D tex0;
uniform sampler2D tex1;
float jinteresct(in vec3 rO, in vec3 rD, in vec4 c, out float ao)
{