<?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>project hindenburg</title>
	<atom:link href="http://www.ivanturkovic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ivanturkovic.com</link>
	<description>affluent online socialite spiced up with technology and self promotion</description>
	<lastBuildDate>Sun, 23 Oct 2011 13:36:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Install Compass in an existing Rails application with Semantic Blueprint using Sass</title>
		<link>http://www.ivanturkovic.com/2011/10/23/install-compass-in-an-existing-rails-application-with-semantic-blueprint-using-sass/</link>
		<comments>http://www.ivanturkovic.com/2011/10/23/install-compass-in-an-existing-rails-application-with-semantic-blueprint-using-sass/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 13:36:14 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/?p=60</guid>
		<description><![CDATA[compass init rails &#8211;using blueprint/semantic &#8211;syntax sass]]></description>
			<content:encoded><![CDATA[<p>compass init rails &#8211;using blueprint/semantic &#8211;syntax sass</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2011/10/23/install-compass-in-an-existing-rails-application-with-semantic-blueprint-using-sass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capistrano + RVM = Problem with deployment?</title>
		<link>http://www.ivanturkovic.com/2011/10/18/capistrano-rvm-problem-with-deployment/</link>
		<comments>http://www.ivanturkovic.com/2011/10/18/capistrano-rvm-problem-with-deployment/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 14:56:53 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/?p=50</guid>
		<description><![CDATA[Most of the time when I had issues with deploying on rvm environment it helps you to do the following. Create a file in $home folder touch .rvmrc And paste following code: rvm_trust_rvmrcs_flag=1]]></description>
			<content:encoded><![CDATA[<p>Most of the time when I had issues with deploying on rvm environment it helps you to do the following.</p>
<p>Create a file in $home folder</p>
<pre>touch .rvmrc</pre>
<p>And paste following code:</p>
<pre>rvm_trust_rvmrcs_flag=1</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2011/10/18/capistrano-rvm-problem-with-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working OAuth2 with Foursquare on Sinatra</title>
		<link>http://www.ivanturkovic.com/2011/09/19/working-oauth2-with-foursquare-on-sinatra/</link>
		<comments>http://www.ivanturkovic.com/2011/09/19/working-oauth2-with-foursquare-on-sinatra/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 11:45:07 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[sinatra]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/?p=43</guid>
		<description><![CDATA[123456789101112131415161718192021222324252627282930313233343536373839404142434445require 'rubygems' require 'sinatra' require 'oauth2' require 'json' require 'net/https' require 'foursquare2' set :port, 80 CLIENT_ID = '****************************************************' CLIENT_SECRET = '****************************************************' CALLBACK_PATH = '/callbacks/foursquare' def client &#160; OAuth2::Client.new&#40;CLIENT_ID, CLIENT_SECRET, &#160; &#160; &#160; &#123;:site &#160; &#160; &#160; &#160; &#160; &#160;=&#38;gt; 'https://foursquare.com/', &#160; &#160; &#160; :token_url &#160; &#160; &#160; &#160;=&#38;gt; &#34;/oauth2/access_token&#34;, &#160; &#160; &#160; :authorize_url &#160; &#160;=&#38;gt; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'sinatra'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'oauth2'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'json'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'net/https'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'foursquare2'</span><br />
<br />
set <span style="color:#ff3333; font-weight:bold;">:port</span>, <span style="color:#006666;">80</span><br />
<br />
CLIENT_ID = <span style="color:#996600;">'****************************************************'</span><br />
CLIENT_SECRET = <span style="color:#996600;">'****************************************************'</span><br />
CALLBACK_PATH = <span style="color:#996600;">'/callbacks/foursquare'</span><br />
<br />
<span style="color:#9966CC; font-weight:bold;">def</span> client<br />
&nbsp; <span style="color:#6666ff; font-weight:bold;">OAuth2::Client</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span>CLIENT_ID, CLIENT_SECRET, <br />
&nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span>:site &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#996600;">'https://foursquare.com/'</span>,<br />
&nbsp; &nbsp; &nbsp; <span style="color:#ff3333; font-weight:bold;">:token_url</span> &nbsp; &nbsp; &nbsp; &nbsp;=<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#996600;">&quot;/oauth2/access_token&quot;</span>,<br />
&nbsp; &nbsp; &nbsp; <span style="color:#ff3333; font-weight:bold;">:authorize_url</span> &nbsp; &nbsp;=<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#996600;">&quot;/oauth2/authenticate?response_type=code&quot;</span>,<br />
&nbsp; &nbsp; &nbsp; <span style="color:#ff3333; font-weight:bold;">:parse_json</span> &nbsp; &nbsp; &nbsp; =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#0000FF; font-weight:bold;">true</span>,<br />
&nbsp; &nbsp; &nbsp; <span style="color:#ff3333; font-weight:bold;">:ssl</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#006600; font-weight:bold;">&#123;</span>:ca_path =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#996600;">'/etc/ssl/certs'</span> <span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span> &nbsp; &nbsp;<br />
<span style="color:#9966CC; font-weight:bold;">end</span><br />
<br />
<span style="color:#9966CC; font-weight:bold;">def</span> redirect_uri<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; uri = <span style="color:#CC00FF; font-weight:bold;">URI</span>.<span style="color:#9900CC;">parse</span><span style="color:#006600; font-weight:bold;">&#40;</span>request.<span style="color:#9900CC;">url</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; uri.<span style="color:#9900CC;">path</span> = CALLBACK_PATH<br />
&nbsp; uri.<span style="color:#9900CC;">query</span> = <span style="color:#0000FF; font-weight:bold;">nil</span><br />
&nbsp; uri.<span style="color:#9900CC;">to_s</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span><br />
<br />
get CALLBACK_PATH <span style="color:#9966CC; font-weight:bold;">do</span><br />
&nbsp; <span style="color:#CC0066; font-weight:bold;">puts</span> redirect_uri<br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">if</span> params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:code</span><span style="color:#006600; font-weight:bold;">&#93;</span> != <span style="color:#0000FF; font-weight:bold;">nil</span><br />
&nbsp; &nbsp; token = client.<span style="color:#9900CC;">auth_code</span>.<span style="color:#9900CC;">get_token</span><span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:code</span><span style="color:#006600; font-weight:bold;">&#93;</span>, <span style="color:#ff3333; font-weight:bold;">:redirect_uri</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; redirect_uri<span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">token</span> &nbsp;<br />
&nbsp; &nbsp; client = <span style="color:#6666ff; font-weight:bold;">Foursquare2::Client</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:oauth_token</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; token<span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; email = client.<span style="color:#9900CC;">user</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'self'</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'contact'</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">email</span>.<span style="color:#9900CC;">to_s</span><br />
&nbsp; &nbsp; <span style="color:#0000FF; font-weight:bold;">return</span> <span style="color:#996600;">&quot;Authenticated user: #{email}&quot;</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">else</span><br />
&nbsp; &nbsp; <span style="color:#996600;">'Missing response from foursquare'</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span><br />
<br />
get <span style="color:#996600;">'/'</span> <span style="color:#9966CC; font-weight:bold;">do</span><br />
&nbsp; redirect client.<span style="color:#9900CC;">auth_code</span>.<span style="color:#9900CC;">authorize_url</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:redirect_uri</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; redirect_uri<span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2011/09/19/working-oauth2-with-foursquare-on-sinatra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest eclipse app on Mac OS Lion preference pane</title>
		<link>http://www.ivanturkovic.com/2011/09/12/latest-eclipse-app-on-mac-os-lion-preference-pane/</link>
		<comments>http://www.ivanturkovic.com/2011/09/12/latest-eclipse-app-on-mac-os-lion-preference-pane/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 07:30:38 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/2011/09/12/latest-eclipse-app-on-mac-os-lion-preference-pane/</guid>
		<description><![CDATA[When upgrading to a new eclipse app and selecting existing workspace it makes preference pane unavailable. So to be able to access settings you have to either create a new workspace and migrate projects to a new workspace or remove settings files from old one. This saved my time a couple of times.]]></description>
			<content:encoded><![CDATA[<p>When upgrading to a new eclipse app and selecting existing workspace it makes preference pane unavailable. So to be able to access settings you have to either create a new workspace and migrate projects to a new workspace or remove settings files from old one. This saved my time a couple of times.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2011/09/12/latest-eclipse-app-on-mac-os-lion-preference-pane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS Lion and installing ruby 1.9.2</title>
		<link>http://www.ivanturkovic.com/2011/09/08/mac-os-lion-ruby-1-9-2/</link>
		<comments>http://www.ivanturkovic.com/2011/09/08/mac-os-lion-ruby-1-9-2/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 15:05:56 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/?p=30</guid>
		<description><![CDATA[I am always having trouble with installing fresh rvm instance, so here are all steps needed in fresh rvm to install new ruby 1.9.2 123456export ARCHFLAGS=&#34;-arch x86_64&#34; export CC=gcc-4.2 rvm pkg install readline rvm pkg install iconv rvm pkg install zlib rvm install 1.9.2 -C --with-readline-dir=$rvm_path/usr --with-iconv-dir=$rvm_path/usr --with-zlib-dir=$rvm_path/usr]]></description>
			<content:encoded><![CDATA[<p>I am always having trouble with installing fresh rvm instance, so here are all steps needed in fresh rvm to install new ruby 1.9.2</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">ARCHFLAGS</span>=<span style="color: #ff0000;">&quot;-arch x86_64&quot;</span> <br />
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">CC</span>=gcc-<span style="color: #000000;">4.2</span> <br />
rvm pkg <span style="color: #c20cb9; font-weight: bold;">install</span> readline <br />
rvm pkg <span style="color: #c20cb9; font-weight: bold;">install</span> iconv <br />
rvm pkg <span style="color: #c20cb9; font-weight: bold;">install</span> zlib <br />
rvm <span style="color: #c20cb9; font-weight: bold;">install</span> 1.9.2 <span style="color: #660033;">-C</span> <span style="color: #660033;">--with-readline-dir</span>=<span style="color: #007800;">$rvm_path</span><span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-iconv-dir</span>=<span style="color: #007800;">$rvm_path</span><span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-zlib-dir</span>=<span style="color: #007800;">$rvm_path</span><span style="color: #000000; font-weight: bold;">/</span>usr</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2011/09/08/mac-os-lion-ruby-1-9-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kindle still rules the ebook world</title>
		<link>http://www.ivanturkovic.com/2011/06/19/kindle-still-rules-the-ebook-world/</link>
		<comments>http://www.ivanturkovic.com/2011/06/19/kindle-still-rules-the-ebook-world/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 18:29:34 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[ebook]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[Kindle]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/2011/06/19/kindle-still-rules-the-ebook-world/</guid>
		<description><![CDATA[First time when i saw kindle being presented I was thrilled, because i read a lot of books. I saw a future in electronic books. That was 2 years ago and I wasn&#8217;t wrong. Nowadays Amazon sells more ebooks than paper print books. So last year when they introduced third generation of Kindle, I&#8217;ve jumped [...]]]></description>
			<content:encoded><![CDATA[<p>First time when i saw kindle being presented I was thrilled, because i read a lot of books. I saw a future in electronic books. That was 2 years ago and I wasn&#8217;t wrong. Nowadays Amazon sells more ebooks than paper print books. </p>
<p>So last year when they introduced third generation of Kindle, I&#8217;ve jumped on the kindle wagon. I&#8217;ve bought wifi only version which came quite cheap. I never imagined that kindle would replace all paper books. Actually since owning kindle there was only one book I&#8217;ve bought and that is Four steps to epiphany. The only reason I&#8217;ve bought it is that is not available in digital form. </p>
<p>Does this mean kindle replaced all paper based books for me? Well yes and no. There is still one thing that kindle cannot be used and that are pdfs, even it supports them they are unusable on it. Zooming functionality is not quite there.</p>
<p>Only competitor To kindle wasn&#8217;t other ebook readers but Apple iPad. I was quite known to it, even tried it few times, but it was obvious that it is unusable in direct sun light. But still I was wondering if I would be able to use it for reading books. So last month I&#8217;ve finally needed to buy iPad, because i was doing some applications for it. So I also tried to use it as a ebook reader, because it also has kindle app so it means all books i&#8217;ve bought before i could them read on it also. My final decision is that it didn&#8217;t came to my expectations as a ebook reader. Only part it did excel were pdfs technical stuff which I wasn&#8217;t able to read on kindle. </p>
<p>So to write a conslusion. I will use both devices as a reading utility but kindle will still be my main device for reading. No other digital device can beat reading in direct sun light. But main differentiator is that kindle still feels like something natural it doesn&#8217;t have exclusive electronic device feeling. It feels like something coming from analog age. I even don&#8217;t have a feeling I need to take care of it because it feels as rugged device. From mine point of view I can easily say that kindle has a bright future as a reading device and I hope they will continue and not to become yet another android clone as Nook did.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2011/06/19/kindle-still-rules-the-ebook-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The inception</title>
		<link>http://www.ivanturkovic.com/2010/12/01/the-inception/</link>
		<comments>http://www.ivanturkovic.com/2010/12/01/the-inception/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 19:23:48 +0000</pubDate>
		<dc:creator>Ivan Turkovic</dc:creator>
				<category><![CDATA[start]]></category>

		<guid isPermaLink="false">http://www.ivanturkovic.com/?p=8</guid>
		<description><![CDATA[It&#8217;s time to start over, blogs do go old over time and we don&#8217;t want to read old topics or out of date blog.  So i started from the beginning. For all who doesn&#8217;t know me I am mostly interested into technology, art and other modern esoteric interests. So stay tuned for my posts.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to start over, blogs do go old over time and we don&#8217;t want to read old topics or out of date blog.  So i started from the beginning. For all who doesn&#8217;t know me I am mostly interested into technology, art and other modern esoteric interests. So stay tuned for my posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ivanturkovic.com/2010/12/01/the-inception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

