James McDonald

Access

Blog History

CakePHP Javascript Include

I read the documentation. But I must be a slow learner or something. Anyway including javascript into a view using cakephp: I am using an auto baked cake template named index.ctp For me it's located cake_app_dir/views/names/index.ctp To get the javascript script block...

read more

Fedora Fanboy

I know Ubuntu is getting a lot of the kudos recently for being the most popular distro. But Fedora deserves a lot of credit, if not for anything else for this: Presto reduced the update size by 80% (from 222 M to 46 M) It's yum based update system proactively checks...

read more

Page Load Speed Improvements

I'm noodling away at my websites performance using the Google Page Speed plugin. It recommends losslessly compressing your images using a number of utilities. I mostly upload png format images so I ran the following on my Wordpress content folder to compress the...

read more

Page Speed

Since I moved to a self managed Rackspace Cloud Server. I've been forced to look at all the things that one would normally pay a shared hosting provider to manage. i.e. Security and Performance. So after installing a roll-your-own Apache+Suexec+Mod_Security+MySQL+PHP...

read more

GIMP Cool New Feature

Just playing with the latest development snapshot of GIMP and discovered that it's got a really cool new way of sizing the pencil and brush tools. Before you had to select a 1, 3, 5 etc pixel brush or pencil. Which was annoying because I always seemed to want...

read more

The YUM equivalent to apt-get build-dep

I've been yo'yoing (a word only Words with Friends would accept) between Ubuntu and Fedora and during my periods at the Apogee from one or the other distribution I find I want to do something in one or the other that I know the command of in the other or vice versa....

read more