Backing up SQL data without Transfer

14 June 2017

When working with data we typically make backups in case we make a mistake. In this age of high speed connections you still want to avoid transferring unnecessary data around, be it because it’s very large or you’re working over a cellphone connection. You can backup the data within the database.

How to fill and empty an s3 bucket with Python

24 April 2017

Say you have an s3 bucket on amazon web services. You may want to programmatically empty it. In order to empty a bucket it must have items in it. So I’ll demonstrate how to put and remove items from a bucket. We’ll use the excellent boto3 library.

How to read a Javascript Stack Trace

25 February 2017

A Stack Trace is a report of the active stack frames at a certain point in time during the execution of a program. You should learn how to interpret these to debug live systems because in many cases a stack trace is all you have to solve a customer’s issue.

Testing Javascript Logging Programs

29 December 2016

This turned out to be more time consuming than I’d like. I was testing a Node.js program that would log to stdout as prescribed by The 12 Factor Apps - Logs page.

How to remove a file from a git commit

07 September 2016

If you need to quickly remove a file from a commit you just made …