Skip to content

Instantly share code, notes, and snippets.

Austin Godber godber

Block or report user

Report or block godber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
godber /
Last active Apr 8, 2019
Raspberry Pi All Sky Camera with Raspicam

Here's what I do after image acquisition.

  • Capture images with on Raspberry Pi
    • The raspberry pi is connected to my home network and is uncerimoniously thrown on the roof
    • It NFS mounts a disk inside, which is where the script lives and images get saved, so if an eagle flies off with it, I still have the data.
  • Convert the images to grayscale
  • Stretch them
  • Remove the bright ones at the beginning and end0
godber / Makefile
Created Mar 23, 2019
Makefile that bootstraps my Python and Kafka Talk
View Makefile
.PHONY: all clean data help tipcs cleandata cleantopics
echo "all - do all setup, gets kafka and data and processes data"
echo "clean - deletes temp/"
echo "cleandata - deletes /tmp/kafka-logs /tmp/zookeeper"
echo "cleantopics - removes kafka topics"
echo "topics - creates kafka topics"
all: temp/kafka_2.12-2.1.1 data
godber /
Created Mar 19, 2019
Example scripting tmux - bootstrap a kafka session in
#!/usr/bin/env bash
cd temp/kafka_2.12-2.1.1/
tmux ls | grep -q $SESSION
if [ $? -eq 0 ]; then
tmux a -t $SESSION
godber / asset-version-spec.js
Created Oct 25, 2018
Teraslice Asset Version Check
View asset-version-spec.js
'use strict';
const asset = require('../asset/asset');
const pkg = require('../package.json');
describe('asset version', () => {
it('should match package.json', () => {
godber / index.js
Last active Oct 12, 2018
Teraslice dump_asset
View index.js
'use strict';
const argv = require('yargs').argv;
const fse = require('fs-extra');
var elasticsearch = require('elasticsearch');
function saveAsset(assetName, assetVersion, binaryData) {
const newPath = `${assetName}/${assetVersion}`;
const tempFileName = `${newPath}/`;
godber /
Last active Nov 15, 2018
3D Histogram of an image in Python using VisPy
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''Generates 3D Histogram of Wallaby image and renders to screen using vispy
godber /
Created Mar 30, 2018 — forked from leonklingele/
netcat – encrypt transfer with openssl
SHARED_SECRET="shared secret"
OPENSSL_CMD="$OPENSSL enc -a -A -aes-256-gcm"
while IFS= read -r MSG; do
godber /
Created Jan 21, 2018
OS X Quicktime Screen Capture to GIF
  • Record video with OS X Quicktime Player (New Screenrecording)
brew install ffmpeg
brew install gifsicle
ffmpeg -i -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=10 > patrol1a.gif


You can’t perform that action at this time.