How to centre an image in CSS

Centering text in CSS is relatively easy. All you do is add the “text-aling: center” property. If you’ve ever tried this with anything that isn’t text you’ll have noticed that this approach doesn’t work. Instead, display your class as a block, then set the margins to auto. You also need to specify a width so … Read more

Introducing Zen Dash

zen-treeIt is my pleasure to share with you my latest WordPress Plugin: Zen Dash. It allows you to selectively hide those Dashboard Widgets, Menu Items, Update Notifications and even Footer Links.

Inspired by Joseph Lowery and my recent post about how to do this in code, I wanted to create the same functionality without users having to use code.

After a few days of coding I really got into it and added several other features, including some nice jQuery UI tabs.

Read more

Disk Space Pie Chart – Version 0.5 released

I’ve just released a small update for my Disk Space Pie Chart plugin for WordPress. The new version addresses the following minor issues: Fixed Division by Zero bug (Thanks, Jure!) Tweaked some colours to better blend with WordPress Core Added MySQL Server Version The update was inspired by Jure di Mephit who very kindly gave … Read more

How to animate a UIView

In this example we have two UIViews: one backgroundView which does not change, and one numberView which can be moved, for example by a pan gesture (we’re not dealing with that though) Once the user lets go of the movable numberView, we want to reset the view back to the middle, to the same position […]

How to add touch events to a UITableViewFooter (or header)

Table View headers or footers can’t be tapped. Sometimes however that’s exactly what we want to do. In this example we’ll add a new UIView to out table view and add it to the table’s footer. Inside this view we’ll have a custom button which we’ll create with an image. We’ll also have a method […]

How to tag a release in Git

Like in Subversion, Git supports tags. Most developers use tags to “freeze” a bunch of files at a moment in time, much like a snapshot. Commonly this feature is used whenever a new release of your software is… well… released. Xcode does not support this feature via the GUI, but of course Git does. Let’s […]

How to find your Akismet API Key

It’s happened to me more often than I can remember: you build a new site, you want to put it live, and you want to switch on Akismet. You know you have an API key – but where on earth is it? If you’re running Kismet If you have the Akismet Plugin installed, head over … Read more