Posts archive for March, 2011

Symfony 1.4: How to sort foreign key record?

advertisement

symfonyHave been looking for way to sort foreign key records in Symfony 1.4 for few days. I’ve a staff table with a foreign key to comments. Whenever i call the StaffTable->getComments() the records return is not in alphabetical order. Finally i found some helpful tips from a forum (sorry i lost the forum url), and i manage to sort foreign key record with just a line of code. 🙂

To sort foreign key record in Symfony 1.4, follow the steps below:-

Continue reading Symfony 1.4: How to sort foreign key record? »

How to verify SHA-1 checksum in Mac OS X?

advertisement

macIt’s good for you to verify sha-1 checksum whenever you downloaded files from Google Code. By performing SHA-1 checksum verification, you will be able to tell if the file is orignal and it’s not being compromised. Of course, not all the website provide sha-1 checksum value, but they do provide, it’s good for us to perform the verification.

verify sha-1 checksum, sha1 checksum, verify sha1 checksum mac

To verify a SHA-1 checksum in Mac OS X, follow the steps below:-

Continue reading How to verify SHA-1 checksum in Mac OS X? »

How to detect checkbox being checked using javascript

advertisement

jqueryDue to some limitation, i can’t use onClick javascript event to detect checkbox being checked. Alt solution to auto detect checkbox being checked in the page using jQuery javascript framework. I just embed few lines of javascript and it will auto detect all the checkbox status in a page. jQuery is too awesome. but too bad i dun really like Javascript, tat’s y i’m writing such an stupid easy tutorial for myself.

To detect checkbox being checked using jQuery javascript framework, follow the steps below

Continue reading How to detect checkbox being checked using javascript »