<?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>MyFunnyDev &#187; Uncategorized</title>
	<atom:link href="http://michalkuklis.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://michalkuklis.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 14 Jan 2012 17:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>inspiring talks</title>
		<link>http://michalkuklis.com/blog/2012/01/14/inspiring-talks/</link>
		<comments>http://michalkuklis.com/blog/2012/01/14/inspiring-talks/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 17:45:50 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=487</guid>
		<description><![CDATA[Here is the list of talks &#38; presentations which inspired me in some ways: 1. Steve Jobs&#8217; 2005 Stanford Commencement Address 2. David Heinemeier Hansson at Startup School 08 3. Web 2.0 Expo NY: Gary Vaynerchuk Please let me know if you run into any interesting talks I will keep adding them here.]]></description>
			<content:encoded><![CDATA[<p>Here is the list of talks &amp; presentations which inspired me in some ways:</p>
<p>1. Steve Jobs&#8217; 2005 Stanford Commencement Address</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/UF8uR6Z6KLc?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>2. David Heinemeier Hansson at Startup School 08</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/0CDXJ6bMkMY?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>3. Web 2.0 Expo NY: Gary Vaynerchuk</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/EhqZ0RU95d4?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Please let me know if you run into any interesting talks I will keep adding them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2012/01/14/inspiring-talks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Node.js libs for realtime web apps</title>
		<link>http://michalkuklis.com/blog/2011/09/26/node-js-libs-for-realtime-web-apps/</link>
		<comments>http://michalkuklis.com/blog/2011/09/26/node-js-libs-for-realtime-web-apps/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 02:13:49 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=481</guid>
		<description><![CDATA[Looks like the number of frameworks/libs/tools available for &#8220;realtime&#8221; web apps is growing. I&#8217;ve been following them since socket.io appeared for the first time. Below is the list of tools I ran into in the past. I will try to keep this list up to date. socket.io nowjs faye juggernaut]]></description>
			<content:encoded><![CDATA[<p>Looks like the number of frameworks/libs/tools available for &#8220;realtime&#8221; web apps is growing. I&#8217;ve been following them since <a href="http://socket.io">socket.io</a> appeared for the first time. Below is the list of tools I ran into in the past. I will try to keep this list up to date.</p>
<ol>
<li><a href="http://socket.io">socket.io</a></li>
<li><a href="http://nowjs.com">nowjs</a></li>
<li><a href="http://faye.jcoglan.com">faye</a></li>
<li><a href="https://github.com/maccman/juggernaut">juggernaut</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2011/09/26/node-js-libs-for-realtime-web-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extending Jasmine Matchers</title>
		<link>http://michalkuklis.com/blog/2011/07/03/extending-jasmine-matchers/</link>
		<comments>http://michalkuklis.com/blog/2011/07/03/extending-jasmine-matchers/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 04:27:04 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=468</guid>
		<description><![CDATA[Jasmine is a behavior-driven development framework for testing JavaScript from Pivotal Labs (I believe Rajan Agaskar was/is the original author). I&#8217;ve been using Jasmine for a while now to test my JavaScript code. Today I ran into interesting situation where I wanted to test events bound to jQuery element. Basically by writing code like this: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pivotal.github.com/jasmine/">Jasmine</a> is a behavior-driven development framework for testing JavaScript from <a href="http://pivotallabs.com/">Pivotal Labs </a> (I believe <a href="http://agaskar.com/">Rajan Agaskar</a> was/is the original author). I&#8217;ve been using Jasmine for a while now to test my JavaScript code. Today I ran into interesting situation where I wanted to test events bound to jQuery element. Basically by writing code like this:</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#el'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #006600; font-style: italic;">// handler code goes here</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>I wanted to know if element <strong>$(&#8216;#el&#8217;)</strong> had any events attached to it. I looked around but couldn&#8217;t find any predefined matchers in jasmine or <a href="https://github.com/velesin/jasmine-jquery">jasmine-jquery</a> to accomplish it. I realized that it&#8217;s pretty easy to extend jasmine and define my own matchers (which is pretty cool).</p>
<p>Here is how you can do it:</p>
<p>First define your new matchers:</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> eventMatchers <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; toHaveEvent<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> &nbsp; <br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> data <span style="color: #339933;">=</span> jQuery.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">actual</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>obj <span style="color: #000066; font-weight: bold;">in</span> data<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>data.<span style="color: #660066;">hasOwnProperty</span><span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>eventName <span style="color: #000066; font-weight: bold;">in</span> data<span style="color: #009900;">&#91;</span>obj<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">events</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#91;</span>obj<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">events</span>.<span style="color: #660066;">hasOwnProperty</span><span style="color: #009900;">&#40;</span>eventName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>event <span style="color: #339933;">===</span> eventName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></div></div>
<p>Then in your spec add your handlers inside beforeEach:</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">describe<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Element&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; beforeEach<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">addMatchers</span><span style="color: #009900;">&#40;</span>eventMatchers<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>That&#8217;s it! Now you can use your new matchers inside your spec. In this case I was able to use it like this:</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">describe<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Element&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; beforeEach<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">addMatchers</span><span style="color: #009900;">&#40;</span>eventMatchers<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; describe<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;when event attached&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; it<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;should contain attached event&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; setFixtures<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;div id=&quot;el&quot;&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#el'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; expect<span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#el'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toHaveEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2011/07/03/extending-jasmine-matchers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh without a hostname and password</title>
		<link>http://michalkuklis.com/blog/2011/06/15/ssh-without-host-and-password/</link>
		<comments>http://michalkuklis.com/blog/2011/06/15/ssh-without-host-and-password/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 20:15:37 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=431</guid>
		<description><![CDATA[Often I have to login to different machines. It&#8217;s annoying to always type the full hostname and then password. So here is what you can do to avoid typing too much: 1. On your local machine create a private and public key: ssh-keygen -t rsa by default 2 keys will be created (id_rsa, id_rsa.pub) under [...]]]></description>
			<content:encoded><![CDATA[<p>Often I have to login to different machines. It&#8217;s annoying to always type the full hostname and then password. So here is what you can do to avoid typing too much:</p>
<p>1. On your local machine create a private and public key:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> rsa</div></div>
<p>by default 2 keys will be created (<strong>id_rsa, id_rsa.pub</strong>) under <strong>~/.ssh</strong></p>
<p>2. Create <strong>config</strong> file under <strong>~/.ssh</strong></p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">touch</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>config</div></div>
<p>3. Add your connection information to config file:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Host HOST_ALIAS <span style="color: #666666; font-style: italic;"># can be anything you want</span><br />
Hostname HOST_NAME <span style="color: #666666; font-style: italic;"># example.com</span><br />
User USERNAME<br />
port PORT</div></div>
<p>4. Create .ssh folder on the remote machine from your local machine (you will be prompted for the password):</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> HOST_ALIAS <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> .ssh</div></div>
<p>5. Finally append your new public key <strong>id_rsa.pub</strong> to <strong>~/.ssh/authorized_keys</strong> on your remote machine (you will be prompted for the password one last time):</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">cat</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_rsa.pub <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> HOST_ALIAS <span style="color: #ff0000;">'cat &gt;&gt; .ssh/authorized_keys'</span></div></div>
<p>That&#8217;s all! Now every time you want to login to your remote machine you can type:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> HOST_ALIAS</div></div>
<p>and you should be able to get in.</p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2011/06/15/ssh-without-host-and-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Academia vs. Business</title>
		<link>http://michalkuklis.com/blog/2009/11/18/academia-vs-business/</link>
		<comments>http://michalkuklis.com/blog/2009/11/18/academia-vs-business/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:05:02 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=256</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.xkcd.com/comics/academia_vs_business.png" alt="Academia vs. Business" width="566" height="291" /></p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/11/18/academia-vs-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gemcutter &amp; Jeweler</title>
		<link>http://michalkuklis.com/blog/2009/10/17/gemcutter-jeweler/</link>
		<comments>http://michalkuklis.com/blog/2009/10/17/gemcutter-jeweler/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 05:03:47 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=240</guid>
		<description><![CDATA[More about gemcutter &#038; jeweler can be found here. Here are the steps how to publish patched gem cloned from github: 1. Append username to gem name in .gemspec or if you use jeweler open Rakefile and edit Jeweler::Tasks section save it and run: rake gemspec 2. Build gem with: gem build 3. Push new [...]]]></description>
			<content:encoded><![CDATA[<p>More about <a href="http://gemcutter.org/">gemcutter</a> &#038; <a href="http://github.com/technicalpickles/jeweler">jeweler </a> can be found <a href="http://railscasts.com/episodes/183-gemcutter-jeweler">here</a>.</p>
<p>Here are the steps how to publish patched gem cloned from github:</p>
<p>1. Append username to gem name in .gemspec or if you use jeweler open Rakefile and edit Jeweler::Tasks section save it and run:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby">rake gemspec</pre></div></div>

<p>2. Build gem with:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby">gem build</pre></div></div>

<p>3. Push new gem to gemcutter</p>

<div class="wp_syntax"><div class="code"><pre class="ruby">gem push</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/10/17/gemcutter-jeweler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BDD with Cucumber by Ben Mabey</title>
		<link>http://michalkuklis.com/blog/2009/08/29/bdd-with-cucumber/</link>
		<comments>http://michalkuklis.com/blog/2009/08/29/bdd-with-cucumber/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 16:16:33 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=235</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><embed src='http://mwrc2009.confreaks.com/player.swf' height='380' width='640' allowscriptaccess='always' allowfullscreen='true' flashvars='image=images%2F14-mar-2009-15-00-bdd-with-cucumber-ben-mabey-preview.png&#038;file=http%3A%2F%2Fmwrc2009.confreaks.com%2Fvideos%2F14-mar-2009-15-00-bdd-with-cucumber-ben-mabey-small.mp4&#038;plugins=viral-1'/></p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/08/29/bdd-with-cucumber/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>auto escaping html in Rails to protect from XSS</title>
		<link>http://michalkuklis.com/blog/2009/07/29/auto-escaping-html-in-rails-to-protect-from-xss/</link>
		<comments>http://michalkuklis.com/blog/2009/07/29/auto-escaping-html-in-rails-to-protect-from-xss/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 01:24:02 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=233</guid>
		<description><![CDATA[Tonight I found a plugin to auto escape html in order to protect from XSS attacks. I&#8217;m not sure why rails doesn&#8217;t do it out of the box (you have to use h() helper). Anyway the plugin is called xss_terminate and it can be found here. The cool thing about it is that now you [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I found a plugin to auto escape html in order to protect from XSS attacks. I&#8217;m not sure why rails doesn&#8217;t do it out of the box (you have to use h() helper). Anyway the plugin is called xss_terminate and it can be found <a href="http://github.com/look/xss_terminate/tree/master">here</a>. The cool thing about it is that now you can forget about h() <img src='http://michalkuklis.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/07/29/auto-escaping-html-in-rails-to-protect-from-xss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cron in Ruby</title>
		<link>http://michalkuklis.com/blog/2009/07/27/cron-in-ruby/</link>
		<comments>http://michalkuklis.com/blog/2009/07/27/cron-in-ruby/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 06:10:35 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=230</guid>
		<description><![CDATA[Check out how Whenever gem can simplify cron configuration.]]></description>
			<content:encoded><![CDATA[<p><a href="http://railscasts.com/episodes/164-cron-in-ruby">Check out</a> how <a href="http://github.com/javan/whenever/tree/master">Whenever</a> gem can simplify cron configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/07/27/cron-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>key-value store</title>
		<link>http://michalkuklis.com/blog/2009/07/26/key-value-store/</link>
		<comments>http://michalkuklis.com/blog/2009/07/26/key-value-store/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 15:40:56 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=227</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img width="600px" src="http://browsertoolkit.com/fault-tolerance.png" alt="Key/Value DB" /></p>
]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/07/26/key-value-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

