Started a Lemonstand Module where I plan to add a few helpful developer items. Just one helper in there, the Dumb Gateway payment type: Dumb Gateway was never the smartest in class. Dumb Gateway goes nowhere and does as it … Continue reading
Zero-padding (and other things) a string with the Twig template engine
This might sound a bit “duh” when you come to the conclusion but I did have to search for it and couldn’t find an immediate answer. I want to zero-pad a month variable to always be 2 digits long, using … Continue reading
Got a Raspberry Pi
My Raspberry Pi just arrived in the post on Friday (bought from Element14). Not sure what I’m going to do with it yet. Pretty sweet little device; even tinier than I had it pictured. Check it out on www.raspberrypi.org
Building a custom ITX HTPC computer with wooden case mod – Part 3
Welcome back for yet another riveting post on my computer building adventures. If you haven’t read Part 1 or Part 2 of this excellent writing exercise, well you oughta! So now I have the box for the case. What I’m … Continue reading
Building a custom ITX HTPC computer with wooden case mod – Part 2
Welcome back. If you haven’t read Part 1 of this excellent writing exercise, well you oughta! In Part 1 I briefly outlined the choice of hardware for the system. In Part 2 I’ll present the design aspects of the case. … Continue reading
Building a custom ITX HTPC computer with wooden case mod
I’ve wanted to do this for quite some time now. I have been custom-building my own desktop computer for a long time now. It pretty much just comes down to picking the right components and placing them in a good … Continue reading
Adding conditions to relationships in Laravel
Currently playing with the Laravel php framework. It’s been said by many already, it’s a really cool framework. Well designed and documented. Coming from a CodeIgniter background, it’s easy to jump in and refreshing to get all the new cool … Continue reading
Show custom image sizes in the WordPress’ Add Media popup
Not entirely sure when this appeared in WordPress, I remember searching through the source code a while back to find a way to do this and it wasn’t available then. Anyway, WordPress now has a image_size_names_choose filter that allow you … Continue reading
Extended ASCII characters are valid php variable names
A curiosity… I was looking on the php.net website for what qualifies as a valid PHP class name, which they qualify as: A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or … Continue reading
New WordPress plugin – Post In Post
So I wrote a WordPress plugin, called Post In Post. It’s basically a simple plugin to provide admins with a way to browse and insert post content inside other posts. The main aim was to try to integrate into WordPress … Continue reading