Skip to content

Instantly share code, notes, and snippets.

1> [error] [<0.50.0>] {error_report,<0.24.0>,
{<0.50.0>,supervisor_report,
[{supervisor,{local,couch_db_update_notifier_sup}},
{errorContext,child_terminated},
{reason,normal},
{offender,
[{pid,<0.82.0>},
{name,"indexer"},
{mfa,
{couch_db_update_notifier,start_link,
; CouchDB Configuration Settings
; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.
[couchdb]
;max_document_size = 4294967296 ; bytes
os_process_timeout=60000 ; 60 seconds for couchdb-lucene
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
ether 00:25:4b:c4:a1:5e
media: autoselect (<unknown type>)
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,flow-control> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,flow-control> 100baseTX <full-duplex,hw-loopback> 1000baseT <full-duplex> 1000baseT <full-duplex,flow-control> 1000baseT <full-duplex,hw-loopback>
@brunokruse
brunokruse / kinect setup
Created November 22, 2011 06:19
steadylabs
//--------------------------------------------------------------
void KinectThread::setupKinect() {
// allocate our images into memory
threImg.allocate(CAM_WIDTH, CAM_HEIGHT);
depthImage.allocate(CAM_WIDTH, CAM_HEIGHT, OF_IMAGE_GRAYSCALE);
depthPixels = new unsigned char[CAM_WIDTH * CAM_HEIGHT];
@brunokruse
brunokruse / gist:2703588
Created May 15, 2012 17:40
4 Color Gradient Update
//--------------------------------------------------------------
void LightSource::defineColors() {
// create our colors
_r1 = 237.0; _g1 = 73.0; _b1 = 197.0; _a1 = globalAlpha; // purpish
_r2 = 112.0; _g2 = 223.0; _b2 = 255.0; _a2 = globalAlpha; // blue
_r3 = 81.0; _g3 = 219.0; _b3 = 81.0; _a3 = globalAlpha; // new green
_r4 = 234.0; _g4 = 255.0; _b4 = 137.0; _a4 = globalAlpha; // new yellow
// _r5 = 129.0; _g5 = 170.0; _b5 = 70.0; _a5 = globalAlpha; // green
// _r6 = 173.0; _g6 = 194.0; _b6 = 105.0; _a6 = globalAlpha; // dg-ish
@brunokruse
brunokruse / Smoother
Created May 15, 2012 17:40
Smoothing Algorithm
const int numReadings = 10;
int readings[numReadings]; // the readings from centroid.x
int index = 0; // the index of the current reading
int total = 0; // the running total
int average = 0; // the average
int inputPin = A0;
void setup()
@brunokruse
brunokruse / Geometry Shader
Created May 15, 2012 17:41
Reverse Light Geometry Shader
/***********************************************
Geometry shader to convert lines into triangle strips
Memo Akten
www.memo.tv
modified by: STEADY
************************************************/
#version 120
@brunokruse
brunokruse / gist:3407116
Created August 20, 2012 19:40
ofxUX Examples issue
git submodule update --init --recursive
fatal: Needed a single revision
Unable to find current revision in submodule path 'External/ofxUX'
@brunokruse
brunokruse / irc
Created August 23, 2012 21:29
steady irc
_____ _______ ______ _____ __ __
/ ____| |__ __| | ____| /\ | __ \ \ \ / /
| (___ | | | |__ / \ | | | | \ \_/ /
\___ \ | | | __| / /\ \ | | | | \ /
____) | | | | |____ / ____ \ | |__| | | |
|_____/ |_| |______| /_/ \_\ |_____/ |_|
@brunokruse
brunokruse / SteadyKinect
Created August 24, 2012 20:19
Kinect Programming Resources
# Kinect Frameworks
##ofxOpenNI (gameoverhack experimental for autoskeleton)
git clone https://github.com/gameoverhack/ofxOpenNI
git checkout experimental
##ofxOpenNI2 (arturoc)
git clone https://github.com/arturoc/ofxOpenNI2.git
##ofxKinect (theo)