Fork me on GitHub

Uploading with Rails 3.1,...

Uploading with Rails 3.1, CarrierWave, MediaInfo, Single Table Inheritance and Polymorphism

Starting a new Ruby on Rails project I decided to try out the much talked about CarrierWave gem. It makes uploading easy and keeps uploader config separated from your models. Clean! I decided to write this little tutorial as to how to get CarrierWave working... [+]

DarthFader: A jQuery Carousel Plugin with Force

Working with a fair few jQuery image sliders I started to get frustrated with the quirks and rules of some of them. Requiring a paragraph tag to simply add in a caption, only order lists supported, not my cup of tea. So for a new... [+]

Plex & Trakt: A Scrobbling Love Story

I love my AppleTV2. Not because you can purchase movies and TV shows online, wait a heap of time for them to buffer, then watch them disappear from your library the next day. Nope. But because the little black box can be jailbroken and turned... [+]

Remember Me: A CakePHP Persistent Login Plugin

After creating numerous CMS’s and getting client questions asking how come they don’t get automatically logged into their administration panel after 2 months of inactivity I decided to make Yet Another Remember Me Plugin (YARMP) – Yeh, I made that acronym up, it happens. Why... [+]

Appcelerator Titanium: Blurry Fonts & iOS

So recently I’ve been working with some iPhone apps for work. After picking up a little bit of objective-c then dropping it for a few months I quickly found myself relearning from the ground up. After reviewing a fair few solutions outside of programming directly... [+]

Form Keeper: Field Name Obfuscation for CakePHP Forms

I don’t like giving my end users information about the inner workings of the system they’re using. Even though the system itself might be secure in terms of what data it can take in, how it treats the data and what it returns, I still... [+]

Sign Me Up A CakePHP User...

Sign Me Up A CakePHP User Registration Plugin

Finding myself generating registration forms now and then for various sites, I found the whole process of replicating the same functionality over to different projects. It didn’t take long for me to realise that a plugin was the best answer to ease of replication and... [+]

How to Install an iPhone or iPod in an Audi TT MKI

MKI Audi TT’s unfortunately do not come stock standard with any sort of iPod connectivity. Unfortunately you’re stuck with burning cd’s, or if you’re lucky, burning 6 cds to use in the 6 cd changer located in the back left side of the car. After... [+]

Using an Aeropress for Steeping Tea

I’ve recently gotten my hands on the awesome coffee contraption Aeropress. But recently we went out shopping and picked up some tea leaves. I enjoy a cup of green tea now and then so after trying my hand out of all the many different ways... [+]

Car Loan Hindsight

Car Loan Hindsight

Choose wisely, prepare for an Everest of paperwork, and lots and lots of waiting. I’ve recently gone down the path of falling in love with a car, which ended up taking me to a car loan stopover, 4 year stopover. I looked around for a... [+]

SuperStack: A Simple CakePHP Cache Engine

SuperStack is a so simple it hurts CakePHP caching engine. The idea behind SuperStack is to use multiple existing CakePHP’s cache engines as a cache stack. For example, your primary cache server might be using Memcached, however Memcache cannot store the petabytes of data you... [+]

Tag Time: CakePHP Tag Plugin

Tag Time: CakePHP Tag Plugin

I needed to integrate a tagging system for a blogging website I was working on with CakePHP. Having read the blog post by teknoid I decided to create a CakePHP plugin along with some jQuery flare for the front end. GitHub: http://github.com/voidet/tag_time The plugin allows... [+]

Protecting Files Against Hotlinking with PHP, Lighttpd, Apache & X-Sendfile

I recently had to lock down some important files that first required some level of authentication. The problem was the only way to guard against hotlinking or direct access to these files was to pipe the data through php after an Auth check. Using fread,... [+]

Stay Out CakePHP Component

Stay Out CakePHP Component

I have recently been developing a new website which has found me in the position of writing a lot of session handling code. I came across the concept of logged out all sessions across multiple instances, and out came this CakePHP session flushing component stay... [+]

Picking up where strtotime() left off

I was working on a project where dates were being calculated (sort of) based on user input. For example the user was able to type in “Next Saturday” or the “Second Sunday of the Month”. This wouldn’t really be sortable, as strtotime doesn’t exactly allow... [+]