HTML5 form inputs in CakePHP 1.2

At work, we’re building out a mobile version of our replicated sites.  As anyone who’s used an iPhone or Android browser to fill out a web form knows… using an iPhone or Android browser to fill out a web form is really annoying, and it’s best to make things as user-friendly as possible.  That’s why […]

Posted by Curtis Gibby on July 28th, 2011

Filed under Programming, Work | No Comments »

Creating on-the-fly MP3 playlists on the NMT

All I wanted was a way to quickly and easily get some music going on my nice home theater through my Popcorn Hour, preferably with a “shuffle” option — start it up and let it run. I built a custom PHP script to do just that.

Posted by Curtis Gibby on March 1st, 2011

Filed under Programming | No Comments »

Maximizing font size in FPDF

At work, I use the excellent FPDF library to write PDF files.  But I couldn’t find any way to automatically make the text as large as possible to fit into a given space.  So I wrote the following function to stick into the FPDF class.  It’ll take a given text string and a width, incrementally […]

Posted by Curtis Gibby on June 22nd, 2010

Filed under Programming, Work | 2 Comments »

CakePHP containable order

I’m developing in CakePHP at work, and I was trying to do a sort on a contained model.   As in, for all of the Foos, get all the related Bars, but order the Bars by Bar.publish_date (or whatever). I kept getting conflicting information about whether that was even possible and how to go about […]

Posted by Curtis Gibby on March 24th, 2010

Filed under Programming | 3 Comments »

Automatically back up your Facebook Status Updates

[update below about Facebook app that shows old status updates] I like the idea of using my Facebook Status Updates as a miniature journal, but unless you want to copy and paste them out, it’s tough to archive them. Until now! You can now automatically get every status update emailed to you for easy backup […]

Posted by Curtis Gibby on July 31st, 2009

Filed under Programming | 9 Comments »

I’m an Apache warrior!

I’ve finally gotten everything on my web site working more or less right. The address redirection took a bit of tweaking in the Apache configuration files, but I learned how to do it. Now there’s a couple of things I might do with filtering, and I definitely want to change/update the playlist… and oh yeah, […]

Posted by Curtis Gibby on April 22nd, 2005

Filed under Programming | No Comments »