Mirroring a website with wget

Clueless clients and bad briefs can make a developers life very difficult at times so sometimes it comes in handy to be able to replicate a site in its entirety to review. Rsync could be used to mirror the files to a local location but it doesn’t really fit this…

Read More

Bad Day For Electronics

My new GERTBoard an extension board for the Raspberry Pi GPIO interface arrived after a long wait this week. I brushed off my soldering iron all ready to put it to together only to find it had some surface mount components that I would need some more tools than just…

Read More

HTML5 Offline Storage

HTML5 introduces a pretty handy ability to cache remote resources locally for off-line use, meaning the resources are downloaded once. Then when the page is used again in the future the local (cached) copies of the file will be used instead of requesting the files from the server again. Why…

Read More

PHP CGI 504 Gateway Timed Out Errors With Nginx

Recently I noticed that the nginx error log for a site I was working with was filling up with timeout messages similar to below: 2012/07/06 17:21:01 [error] 23897#0: *8870 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 173.25.1.129, server: project.com, request: “GET /jobs/update HTTP/1.0”,…

Read More

Sorting tabular data with tableSorter

The jQuery tableSorter script is one of those indispensable scripts for a web developer, as most applications have a need to display tabular data to the user at some place in their application. The problem is displaying this data in some sort of user friendly format. The main problem is…

Read More