Recent Posts:

Console.log Shortcut

Here is console.log shortcut which could be useful debugging tool:

// usage: log(‘inside coolFunc’,this,arguments);
// http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function(){
log.history = log.history || []; // store logs to an array for reference
log.history.push(arguments);
if(this.console){
console.log( Array.prototype.slice.call(arguments) );
}
};

It is taken from this Paul Irish blog.
Though here is… (Continue)

Detect Character Encoding Problems

What could be the possible cause of encoding problem on Web page?

It could be that page is not having proper encoding set using <meta charset=”UTF-8″>. This better handled using Server (Apache) response header.
It could be that text is not properly encoded. Text can come from Database or directly… (Continue)

HeartBleed Bug in OpenSSL

Rather strange sounding bug was around us and we were unaware of it and that is called Heartbleed bug. Heartbleed bug allows anyone to read the memory of the protected system using OpenSSL. A fix has come but it took time to discover this bug. The bug was out from… (Continue)

Classipress Theme for Classified Ad for WordPress

Classified is a popular WordPress Theme for Classified Ads. I don’t have not much experience in Classified ads theme and cannot tell which theme is better for Classified Ads.
I got to work on classified theme a little and I have found few things which I am sharing with you.… (Continue)

Best PHP IDE – PhpStorm and Sublime Text

Here is a quick post about Best PHP IDE. PhpStorm and Sublime Text has won as best PHP IDE. PhpStorm is not free but Sublime Text is free. Both Sublime Text and PhpStorm are multi platform and supports many language. Both support many languages so developers who work on many… (Continue)

Great Post: Float Labels with CSS

Here is a great post on CSS Tricks about new design trick with label and Input field. The design look neat and cool. It is saving of space without being cluttered. Label is mixed with Input field as it seems.

On CSS-Tricks, different ways were mentioned to float label on… (Continue)

Documenting PHP Code Properly in Easy Way

Writing code self explanatory is the best and safest way to keep our code clean. This make our code professional. Sometimes I saw people write code which include variable name or function names using any word from their own mother tongue instead of any meaningful name for the context. Whatever… (Continue)

What is the difference between Coffee and Tea?

Question may look silly especially if you use both or one according to your taste preferences. Surely coffee and tea taste different but other than that is there any similarities and differences between the two?
So, I just looked for it and want to share with you. I saw that… (Continue)