Sunday, October 9, 2011

Oracle SID vs Service Name in JDBC URL

With SID
jdbc:oracle:thin@myhost:port:sid

With Service Name
jdbc:oracle:thin@myhost:port/service

Tuesday, October 4, 2011

Vim - Join Lines with a Comma (or any other character)

Step 1 : Put the desired character at the end of each line. I will use a "," as an example

:%s/$/,/g

Step 2 : Join the lines together

%j!

Monday, October 3, 2011

Post on Logging.

My post on logging in production

http://sandeepsinghal.wordpress.com/2011/09/18/better-you-log-in-development-less-you-will-bleed-in-production/

Google Code Page for Unix Utils

 Adding some of my utility shell scripts to a common google page.

http://code.google.com/p/nixtils/ 

Monday, July 25, 2011

Linux - See which process is using which port

netstat -anop

Then use ps and grep to find the process using this port

Windows - See what processes are using which ports

netstat -ano

You can then use the task manager to see the process id of the owning process.