Change directory upwards to the first directory containing a .git directory. Helpful in quickly getting to the root of a git project.…


It can be difficult to tell what’s being tracked by Google Analytics with the delay between triggering actions in the browser and seeing those records in the Google Analytics dashboard. This is a quick and dirty way to track Google Analytics actions locally to make sure events are being triggered correctly before going to production.…


In this case, it’s used to read the status of an Alarm.com account and set the status of a Dropcam accordingly (disable Dropcam when alarm is disabled).…


Dear [Congressman Guinta/Senator Ayotte/Senator Shaheen]:

I am writing regarding the [Stop Online Piracy Act (SOPA)/PROTECT IP Act (PIPA)] bill currently under consideration in the [House/Senate].

I am a ███-year-old software developer living and working in ██████ and a lifelong New Hampshire resident.…


The WordPress webcam plugin I started almost a year ago is now live on the updated Lake Wentworth Association web site. There were a good number of bugfixes made before this release as well as proper handling of differences in timezones between the WordPress blog and the server it’s hosted on.…


Note to self: generating a Django SECRET_KEY value when using a skeleton project (not starting from django-admin.py startproject). This is from the startproject management command source:…


By default, Django makes every attempt to hide template errors from the user. This makes sense in a production environment where you don’t want a simple empty variable to cause your site to blow up. It can, however, cause trouble because you won’t see those swallowed errors in any admin email notifications.…


We set up the first webcam for the Lake Wentworth Association (LWA) web site at least seven or eight years ago. It started with one of those old, beige eyeball webcams, which soon gave way to our old tape-based video camera hooked up through a TV tuner card.…


Dear SeacoastOnline.com,

If you want to make money with your new payment model, consider hiring a web developer who could create a real login system to protect your content. All it takes is a few lines of JavaScript (four to be exact) in a bookmarklet to disable the current content “protections” and read an article.…


BuyThisBeer.com is a little project I started to keep track of what beers I’ve tried, what beers I liked and didn’t, and what beers I’m seeking out. Right now there’s not much to it, but it gives me an opportunity to play with new technologies and techniques (there’s no fun in repetition, but there is in self-improvement).…