Author: simonwheatley
-
Dad shoes: Scarpa Mojito GTXs
You have to get the right kit to help you get the job done, am I right? For the first six months I was pushing The Boy’s pram round a lot of parks, rain and shine, whatever it took to get him to sleep. All this in the wrong shoes: Camper Twins.
-
Customising a standard theme for many sites
This is a presentation I made at the New York Times to the WordPress Big Media and Enterprise meetup in New York.
-
Good idea for story time
A nice idea for story-time is to suggest “let’s do a story from memory”! Amazingly we did Where the Wild Things Are tonight. – Stef Landowski
-
Testing HTTP redirects with Curl
We’ve got a really complex redirection setup for the current project at work, a mix of some general rules (http://blog.example.com/ to http://www.example.com/blog/), some oddball domain redirects (http://blog.example.jp/ to http://www.example.co.jp/blog/), and some more esoteric ones thrown in there for luck. I started off briefing my colleague with a description of what I needed, but this very…
-
Redirection recipes
Some 3,000 Apache redirection rules are getting scrapped by a client (not a bad thing), and I wanted to make sure I had a note before that happened. All 3,000 rules are all variations on the following few types of redirection rule.
-
Sleeping on London Bridge
Our son Rufus slept in different ways as he reached different milestones. The first kind of sleep, when he was a tiny baby, was more a some kind of rapidly cycling consciousness and unconsciousness designed to disrupt parental sleep, this was a phase where we were lulled into a false sense of security. “It’s easy…
-
Human readable Gravity Forms exports using XSL
We have a client who needs to review a very complex form created in Gravity Forms. The form has many fields, and to make things worse the labels displayed to the user and the labels displayed to the administrator when someone submits the form are different. Because Gravity Forms has an XML export, it occurred…
-
Alfred Workflow to open a directory in Sublime Text
I’ve recently switched to development in two Vagrant virtual machines (VMs), one VM running Nginx and one running Apache. This means that are two locations I might need to open files from, with two sets of directories representing the document roots of my various development sites. Eventually I got bored of using the terminal to…
-
Dumpnaming
Whenever I dump a database out to a file, I always like to have it named sensibly: example-20130718-1523.mysqldump. Having a consistent name for the database dumps helps keep them in order, and helps me to clear up unneeded files at the end of jobs.