Category Archives: Howto

How-to build latest Linux kernel from Linus’ git repo on Debian

Here’s a how-to for building a recent Linux kernel on your Debian GNU/Linux box: You will need to do all this as root. It’s serious business building new Linux kernels su – The dash after the su command makes it behave as if you had logged in as root directly, a full login environment is [...]

How To Move off GitHub

If you want to leave Github for whatever reason, you probably want to take all your code with you, and all your history and branches, etc. Here’s an example for how I moved my Android Eclipse workspace from Github to my own remote server. First I make a new git repo on my remote server: [...]

Android Deallocate Bitmaps

Call this in your onDestroy() on your outer-most layout to free up memory: Helps with memory leaks in Android, especially if you have an app that switches activity screens a lot.

iOS NSDateFormatter NSDate for “now” with timezone

In iOS I needed “now” as a string to use in an HTTP POST. This is as short as I can see to make it: The first time you do something it might be painful. Here’s to hoping your pain is less than mine

Stack Trace Driven Development

Motivation If your software project doesn’t “get users” it will die, bottom line. Launching a software project into production sooner rather than later greatly increases the odds the project will “get users” and ultimately succeed. Situation You’ve seen it time and again in recent years. You start a new project. You have project specs and [...]