Facebook, Twitter, Instapaper Connect Buttons

For one of my project I had to use social connect buttons, with Facebook, Twitter, and Instapaper. I tried searching for any buttons that fits my bill, but that went in vain. Later I created these buttons myself using Photoshop. I am releasing these buttons source, may be it'll save others time.
Here is the ScreenShot of these buttons. Continue reading…

How to Properly Hide and Show Elements Using Javascript

What is the first solution comes to your mind, when someone asks you

How can I dynamically hide any element using Javascript ?

Continue reading…

GitHub Setup on Webfaction : How To ?

Git is a very popular distributed revision control system with an emphasis on speed. Recently for my projects I need to setup up a private Git Setup on Webfaction Server. So here is the way to Install and start using Git on Webfaction. Continue reading…

Facebook Hacker Cup : Studious Student Problem Solution

Photo CreditPhoto Credit : Helen Morgan

Continue reading…

Facebook Hacker Cup : Peg Game Problem Solution

Continue reading…

Facebook Hacker Cup : Double Squares Problem Solution

A lot of people have participated and qualified in Qualification Round of Facebook Hacker Cup. Luckily I am also qualified for First Round. Facebook Hacker Cup Qualification Round consisted 3 problems. All of these problems were programmatically easy but tricky. Lots of people made very simple mistakes while solving these problem(including me).

Continue reading…

RegEx to Convert String in TitleCase (Python / Django)

During web development I very often come across a problem to convert any string into TitleCase. Those who don't know title case is the style of writing having first letter as a majuscule (upper-case letter) and the remaining letters in minuscules (lower-case letters).

Continue reading…

Introducing PNRCheck.com

I don’t know when this picture was taken, or is it actually of India or not, but condition of Indian Railways is not a lot different from this. The trains are always crowded, and it is difficult to get reservation in train. Every train traveler might faced the problem of non-availability of tickets in Indian Railways. Anyways, here I am not going to discuss the condition of Indian Railways.

Continue reading…

Energy Saving Javascript

Energy Saving ScriptTitle of this post may seem strange to you but this is true, You can actually save some energy by using this Javascript on your website. Let me tell you how.

This javascript turns the webpage black if there is no user activity on the page for some time. As the page predominantly turn black the script in-effect saves energy.

Image displayed is primarily a function of the user's color settings and desktop graphics, as well as the color and size of open application windows; a given monitor requires more power to display a white (or light) screen than a black (or dark) screen.

Roberson et al, 2002.

Continue reading…

WordPress Hacks : Export and Redirect Posts based on their Category

wordpress

WordPress is an excellent blogging engine. It is easy to setup and even easier to use. It has got a huge collection of themes and plugins. Because of all these things WordPress has got so widespread use.

WordPress has the concept of categories to segregate posts in different types.  When number of posts in some category becomes really huge, its good to make a separate website for this particular category.

I faced similar problem for one of my website and I decided to migrate all of my posts in “XYZ” category to a different domain. But, unfortunately WordPress Admin Dashboard doesn’t provide any direct method to export all posts in a particular category.

Continue reading…

Page 1 of 612345...Last »

Subscribe Me

Google Custom Search

Bookmarks