Skip to content

Instantly share code, notes, and snippets.

View ddkaiser's full-sized avatar

David Kaiser ddkaiser

View GitHub Profile
@ddkaiser
ddkaiser / gist:7ca1763f862190218a8fb006a6d325b5
Last active April 13, 2018 20:18
Just some research into an open-source home-automation solution using the Linear HUSBZB-1 device on Linux
GOAL: an open-source stack (OS, Drivers, Applications, Integrations) for home automation.
GOAL: self-hosted, and not allow private data to be exploited by Google, Amazon, Microsoft, or other (vendor-provided)
cloud-computing systems that offer services for integration and automation, but leach private data into corporate servers
GOAL: host on a Raspberry Pi, or similar Linux server host
GOAL: use radio device(s) that speaks directly to the Raspberry Pi (Linux host) without using a vendor-provided bridge.
This means I would prefer a USB device for Zigbee or Z-Wave, without using any device similar to the Samsung "SmartThings"
Hub, and thus can avoid it's requirements for subscription into Samsung cloud, with the benefit? of avoiding Samsung's
@ddkaiser
ddkaiser / Driver.java
Created March 1, 2017 19:09
Example minimal ORC file writing. Non-distributed (not require YARN) and can run in off-cluster process, with appropriate HDFS and ORC client libs installed.
// Example - MINIMAL IMPLEMENTATION - of simple ORC file writing.
// Non-distributed (not require YARN) and can run in off-cluster process.
// Requires that the host has appropriate HDFS and ORC client libs installed, plus connectivity to the cluster.
package org.dkaiser.orctest;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
@ddkaiser
ddkaiser / badge.py
Last active August 29, 2015 14:20 — forked from proger/badge.py
#!/usr/bin/env python
import sys
sys.path.insert(0, '/System/Library/PrivateFrameworks/LLDB.framework/Resources/Python')
import lldb
dbg = lldb.SBDebugger.Create()
dbg.SetAsync(False)