Quick and easy WordPress development using Docker

TL/DR: Head over to this GitHub repo for a handy way to develop WordPress plugins and themes using Docker. I recently decided to create my first public WordPress plugin which provides basic FitBit stats for your blog. This was on a fresh laptop (the one handily provided by Automattic, my new employer), so I had the opportunity… Continue reading Quick and easy WordPress development using Docker

Fixing basic encoding issues migrating / upgrading a WordPress database

I recently joined Automattic as a Code Wrangler (more on that soon), and I decided now was the time to de-spam, combine and resuscitate my old WordPress blogs. Along the way I noticed a few annoying encoding issues crept in. The Wordpress XML exporter/importer, for example, double-escaped all my quotes so that <a href=”this”> became <a href=”this”>, which… Continue reading Fixing basic encoding issues migrating / upgrading a WordPress database

Published
Categorized as General

How I test code

This post is inspired by a great piece by Rails creator DHH. My name is Dan, and sometimes I write tests first, and sometimes I write tests afterwards, and sometimes I don’t test at all because it would add brittleness for no benefit. Often I delete tests that I think have outlived their usefulness, or… Continue reading How I test code

Published
Categorized as General

Dragon Momma

My mother in law is the sweetest person in the world, except perhaps for my wife. That’s what makes this so damn funny.

Published
Categorized as General

American Apparel Girl

A song I felt compelled to write about the American Apparel billboards that blanket the inner east of Los Angeles.

Published
Categorized as General

Irony overload as undecided voters criticise flip-flopper

Check out the buried lead in this article from Reuters: “Romney just has to prove that he’s conservative enough for me,” said Eleanor Stump, a 70-year-old Tea Party member from Sheldon, Iowa. “I don’t like the way he’s flip-flopped.” Stump said she initially supported Herman Cain, who dropped out of the race after charges of… Continue reading Irony overload as undecided voters criticise flip-flopper

Published
Categorized as General

MoJo week 2: Adoption

In this week’s MoJo lectures, we listened to Mark Surman and Chris Heilmann of Mozilla talk about the new HTML5 standards and capabilities in the Firefox browser, and from John Resig on how to build and maintain an open source product.

Published
Categorized as General

The Power of Prototyping

This is the first in what will be a series of blog posts for the Mozilla-Knight Journalism Challenge. This week we heard from Aza Raskin, former creative lead for Firefox and head of user experience for Mozilla, talking about the power of prototyping for understanding problems and building momentum behind your solution.

We’re back

So I totally got hacked. Reminder: be vigilant about upgrading wordpress and its plugins, or bad things happen. The hack looks like this, and appears all over the place, at the top of some files and the bottom of others. It decodes a huge blob of encoded text that was stuffed into one of the… Continue reading We’re back

Published
Categorized as General