You might have seen my earlier post related to installing PHP, Apache and MySQL on UBUNTU 11.10. That process contains number of steps and some lengthy commands which we can not remember easily. After good comments from Gaurav and Coward I have managed to get that lengthy process in just 2 steps. So I thought [...]
What if you want to stylize all your external link with some different style. There are two options. Seach for each link and give different class to it Follow this article Yes, This article is about to explain about searching for all external links and add one more class to it. Here we will use [...]
Here is the quick tip in javascript. This will generate the hex code for you, using just one line of code. First of all thanks to Paul Irish for such a great code which helps us to get the hex code using JavaScript. Have a look at below code block for the same. “#”+Math.floor(Math.random()*16777215).toString(16) "#"+Math.floor(Math.random()*16777215).toString(16) [...]
Here is the small trick with which you can detect the iPad using htaccess file and make the redirection accordingly. This will be very useful when you are about to create a separate page for iPad users and want then to redirect. Have a look at below code block which detects the iPad using htaccess [...]
This article will show you the trick to set your Gravatar as your Favicon. So before moving further, have a look at article which show the method to generate Gravatar using PHP. After following the linked article you should be able to generate your Gravatar using your email address. We will use same technique to [...]