Position div in the center of the page using css

When I first started web programming, creating a center aligned div was one of the most common task that I saw myself doing. since div is a block element, i.e. it takes up the full width available, and has a line break before and after it, it can easily be centered using relative styling { margin-left:auto; margin-right:auto; width:70%; background-color:#b0e0e6; } However lately I have preferred using absolute positioning technique over relative, this works for all browsers and is best for login screens or alert messages over a translucent shim.
Read more →

How To Install and use Python Web.py framework on Windows

Web.py has been one of my favorite web frameworks as its pretty easy to get cracking on it. It’s super quick to install and one can come up with a prototype and rapid web services in matter of minutes. Install on windows If you haven’t configured easy_install on windows, then read this article. Once easy_install has been configured believe it or not, all you have to do is open a command prompt and type
Read more →

How to setup easy_install on Windows

If one has been using python, then installing various libraries and modules is basically a breeze using easy_install utility, however for folks using windows, easy_install utility has to be setup properly before using it. First lets make sure that python is properly installed and PYTHON_HOME environment variable is configured: Install Python on Windows If not already installed download python installer from here. After it’s done downloading, double click to run the installer, and select default options (unless you have other custom needs of course ).
Read more →

Find Longitude and Latitude in Google Maps

This post is basically a way of quick appreciation to the Google maps Team, they are obviously a bunch of caring, loving people ,who make useful (although surreptitious) tools for the betterment of Geek Kind. So as most of you may have accidently clicked a mysterious looking link at the bottom of your Google maps page ( on the left hand panel) This awesome looking link opens up a popup which lets you choose wonderful goodies which makes your Google maps page more useful than it already is:
Read more →

How to set up Redis in Ubuntu Linux

Redis is an open source, advanced key-value store, and is quickly picking up momentum in real-time software development , it is now a well known and trusted product and can be used in various problem scenarios as a No SQL implementation. Redis is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. Here is quick guide to Install Redis in Ubuntu 10.
Read more →