My Junkyard

I'm Prabhu Beeman.I will be sharing my works, from code snippets to links and whatever interesting that i come across. You can visit the links that I Stumble Upon and my tweets are here. I'm also on #groovy and #grails on freenode.

Monday, January 17, 2011

Saturday, February 21, 2009

Avoiding Firefox 3.0 frequent prompts when behind the proxy

You are reading this blog because you are using Firefox 3.0 and you are behind the proxy which needs authentication and you are annoyed by the frequent prompts for the username password.

How to stop this?

1) Just type about:config in your address bar

2) Enter network.auth.use-sspi in the filter field

3) Change the value to false if set to true

You will never be prompted anymore (may be you have to enter for the first time after making this change)

Connect 2 PCs using USB Cable

Do you know that you can establish a network connection between two PCs using a USB-USB cable. For that though you need a special USB-USB bridged cable. It costs somewhere between Rs.700 to Rs.1000. Click here to know more on how to connect your PCs using USB Cable

Saturday, January 17, 2009

How to compute distance between two places

After successful implementation of my previous project I started working on my new project which is confidential :-)

I was trying to figure out if i could compute distance between 2 places which is one of the requirements for my project. After searching for about 4-5 hrs, I got what i want although not very precise.

Basically, you need the latitude and longitude of the places for which you need the distance. Thanks to the Yahoo Maps - GeoCoding API. You just need to provide the necessary details (like the location/city/country) and you get the latitude and longitude of the location.
In order to compute the distance you can use Haversine formula. Here is the java implementation.
It provides the result in nautical miles....

1 nautical mile = 1.85200 kms

I tried calculating distance between some of the places in chennai, India and it worked great.

Sunday, October 19, 2008

XpressMark - Bookmarking Videos made easy

My new site Xpressmark is up and running. It helps you to bookmark your favorite video from your favorite video sites such as youtube, metacafe, vimeo etc.

Technologies used: Groovy, Grails

Blog Archive