How to find and replace in MySQL

Sometimes you need to change some text in a MySQL table. For example, imagine you want to correct a spelling mistake or a reference in all your WordPress posts without having to change them one by one. Here’s how to do it with a raw SQL command. This works only on a single table – … Read more

How to swap the post title and date in P2

I’ve just posted this tweak in the WordPress P2 forum to help a user and thought I’d add it here too before I forget what I did. To swap the post title and date in P2 we’ll first grab a reference to each element, then we move one up and the other down. Like so: … Read more

How to use iCloud in your iOS App

In this series I’ll show you how to use iCloud in your iOS apps. We’ll discuss how to setup Xcode and your app, including App ID and Provisioning Profiles and I’ll demonstrate how to use all three flavours of iCloud: Key Value Storage, Document Storage and iCloud with Core Data. The rest of this series … Read more