Skip to content

Instantly share code, notes, and snippets.

@connerbrooks
connerbrooks / assest.md
Last active March 10, 2024 02:09
Android Asset Generation for Google Play Store
@connerbrooks
connerbrooks / arch-x230t.md
Last active December 30, 2022 01:03
Installing Arch Linux on x230t

x230t Arch Install

Prep

  • Create a USB live disk with arch ISO. If you have an existing Linux install you can use dd.
  • Boot to the USB drive, and open the Arch Beginner Guide on a separate computer.

Drivers

  • xf86-video-intel

Input Devices

@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:
@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 / plan9.md
Last active April 8, 2017 16:47
Using Plan9
@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;

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:

# - 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")
/*
* DAC.cpp
*
* Created on: Mar 23, 2016
* Author: conne
*/
#include "DAC.h"
volatile struct DAC_REGS *DAC_PTR[4] = {0x0,&DacaRegs,&DacbRegs,&DaccRegs};
@connerbrooks
connerbrooks / makefile.conf
Created January 14, 2016 03:55
LibDAI makefile for VS 2015
# This file is part of libDAI - http://www.libdai.org/
#
# Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
# This template contains configurations for compiling libDAI with Visual C++
# under Windows (and GNU Make)
#