Blogspot - icfun.blogspot.com - The world is amazing

Latest News:

How to take a jvm Heap Dump 13 May 2013 | 02:04 pm

You can take a heap dump of your jvm for the memory leak debugging purpose. jmap comes as a default with the jdk. You can use the locate command to find the jmap from your linux. locate jmap This com...

Get row count of all tables from oracle schema 18 Mar 2013 | 03:39 pm

It is possible to get the total row count of all tables from a given schema using a single sql. Below one will work. select table_name, to_number( extractvalue( xmltype( dbms_xmlgen.getxml('select co...

Widows: Installing font from batch script 28 Jan 2013 | 03:57 pm

The font folder of windows is a special folder. So copying a font file from commandline doesn't mean to install it properly(though it works when you copy using mouse or ctlr+c as explorer handle that ...

Adding environment variable from commandline 28 Jan 2013 | 03:48 pm

You can add environment variable using the following command. Just change the TEST_ENV_VAR and it's value with your needs. reg add HKEY_CURRENT_USER\Environment /v TEST_ENV_VAR /d "C:\evn\var\test" /...

Killing a process at windows 28 Jan 2013 | 03:44 pm

I have already shown you the way to get the PID of a windows process. Now its time to kill a process using the PID. Here is the simple windows command using TASKKILL: taskkill.exe /F /PID 1234 Here,...

How to find the PID at windows 28 Jan 2013 | 03:37 pm

This is very easy to find the Process Id(PID) for a running windows process. But very difficult when you do not know the exact way. Here is a simple way to get the PID at windows. 1. Open the task ma...

Batch: Commandline parameter in batch script 20 Dec 2012 | 02:26 am

It is very easy to pass the commandline arguments to any batch script. Mainly the parameters are available at the variables %0, %1, %2 ... etc. The %0 holds the name of the batch script, and others ar...

Batch: Command to delete a windows service 20 Dec 2012 | 02:12 am

Sometime you may need a batch script command to delete any service from the windows service. Here is the following command that you can use either in batch script, or from the command line, the cmd.ex...

Ruby: Get input from console 10 May 2012 | 09:02 am

You can use the STDIN to get the input from console(shell/cmd/commandline). to get a single character from the user. chr = STDIN.getc This is useful to implement something like "Press Enter to exit ...

Ruby: uploading image problem, getting Internal server error 10 May 2012 | 08:52 am

There is one thing you need to remember while uploading image using Ruby. You have to read the file in binary mode. Otherwise for some server, you'll get Internal server error. I am giving you an exam...

Recently parsed news:

Recent searches: