We filled the bath quite full today. The problem is that sometimes you get it too cold, and then have to run more hot into it, and then you overshoot, and have to run more cold again. Anyway, it was quite full. Continue reading “He went over backwards into the water”
Business and Open Source
At WordCamp Europe 2014, I described how working with Open Source has enabled me to grow in business, and to grow my business. I talked about the tensions between Open Source and traditional business instincts, and shared how giving in to giving stuff away has powered my growth as a consultant working with WordPress.
If you’re interested in exploring these tensions further, and looking into the philosophical underpinnings of the WordPress project and the Open Source movement, I wholeheartedly recommend Siobhan’s talk: “WordPress: Bringing Ideas to Life”. Continue reading “Business and Open Source”
Displaying MySQL query results vertically
Ever found the MySQL table view annoying? The table format is terrible at displaying rows with long values, isn’t it? You can get MySQL to display results vertically:
Some query results are much more readable when displayed vertically, instead of in the usual horizontal table format. Queries can be displayed vertically by terminating the query with \G instead of a semicolon.
More information on this tips page.
mysql> select * from wp_usermeta where user_id in ( select ID from wp_users where user_login = 'ab04d41a-f5b3-4859-9474-5a7047c7e23c' )\G *************************** 1. row *************************** umeta_id: 325 user_id: 24 meta_key: nickname meta_value: Mr G Teacher *************************** 2. row *************************** umeta_id: 326 user_id: 24 meta_key: rich_editing meta_value: true *************************** 3. row *************************** umeta_id: 327 user_id: 24 meta_key: comment_shortcuts meta_value: false *************************** 4. row ***************************
Fitting Isofix in a Ford Focus MkII
The tricky bit was removing the rear seat, mainly because I was looking at the instructions for the wrong model of car; the right instructions for me were on the Focus Fanatics forums. Fitting the actual bar itself was comparatively easy, just two bolts (after you’ve removed the bungs from the bolt holes), I’ve written a StackExchange answer. I bought the Isofix bracket and Torx driver set from Amazon.
I have a dream, about development environments (presentation)
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 “I have a dream, about development environments (presentation)”
A quick and dirty logger for Gravity Forms
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 “A quick and dirty logger for Gravity Forms”
I had a dream
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 “I had a dream”
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. Continue reading “Dad shoes: Scarpa Mojito GTXs”
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. Continue reading “Customising a standard theme for many sites”
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