Responsive / Adaptive CSS

Neat way to load required css based on device screen width, instead of using media queries or loading all css: Nathan Smith shows how at adapt.960.gs.

Using a proxy file to load content from external url

/* proxy.php */ <?php echo file_get_contents($_GET[‘url’]);?> then, assuming that you place proxy.php in the same directory of the html page: $(“#content”).load(‘proxy.php?url=http://example.com’);

Upgrading MySQL databases on MySQL 5.5

These are steps I went through to upgrade my databases after installing MySQL 5.5 from 5.1 on windows. Presuming that c:\mysql is the installation path of MySQL on windows, at command prompt: C:\> cd c:\mysql C:\MYSQL> bin\mysql_upgrade -p Enter MySQL server password when it prompts: Enter password: That’s it.

Bookmarks, Tabs and Sessions

Update: This idea wouldn’t work well for now because I realised that at startup, Firefox still tries to load all tabs, and even those hidden in Panorama. I’ve been using Firefox 4 for the past week, and the experience has been great so far. One thing I realised about the tabs is that it seems … Read more