India state city district database

Friday, 21 February 2014, 0:19 | Category : Database, Technology
Tags :

We had a requirement of India’s state, city/districts (with PIN code) database in one of our application. We searched on google, but could not find any good source of such database. So, we finally worked upon it and create our own set of database. Sources: Census of India, 2011 All India Pincode directory You can […]

Facebook Email in response to Google Gmail Buzz

Thursday, 11 February 2010, 19:07 | Category : Fiction, Internet, News, Technology
Tags : , ,

The inevitable has finally happened. The war of Email and Social Networking between Facebook and Google has reached an all time high. Facebook, world’s no. 1 social networking website has quietly launched its dramatically new email service, the FBMail or the Facebook Mail. Some select Facebook users have reported that were surprised to find that […]

Javascript syntax validation

Saturday, 9 August 2008, 1:05 | Category : Javascript, Technology
Tags : , , , ,

Yesterday, I was stuck on a webpage where javascript validation was not working. I tried putting a debug point on firbug (a firefox extension) but it was not even getting called. There was no javascript errror on firefox/firebug. Finally i doubted the included validation javascript file. At that moment I needed a tool to test […]

Email Marketing Tool Application

Friday, 7 September 2007, 2:10 | Category : Internet, Java, Technology
Tags : , , ,

Read the documentation Here

Substitute of LIMIT clause (as used in MySQL) in O…

Tuesday, 3 July 2007, 18:46 | Category : Database, Technology
Tags :

Substitute of LIMIT clause (as used in MySQL) in Oracle: SELECT COL_NAME (SELECT COL_NAME, ROWNUM r from TABLE_NAME) WHERE r BETWEEN 10 AND 15 It will select 6 rows (10th to 15th inclusive)

Changing network setting by a batch file in Windows

Wednesday, 20 June 2007, 1:21 | Category : Technology
Tags :

You may change network setting (IP, DNS etc) using batch file in Windows XP. Lets say, you want a config shown below: To do so, create a file names as changeIP.bat and write following lines into that: netsh int ip set address name=”Local Area Connection” source=static addr= mask= netsh int ip set address name=”Local Area […]

Sending huge data to client browser

Wednesday, 20 June 2007, 0:56 | Category : Internet, J2EE, Java, Technology
Tags :

If you want to pass huge data to the client from your servlet, user may need to wait till the ServletOutputStream or JSPWriter flushes the data. This happens generally whenever you have a number of items page and you want to pass it to the client. The better approach is to flush the data partly […]

How to Enable remote debugging of a java application

Friday, 8 June 2007, 2:50 | Category : Java, Technology
Tags :

While running the application pass following as JVM argument -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8765 This will start listening on port 8765, now you may attach remote debugger from any machine giving the IP/hostname and port.

File sharing in Windows XP Professional

Friday, 8 June 2007, 2:26 | Category : Technology
Tags :

Set Permissions for Shared Files and Folders Sharing of files and folders can be managed in two ways. If you chose simplified file sharing, your folders can be shared with everyone on your network or workgroup, or you can make your folders private. (This is how folders are shared in Windows 2000.) However, in Windows […]

Unwanted XP services

Friday, 8 June 2007, 2:25 | Category : Technology
Tags :

For a Safer, faster XP Close Unwanted Services To disable unneeded startup services for a safer, faster XP, use the “Services” Admin Tool (Control Panel > Administrative Tools > Services). If you are a single user of a non-networked machine, you can disable the following items, with no ill effect. Alerter Clipbook Computer Browser Fast […]