This is the presentation I gave today at WordCamp Manchester, 2014. There’s an embed of the slides below, and you can also download the version with my (fairly verbose) speaker notes. Continue reading
Today I noticed pieces of code to hook into a logger scattered throughout Gravity Forms, when I was trying to track down an issue. Here’s some quick and dirty code which hooks into the logging methods and writes to the PHP error log: Continue reading
The first post in a series covering how we currently control our development environments at Code For The People.
Back in 2013 I had a dream. I wanted our team at Code For The People to work within a consistent development environment, which we could jointly outfit with tools and functionality to help us do our job better. I wanted us to be able to assemble resources, plugins and themes and code libraries, as we needed them. I wanted us to be able to easily develop and easily deploy. I wanted something which would allow us to engage freelancers, or even clients, and get them started on development without having to go through complex sysadmin procedures. I wanted us to be able to jump in and help each other at short notice.
I think we’re well on the road to meeting these requirements now, and so I’m due to write up the travails which have got us to this point. Continue reading
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. Continue reading
This is a presentation I made at the New York Times to the WordPress Big Media and Enterprise meetup in New York. Continue reading
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
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 quickly became too complex and I realised I really needed to give him a set of initial URLs and expected results. Why not express these rules in a quick test script? My colleague could run the script against the redirects as he wrote them, and see the successful ones and the failures, along with detail about why they failed. Continue reading
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. Continue reading
One of the joys of having a young baby, I’m finding, is reading. I wasn’t expecting reading to come to us so early, it was my mum who suggested it when Rufus was only three or four months old. He loves us reading to him; the shapes, the colours, the closeness, the sound of our voices, the turning of pages, the taste of the corner of each page as he takes a pensive suckle before it
goes past. I’ve recently started to wonder if I can make stories up for him. I remember at OFFF in Lisbon, Joshua Davis was talking about creativity and how he made up stories to order for his daughter every bedtime. I’d like to give it a go, and I thought
writing about it would give me a chance to think it through and some motivation to continue.
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 having a baby! Look here we are, out at the pub, and our baby
is sleeping next to us
at nine-o-clock at night!”. This phase passed and we fairly rapidly
realised that Rufus wasn’t going to be the kind of baby who could
just fall asleep on the play mat, or in the pushchair at a café, or
in our arms at the pub, or in fact anywhere unless we did something
to sort this situation out.