jQuery Transit

jQuery Transit is a plugin for to help you do CSS transformations and transitions in jQuery. Include the plugin and you can use code like this to perform transformations: $(“#box”).css({ x: ’30px’ }); // Move right $(“#box”).css({ y: ’60px’ }); // Move down $(“#box”).css({ translate: [60,30] }); // Move right and down $(“#box”).css({ rotate: ’30deg’ …

PHP: The Right Way

There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and bad code. This must stop. PHP: The Right Way is an easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web. A must read! PHP: The Right Way …

Responsive Web Design Layout Patterns

Through fluid grids and media query adjustments, responsive design enables Web page layouts to adapt to a variety of screen sizes. As more designers embrace this technique, we’re not only seeing a lot of innovation but the emergence of clear patterns as well. I cataloged what seem to be the most popular of these patterns …

Digital Family Reunions

In Singapore, it is a common practice for entire families to gather on special occasions for a formal picture, often at a studio, with the resulting image framed and prominently displayed at home. The growing tendency of younger family members to take jobs abroad, however, has left many modern portraits missing a relation or two. …

Breaking Bad in real-life

The story of Lori Arnold, who single-handedly started the meth epidemic in the US: We flew a chemist out to Iowa. He told us what lab equipment and chemicals to order, and we had them shipped to us at the car lot. It cost me $50,000, all of it ordered through pharmaceutical catalogs. This guy …

Automatic Website Publishing with git-ftp.py on Mac OS X

On a recent project I collaborated on, deployment happened via git-ftp.py, a Python script which automatically publishes your git repository to an FTP server. The script itself works with with an git-rev.txt file on the FTP server which keeps track of the last published commit. When deploying via git-ftp.py, the script only uploads the changes …