Spotify Terms of Service and Facebook

I opened Spotify this morning and I was greeted with an updated Terms of Service document, I don’t have time to go through the whole document this time but I was interested to see if they had made any modifications to their document when you connect your Facebook account and it seems like they are […]

JavaScript to CoffeeScript Backbone conversion sample

Find files in Linux that exceed specific file size.

sudo find / -type f -size +(fileSize) -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ Example: sudo find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’

Restart Apache 2

PHP Development with XAMPP

Larry Ullman wrote a great post about his experience with MAMP. Many years before I heard about MAMP I had been using XAMPP (, it was in fact that a friend told me about the great piece of software he was using called MAMP which was only $39 (at the time, today you have to […]

Command line productivity

There is nothing more rewarding than creating shortcuts for your daily work routines, and what better than when using the command line. Problem: You have to create a directory and then cd to it after creation. Solution: Open your blash_profile for editing, in my case I will use nano $ nano ~/bash_profile once open, now […]

From Kohana to ZendFramework in about 30 minutes

I am pleased to say that it took me only about 30 minutes to transfer a basic site writte on Kohana to the ZendFramework, both frameworks make it easy to switch between each other. For one thing you can use the ZendFramework Library in Kohana (although I haven’t done it myself people declare is rather […]

Optimizing SWF files with Flex Optimizer

I found a reference to optimizing SWC files with Flex Optimizer and I figured I would run some tests through SWF files and see what effects it had in it. To my surprise the Optimizer tool did optimize the SWF files but just by a few bytes: Test 1: …_concept1_v1_alt.swf (56569 bytes) …_concept1_v1_alt_optimized.swf (56456 bytes) […]

PureMVC Framework from The Flex Show podcast

These are notes that I took while listening to the podcast, by no means the information should be taken as final. Feel free to listen to the podcast and let me know if you notice any discrepancies from what it was said on the podcast and what was written here. Notes from PureMVC Framework – […]

Disable extra fields in CCK for Drupal

There are times when you want to allow the Super Admin to edit those extra fields but not the editors/contributors of your site so this is one way to do it: [PHP]< ?php /** * Change the node form */ function phptemplate_node_form($form) { // echo " “; dprint_r ($form); echo ”; // Hide ‘Log message’ […]