<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Happy Coding</title>
	
	<link>http://happy-coding.com</link>
	<description>"Because coding makes me very happy." • Finest thoughts since 2003</description>
	<lastBuildDate>Fri, 27 Apr 2012 11:31:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/finestthoughts" /><feedburner:info uri="finestthoughts" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Jenkins, github and Host key verification failed.</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/RXPMCm6vHEk/</link>
		<comments>http://happy-coding.com/jenkins-github-and-host-key-verification-failed/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 10:34:46 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[how to fix the error...]]></category>
		<category><![CDATA[Apache Subversion]]></category>
		<category><![CDATA[GIT]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1238</guid>
		<description><![CDATA[I have just switched a Jenkins project from Svn to git (hosted on GitHub). When I wanted to build the project I experienced the following error: Host key verification failed The first issue was, that Jenkins didn&#8217;t run with the normal user, but it&#8217;s own Jenkins user. So I switched to this user su jenkins [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1243" title="Screen Shot 2012-04-27 at 1.30.18 PM" src="http://happy-coding.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-27-at-1.30.18-PM.png" alt="" width="126" height="143" />I have just switched a <a class="zem_slink" title="Jenkins (software)" href="http://jenkins-ci.org/" rel="homepage" target="_blank">Jenkins</a> project from <a class="zem_slink" title="Apache Subversion" href="http://subversion.apache.org/" rel="homepage" target="_blank">Svn</a> to <a class="zem_slink" title="Git (software)" href="http://en.wikipedia.org/wiki/Git_%28software%29" rel="wikipedia" target="_blank">git</a> (hosted on <a class="zem_slink" title="GitHub" href="http://github.com" rel="homepage" target="_blank">GitHub</a>). When I wanted to build the project I experienced the following error:</p>
<blockquote><p>Host key verification failed</p></blockquote>
<p>The first issue was, that Jenkins didn&#8217;t run with the normal user, but it&#8217;s own Jenkins user. So I switched to this user</p>
<pre>su jenkins</pre>
<p>and created an own private/public key using</p>
<pre>ssh-keygen</pre>
<p>After this I tried to ssh into git</p>
<pre>ssh git@github.com</pre>
<p>and got a welcome message:</p>
<blockquote><p>You&#8217;ve successfully authenticated, but GitHub does not provide shell access.</p></blockquote>
<p>After this I tried to clone the repository to the Jenkins machine and got</p>
<blockquote><p>hudson.plugins.git.GitException: Could not apply tag &#8230;</p></blockquote>
<p>This problem could be fixed by adding git name and email via</p>
<pre>git config --global user.email "email@yourdomain.com"
git config --global user.name "Jenkins"</pre>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"></div>

<p><a href="http://feedads.g.doubleclick.net/~a/X3MRDTBAzBpmAngNfKT4QCngANM/0/da"><img src="http://feedads.g.doubleclick.net/~a/X3MRDTBAzBpmAngNfKT4QCngANM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/X3MRDTBAzBpmAngNfKT4QCngANM/1/da"><img src="http://feedads.g.doubleclick.net/~a/X3MRDTBAzBpmAngNfKT4QCngANM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/RXPMCm6vHEk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/jenkins-github-and-host-key-verification-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/jenkins-github-and-host-key-verification-failed/</feedburner:origLink></item>
		<item>
		<title>Get sizes of directories in Debian</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/d11RKFFuNoA/</link>
		<comments>http://happy-coding.com/get-sizes-of-directories-in-debian/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 10:48:09 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[This&That]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[Size]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1225</guid>
		<description><![CDATA[Get the sizes of directories nicely formated via the following command. This can take some while to execute, because it sums up the file sizes in the directories. du --max-depth=1 -h]]></description>
			<content:encoded><![CDATA[<p>Get the sizes of directories nicely formated via the following command. This can take some while to execute, because it sums up the file sizes in the directories.</p>
<pre>du --max-depth=1 -h</pre>

<p><a href="http://feedads.g.doubleclick.net/~a/y25tAvX7UD2v6cKE25unyS1hacw/0/da"><img src="http://feedads.g.doubleclick.net/~a/y25tAvX7UD2v6cKE25unyS1hacw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/y25tAvX7UD2v6cKE25unyS1hacw/1/da"><img src="http://feedads.g.doubleclick.net/~a/y25tAvX7UD2v6cKE25unyS1hacw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/d11RKFFuNoA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/get-sizes-of-directories-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/get-sizes-of-directories-in-debian/</feedburner:origLink></item>
		<item>
		<title>log parsing with Grok</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/DK5qhKXlfuY/</link>
		<comments>http://happy-coding.com/log-parsing-with-grok/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 08:30:06 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Grok]]></category>
		<category><![CDATA[Logging]]></category>
		<category><![CDATA[Logstash]]></category>
		<category><![CDATA[Parsing]]></category>
		<category><![CDATA[Regular Expressions]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1226</guid>
		<description><![CDATA[Just discovered Grok  while listening to the logstash talk of the logstash developer. Seems pretty neat to me, especially if you are not willing to write always ugly regular expressions by hand, when you want to parse your logs. Grok is simple software that allows you to easily parse logs and other files. With grok, you can [...]]]></description>
			<content:encoded><![CDATA[<p>Just discovered <a href="http://code.google.com/p/semicomplete/wiki/Grok">Grok</a>  while listening to the <a href="http://logstash.net/docs/1.1.0/learn">logstash talk</a> of the logstash developer. Seems pretty neat to me, especially if you are not willing to write always ugly regular expressions by hand, when you want to parse your logs.</p>
<blockquote><p>Grok is simple software that allows you to easily parse logs and other files. With grok, you can turn unstructured log and event data into structured data.</p></blockquote>

<p><a href="http://feedads.g.doubleclick.net/~a/LsqpJolXUsvsI66G9qzKuTPHBjI/0/da"><img src="http://feedads.g.doubleclick.net/~a/LsqpJolXUsvsI66G9qzKuTPHBjI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/LsqpJolXUsvsI66G9qzKuTPHBjI/1/da"><img src="http://feedads.g.doubleclick.net/~a/LsqpJolXUsvsI66G9qzKuTPHBjI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/DK5qhKXlfuY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/log-parsing-with-grok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/log-parsing-with-grok/</feedburner:origLink></item>
		<item>
		<title>Error when trying to deploy Rails 3 application with ActiveAdmin</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/LABMq0uQub8/</link>
		<comments>http://happy-coding.com/error-when-trying-to-deploy-rails-3-application-with-activeadmin/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 19:16:33 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[how to fix the error...]]></category>
		<category><![CDATA[ActiveAdmin]]></category>
		<category><![CDATA[Capistrano]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby/RoR]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1223</guid>
		<description><![CDATA[I have just tried to deploy my Rails 3 application which uses ActiveAdmin and I&#8217;ve gotten the following error: File to import not found or unreadable: active_admin/mixins The solution was to add the following line into my capistrano configuration file config/deploy.rb: load "deploy/assets" After a new cap deploy the error was gone.]]></description>
			<content:encoded><![CDATA[<p>I have just tried to deploy my Rails 3 application which uses <a href="http://activeadmin.info/">ActiveAdmin</a> and I&#8217;ve gotten the following error:</p>
<blockquote><p>File to import not found or unreadable: active_admin/mixins</p></blockquote>
<p>The solution was to add the following line into my capistrano configuration file config/deploy.rb:</p>
<pre>load "deploy/assets"</pre>
<p>After a new</p>
<pre>cap deploy</pre>
<p>the error was gone.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"></div>

<p><a href="http://feedads.g.doubleclick.net/~a/kJoZG0eFGbvcdqOH6fBojzWzw4A/0/da"><img src="http://feedads.g.doubleclick.net/~a/kJoZG0eFGbvcdqOH6fBojzWzw4A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kJoZG0eFGbvcdqOH6fBojzWzw4A/1/da"><img src="http://feedads.g.doubleclick.net/~a/kJoZG0eFGbvcdqOH6fBojzWzw4A/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/LABMq0uQub8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/error-when-trying-to-deploy-rails-3-application-with-activeadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/error-when-trying-to-deploy-rails-3-application-with-activeadmin/</feedburner:origLink></item>
		<item>
		<title>Better Builds with Maven</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/N4vWQ2mqhA8/</link>
		<comments>http://happy-coding.com/better-builds-with-maven/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 09:55:52 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Apache Maven]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1218</guid>
		<description><![CDATA[I think a lot of people who are working with Maven know this already. But I have never wrote about it here at Happy-Coding: Better Builds with Maven is a freely available book, which contains lot&#8217;s of best practice information about the work with Maven. Available to download at MaestroDev. &#160;]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl class="wp-caption alignleft" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/File:Maven_logo.gif" target="_blank"><img class="zemanta-img-inserted zemanta-img-configured " title="Español: Logotipo de Apache Maven. English: Ap..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/Maven_logo.gif/300px-Maven_logo.gif" alt="Español: Logotipo de Apache Maven. English: Ap..." width="300" height="69" /></a></dt>
</dl>
</div>
<p>I think a lot of people who are working with Maven know this already. But I have never wrote about it here at Happy-Coding:</p>
<p><em>Better Builds with Maven</em> is a freely available book, which contains lot&#8217;s of best practice information about the work with Maven.<br />
<a href="https://repo.maestrodev.com/books/betterbuildswithmaven-2008.pdf" target="_blank">Available to download at MaestroDev</a>.</p>
<p>&nbsp;</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"></div>

<p><a href="http://feedads.g.doubleclick.net/~a/zMLcvN7hpOjEkoMYWuprcHxAtss/0/da"><img src="http://feedads.g.doubleclick.net/~a/zMLcvN7hpOjEkoMYWuprcHxAtss/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/zMLcvN7hpOjEkoMYWuprcHxAtss/1/da"><img src="http://feedads.g.doubleclick.net/~a/zMLcvN7hpOjEkoMYWuprcHxAtss/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/N4vWQ2mqhA8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/better-builds-with-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/better-builds-with-maven/</feedburner:origLink></item>
		<item>
		<title>Social Graph API retiring…</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/m_loGSNvWlc/</link>
		<comments>http://happy-coding.com/social-graph-api-retiring/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 15:34:28 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Social Graph API]]></category>
		<category><![CDATA[Social Graph]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1212</guid>
		<description><![CDATA[Oh, I didn&#8217;t recognize that Google is retiring his Social Graph API in 2012: This API makes information about the public connections between people on the web available for developers. The API isn’t experiencing the kind of adoption we’d like, and is being deprecated as of today. It will be fully retired on April 20, [...]]]></description>
			<content:encoded><![CDATA[<p>Oh, I didn&#8217;t recognize that <a class="zem_slink" title="Google" href="http://google.com" rel="homepage" target="_blank">Google</a> is retiring his <a class="zem_slink" title="Google Social Graph API" href="http://code.google.com/apis/socialgraph/" rel="homepage" target="_blank">Social Graph API</a> in 2012:</p>
<blockquote><p>This API makes information about the public connections between people on the web available for developers. The API isn’t experiencing the kind of adoption we’d like, and is being deprecated as of today. It will be fully retired on April 20, 2012. (via <a href="http://googleblog.blogspot.com/2012/01/renewing-old-resolutions-for-new-year.html">Google</a>)</p></blockquote>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"></div>

<p><a href="http://feedads.g.doubleclick.net/~a/RoLGz80QhKvFkAfoD73COeAkbz4/0/da"><img src="http://feedads.g.doubleclick.net/~a/RoLGz80QhKvFkAfoD73COeAkbz4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/RoLGz80QhKvFkAfoD73COeAkbz4/1/da"><img src="http://feedads.g.doubleclick.net/~a/RoLGz80QhKvFkAfoD73COeAkbz4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/m_loGSNvWlc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/social-graph-api-retiring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/social-graph-api-retiring/</feedburner:origLink></item>
		<item>
		<title>Resetting Java formatting options in Netbeans</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/UHeOHVkptS8/</link>
		<comments>http://happy-coding.com/resetting-java-formatting-options-in-netbeans/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 18:41:28 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1201</guid>
		<description><![CDATA[I&#8217;ve just searched for a way to reset the Java Formatting Options in Netbeans 7.1.1. And I didn&#8217;t find a convenient  way to do this. The only way I found was to directly delete the .xml file (org-netbeans-modules-editor-settings-CustomPreferences.xml) which is responsible for storing the Java settings: USER_DIR/.netbeans/7.1/config/Editors/text/x-java/Preferences]]></description>
			<content:encoded><![CDATA[<p><a href="http://happy-coding.com/wp-content/uploads/2012/03/Screen-Shot-2012-03-14-at-7.40.05-PM.png"><img class="alignleft size-medium wp-image-1208" title="Screen Shot 2012-03-14 at 7.40.05 PM" src="http://happy-coding.com/wp-content/uploads/2012/03/Screen-Shot-2012-03-14-at-7.40.05-PM-300x89.png" alt="" width="300" height="89" /></a>I&#8217;ve just searched for a way to reset the Java Formatting Options in <a class="zem_slink" title="NetBeans" href="http://www.netbeans.org/" rel="homepage" target="_blank">Netbeans</a> 7.1.1. And I didn&#8217;t find a convenient  way to do this. The only way I found was to directly delete the .xml file (org-netbeans-modules-editor-settings-CustomPreferences.xml) which is responsible for storing the Java settings:</p>
<pre>USER_DIR/.netbeans/7.1/config/Editors/text/x-java/Preferences</pre>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"></div>

<p><a href="http://feedads.g.doubleclick.net/~a/DnjTzIk41OH8vnhFbKPLIvn8ivs/0/da"><img src="http://feedads.g.doubleclick.net/~a/DnjTzIk41OH8vnhFbKPLIvn8ivs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DnjTzIk41OH8vnhFbKPLIvn8ivs/1/da"><img src="http://feedads.g.doubleclick.net/~a/DnjTzIk41OH8vnhFbKPLIvn8ivs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/UHeOHVkptS8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/resetting-java-formatting-options-in-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/resetting-java-formatting-options-in-netbeans/</feedburner:origLink></item>
		<item>
		<title>quick coding info: order of Java modifiers</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/-Nr337Cpu3g/</link>
		<comments>http://happy-coding.com/quick-coding-info-order-of-java-modifiers/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 10:34:55 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[modifiers]]></category>
		<category><![CDATA[order]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1197</guid>
		<description><![CDATA[How you should order Java mofifiers so that you conform to the Java specs. public protected private abstract static final transient volatile synchronized native strictfp]]></description>
			<content:encoded><![CDATA[<p>How you should order Java mofifiers so that you conform to the <a href="http://docs.oracle.com/javase/specs/">Java specs</a>.</p>
<p><a href="http://happy-coding.com/wp-content/uploads/2012/03/hc_order_java_modifiers.png"><img class="aligncenter size-full wp-image-1199" title="hc_order_java_modifiers" src="http://happy-coding.com/wp-content/uploads/2012/03/hc_order_java_modifiers.png" alt="" width="401" height="302" /></a></p>
<ol>
<li>public</li>
<li>protected</li>
<li>private</li>
<li>abstract</li>
<li>static</li>
<li>final</li>
<li>transient</li>
<li>volatile</li>
<li>synchronized</li>
<li>native</li>
<li>strictfp</li>
</ol>

<p><a href="http://feedads.g.doubleclick.net/~a/yyiyk8d5mzptSCunQdfW4kZ9Juw/0/da"><img src="http://feedads.g.doubleclick.net/~a/yyiyk8d5mzptSCunQdfW4kZ9Juw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/yyiyk8d5mzptSCunQdfW4kZ9Juw/1/da"><img src="http://feedads.g.doubleclick.net/~a/yyiyk8d5mzptSCunQdfW4kZ9Juw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/-Nr337Cpu3g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/quick-coding-info-order-of-java-modifiers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/quick-coding-info-order-of-java-modifiers/</feedburner:origLink></item>
		<item>
		<title>SSH to a cluster</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/FAsEgPeXx9U/</link>
		<comments>http://happy-coding.com/ssh-to-a-cluster/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 09:33:42 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[This&That]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Apache Cassandra]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[cluster ssh]]></category>
		<category><![CDATA[csshX]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://happy-coding.com/?p=1191</guid>
		<description><![CDATA[Nowadays it is pretty normal if you are a Linux administrator or a happy coder with a passion for servers, that you have a cluster of machines at your fingertips. And a normal task is to execute the same commands on multiple machines. One way is to log into every machine and enter the commands [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays it is pretty normal if you are a Linux administrator or a happy coder with a passion for servers, that you have a cluster of machines at your fingertips. And a normal task is to execute the same commands on multiple machines. One way is to log into every machine and enter the commands multiple times. An easier way is to use cluster ssh tools. For me as a Mac user I am using <strong><a href="http://code.google.com/p/csshx/">csshX</a></strong>, which gives you the opportunity to execute simultaneously one command on multiple machines.</p>
<p>If you have for example 4 servers (<em>server1</em>, <em>server2</em>, <em>server3</em>, <em>server4</em>) and your user on every server is <em>happycoder</em>, then you can log into all machines via</p>
<pre>csshX --login happycoder server1 server2 server3 server4</pre>
<p>This will open 4 terminal slave windows and one master window, which receives your input and sends it to all slave windows:</p>
<p><a href="http://happy-coding.com/wp-content/uploads/2012/03/Screen-Shot-2012-03-06-at-10.25.23-AM.png"><img class="aligncenter size-full wp-image-1192" title="Screen Shot 2012-03-06 at 10.25.23 AM" src="http://happy-coding.com/wp-content/uploads/2012/03/Screen-Shot-2012-03-06-at-10.25.23-AM.png" alt="" width="320" height="180" /></a></p>
<p>There is <a href="http://www.screenr.com/5G6">this nice screencast</a>, where the guy also uses csshX for setting up an Apache Cassandra cluster in 2 minutes. For other platforms there are also tools like e.g. <a href="http://sourceforge.net/projects/clusterssh/">clusterSSH</a>.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"></div>

<p><a href="http://feedads.g.doubleclick.net/~a/xaIhv5nxSuE-TZKPLUHSR9eu0Co/0/da"><img src="http://feedads.g.doubleclick.net/~a/xaIhv5nxSuE-TZKPLUHSR9eu0Co/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xaIhv5nxSuE-TZKPLUHSR9eu0Co/1/da"><img src="http://feedads.g.doubleclick.net/~a/xaIhv5nxSuE-TZKPLUHSR9eu0Co/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/FAsEgPeXx9U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/ssh-to-a-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/ssh-to-a-cluster/</feedburner:origLink></item>
		<item>
		<title>Testing Javascript with JSFIDDLE</title>
		<link>http://feedproxy.google.com/~r/finestthoughts/~3/zgUFM4ovz4U/</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>

<p><a href="http://feedads.g.doubleclick.net/~a/Qk79IsbC8h9NMvK1BNGOQ2fk6Hg/0/da"><img src="http://feedads.g.doubleclick.net/~a/Qk79IsbC8h9NMvK1BNGOQ2fk6Hg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Qk79IsbC8h9NMvK1BNGOQ2fk6Hg/1/da"><img src="http://feedads.g.doubleclick.net/~a/Qk79IsbC8h9NMvK1BNGOQ2fk6Hg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/finestthoughts/~4/zgUFM4ovz4U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://happy-coding.com/testing-javascript-with-jsfiddle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://happy-coding.com/testing-javascript-with-jsfiddle/</feedburner:origLink></item>
	</channel>
</rss>

