<?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>Happy Coding</title>
	<atom:link href="http://happy-coding.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://happy-coding.com</link>
	<description>&#34;Because coding makes me very happy.&#34; • Finest thoughts since 2003</description>
	<lastBuildDate>Wed, 22 Feb 2012 09:51:51 +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>Testing Javascript with JSFIDDLE</title>
		<link>http://happy-coding.com/testing-javascript-with-jsfiddle/</link>
		<comments>http://happy-coding.com/testing-javascript-with-jsfiddle/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 09:51:21 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Building the Web]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jsFiddle]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1186</guid>
		<description><![CDATA[Just stumbled over jsfiddle.net a nice tool for testing Javascript on the fly. You can also include the different Javascript frameworks like Jquery, Mootools, YUI etc.]]></description>
			<content:encoded><![CDATA[<p>Just stumbled over <a href="http://jsfiddle.net/">jsfiddle.net</a> a nice tool for testing Javascript on the fly. You can also include the different Javascript frameworks like Jquery, Mootools, YUI etc.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a href="http://happy-coding.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-22-at-10.49.49-AM.png"><img class="alignleft size-medium wp-image-1187" title="Trying out Jquery buttonset with JSFIDDLE" src="http://happy-coding.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-22-at-10.49.49-AM-300x146.png" alt="" width="300" height="146" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/testing-javascript-with-jsfiddle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JPPF 3.0 released</title>
		<link>http://happy-coding.com/jppf-3-0-released/</link>
		<comments>http://happy-coding.com/jppf-3-0-released/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 12:24:43 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[JPPF]]></category>
		<category><![CDATA[Parallel Processing]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1179</guid>
		<description><![CDATA[The new version of the nice Java Parallel Processing Framework (JPPF) is out. See what&#8217;s new in the release 3.0 by reading the release notes.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1182" title="jppf_logo" src="http://happy-coding.com/wp-content/uploads/2012/01/jppf_logo.gif" alt="" width="186" height="50" />The new version of the nice <a href="http://www.jppf.org/">Java Parallel Processing Framework</a> (JPPF) is out. See what&#8217;s new in the release 3.0 by reading the <a href="http://www.jppf.org/release_notes.php">release notes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/jppf-3-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>flush memcached via command line</title>
		<link>http://happy-coding.com/flush-memcached-via-command-line/</link>
		<comments>http://happy-coding.com/flush-memcached-via-command-line/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 22:43:11 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[manual of the day...]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[flush]]></category>
		<category><![CDATA[Memcached]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1176</guid>
		<description><![CDATA[Just this simple command will flush the memcached cache: echo &#8220;flush_all&#8221; &#124; nc 127.0.0.1 11211 assuming that it runs on the localhost with the default port.]]></description>
			<content:encoded><![CDATA[<p>Just this simple command will flush the <a class="zem_slink" title="Memcached" rel="homepage" href="http://www.memcached.org/">memcached</a> cache:</p>
<p>echo &#8220;flush_all&#8221; | nc 127.0.0.1 11211</p>
<p>assuming that it runs on the localhost with the default port.</p>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/flush-memcached-via-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Completely remove MySQL server including all the data from Debian</title>
		<link>http://happy-coding.com/completely-remove-mysql-server-including-all-the-data-from-debian/</link>
		<comments>http://happy-coding.com/completely-remove-mysql-server-including-all-the-data-from-debian/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 10:03:00 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[manual of the day...]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[purge]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1172</guid>
		<description><![CDATA[I just tried to uninstall MySQL on Debian via apt-get remove --purge mysql-server apt-get remove --purge mysql-client apt-get autoremove and wondered that the directories /var/lib/mysql /etc/mysql still existed after the commands. Then I recognized, that a apt-get remove --purge 'mysql-server.*' is doing better and removes everything. Note: if you get a /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot [...]]]></description>
			<content:encoded><![CDATA[<p>I just tried to uninstall <a class="zem_slink" title="MySQL" rel="homepage" href="http://www.mysql.com">MySQL</a> on <a class="zem_slink" title="Debian" rel="homepage" href="http://www.debian.org/">Debian</a> via</p>
<pre><a class="zem_slink" title="Advanced Packaging Tool" rel="homepage" href="http://wiki.debian.org/Apt">apt-get</a> remove --purge mysql-server

apt-get remove --purge mysql-client

apt-get autoremove</pre>
<p>and wondered that the directories /var/lib/mysql /etc/mysql still existed after the commands. Then I recognized, that a</p>
<pre>apt-get remove --purge 'mysql-server.*'</pre>
<p>is doing better and removes everything.</p>
<p><strong>Note:</strong></p>
<p>if you get a</p>
<blockquote><p>/etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read.</p></blockquote>
<p>error when you try to re-install MySQL, try a</p>
<pre>apt-get purge mysql-common</pre>
<p>and try to re-install again.</p>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/completely-remove-mysql-server-including-all-the-data-from-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;xterm-256color&#8217;: unknown terminal type.</title>
		<link>http://happy-coding.com/xterm-256color-unknown-terminal-type/</link>
		<comments>http://happy-coding.com/xterm-256color-unknown-terminal-type/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 14:41:45 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[how to fix the error...]]></category>
		<category><![CDATA[MacOS/iOS]]></category>
		<category><![CDATA[256 color]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xterm]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1168</guid>
		<description><![CDATA[The following error popped up when I was accessing a Ubuntu EC2 instance from my MacOS X system: &#8216;xterm-256color&#8217;: unknown terminal type. To fix this error I needed to install ncurses-term via sudo apt-get install ncurses-term]]></description>
			<content:encoded><![CDATA[<p>The following error popped up when I was accessing a <a class="zem_slink" title="Ubuntu (operating system)" rel="homepage" href="http://www.ubuntu.com/">Ubuntu</a> EC2 instance from my MacOS X system:</p>
<blockquote><p>&#8216;<a class="zem_slink" title="Xterm" rel="homepage" href="http://invisible-island.net/xterm/">xterm</a>-256color&#8217;: unknown terminal type.</p></blockquote>
<p>To fix this error I needed to install ncurses-term via</p>
<pre>sudo apt-get install ncurses-term</pre>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/xterm-256color-unknown-terminal-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbeans IDE 7.1 Beta</title>
		<link>http://happy-coding.com/netbeans-ide-7-1-beta/</link>
		<comments>http://happy-coding.com/netbeans-ide-7-1-beta/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 09:44:59 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[7.1]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[GIT]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1164</guid>
		<description><![CDATA[Just found out that the new NetBeans IDE 7.1 Beta has integrated GIT support. Nice. And it&#8217;s so much nicer to work with Netbeans compared to Eclipse. Especially if you are working with Glassfish.]]></description>
			<content:encoded><![CDATA[<p>Just found out that the new <a href="http://netbeans.org/community/releases/71/">NetBeans IDE 7.1 Beta</a> has integrated GIT support. Nice. And it&#8217;s so much nicer to work with Netbeans compared to Eclipse. Especially if you are working with Glassfish.</p>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/netbeans-ide-7-1-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get text between 2 lines from a file with sed</title>
		<link>http://happy-coding.com/get-text-between-2-lines-from-a-file-with-sed/</link>
		<comments>http://happy-coding.com/get-text-between-2-lines-from-a-file-with-sed/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 16:20:28 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[manual of the day...]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[Sed]]></category>
		<category><![CDATA[slice]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1157</guid>
		<description><![CDATA[I just had the problem that I wanted to get 2000 lines of text from a big log file (&#62; 20 million lines). It was too much to select it in my Terminal. The only thing I know was where the text of interest started and where it ended. Sed what the hero of this [...]]]></description>
			<content:encoded><![CDATA[<p>I just had the problem that I wanted to get 2000 lines of text from a big log file (&gt; 20 million lines). It was too much to select it in my Terminal. The only thing I know was where the text of interest started and where it ended. <a href="http://en.wikipedia.org/wiki/Sed">Sed</a> what the hero of this day and helped me with this command:</p>
<pre>sed -n '19121287,19123287p' big_log_file.log &gt; sliced_text.log</pre>
<p>19121287 was the line number where it starts and 19123287 was the line where it ends.</p>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/get-text-between-2-lines-from-a-file-with-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing for Google+</title>
		<link>http://happy-coding.com/developing-for-google/</link>
		<comments>http://happy-coding.com/developing-for-google/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 19:16:02 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[plus]]></category>
		<category><![CDATA[public data]]></category>
		<category><![CDATA[RESTful]]></category>
		<category><![CDATA[Social network]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1153</guid>
		<description><![CDATA[Just a quick note: Google+ API released: The Google+ platform brings that nuance and richness to all of the web. We started with Google’s own products, added the +1 button for site owners and content publishers, and introduced games from a handful of partners. That’s just the beginning though — we want every one of [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note: <a href="http://googleplusplatform.blogspot.com/2011/09/getting-started-on-google-api.html">Google+ API released</a>:</p>
<blockquote><p>The Google+ platform brings that nuance and richness to all of the web. We started with Google’s own products, added the +1 button for site owners and content publishers, and introduced games from a handful of partners. That’s just the beginning though — we want every one of you who builds applications to be able to include rich sharing, identity, and conversations in your app. Today, we’re taking the next step on that journey by launching the first of the Google+ APIs.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/developing-for-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neo4j. NoSQL graph database</title>
		<link>http://happy-coding.com/neo4j-nosql-graph-database/</link>
		<comments>http://happy-coding.com/neo4j-nosql-graph-database/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 08:43:28 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[neo4j]]></category>
		<category><![CDATA[noSQL]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1151</guid>
		<description><![CDATA[Neo4j is a graph database, storing data in the nodes and relationships of a graph. The most generic of data structures, a graph elegantly represents any kind of data, preserving the natural structure of the domain.]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://neo4j.org"><strong>Neo4j is a graph database</strong></a>, storing data in the nodes and  relationships of a graph. The most generic of data structures, a graph  elegantly represents any kind of data, preserving the natural structure  of the domain.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/neo4j-nosql-graph-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kill processes by their name</title>
		<link>http://happy-coding.com/kill-processes-by-their-name/</link>
		<comments>http://happy-coding.com/kill-processes-by-their-name/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 08:22:45 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[manual of the day...]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[Kill]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1148</guid>
		<description><![CDATA[Sometimes you have lots of processes running on your Linux system and you want to kill them all. But you don&#8217;t want to spend too much time on killing each process by their process id. A good way to handle with this problem is to combine ps, with grep and awk: ps -lax &#124; grep [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you have lots of processes running on your Linux system and you want to kill them all. But you don&#8217;t want to spend too much time on killing each process by their process id. A good way to handle with this problem is to combine <a href="http://en.wikipedia.org/wiki/Ps_%28Unix%29"><code>ps</code></a>, with <a href="http://en.wikipedia.org/wiki/Grep"><code>grep</code></a> and <a href="http://en.wikipedia.org/wiki/AWK"><code>awk</code></a>:</p>
<pre>ps -lax | grep "MY SEARCH PATTERN"| awk '{print $3}' | xargs kill -9</pre>
<p>In this case I am getting the whole process list, then I search for processes which contain <em>MY SEARCH PATTERN</em>. After this I am getting the 3rd column, because there is the process ID. After that we kill &#8216;em all!</p>
]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/kill-processes-by-their-name/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

