<?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>Pebbles</title>
	<atom:link href="http://chozhiyath.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chozhiyath.wordpress.com</link>
	<description>My thoughts, my expressions.</description>
	<lastBuildDate>Tue, 22 Jul 2008 09:28:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='chozhiyath.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/60591d641cddf94c0b0a4d03def4a558?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Pebbles</title>
		<link>http://chozhiyath.wordpress.com</link>
	</image>
			<item>
		<title>Regular expression for stripping off  tags from html</title>
		<link>http://chozhiyath.wordpress.com/2008/07/22/regular-expression-for-stripping-off-tags-from-html/</link>
		<comments>http://chozhiyath.wordpress.com/2008/07/22/regular-expression-for-stripping-off-tags-from-html/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 09:28:33 +0000</pubDate>
		<dc:creator>chozhiyath</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[RegEx]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[stripping off script tags]]></category>

		<guid isPermaLink="false">http://chozhiyath.wordpress.com/?p=15</guid>
		<description><![CDATA[import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegExp_SandBox {
//Pattern to escape
final static String SCRIPT_PATTERN = &#8220;&#60;\\s*script\\s*([^&#62;]*)\\s*&#62;&#124;&#60;\\s*/\\s*script([^&#62;]*)\\s*&#62;&#8221;;
//Compile pattern
static Pattern scriptPattern = Pattern.compile(SCRIPT_PATTERN, Pattern.CASE_INSENSITIVE);
/**
* @param args
*/
public static void main(String[] args) {
//Source string
String css = &#8220;Hello world &#60;p&#62;Not replaced&#60;/p&#62; &#60;script id=&#8217;youfool&#8217; name=\&#8221;youfool\&#8221;&#62;Test this&#60;/script&#62; &#60;strong&#62;this is strong&#60;/strong&#62;&#8221;;
System.out.println( css + &#8220;\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; );
//replace all matches
css = matchAndReplace(css, scriptPattern, &#8220;*&#8221;);
System.out.println( css + &#8220;\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; );
}
public static [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=15&subd=chozhiyath&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>import java.util.regex.Matcher;<br />
import java.util.regex.Pattern;</code></p>
<p>public class RegExp_SandBox {</p>
<p>//Pattern to escape<br />
final static String SCRIPT_PATTERN = &#8220;&lt;\\s*script\\s*([^&gt;]*)\\s*&gt;|&lt;\\s*/\\s*script([^&gt;]*)\\s*&gt;&#8221;;<br />
//Compile pattern<br />
static Pattern scriptPattern = Pattern.compile(SCRIPT_PATTERN, Pattern.CASE_INSENSITIVE);</p>
<p>/**<br />
* @param args<br />
*/<br />
public static void main(String[] args) {</p>
<p>//Source string<br />
String css = &#8220;Hello world &lt;p&gt;Not replaced&lt;/p&gt; &lt;script id=&#8217;youfool&#8217; name=\&#8221;youfool\&#8221;&gt;Test this&lt;/script&gt; &lt;strong&gt;this is strong&lt;/strong&gt;&#8221;;<br />
System.out.println( css + &#8220;\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; );</p>
<p>//replace all matches<br />
css = matchAndReplace(css, scriptPattern, &#8220;*&#8221;);<br />
System.out.println( css + &#8220;\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; );<br />
}</p>
<p>public static String matchAndReplace(CharSequence message, final Pattern pattern, final String replace)<br />
{<br />
Matcher matcher = pattern.matcher(message);<br />
StringBuffer buffer = new StringBuffer();<br />
while (matcher.find())<br />
{<br />
matcher.appendReplacement(buffer, replace);<br />
}<br />
matcher.appendTail(buffer);<br />
return buffer.toString();<br />
}<br />
}</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chozhiyath.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chozhiyath.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chozhiyath.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chozhiyath.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chozhiyath.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chozhiyath.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chozhiyath.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chozhiyath.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chozhiyath.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chozhiyath.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chozhiyath.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chozhiyath.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=15&subd=chozhiyath&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chozhiyath.wordpress.com/2008/07/22/regular-expression-for-stripping-off-tags-from-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80461554078b5531fb4a570d75290093?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chozhiyath</media:title>
		</media:content>
	</item>
		<item>
		<title>Gigya Test</title>
		<link>http://chozhiyath.wordpress.com/2007/09/21/gigya-test/</link>
		<comments>http://chozhiyath.wordpress.com/2007/09/21/gigya-test/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 11:34:49 +0000</pubDate>
		<dc:creator>chozhiyath</dc:creator>
				<category><![CDATA[What I Say]]></category>

		<guid isPermaLink="false">http://chozhiyath.wordpress.com/2007/09/21/gigya-test/</guid>
		<description><![CDATA[					360 Vista Image of Venice lagoon by motor boat .
    			
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=9&subd=chozhiyath&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>					<H4>360 Vista Image of Venice lagoon by motor boat .</H4><br />
    			<img style="visibility:hidden;width:0;height:0;" border="0" width="0" height="0" src="http://counters.gigya.com/wildfire/CIMP/JnB0PTExOTAzNzQ0OTE1MDkmcD0xMDAxMSZkPSZuPXdvcmRwcmVzcw==.jpg" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chozhiyath.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chozhiyath.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chozhiyath.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chozhiyath.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chozhiyath.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chozhiyath.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chozhiyath.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chozhiyath.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chozhiyath.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chozhiyath.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chozhiyath.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chozhiyath.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=9&subd=chozhiyath&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chozhiyath.wordpress.com/2007/09/21/gigya-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80461554078b5531fb4a570d75290093?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chozhiyath</media:title>
		</media:content>

		<media:content url="http://counters.gigya.com/wildfire/CIMP/JnB0PTExOTAzNzQ0OTE1MDkmcD0xMDAxMSZkPSZuPXdvcmRwcmVzcw==.jpg" medium="image" />
	</item>
		<item>
		<title>Disabling multicast in multi-homed linux servers</title>
		<link>http://chozhiyath.wordpress.com/2007/05/09/disabling-multicast-in-multi-homed-linux-servers/</link>
		<comments>http://chozhiyath.wordpress.com/2007/05/09/disabling-multicast-in-multi-homed-linux-servers/#comments</comments>
		<pubDate>Wed, 09 May 2007 05:25:10 +0000</pubDate>
		<dc:creator>chozhiyath</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://chozhiyath.wordpress.com/2007/05/09/disabling-multicast-in-multi-homed-linux-servers/</guid>
		<description><![CDATA[Sometimes you will have multiple ip bound to your server&#8217;s network adapters. And, by default multicast will be enabled on all the interfaces except for the loop back. This will create troubles while handling applications that are depending multicasting for their working. We need to enable multicasting on only one network interface. I put this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=8&subd=chozhiyath&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometimes you will have multiple ip bound to your server&#8217;s network adapters. And, by default multicast will be enabled on all the interfaces except for the loop back. This will create troubles while handling applications that are depending multicasting for their working. We need to enable multicasting on only one network interface. I put this in my blog because I found out the solution for clustering problems after a while of research <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong> Steps you need to follow to disable multicast on multihomed servers : </strong><br />
<code><br />
[root@web bin]# ifconfig<br />
eth0      Link encap:Ethernet  HWaddr 00:30:48:5B:54:9A<br />
inet addr:10.5.108.84  Bcast:10.5.108.127  Mask:255.255.255.192<br />
inet6 addr: fe80::230:48ff:fe5b:549a/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:32349735 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:27410647 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:1607667954 (1.4 GiB)  TX bytes:4270795211 (3.9 GiB)<br />
Interrupt:17</code><br />
<code><br />
eth1      Link encap:Ethernet  HWaddr 00:30:48:5B:54:9B<br />
inet addr:75.126.68.198  Bcast:xx.xx.xx.xx  Mask:255.255.255.240<br />
inet6 addr: fe80::230:48ff:fe5b:549b/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:442117208 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:471331869 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:1831922661 (1.7 GiB)  TX bytes:3006291822 (2.7 GiB)<br />
Interrupt:18<br />
</code><code><br />
eth1:0    Link encap:Ethernet  HWaddr 00:30:48:5B:54:9B<br />
inet addr:xx.xx.xx.xx  Bcast:xx.xx.xx.xx  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
Interrupt:18<br />
</code><code><br />
eth1:1    Link encap:Ethernet  HWaddr 00:30:48:5B:54:9B<br />
inet addr:75.126.48.157  Bcast:75.126.48.255  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
Interrupt:18<br />
</code><code><br />
eth1:2    Link encap:Ethernet  HWaddr 00:30:48:5B:54:9B<br />
inet addr:xx.xx.xx.xx  Bcast:xx.xx.xx.xx  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
Interrupt:18<br />
</code><code><br />
eth1:3    Link encap:Ethernet  HWaddr 00:30:48:5B:54:9B<br />
inet addr:xx.xx.xx.xx  Bcast:xx.xx.xx.xx  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
Interrupt:18<br />
</code><code><br />
lo        Link encap:Local Loopback<br />
inet addr:127.0.0.1  Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING  MTU:16436  Metric:1<br />
RX packets:2994064 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:2994064 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:2632223784 (2.4 GiB)  TX bytes:2632223784 (2.4 GiB)<br />
</code><br />
You can disable multicast on multiple interfaces by the following command :<br />
<code><br />
[root@web bin]# <span class="B">ifconfig eth1 -multicast</span><br />
</code><br />
Then  the ifconfig will look like :</p>
<p>http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html</p>
<p>http://www.penguin-soft.com/penguin/man/8/ifconfig.html</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chozhiyath.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chozhiyath.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chozhiyath.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chozhiyath.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chozhiyath.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chozhiyath.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chozhiyath.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chozhiyath.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chozhiyath.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chozhiyath.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chozhiyath.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chozhiyath.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=8&subd=chozhiyath&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chozhiyath.wordpress.com/2007/05/09/disabling-multicast-in-multi-homed-linux-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80461554078b5531fb4a570d75290093?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chozhiyath</media:title>
		</media:content>
	</item>
		<item>
		<title>Hi all,</title>
		<link>http://chozhiyath.wordpress.com/2007/04/27/hello-world/</link>
		<comments>http://chozhiyath.wordpress.com/2007/04/27/hello-world/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 12:06:50 +0000</pubDate>
		<dc:creator>chozhiyath</dc:creator>
				<category><![CDATA[What I Say]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to http://chozhiyath.wordpress.com/ For a long time it was in my mind to start blogging. Many are taking blogging seriously while a few find it one among their hobbies. Either way, blogs are really great for &#8220;con·vey·ance&#8220;.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=1&subd=chozhiyath&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Welcome to <a href="http://wordpress.com/">http://chozhiyath.wordpress.com/</a> For a long time it was in my mind to start blogging. Many are taking blogging seriously while a few find it one among their hobbies. Either way, blogs are really great for &#8220;<span class="me"><strong>con·vey·ance</strong>&#8220;</span>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chozhiyath.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chozhiyath.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chozhiyath.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chozhiyath.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chozhiyath.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chozhiyath.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chozhiyath.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chozhiyath.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chozhiyath.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chozhiyath.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chozhiyath.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chozhiyath.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chozhiyath.wordpress.com&blog=1033294&post=1&subd=chozhiyath&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chozhiyath.wordpress.com/2007/04/27/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80461554078b5531fb4a570d75290093?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chozhiyath</media:title>
		</media:content>
	</item>
	</channel>
</rss>