Code + Product

Using Python's Watchdog to monitor changes to a directory

Feb 22nd, 2016 in PythonServers and Scaling

A small Python script to take action whenever a new file is uploaded to a directory or its contents change.

Data Pipelines - Airflow vs Pinball vs Luigi

Jan 12th, 2016 in PythonServers and Scaling

Review of 3 common Python-based data pipeline / workflow frameworks from AirBnb, Pinterest, and Spotify.

Bash script to monitor instances and MySQL

Nov 11th, 2015 in Servers and Scaling

A simple Bash script to check multiple server instances are responding, and rows are being added to a MySQL database.

Line-by-line code profiling in Python

Oct 1st, 2015 in Python

How to find slow sections in your Python code.

Understanding Time, DateTime, and timezones in Rails

Sep 13th, 2015 in Ruby on Rails

My notes on using RoR for formatting times and datetimes to strings, and parsing strings to time objects.

SEO checklist for developers

Aug 26th, 2015

Start your SEO with this checklist for developers.

Consuming a JSON API - Part 2 (EventBus)

Jul 30th, 2015 in Android

Using EventBus to update your Android app after receiving the contents of a JSON API.

Consuming a JSON API - Part 1 (Retrofit)

Jul 15th, 2015 in Android

Square's Retrofit library together with EventBus makes it super simple to parse the contents of a JSON API into your Android app.

Simple Android utility to parse config files in your app

Jun 19th, 2015 in Android

A really simple utility file I keep around in my Android projects which processes a raw JSON file into a List of objects.

Android swipe to refresh, only at the top of the list

Jun 10th, 2015 in Android

Build a swipe to refresh list, which only refreshes when at the top of the list.