CakePHP – link / include JavaScript files in layouts

JavaScript Libraries, OpenSource, PHP, Resources, Tips and Tricks, Tutorials
Create (or modify the) file [code lang="plain"]app/app_controller.php[/code] add this code [php] class AppController extends Controller { var $helpers = array('Html', 'Form', 'Javascript'); } [/php] CakePHP 1.2 allows you to define a reference to a Javascript file which is then added to the head section of the generated code. For this purpose the variable $scripts_for_layout has to be added to the layout: [php] <head> < ?php echo $scripts_for_layout; ?> </head> [/php] In the view you can now link to the Javascript file with: [php] $javascript->link('script.js', false); // OR you can simply use $javascript->link('script.js'); [/php]
Read More

Git cheat sheet

Flickr
Just saw that Zack Rusin has posted a Git cheat sheet on his blog. This came in really handy since I am moving from SVN to Git. I am sure, some of you will like/love it too :) Download Instructions and More information at Author's Blog here.
Read More

Fashion Your Firefox

News, Resources, Reviews, Tips and Tricks, Tutorials
As the website says: You spend more time online than on the road, but you probably think more about avoiding traffic than enjoying the best of the Web. So, why not customize your Firefox for the things you really love to do? Take your browser from simple to spectacular. Firefox add-ons are little extras that allow you to add a personal touch to your browser. Select your favorites from the categories below to accessorize your Web! So why not Fashion Your Firefox? Note: Image copyright, Mozilla and their respective owners
Read More

Nice Article: Mobile Phone Buyers Guide

Resources, Reviews, Tutorials
Found a really great article Mobile Phone Buyers Guide - Things to Consider for Buying a Phone, it says Buying a mobile phone is not an easy task. Sometimes you make mistakes that you regret later on, as you try to get a mobile phone but fail to judge if it’s worth buying. By the way, just buying what is popular is not always a good idea. I have made this guide for you guys, so you can consider these things and buy the best phone in market. This will surely help you to buy a mobile that you will never regret later on. Read the full story here
Read More

GoDaddy Uses Standard Tactics To Warehouse Domains

News, Oddly Enough, Thoughts
I found this really great article that I am about to share here. Robin Wauters TechCrunch.com Wednesday, December 3, 2008; 8:52 PM Having working in the domain name industry myself for a couple of years, I've always been intrigued by the fact that there's such a big business formed around something as trivial as a bunch of letters and numbers used to 'translate' IP addresses. And when there's a big business in something, you just know there will be a grey area as well where ethics are left at the door sometimes. Andrew Allemann over at Domain Name Wire has been doing an excellent job researching the hoops The Go Daddy Group jumps through to keep its shady tactics outside of the public view, resulting in this great blog post.…
Read More