codediesel

Grabbing website Favicons using curl and php

Grabbing website Favicons using curl and php

Google Shared Stuff allows one to easily get the Favicon of any website with a single line. For instance to get the Favicon of yahoo.com we can use the following in a browser. http://www.google.com/s2/favicons?domain=yahoo.com...

Searching server files using GREP

Searching server files using GREP

During debugging the majority of my time is spent in searching for specific text. Searching on the local machine is a breeze via a IDE, but if I’ve an application hosted on a remote...

Build a shopping cart in 20 minutes

Build a shopping cart in 20 minutes

Shopping carts are one of the most frequently used parts on the web. But for a programmer creating them has never been easy. Even for a few items the programmer has to create a...

Easy thumbnail generation using PHP

Easy thumbnail generation using PHP

One of the frequent requirements in web design is that of thumbnail generation. Although there are many libraries out there I found PHP Thumb simple and quick enough to implement in a recent project....

Convert Adobe Flash FLA files into HTML

Convert Adobe Flash FLA files into HTML

With Adobe Flash not being natively supported by Apple iOS, there have been some attempts from programmers to convert Flash files to HTML, such as SmokeScreen and Gordon; which will help developers easily port...

Choosing strong passwords and user motivation

Choosing strong passwords and user motivation

One of the main reasons for passwords being hacked is because of users choosing weak passwords. Motivation is one of the key driving forces when doing something, which also applies when choosing good passwords....