Skip to content

Instantly share code, notes, and snippets.

/*
* DAC.cpp
*
* Created on: Mar 23, 2016
* Author: conne
*/
#include "DAC.h"
volatile struct DAC_REGS *DAC_PTR[4] = {0x0,&DacaRegs,&DacbRegs,&DaccRegs};
# - Find OpenNI
# This module defines
# OpenNI_INCLUDE_DIR, where to find OpenNI include files
# OpenNI_LIBRARIES, the libraries needed to use OpenNI
# OpenNI_FOUND, If false, do not try to use OpenNI.
# also defined, but not for general use are
# OpenNI_LIBRARY, where to find the OpenNI library.
set(OPEN_NI_ROOT "C:/Program\ Files/OpenNI2" CACHE FILEPATH "Root directory of OpenNI2")

Keybase proof

I hereby claim:

  • I am connerbrooks on github.
  • I am connerbrooks (https://keybase.io/connerbrooks) on keybase.
  • I have a public key ASAfhwmlmtoIuKkRbx6CDlAsF4uJlSgcEnj6QT_eBA0_eAo

To claim this, I am signing this object:

@connerbrooks
connerbrooks / ViveController.js
Created June 21, 2016 21:14
Three.js ViveController with button events.
THREE.ViveController = function ( id ) {
THREE.Object3D.call( this );
this.matrixAutoUpdate = false;
this.standingMatrix = new THREE.Matrix4();
var scope = this;
this.gamepad;
@connerbrooks
connerbrooks / cgd-werc.service
Last active January 8, 2018 09:15
cgd for swerc or werc with systemd
[Unit]
Description=Job that runs cgd for my cool swerc site.
[Service]
Type=simple
ExecStart=/home/cbrooks/develop/bin/cgd -f -c /home/cbrooks/swerc/bin/werc.rc
@connerbrooks
connerbrooks / chase_running_sum.py
Created April 13, 2019 19:29
Script to read chase statement CSV and show running sum. Ignores payments.
#!/usr/bin/env python
import sys
import csv
if len(sys.argv) != 2:
print "Usage: chase_running_sum <chase_csv>"
exit()
with open(sys.argv[1], 'rb') as csvfile: