<?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/"
	>

<channel>
	<title>Nomad Labs Code &#187; linux</title>
	<atom:link href="http://code.nomad-labs.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.nomad-labs.com</link>
	<description>srasul&#039;s snippets of code and thought</description>
	<lastBuildDate>Wed, 15 May 2013 09:37:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Some tips on java.lang.OutOfMemoryError: unable to create new native thread</title>
		<link>http://code.nomad-labs.com/2012/12/20/some-tips-on-java-lang-outofmemoryerror-unable-to-create-new-native-thread/</link>
		<comments>http://code.nomad-labs.com/2012/12/20/some-tips-on-java-lang-outofmemoryerror-unable-to-create-new-native-thread/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 18:03:32 +0000</pubDate>
		<dc:creator>srasul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://code.nomad-labs.com/?p=238</guid>
		<description><![CDATA[Thats right, the dreaded, java.lang.OutOfMemoryError: unable to create new native thread. I fixed one of these the other day. And I will present to you how I did it. The cause for such errors are usually Thread Leaks. A Thread Leak is where some ass hat is creating threads which never die. Another reason for [...]]]></description>
		<wfw:commentRss>http://code.nomad-labs.com/2012/12/20/some-tips-on-java-lang-outofmemoryerror-unable-to-create-new-native-thread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simulating dropped packets (aka crappy internets) with iptables</title>
		<link>http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/</link>
		<comments>http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 16:47:16 +0000</pubDate>
		<dc:creator>srasul</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://code.nomad-labs.com/?p=123</guid>
		<description><![CDATA[Disclaimer #1 I am not an iptables expert. This tip will work best on your local linux development box where you probably have no iptables rules setup. Do not play around with this shit on production machines, unless you know what you are doing. Speak with your friendly sysadmins before doing this on any machine [...]]]></description>
		<wfw:commentRss>http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Auto Install the SUN JDK on Linux</title>
		<link>http://code.nomad-labs.com/2009/10/26/auto-install-the-sun-jdk-on-linux/</link>
		<comments>http://code.nomad-labs.com/2009/10/26/auto-install-the-sun-jdk-on-linux/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 15:09:06 +0000</pubDate>
		<dc:creator>srasul</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://code.nomad-labs.com/?p=109</guid>
		<description><![CDATA[Sometimes (yes it does happen), you need to install the JDK from SUN automatically (without having to answer yes/no to the license). Why? For example in a Kick Start script to auto-install the JDK. And so to do this, here a bash &#038; perl script for this exact purpose. This script works only with the [...]]]></description>
		<wfw:commentRss>http://code.nomad-labs.com/2009/10/26/auto-install-the-sun-jdk-on-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>scp2here: scp command to here</title>
		<link>http://code.nomad-labs.com/2009/08/14/scp2here-scp-command-to-here/</link>
		<comments>http://code.nomad-labs.com/2009/08/14/scp2here-scp-command-to-here/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 20:10:53 +0000</pubDate>
		<dc:creator>srasul</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://code.nomad-labs.com/?p=51</guid>
		<description><![CDATA[I usually need to scp stuff from/over-to servers on a regular basis. And here is a function in .bashrc that I use: #function to get the scp path to here function scp2here { user=`whoami` server=`hostname` pathToHere=`pwd` output=$user"@"$server":"$pathToHere if [ ! -z "$1" ] then output=$output"/"$1 fi echo $output } This function prints out the scp [...]]]></description>
		<wfw:commentRss>http://code.nomad-labs.com/2009/08/14/scp2here-scp-command-to-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
