<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Nightly Builds</title>
	<atom:link href="http://unnisworld.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://unnisworld.wordpress.com</link>
	<description>About Java, Ruby and Life @ Bangalore...!</description>
	<lastBuildDate>Sat, 21 Jan 2012 05:02:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='unnisworld.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Nightly Builds</title>
		<link>http://unnisworld.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://unnisworld.wordpress.com/osd.xml" title="Nightly Builds" />
	<atom:link rel='hub' href='http://unnisworld.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to get pid in Java</title>
		<link>http://unnisworld.wordpress.com/2011/12/28/how-to-get-pid-in-java/</link>
		<comments>http://unnisworld.wordpress.com/2011/12/28/how-to-get-pid-in-java/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:02:03 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=170</guid>
		<description><![CDATA[ManagementFactory.getRuntimeMXBean().getName() not yet verified.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=170&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ManagementFactory.<em>getRuntimeMXBean</em>().getName()</p>
<p>not yet verified.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=170&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2011/12/28/how-to-get-pid-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>Coherence : how to disable iptimeout</title>
		<link>http://unnisworld.wordpress.com/2010/11/18/coherence-how-to-disable-iptimeout/</link>
		<comments>http://unnisworld.wordpress.com/2010/11/18/coherence-how-to-disable-iptimeout/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 08:05:29 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=156</guid>
		<description><![CDATA[How to avoid iptimeout issue when connecting from ur Desktop to a remote machine In tangosol-coherence-override.xml &#8211; under &#60;cluster-config&#62; element add &#60;tcp-ring-listener&#62; &#60;ip-timeout&#62;0&#60;/ip-timeout&#62; &#60;/tcp-ring-listener&#62; this disables IP monitor timeout<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=156&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>How to avoid iptimeout issue when connecting from ur Desktop to a remote machine</strong></p>
<p>In tangosol-coherence-override.xml &#8211; under &lt;cluster-config&gt; element add</p>
<p>&lt;tcp-ring-listener&gt;</p>
<p>&lt;ip-timeout&gt;0&lt;/ip-timeout&gt;</p>
<p>&lt;/tcp-ring-listener&gt;</p>
<p>this disables IP monitor timeout</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=156&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2010/11/18/coherence-how-to-disable-iptimeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>How to log iptables packet drops</title>
		<link>http://unnisworld.wordpress.com/2010/10/14/how-to-log-iptables-packet-drops/</link>
		<comments>http://unnisworld.wordpress.com/2010/10/14/how-to-log-iptables-packet-drops/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 08:45:15 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=153</guid>
		<description><![CDATA[Add following two lines to /etc/sysconfig/iptables -A INPUT -m limit &#8211;limit 15/minute -j LOG &#8211;log-level 7 &#8211;log-prefix &#8220;Dropped by firewall: &#8220; -A OUTPUT -m limit &#8211;limit 15/minute -j LOG &#8211;log-level 7 &#8211;log-prefix &#8220;Dropped by firewall: &#8220; Restart iptables In /etc/syslog.conf, add kern.=debug     /var/log/firewall Restart syslogger &#8211; /sbin/service syslog restart &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=153&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Add following two lines to /etc/sysconfig/iptables</p>
<p>-A INPUT -m limit &#8211;limit 15/minute -j LOG &#8211;log-level 7 &#8211;log-prefix &#8220;Dropped by firewall: &#8220;</p>
<p>-A OUTPUT -m limit &#8211;limit 15/minute -j LOG &#8211;log-level 7 &#8211;log-prefix &#8220;Dropped by firewall: &#8220;</p>
<p>Restart iptables</p>
<p>In /etc/syslog.conf, add</p>
<p>kern.=debug     /var/log/firewall</p>
<p>Restart syslogger &#8211; /sbin/service syslog restart</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=153&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2010/10/14/how-to-log-iptables-packet-drops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix Tip: Who occupied my port?</title>
		<link>http://unnisworld.wordpress.com/2010/06/03/unix-tip-who-is-listening-on-this-port/</link>
		<comments>http://unnisworld.wordpress.com/2010/06/03/unix-tip-who-is-listening-on-this-port/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 07:10:10 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix TCP]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=145</guid>
		<description><![CDATA[[root@lglor060 init.d]# netstat -aovpn &#124; grep 8091 tcp 0 0 172.23.73.60:8091 0.0.0.0:* LISTEN 2149/java off (0.00/0/0) tcp 0 0 172.23.73.60:8091 172.23.73.60:38490 ESTABLISHED 2149/java off (0.00/0/0) [root@lglor060 init.d]# ps -ef &#124; grep 2149<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=145&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[root@lglor060 init.d]# netstat -aovpn | grep 8091</p>
<p>tcp        0      0 172.23.73.60:8091       0.0.0.0:*                      LISTEN      2149/java           off (0.00/0/0)</p>
<p>tcp        0      0 172.23.73.60:8091       172.23.73.60:38490      ESTABLISHED 2149/java           off (0.00/0/0)</p>
<p>[root@lglor060 init.d]# ps -ef | grep 2149</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=145&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2010/06/03/unix-tip-who-is-listening-on-this-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>useful mvn commands</title>
		<link>http://unnisworld.wordpress.com/2010/04/22/mvn-commands/</link>
		<comments>http://unnisworld.wordpress.com/2010/04/22/mvn-commands/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 14:46:05 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mvn]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=142</guid>
		<description><![CDATA[To download sources, use &#8211; mvn dependency:sources mvn eclipse:eclipse -DdownloadSources=true To use maven jetty plugin, add below plugin to your pom, &#60;plugin&#62; &#60;groupId&#62;org.mortbay.jetty&#60;/groupId&#62; &#60;artifactId&#62;maven-jetty-plugin&#60;/artifactId&#62; &#60;/plugin&#62; use command mvn org.mortbay.jetty:jetty-maven-plugin:run to start jetty. To use the truncated command mvn jetty:run, add below lines to your settings file, &#60;pluginGroups&#62; &#60;pluginGroup&#62;org.mortbay.jetty&#60;/pluginGroup&#62; &#60;/pluginGroups&#62; To create an Eclipse Web project [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=142&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To download sources, use &#8211; mvn dependency:sources</p>
<p>mvn eclipse:eclipse -DdownloadSources=true</p>
<p>To use maven jetty plugin, add below plugin to your pom,</p>
<p>&lt;plugin&gt;<br />
&lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;<br />
&lt;artifactId&gt;maven-jetty-plugin&lt;/artifactId&gt;<br />
&lt;/plugin&gt;</p>
<p>use command mvn org.mortbay.jetty:jetty-maven-plugin:run to start jetty.</p>
<p>To use the truncated command mvn jetty:run, add below lines to your settings file,</p>
<pre>  &lt;pluginGroups&gt;
    &lt;pluginGroup&gt;org.mortbay.jetty&lt;/pluginGroup&gt;
  &lt;/pluginGroups&gt;

To create an Eclipse Web project using maven use - <code>mvn eclipse:eclipse -Dwtpversion=1.5</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=142&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2010/04/22/mvn-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux iptables</title>
		<link>http://unnisworld.wordpress.com/2010/04/21/linux-iptables/</link>
		<comments>http://unnisworld.wordpress.com/2010/04/21/linux-iptables/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 06:19:54 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=140</guid>
		<description><![CDATA[How to delete entries, You can delete them based on what they&#8217;re doing : iptables -D INPUT -s 127.0.0.1 -p tcp --dport 111 -j ACCEPT Or you can delete them based on their number and chain name : iptables -D PORTSEN 4<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=140&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to delete entries,</p>
<p>You can delete them based on what they&#8217;re doing :<br />
<code>iptables -D INPUT -s 127.0.0.1 -p tcp --dport 111 -j ACCEPT</code></p>
<p>Or you can delete them based on their number and chain name :<br />
<code>iptables -D PORTSEN 4</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=140&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2010/04/21/linux-iptables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Tip: Who called me?</title>
		<link>http://unnisworld.wordpress.com/2009/09/11/who-called-me/</link>
		<comments>http://unnisworld.wordpress.com/2009/09/11/who-called-me/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 11:32:03 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=131</guid>
		<description><![CDATA[This can be a handy tip if you are debugging some java application which cannot be run in single step debug for some reason. Suppose you have a method which is called from many places and you need to know the current caller. Just capture the current stack trace by making a Throwable object. Now [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=131&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This can be a handy tip if you are debugging some java application which cannot be run in single step debug for some reason. Suppose you have a method which is called from many places and you need to know the current caller.<br />
Just capture the current stack trace by making a Throwable object. Now get the 2nd stack trace element from t.getStackTrace() which will have the caller details.</p>
<p>A small example..</p>
<p><code>public class test {</p>
<p>	public static void main(String[] args) {<br />
		caller1();<br />
		caller2();<br />
	}</p>
<p>	private static void caller1() {<br />
		method();<br />
	}</p>
<p>	private static void caller2() {<br />
		method();<br />
	}</p>
<p>	private static void method() {<br />
		Throwable t = new Throwable();<br />
		StackTraceElement ste = t.getStackTrace()[1];</p>
<p>		System.out.println(ste.getMethodName() + " called me.");<br />
		System.out.println("File Name :"+ste.getFileName());<br />
		System.out.println("Line Number :"+ste.getLineNumber());<br />
	}</p>
<p>}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=131&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2009/09/11/who-called-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaScript Tip: How to set target for form sumit.</title>
		<link>http://unnisworld.wordpress.com/2009/06/08/javascript-submitform/</link>
		<comments>http://unnisworld.wordpress.com/2009/06/08/javascript-submitform/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 13:28:47 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=127</guid>
		<description><![CDATA[Requirement :- I have an HTML form in my current page. When I submit this form, the result should open in new window. function openNewWin(formName) { features=&#8221;toolbar=no,location=0,directories=no,status=yes,menubar=yes,scrollbars=yes,copyhistory =1,resizable=1,width=980,height=390,left=0,top=100&#8243;; popupWindow = window.open(&#8221;, &#8216;NewWindow&#8217;, features); thisForm = &#8220;document.&#8221; + formName; eval(thisForm).target = &#8216;NewWindow&#8217;; window.setTimeout( thisform + &#8220;.submit()&#8221;, 0 ); }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=127&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Requirement :- I have an HTML form in my current page. When I submit this form, the result should open in new window.</p>
<p>function openNewWin(formName) {<br />
features=&#8221;toolbar=no,location=0,directories=no,status=yes,menubar=yes,scrollbars=yes,copyhistory =1,resizable=1,width=980,height=390,left=0,top=100&#8243;;<br />
popupWindow = window.open(&#8221;, &#8216;NewWindow&#8217;, features);<br />
thisForm = &#8220;document.&#8221; + formName;<br />
eval(thisForm).target = &#8216;NewWindow&#8217;;<br />
window.setTimeout( thisform + &#8220;.submit()&#8221;, 0 );<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=127&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2009/06/08/javascript-submitform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>Clearcase : recursive checkin</title>
		<link>http://unnisworld.wordpress.com/2009/03/19/clearcase-recursive-checkin/</link>
		<comments>http://unnisworld.wordpress.com/2009/03/19/clearcase-recursive-checkin/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 08:59:50 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[Clearcase]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/2009/03/19/clearcase-recursive-checkin/</guid>
		<description><![CDATA[cleartool lsco -cview -avobs -short &#124; xargs cleartool ci<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=126&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>cleartool lsco -cview -avobs -short | xargs cleartool ci </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=126&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2009/03/19/clearcase-recursive-checkin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
		<item>
		<title>Program to count number of words in a file</title>
		<link>http://unnisworld.wordpress.com/2009/01/02/program-to-count-number-of-words-in-a-file/</link>
		<comments>http://unnisworld.wordpress.com/2009/01/02/program-to-count-number-of-words-in-a-file/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 14:30:03 +0000</pubDate>
		<dc:creator>unnisworld</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://unnisworld.wordpress.com/?p=123</guid>
		<description><![CDATA[#!/usr/bin/perl sub count_words_in_line { # use our to declare global variable. our %word_count; # below two lines can be combined into one like this - @words = split " ", shift $line = shift @_; @words = split " ", $line; foreach my $word (@words) { $word_count{$word}++; } } sub count_words_in_file { my $file = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=123&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><code>
#!/usr/bin/perl

sub count_words_in_line {
  # use our to declare global variable.
  our %word_count;

# below two lines can be combined into one like this - @words = split " ", shift
  $line = shift @_;
  @words = split " ", $line;

  foreach my $word (@words) {
    $word_count{$word}++;
  }

}

sub count_words_in_file {
  my $file = shift;
  print $file . "\n";
  open (FILE, $file) || die "$0: @_: $!";

  while (my $line = ) {
    count_words_in_line $line;
  }

}

#print @ARGV[0] . "\n";

$file_name = shift;
count_words_in_file $file_name;

print %word_count;
</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unnisworld.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/unnisworld.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/unnisworld.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/unnisworld.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/unnisworld.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/unnisworld.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/unnisworld.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/unnisworld.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unnisworld.wordpress.com&amp;blog=253643&amp;post=123&amp;subd=unnisworld&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unnisworld.wordpress.com/2009/01/02/program-to-count-number-of-words-in-a-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ff589ac61c5cef9b9c4093d4f57d65d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unnisworld</media:title>
		</media:content>
	</item>
	</channel>
</rss>
