Category Archives: Programming

A quick note on Mac malware

The most recent bit of OS X malware making the rounds is a fake file converter program that installs a PHP backdoor accessible via Tor, allowing some rando to rummage around on your machine. As is usual, you, the victim, … Continue reading

Posted in Programming | Leave a comment

Squashing commits in the same branch

Okay, I’m sure this is documented lots of places, but I just now figured out that git rebase -i is perfectly happy to rebase from a commit on the same branch, so if you’ve got a branch that you’d like … Continue reading

Posted in Programming | Tagged | Leave a comment

Creating a submissions log with Airtable

Okay, so Twitter ads were useful for once. They pointed me to Airtable, which is a very slick site which is halfway between a spreadsheet and a database. You create tables, like you would in a database, but adding, updating, … Continue reading

Posted in Programming | Tagged , | Leave a comment

“PG::UnableToSend: SSL error: sslv3 alert bad record mac”: not Postgres, not SSL

If you see this error in the build log for your Rails app (we were getting it during our Cucumber tests): PG::UnableToSend: SSL error: sslv3 alert bad record mac : …SQL query… then what you have is probably not an SSL … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Note on Vagrant UID conflicts

If you’ve restored from backup on OS X and are seeing this message when you issue vagrant up: The VirtualBox VM was created with a user that doesn’t match the current user running Vagrant. VirtualBox requires that the same user be … Continue reading

Posted in Programming | Leave a comment

Git: undoer of bad decisions

I’ve been working on a major Perl code refactor since March; this is a fairly critical subsystem that unifies two slightly different ways of doing the same thing under the One True Way. I’m finally starting to come out the … Continue reading

Posted in Programming | Tagged , | Leave a comment

Intro to Testing at SVPerl

As promised, here are the slides from my talk: Intro to Testing. This version of the talk covers a little more ground than the previous version, and gives you the preferred ways of dealing with leaking output and warnings, and includes … Continue reading

Posted in Programming | Tagged , | Leave a comment

xmonad on OS X Mavericks

I installed XQuartz today, and while looking around for a low-distraction window manager, I came across xmonad. It looked interesting, and I started following the installation instructions and found they were out of date. Here’s an updated set of instructions for … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Shellshock scanner

So I had a bunch of machines with a standard naming convention that I needed to scan for the Shellshock bug. Since I just needed to run a command on each one and check the output, and I had SSH … Continue reading

Posted in Programming | Tagged , , | Leave a comment

ETL into WordPress: lessons learned

I had a chance this weekend to do a little work on importing a large (4000 or so articles and pages) site into WordPress. It was an interesting bit of work, with a certain amount learning required on my part – … Continue reading

Posted in Programming | Tagged , , | Leave a comment