How to display your accurate google latitude location address with the public badge map in your blog

Google latitude is a great way to share your current GPS location with everyone. You can put up the google location badge on your blog and let the world know your exact geographical location.
But the latitude badge does not provide the exact address of your current location in terms of the area names but shows the exact location on the map. Google latitude badge shows only city level address along with the map. So I decided to write my own small PHP script to print out the exact address instead of an approximate one which is shown by default. You could use this code coupled with XMPP integration to show it as you google talk status message (a tutorial and script for this..sometime later)

Basically, instead of displaying “<City name>,<country>”,  this script will display “<Road name>, <areaname>,<cityname>,<country>”
Continue reading “How to display your accurate google latitude location address with the public badge map in your blog” »

andLinux andWindows7

I have been doing PHP on Windows till now, but a week back I realised that I wanted something which Windows couldnt give me. The pcntl_fork( ) function was not implemented on windows. So I had to either do PHP on a remote shell or install linux on separate partition. Remote shell wasnt a bad idea because I already had an account on freeshell.de and they had all PHP functions enabled. But there was not Gnome/KDE and I had to settle for vim. Then I decided that I will run Linux through VMware. I had tried this even before, and knew that it would be painstakingly slow.

Luckily I came across andLinux when I was googling for vmware. I thought I will give it a try .. 200 MB wont take much time. The installation was quick, just keep “next”ing and Voila , linux is installed in 5 minutes.
Continue reading “andLinux andWindows7” »

Flash iPhone widget (with sourcecode) for subscribing to Google SMS channels

This widget will enable your site visitors to subscribe to you google sms channel just by entering their mobile number. An invite is sent to their mobile phone automatically.

Please wait till the widget loads

Get Adobe Flash player

The php curl script will automate a user login to google sms channel Continue reading “Flash iPhone widget (with sourcecode) for subscribing to Google SMS channels” »

Hitec city (Hitech) & Kondapur

The reason beahind writing this post is this: I got recruited into Oracle through my campus placements. And I got to know that I will be posted in hyderabad within a month.  The offer letter said that I am supposed to report to Hitec city by June 29th 09. And I was curious to know whats so HIGH-TECH about this place. So I Googled to find the wikipedia entry and a couple of blogs. But that did not quench my thirst. So I decided to fill in this gap and write a detailed post. Here it comes , the hitchhikers guide to hitec city…

HITEC stands for Hyderabad Information Technology Engineering Consultancy City. It is “the” technology hub of Hyderabad… situated about 15 – 20 kms from the main Hyderabad city.
Let me be frank, in the first month I stayed here, I couldn’t figure out how to spell the name of this city. Some call it Hightech and others use hitech. And you will find different anagrams of it on the hoardings. But the guys at the post office have no issues whatsoever in whatever spelling you choose to put in the postal address.

Accomodation :

If you are looking for a place near Hightec city there are 2 choices you can consider.

1. Either stay in Madhapur which is closer to the Hyderabad city but has lesser number of flats available for rent

2. Look out for a rented flat in Kondapur which is farther from Hyderabad city but is a total residential area and has better choice of rented flats available.
Continue reading “Hitec city (Hitech) & Kondapur” »

Flash Widget(with source) to display live updates

Hey all
This is a small flash banner to display messages from an XML file and auto refreshes to show new updates. Just thought of sharing it.
It is a dynamic XML powered flash CS3 swf file with a few customizing options.
It is useful for displaying your website updates or showing dynamic chat messages.
It auto refreshes the text content with a time interval specified in the xml file. The time gap between each message being displayed can also set in the same xml file.

Get Adobe Flash player

The swf initially loads updates_setup.xml (shown below) Continue reading “Flash Widget(with source) to display live updates” »