TinyURL Shortener from Terminal

TinyURL Shortener from Terminal

So i wanted to shorten some urls quickly and easily. I went looking around for a script and came up with a hybrid of my findings. Simply make a file wherever on your unix system, i called mine tinyurl.sh Then dump this code in: #!/bin/sh... [+]

Downgrade PHP 5.3 Port to 5.2.10

It’s pretty simple! Just make sure subversion client is installed and then checkout the php port file with the revision number of 53555 which is the latest for the 5.2.10: svn co -r 53555 http://svn.macports.org/repository/macports/trunk/dports/lang/php5 cd php5 sudo port install +fastcgi+mysql5+pear Or you can simply... [+]

PHP: Random Salt String Generator

PHP: Random Salt String Generator

As i develop new CakePHP projects i like to spin the wheel with generating a “secure” salt string to be used in core.php. Instead of just bashing my head against the keyboard hoping for some random, usable, 40 character long string, i decided to let... [+]

CakePHP URL Shortener Service Tutorial

If you have just woken up from a 10 year long coma, you might realise that the internet has been dumbed down to 140 characters and services that offer “URL Shortening” are quite widely used. Well today, coma awakened or not, I will be writing... [+]

Message To Apple Fanbois

Message To Apple Fanbois

I like and agree with this guy But jailbreak already.

Making CakePHP 404 Pages

Making CakePHP 404 Pages

If you’re after a way to customise the look of your 404 pages then simply change the “/app/views/errors/error404.ctp” page. However if you were like me, and didn’t want your 404 to simply be a static page, rather redirect the user or press the red button... [+]

Decentralised VCS

Decentralised VCS

One of the values of completely distributed development is that you share only what is ready. Make sure changes are ready before you push them. By keeping all your changes local until they are ready, you leave yourself the option of rewriting your repository’s history... [+]

Open Files from Terminal

Open Files from Terminal

Alot of the time I find myself working in terminal, doing what not in a directory, and want to open files in my IDE. I would pretty much have to open up finder and then find the file, that i was looking at terminal. Then... [+]

When to Branch

When to Branch

So i’m learning about source code version control, with Git. This explains the art of when to create a branch. More so for my furture reference: Experimental changes: Want to try rewriting algorithms just to see whether they’re faster, or want to try refactoring a... [+]

Woopra - Part I

Woopra – Part I

If you’ve ever found yourself wondering what sort of traffic your website is getting, you might of resorted to going to some online analytics packages and log file parsers. Some of these offer a great analysis of where your traffic is coming from, the demographics... [+]

How To Style Woopra!

How To Style Woopra!

I recently got access to an awesome Woopra account! It rocks, but let me save how much it rocks for another post! I quickly got into every nook and cranny i could get into. Then i stumbled upon the theme editor in Woopra! This basically... [+]

Woopra Rocks!

Woopra Rocks!

Thought i would quickly introduce all of you to an awesome tool, which in my mind, leaves Google analytics for dead. D.E.D dead! It’s currently open for beta testing, of which your sites will be randomly approved when more spaces become available! Now i won’t... [+]

Online Marketing Myth

Online Marketing Myth

I always thought online marketing would be lucrative. A simple, efficient and cost-effective means of which traditional advertising media simply cannot compete on its contextual and targeting powers. It wasn’t until recently that i actually started using online marketing techniques. I would make money from... [+]

Typical Collingwood Supporter

Typical Collingwood Supporter

Stop Jonathan Brown!

Stop Jonathan Brown!