“There is no manual that deals with the real
business of motorcycle maintenance...” -- Robert Pirsig


Appengine - setting and getting objects in the blobstore using pyramid

Working with Pyramid inside the App Engine can sometimes be a little comfusing. This recipe should help straighten a few things out.

Setting and getting objects in the blobstore using pyramid isn't totally straightforward when you're looking at the documentation for Google Appengine and Pyramid. In this solution I show a recipe that should get you up and running quickly, though.

...Read More


Merge Two MySQL Database Dumps With bash

A client came to me after a major MySQL failure caused his Wordpress database to drop a bunch of data. Fortunate for both of us I had long ago set up a script to back up his database every night. However, only specific pieces of data needed to be moved from one database to the other. Also, there was no telling exactly what data may have been dropped.

...Read More




lt_vim: Light Table in vim

Stop building and fix your process on a basic level. Your computer is already an IDE.

Light Table is full of great ideas, but I can’t stand working outside of vim for even a few minutes. Even worse is making the mouse part of my work flow. Basically, if it can’t be used from shell I’m usually not interested in using it.

The good news is that the best of Light Tables’ features are possible to implement within vim. I’m working on a series of articles that describe how to get some of that basic functionality going.

...Read More