Thursday, September 13, 2018

Learn to Solder Kits

These Learn to Solder kits from Rocket Dept. are a great way to teach your youngsters about soldering and basic electronics. One of them controls three LEDs with push buttons, one is a large RGB LED connected to three potentiometers so you can customize the color, one is a bug that vibrates to walk around, and the other is a firefly in a jar.

Wednesday, September 5, 2018

Puck.js: Javascript+Bluetooth===Awesome

Introducing Puck.js. The adorable Bluetooth-enabled microcontroller that you can program with Javascript.

Friday, August 17, 2018

DIY Game Controller (soldering project)

I got a new Hakko soldering iron so it's time to melt some metal!

This video shows how to make a working game controller out of only a perf board, some tactile buttons, and an Arduino Pro Micro. The code is available here.

Saturday, July 28, 2018

Hacked by a USB Device?!

I made a USB device that forces Windows machines to subscribe to my channel when someone plugs it in. 😃

Tuesday, July 24, 2018

Running python-RQ on a Raspberry Pi 3 Cluster

I keep getting asked to show some examples of Python code running on a Raspberry Pi cluster so here's a distributed task queue using python-RQ, Redis, and 16 ARM cores-worth of Raspberry Pi 3's.

Monday, June 25, 2018

Hookah: A Swiss Army knife for data pipelines

Hookah lets you pipe data between different stream types.

Check it out on Github:

Some CLI examples:
Pipe from stdin to a new TCP server on port 8080:
hookah -o tcp-server://localhost:8080
Pipe from an existing TCP server on port 8080 to a new HTTP server on port 8081:
hookah -i tcp://localhost:8080 -o http-server://localhost:8081
Pipe from a new Unix domain socket listener to stdout:
hookah -i unix-server://path/to/sock
Pipe from a new HTTP server on port 8080 to an existing Unix domain socket:
hookah -i http-server://localhost:8080 -o unix://path/to/sock

Sunday, June 24, 2018

Encrypted reverse proxy in Go

This was part of an interview technical challenge but I decided to write it out as an actual Golang tool. It has a program for starting the reverse proxy from command line as well as package interfaces for using the proxy handler and implementing the target server encryption.

Github repo:
Godoc page:

Friday, December 1, 2017

Build a Feed Reader in Python (Parts 7-9)

Part 07

Adding Jinja2 templates to a flask web application.

 Part 08

Adding static files so we can serve some CSS to style our app.

Part 09

Adding a background task to continuously update the articles while the application is running.

Tuesday, November 28, 2017

DIY Raspberry Pi Game Console

I just got a brand new Raspberry Pi case and decided to build a little gaming console with it...

Friday, November 24, 2017

Build a Feed Reader in Python (Parts 4-6)

Part 04

Adding methods to insert data into our database using SQLAlchemy.

Part 05

Adding GET and POST request handlers and routes to a flask web application.

Part 06

Finally implementing some of the request handlers and core logic behind the routes for this feed reader.

Saturday, November 18, 2017

Build a Feed Reader in Python (Parts 2 & 3)

Part 02

Installing and configuring MySQL, flask, and SQLAlchemy.

Part 03

Modeling our feed reader data using SQLAlchemy.

Friday, November 17, 2017

Build a Feed Reader in Python (Part 1)

Adding the feedparser module to the project and using it to extract information about feed sources and articles.