Skip to content

Instantly share code, notes, and snippets.

View timatooth's full-sized avatar

Tim Sullivan timatooth

View GitHub Profile
@timatooth
timatooth / keybase.md
Created October 8, 2017 21:36
Keybase

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@timatooth
timatooth / udrawd.cpp
Last active August 1, 2018 08:29
Trying to accept PNG tiles with nghttp2
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif // HAVE_UNISTD_H
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif // HAVE_FCNTL_H
#include <iostream>
#include <string>
@timatooth
timatooth / main.go
Created February 9, 2018 00:23
watch, build, helm deploy
package main
import (
"archive/tar"
"bytes"
"context"
"fmt"
"io"
"log"
"os"
@timatooth
timatooth / agent.py
Created June 24, 2019 17:32
Motion Sensing with Raspberry Pi Camera and Cat Face Scanning with AWS Lambda + OpenCV
# agent.py
# Designed to run on a Raspberry Pi 3
# usage of Sense Hat and statsd optional
import logging
logging.basicConfig(format='%(asctime)s %(name)s %(levelname)s %(message)s', level=logging.INFO)
log = logging.getLogger('catscanface-agent')
import datetime
import argparse
import time
import os
@timatooth
timatooth / Readme.md
Created September 17, 2017 04:17
Monitor plant status with arduino

LoRa Shield, TFT Display

Plant monitoring project

Uses RadioHead RFM95W SX1272 (RF96) RF chip

Senses

  • Soil Moisture
  • Light level
  • Temperature