<?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>uRaNGaTaNG &#187; hack</title>
	<atom:link href="http://www.rngtng.com/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rngtng.com</link>
	<description>Featuring Ruby, Rails, Web development, Arduino, Processing, Nabaztag and more...</description>
	<lastBuildDate>Thu, 12 Jan 2012 10:08:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://www.rngtng.com/?pushpress=hub'/>
		<item>
		<title>Hacking the Nabaztag &#8211; Arduino injects via I2C data into RFID Reader</title>
		<link>http://www.rngtng.com/2012/01/10/hacking-the-nabaztag-arduino-injects-via-i2c-data-into-rfid-reader/</link>
		<comments>http://www.rngtng.com/2012/01/10/hacking-the-nabaztag-arduino-injects-via-i2c-data-into-rfid-reader/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 23:28:04 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[inject]]></category>
		<category><![CDATA[nabaztag]]></category>
		<category><![CDATA[rfid]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=624</guid>
		<description><![CDATA[

Wow! After more than two years I finally got my hands dirty hacking the Nabaztag rabbit. The release of the source code last summer were very encouraging here! Expect some awesome results in the next time :-) 

Let's start with NabaztagInjector, an Arduino Library to inject data:

What bothered me for long was the missing ...]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm7.staticflickr.com/6185/6151922207_019ac10ee4_d.jpg" alt="" width="500" height="500" class="aligncenter size-full wp-image-626" /></p>
<p>Wow! After <a href="http://www.rngtng.com/2009/12/02/hacking-the-nabaztag/" class="broken_link">more than two years</a> I finally got my hands dirty hacking the Nabaztag rabbit. The <a href="http://code.google.com/p/nabaztag-source-code/">release of the source code</a> last summer were very encouraging here! Expect some awesome results in the next time <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Let&#8217;s start with <strong>NabaztagInjector</strong>, an Arduino Library to inject data:</p>
<p>What bothered me for long was the missing possibility to connect external devices to the rabbit. How awesome would it be to use the rabbit for sending data into the net? Imagine it as WIFI shield you Arduino.</p>
<p>Guess what &#8211; that&#8217;s possible: replacing the RFID reader with an Arduino (both use the I2C bus) running a simulation of the RFID reader chip, enabled me to inject any custom data to the rabbit. Hacked!</p>
<p>As result, I created this tiny Arduino library to encapsulates the full process behind and easy API:</p>
<div id="gist-1582447" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="cm">/**</span></div><div class='line' id='LC2'><span class="cm"> * Simple Arduino NabaztagInjector example sketch</span></div><div class='line' id='LC3'><span class="cm"> **/</span></div><div class='line' id='LC4'><br/></div><div class='line' id='LC5'><span class="cp">#include &lt;Nabaztag.h&gt;</span></div><div class='line' id='LC6'><br/></div><div class='line' id='LC7'><span class="kt">void</span> <span class="n">setup</span><span class="p">()</span> <span class="p">{</span></div><div class='line' id='LC8'>&nbsp;&nbsp;<span class="n">Nabaztag</span><span class="p">.</span><span class="n">begin</span><span class="p">(</span><span class="mi">0</span><span class="p">);</span> <span class="c1">//0 = standalone</span></div><div class='line' id='LC9'><span class="p">}</span></div><div class='line' id='LC10'><br/></div><div class='line' id='LC11'><span class="kt">void</span> <span class="n">loop</span><span class="p">()</span> <span class="p">{</span></div><div class='line' id='LC12'>&nbsp;&nbsp;<span class="c1">// send 1337 to the rabbit</span></div><div class='line' id='LC13'>&nbsp;&nbsp;<span class="n">Nabaztag</span><span class="p">.</span><span class="n">inject</span><span class="p">(</span><span class="mi">1337</span><span class="p">);</span></div><div class='line' id='LC14'>&nbsp;&nbsp;<span class="c1">//done</span></div><div class='line' id='LC15'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1582447/51aa220ff30606e35ab026779eb6e4a797f57ce9/nabaztag.ino" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1582447#file_nabaztag.ino" style="float:right;margin-right:10px;color:#666">nabaztag.ino</a>
            <a href="https://gist.github.com/1582447">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>Check out the full Readme, Source code and Examples here:</p>
<p><a href="http://www.rngtng.com/nabaztag-injector-arduino-rfid-hack/" target="_blank">http://www.rngtng.com/nabaztag-injector-arduino-rfid-hack/</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.rngtng.com/?flattrss_redirect&amp;id=624&amp;md5=bc43e27d302e1ee2344eb8a73c6ca398" title="Flattr" target="_blank"><img src="http://www.rngtng.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2012/01/10/hacking-the-nabaztag-arduino-injects-via-i2c-data-into-rfid-reader/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sugru rocks! Or: how I fixed my broken iPhone Display glass from falling off.</title>
		<link>http://www.rngtng.com/2011/11/08/sugru-rocks-how-i-fixed-my-broken-iphone-display-glass-from-falling-off/</link>
		<comments>http://www.rngtng.com/2011/11/08/sugru-rocks-how-i-fixed-my-broken-iphone-display-glass-from-falling-off/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 10:52:36 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[sugru]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=597</guid>
		<description><![CDATA[Unfortunately I kept on dropping my iPhone until its display glass broke. Typical me. But after that, even worse, the little bits of broken glass where loose, slowly felt off one after another destroying the displays protection completely. Whereas the drop (besides the broken glass) didn't effect the phones functionaries at all (even its ...]]></description>
			<content:encoded><![CDATA[<p>Unfortunately I kept on dropping my iPhone until its display glass broke. Typical me. But after that, even worse, the little bits of broken glass where loose, slowly felt off one after another destroying the displays protection completely. Whereas the drop (besides the broken glass) didn&#8217;t effect the phones functionaries at all (even its touch capabilities are 100% working), the vanishing glass revealed the display which could get destroyed by dust and moist easily. Luckily I found a solution: Sugru.</p>
<p>Sugru is this fantastic super modeling clay made by Jane from Ireland. It allows you to hack the world and fix stuff. First its soft, sticks on nearly and material allowing you to put it in any shape, later it hardens and keeps its form. Perfect for me!</p>
<p><img class="aligncenter size-full wp-image-599" src="http://www.rngtng.com/files/2011/11/20111108-f8j49y7mhtxjenh57c3swnciwe.jpg" alt="" width="596" height="337" /></p>
<p>Check my hack, where I used Sugru replacing the missing glass pieces and preventing the loose ones from falling of. My display is protected again, and the phone is working &#8211; yay!</p>
<p>Visit the Sugru Website and get some for yourself: <a href="http://sugru.com" target="_blank">http://sugru.com</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.rngtng.com/?flattrss_redirect&amp;id=597&amp;md5=831766ada6a818bfa72d60448ebcde49" title="Flattr" target="_blank"><img src="http://www.rngtng.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2011/11/08/sugru-rocks-how-i-fixed-my-broken-iphone-display-glass-from-falling-off/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Love ActiveScaffold: Show always Searchbox</title>
		<link>http://www.rngtng.com/2008/10/05/love-activescaffold-show-always-seachbox/</link>
		<comments>http://www.rngtng.com/2008/10/05/love-activescaffold-show-always-seachbox/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 12:34:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby, Rails & Co.]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Scaffold]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://urangatang.wordpress.com/?p=26</guid>
		<description><![CDATA[ActiveScaffold is a great plugin to build edit form easily. Nicely AJAX and nested forms support (well with limits ;-). One thing which bugged me all the time, was the extra click you had to do to show the searchbox. Well I solved it like this:



I know, it's kind of bad hack, as the ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://activescaffold.com/" class="broken_link">ActiveScaffold</a> is a great plugin to build edit form easily. Nicely AJAX and nested forms support (well with limits <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . One thing which bugged me all the time, was the extra click you had to do to show the searchbox. Well I solved it like this:</p>
<pre class="brush: ruby; title: ; notranslate">
  def index
    active_scaffold_config.list.label += render_to_string( :action =&gt; :search, :layout =&gt; false )
    super
  end
</pre>
<p>I know, it&#8217;s kind of bad hack, as the label actually isn&#8217;t supposed to contain a form &#8211; but it works out quite well! </p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2008/10/05/love-activescaffold-show-always-seachbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

