Category: Test Driven Development

  • Random bad permissions on OSX

    Random bad permissions on OSX

    I occasionally run into weird permission problems after a restore of files and folders on my machine, I think it has to do with OSX trying to protect me from myself. Today I needed to fire up my coding environment on my Mac Mini, so I jumped into the folder for the code that I…

  • Reset your branch (Git)

    Sometimes I get my branch in a state where I need to reset things to what is on the server. Most of the time a simple switch of branches is enough to get everything back in shape, but once in a while I need to actually reset to what is in the parent repo. To…

  • Maven repositories

    I needed to do some work on an old Maven project I have that I’ve worked on for years, and when I fired up my handy Netbeans IDE and ran the obligatory “priming build”, I was surprised to get an error on one of the basic Maven plugins.

  • Working Backwards

    Sometimes I find myself working backwards up a tree of errors to fix a problem. Today was a case in point. Since I’ve been doing a bit of WordPress grooming, I have the development build checked out locally. Previously I had run phpunit against the unit tests included in the code, but for some reason…

  • Using TDD (Test Driven Development)

    If you read my previous post (WordPress Recovery), you know I’ve been writing some code to recover my old posts. It occurred to me I could take a small segment of what I’ve been doing with that code to demonstrate my approach to TDD. Since I’m a hacker from way back, and also because I…

  • Lesson Re-learned: Backups !

    I just shot my blog in the foot, or more accurately, I didn’t follow IT 101 and back things up before making a change. I had moved my site to be completely WordPress based a while ago, and as a result I had a bit of a convoluted setup on my server. When I first…

  • Creating a New App (step 1)

    I decided I’d walk through creating a new app to replace one I’ve used for years on my iPhone that no longer appears to be maintained. The app in question is called GasBag which as near as I can tell stopped being updated in 2009 (see: http://blog.jam-code.com/).   I could just write a quick and dirty…

  • Eventbrite Calendar Feed

    I volunteer and provide technical support for a few non-profits, one of which is the Project Management Institute San Francisco Bay Area Chapter (http://www.pmi-sfbac.org) where I serve as the VP of Operations and CGO. One of the moves I made in my first year with them was to migrate our event calendar to Eventbrite and…