Skip to content

Instantly share code, notes, and snippets.

View JetForMe's full-sized avatar

Rick M JetForMe

View GitHub Profile
@JetForMe
JetForMe / gist:ef7a3510620b792d155aa0cf747c442a
Created October 21, 2016 00:48
Simplified User and Vault
@Service("/User")
public
interface
UserVault extends Vault<IdAsset, User>
{
void
create(HOASession.UserRegistrationForm inForm,
Result<IdAsset> ioResult);
void
@JetForMe
JetForMe / asound.state
Last active October 29, 2015 21:49
My /var/lib/alsa/asound.state file
state.EVM {
control.1 {
iface MIXER
name 'PCM Playback Volume'
value.0 50
value.1 50
comment {
access 'read write'
type INTEGER
count 2
@JetForMe
JetForMe / BB-ENABLE-PRU.dts
Created September 24, 2015 09:50
Building toward the overlay for Podtique1.
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone-black";
/* identification */
part-number = "BB-ENABLE-PRU";
/* version */
@JetForMe
JetForMe / Park.ino
Last active December 29, 2015 00:49
Hacktacular parking ranging code. This was a fatigue-fueled throwaway effort for the Parking Ranger described here http://www.youtube.com/watch?v=lHSCSfiCXpA. The code sets up a color table, one entry per LED, and initializes everything else. It then sits in a loop, triggering the sensor and then measuring the resulting pulse width. It then conv…
/**
Simple Arduino parking range display.
Designed for an Arduino MEGA 2560, connected via SPI0 (pins 51, 52)
to an LDP8806 52-LED strip, and a Parallax PING))) ultrasonic
sensor on pin 22.
*/
#include "LPD8806.h"
#include "SPI.h"
@JetForMe
JetForMe / 03.mak
Last active December 27, 2015 13:18
pcl failed to build on 10.9
/usr/local/Cellar/cmake/2.8.12/bin/cmake -H/tmp/pcl-fuFk/pcl-pcl-1.7.0 -B/tmp/pcl-fuFk/pcl-pcl-1.7.0/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_start /tmp/pcl-fuFk/pcl-pcl-1.7.0/build/CMakeFiles /tmp/pcl-fuFk/pcl-pcl-1.7.0/build/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f common/CMakeFiles/pcl_common.dir/build.make common/CMakeFiles/pcl_common.dir/depend
cd /tmp/pcl-fuFk/pcl-pcl-1.7.0/build && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pcl-fuFk/pcl-pcl-1.7.0 /tmp/pcl-fuFk/pcl-pcl-1.7.0/common /tmp/pcl-fuFk/pcl-pcl-1.7.0/build /tmp/pcl-fuFk/pcl-pcl-1.7.0/build/common /tmp/pcl-fuFk/pcl-pcl-1.7.0/build/common/CMakeFiles/pcl_common.dir/DependInfo.cmake --color=
Dependee "/tmp/pcl-fuFk/pcl-pcl-1.7.0/build/common/CMakeFiles/pcl_common.dir/DependInfo.cmake" is newer than depender "/tmp/p