<?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>Wojciech Jamrozy blog</title>
	<atom:link href="http://www.wojtekrj.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wojtekrj.net</link>
	<description>Blog about computer science, programming and linux</description>
	<lastBuildDate>Mon, 30 Apr 2012 14:19:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>[Ubuntu] Converting CR2 to JPG</title>
		<link>http://www.wojtekrj.net/2012/04/ubuntu-converting-cr2-to-jpg/</link>
		<comments>http://www.wojtekrj.net/2012/04/ubuntu-converting-cr2-to-jpg/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 14:18:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[CR2]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[raw image]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=740</guid>
		<description><![CDATA[I&#8217;ve received about 300 images in CR2 (Canon raw image format) and wanted to convert it to jpg. Here is a solution working on Ubuntu 12.04 LTS: Install  libjpeg-turbo-progs, dcraw and ufraw. You can use ufraw for displaying and enhancing a single image. If you want to convert large number of files you can use [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve received about 300 images in CR2 (Canon raw image format) and wanted to convert it to jpg.<br />
Here is a solution working on Ubuntu 12.04 LTS:</p>
<ol>
<li>Install  <em>libjpeg-turbo-progs</em>, <em>dcraw </em>and<em> ufraw.</em></li>
<li>You can use <em>ufraw</em> for displaying and enhancing a single image.</li>
<li>If you want to convert large number of files you can use following Perl script with <em>dcraw</em> tool:

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
&nbsp;
<span style="color: #000066;">opendir</span> <span style="color: #009900;">&#40;</span>DIR<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">@files</span><span style="color: #339933;">=</span> <span style="color: #000066;">readdir</span><span style="color: #009900;">&#40;</span>DIR<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #b1b100;">foreach</span> <span style="color: #0000ff;">$file</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">@files</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">next</span> <span style="color: #b1b100;">unless</span> <span style="color: #0000ff;">$file</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">/([^\.]*)\.CR2$/</span><span style="color: #339933;">;</span> 
	<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;Converting $file<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">system</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;dcraw -c $file | cjpeg &gt; $1.jpg&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

</li>
</ol>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;linkname=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fubuntu-converting-cr2-to-jpg%2F&amp;title=%5BUbuntu%5D%20Converting%20CR2%20to%20JPG" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/04/ubuntu-converting-cr2-to-jpg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[GTD] Astrid &#8211; excelent tool for Getting Things Done methodology</title>
		<link>http://www.wojtekrj.net/2012/04/gtd-astrid-excelent-tool-for-getting-things-done-methodology/</link>
		<comments>http://www.wojtekrj.net/2012/04/gtd-astrid-excelent-tool-for-getting-things-done-methodology/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 18:18:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[astrid]]></category>
		<category><![CDATA[getting things done]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[time optimization]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=730</guid>
		<description><![CDATA[&#160;Getting Things Done is a time management methodology, which I&#8217;ve started using several weeks ago. The basic idea of the methodology is to get every idea/task/etc out of head and store it in external storage For me it really works and helped improved my productivity. I&#8217;ve spent some time testing different programs implementing GTD like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wojtekrj.net/wp-content/uploads/2012/04/image1.png.jpeg"><img class="wp-image-732 alignright" title="Astrid" src="http://www.wojtekrj.net/wp-content/uploads/2012/04/image1.png-168x300.jpg" alt="" width="118" height="210" /></a><br />
&nbsp;<a href="http://en.wikipedia.org/wiki/Getting_Things_Done" target="_blank">Getting Things Done</a> is a time management methodology, which I&#8217;ve started using several weeks ago. The basic idea of the methodology is to get every idea/task/etc out of head and store it in external storage <img src='http://www.wojtekrj.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  For me it really works and helped improved my productivity.<br />
I&#8217;ve spent some time testing different programs implementing GTD like <a href="http://springpad.com/" target="_blank">Springpad</a>, <a href="http://www.evernote.com/" target="_blank">Evernote</a> or <a href="http://www.rememberthemilk.com/" target="_blank">Remember the </a><a href="http://www.rememberthemilk.com/" target="_blank">Milk</a>, but I think that <a href="http://www.astrid.com" target="_blank">Astrid</a> is the most suitable for me. It&#8217;s free, has a nice web interface and iPhone/Android versions. Contrary to RTM, Astrid has a free synchronization service. Furthermore, one can synchronize Astrid&#8217;s task with Google Tasks and <a href="http://www.producteev.com/" target="_blank">ProductEnv</a>.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;linkname=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fgtd-astrid-excelent-tool-for-getting-things-done-methodology%2F&amp;title=%5BGTD%5D%20Astrid%20%E2%80%93%20excelent%20tool%20for%20Getting%20Things%20Done%20methodology" id="wpa2a_4">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/04/gtd-astrid-excelent-tool-for-getting-things-done-methodology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Facebook] See what have you posted on Facebook!</title>
		<link>http://www.wojtekrj.net/2012/04/facebook-see-what-have-you-posted-on-facebook/</link>
		<comments>http://www.wojtekrj.net/2012/04/facebook-see-what-have-you-posted-on-facebook/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 08:53:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=726</guid>
		<description><![CDATA[Click &#8220;Account Settings&#8221; Then &#8220;Download a copy of your Facebook data.&#8221; Wait for e-mail with link to an archive Enjoy! In the archive you can find your wall posts, photos, friends, events and messages.]]></description>
			<content:encoded><![CDATA[<ol>
<li>Click &#8220;Account Settings&#8221;</li>
<li>Then &#8220;Download a copy of your Facebook data.&#8221;</li>
<li>Wait for e-mail with link to an archive</li>
<li>Enjoy!</li>
</ol>
<p>In the archive you can find your wall posts, photos, friends, events and messages.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;linkname=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Ffacebook-see-what-have-you-posted-on-facebook%2F&amp;title=%5BFacebook%5D%20See%20what%20have%20you%20posted%20on%20Facebook%21" id="wpa2a_6">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/04/facebook-see-what-have-you-posted-on-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D Driving Simulator on Google Maps</title>
		<link>http://www.wojtekrj.net/2012/04/3d-driving-simulator-on-google-maps/</link>
		<comments>http://www.wojtekrj.net/2012/04/3d-driving-simulator-on-google-maps/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 05:54:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[driving simulator]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[kraków]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=720</guid>
		<description><![CDATA[1. Go to: http://geoquake.jp/en/webgame/DrivingSimulatorPerspective/ 2. Type 50°03′41″N 19°56′18″E in location 3. Enjoy 3d Driving Simulator on Google Maps in Kraków]]></description>
			<content:encoded><![CDATA[<p>1. Go to: <a href="http://geoquake.jp/en/webgame/DrivingSimulatorPerspective/" target="_blank">http://geoquake.jp/en/webgame/DrivingSimulatorPerspective/</a><br />
2. Type 50°03′41″N 19°56′18″E in location<br />
3. Enjoy 3d Driving Simulator on Google Maps in Kraków <img src='http://www.wojtekrj.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;linkname=3D%20Driving%20Simulator%20on%20Google%20Maps" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2F3d-driving-simulator-on-google-maps%2F&amp;title=3D%20Driving%20Simulator%20on%20Google%20Maps" id="wpa2a_8">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/04/3d-driving-simulator-on-google-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostScript &#8211; a quick way to visualize algorithms</title>
		<link>http://www.wojtekrj.net/2012/04/postscript-a-quick-way-to-visualize/</link>
		<comments>http://www.wojtekrj.net/2012/04/postscript-a-quick-way-to-visualize/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 22:56:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[post script]]></category>
		<category><![CDATA[ps]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=711</guid>
		<description><![CDATA[Sometimes (for example during a programming contest) there is a need of a quick tool for visualizing outcome of an algorithm. PostScript might be a very useful tool then. Here is a basic PostScript file: %!PS 3 setlinewidth % creating a square 200 200 moveto 400 200 lineto 400 400 lineto 200 400 lineto 200 [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes (for example during a programming contest) there is a need of a quick tool for visualizing outcome of an algorithm.<br />
<a href="http://en.wikipedia.org/wiki/PostScript" target="_blank">PostScript</a> might be a very useful tool then.<br />
<span id="more-711"></span><br />
Here is a basic PostScript file:</p>

<div class="wp_syntax"><div class="code"><pre class="postscript" style="font-family:monospace;">%!PS
3 setlinewidth 
% creating  a square
200 200 moveto
400 200 lineto
400 400 lineto
200 400 lineto
200 200 lineto
% drawing a square
stroke
% creating a circle located in (300,300) with radius 100
300 300 100 0 360 arc 
% drawing a square
stroke       
showpage</pre></div></div>

<p>You should save it with extension .ps and open using Evince under Linux or GhostView under Windows.</p>
<p>Using this small set of commands: moveto, lineto, stroke, showpage, you can quickly vizualize your geometrical algorithms.<br />
Here is example of creating an <a href="http://en.wikipedia.org/wiki/Archimedean_spiral" target="_blank">Archimedean spiral</a> PostScript file in C++:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;cstdio&gt;</span>
<span style="color: #339900;">#include &lt;cstdlib&gt;</span>
<span style="color: #339900;">#include &lt;cmath&gt;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span>
<span style="color: #0000ff;">FILE</span> <span style="color: #000040;">*</span> fin<span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">void</span> spiral<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">double</span> xstart, <span style="color: #0000ff;">double</span> ystart, <span style="color: #0000ff;">double</span> radius, <span style="color: #0000ff;">double</span> a, <span style="color: #0000ff;">double</span> b<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
	<span style="color: #0000dd;">fprintf</span><span style="color: #008000;">&#40;</span>fin, <span style="color: #FF0000;">&quot;%f %f moveto<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, xstart<span style="color: #000040;">+</span>b, ystart<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">double</span> fi<span style="color: #000080;">=</span><span style="color:#800080;">0.0</span><span style="color: #008080;">;</span> b<span style="color: #000040;">+</span>a<span style="color: #000040;">*</span>fi<span style="color: #000080;">&lt;=</span>radius<span style="color: #008080;">;</span> fi<span style="color: #000040;">+</span><span style="color: #000080;">=</span><span style="color:#800080;">0.1</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">double</span> r <span style="color: #000080;">=</span> b<span style="color: #000040;">+</span>a<span style="color: #000040;">*</span>fi,
				 x <span style="color: #000080;">=</span> xstart <span style="color: #000040;">+</span> r<span style="color: #000040;">*</span><span style="color: #0000dd;">cos</span><span style="color: #008000;">&#40;</span>fi<span style="color: #008000;">&#41;</span>,
				 y <span style="color: #000080;">=</span> ystart <span style="color: #000040;">+</span> r<span style="color: #000040;">*</span><span style="color: #0000dd;">sin</span><span style="color: #008000;">&#40;</span>fi<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #0000dd;">fprintf</span><span style="color: #008000;">&#40;</span>fin, <span style="color: #FF0000;">&quot;%f %f lineto<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, x, y<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span> <span style="color: #000040;">**</span> argv<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
	<span style="color: #0000ff;">double</span> x, y, radius, a, b<span style="color: #008080;">;</span>
	<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>argc<span style="color: #000040;">!</span><span style="color: #000080;">=</span><span style="color: #0000dd;">6</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#123;</span>
		<span style="color: #0000dd;">printf</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;USAGE: ./spiral X Y R A B<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		x <span style="color: #000080;">=</span> <span style="color: #0000dd;">300</span><span style="color: #008080;">;</span> y<span style="color: #000080;">=</span><span style="color: #0000dd;">300</span><span style="color: #008080;">;</span> radius<span style="color: #000080;">=</span><span style="color: #0000dd;">200</span><span style="color: #008080;">;</span>
		a <span style="color: #000080;">=</span> <span style="color: #0000dd;">3</span><span style="color: #008080;">;</span> b<span style="color: #000080;">=</span> <span style="color: #0000dd;">40</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span> <span style="color: #0000ff;">else</span><span style="color: #008000;">&#123;</span>
		x <span style="color: #000080;">=</span> <span style="color: #0000dd;">atof</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> y<span style="color: #000080;">=</span><span style="color: #0000dd;">atof</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> radius <span style="color: #000080;">=</span> <span style="color: #0000dd;">atof</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">3</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		a <span style="color: #000080;">=</span> <span style="color: #0000dd;">atof</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">4</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> b <span style="color: #000080;">=</span> <span style="color: #0000dd;">atof</span><span style="color: #008000;">&#40;</span>argv<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">5</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
	fin<span style="color: #000080;">=</span><span style="color: #0000dd;">fopen</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;spiral.ps&quot;</span>, <span style="color: #FF0000;">&quot;w&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000dd;">fprintf</span><span style="color: #008000;">&#40;</span>fin, <span style="color: #FF0000;">&quot;%%!PS<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000dd;">fprintf</span><span style="color: #008000;">&#40;</span>fin, <span style="color: #FF0000;">&quot;3 setlinewidth<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	spiral<span style="color: #008000;">&#40;</span>x, y, radius, a, b<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000dd;">fprintf</span><span style="color: #008000;">&#40;</span>fin, <span style="color: #FF0000;">&quot;stroke<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000dd;">fprintf</span><span style="color: #008000;">&#40;</span>fin, <span style="color: #FF0000;">&quot;showpage<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>	
	<span style="color: #0000dd;">fclose</span><span style="color: #008000;">&#40;</span>fin<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>Parameter <b>a</b> adjusts &#8220;density&#8221; of lines in a spiral.<br />
Parameter <b>b</b> adjusts &#8220;hole&#8221; in the center of a spiral.</p>
<p>Web resources:<br />
<a href="http://www.physics.emory.edu/~weeks/graphics/howtops1.html" target="_blank">Simple PostScript commands pt. 1</a><br />
<a href="http://www.physics.emory.edu/~weeks/graphics/howtops2.html" target="_blank">Simple PostScript commands pt. 2</a><br />
<a href="http://homepage.mac.com/andykopra/pdm/tutorials/an_introduction_to_postscript.html" target="_blank">An introduction to PostScript</a></p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;linkname=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fpostscript-a-quick-way-to-visualize%2F&amp;title=PostScript%20%E2%80%93%20a%20quick%20way%20to%20visualize%20algorithms" id="wpa2a_10">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/04/postscript-a-quick-way-to-visualize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox &#8211; a nice web drive</title>
		<link>http://www.wojtekrj.net/2012/04/dropbox-a-nice-web-drive/</link>
		<comments>http://www.wojtekrj.net/2012/04/dropbox-a-nice-web-drive/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 21:23:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[web storage]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=704</guid>
		<description><![CDATA[I was encouraged to try Dropbox (a web based storage service) by a friend. Dropbox has following features: - 2 Gb of storage space - integration with Windows / Linux / MacOS / Android file managers - public files; shared directories between users If you register using referral link like this, we will both be [...]]]></description>
			<content:encoded><![CDATA[<p>I was encouraged to try <a target="_blank" href="http://www.dropbox.com">Dropbox</a> (a web based storage service) by a friend.<br />
Dropbox has following features:<br />
- 2 Gb of storage space<br />
- integration with Windows / Linux / MacOS / Android file managers<br />
- public files; shared directories between users<br />
If you register using referral link like <a href="http://db.tt/BUGhcbs6">this</a>, we will both be granted with additional 250 Mb.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;linkname=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F04%2Fdropbox-a-nice-web-drive%2F&amp;title=Dropbox%20%E2%80%93%20a%20nice%20web%20drive" id="wpa2a_12">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/04/dropbox-a-nice-web-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[C++] Interesting example of C++ code obfuscation</title>
		<link>http://www.wojtekrj.net/2012/03/c-interesting-example-of-c-code-obfuscation/</link>
		<comments>http://www.wojtekrj.net/2012/03/c-interesting-example-of-c-code-obfuscation/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 20:49:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[code obfuscation]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=694</guid>
		<description><![CDATA[Recently a friend of mine has given me a piece of code in C++: puts&#40;&#38;3&#91;&#34;abcdef&#34;&#93;&#41;; At first glance it seems to not compile at all. But not only it compiles, but also prints &#8220;def&#8221;. It&#8217;s an interesting example of &#8220;syntatic sugar&#8220;. In C++ synax tab[i] is an human-readable alias to *(tab+i). So following code: int [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a friend of mine has given me a piece of code in C++:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000dd;">puts</span><span style="color: #008000;">&#40;</span><span style="color: #000040;">&amp;</span><span style="color: #0000dd;">3</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">&quot;abcdef&quot;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></pre></div></div>

<p>At first glance it seems to not compile at all. But not only it compiles, but also prints &#8220;def&#8221;.<br />
<span id="more-694"></span><br />
It&#8217;s an interesting example of &#8220;<a href="http://en.wikipedia.org/wiki/Syntactic_sugar" target="_blank">syntatic sugar</a>&#8220;. In C++ synax <em>tab[i]</em> is an human-readable alias to <em>*(tab+i)</em>. So following code:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">	<span style="color: #0000ff;">int</span> tab<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">4</span><span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
	tab<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">3</span><span style="color: #008000;">&#93;</span> <span style="color: #000080;">=</span> <span style="color: #0000dd;">17</span><span style="color: #008080;">;</span>
	<span style="color: #0000dd;">printf</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;%d %d %d<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, tab<span style="color: #008000;">&#91;</span><span style="color: #0000dd;">3</span><span style="color: #008000;">&#93;</span>, <span style="color: #0000dd;">3</span><span style="color: #008000;">&#91;</span>tab<span style="color: #008000;">&#93;</span>, <span style="color: #000040;">*</span><span style="color: #008000;">&#40;</span>tab<span style="color: #000040;">+</span><span style="color: #0000dd;">3</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></pre></div></div>

<p>prints &#8220;17&#8243; three times.</p>
<p>Let&#8217;s go back to our code.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000dd;">3</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">&quot;abcdef&quot;</span><span style="color: #008000;">&#93;</span></pre></div></div>

<p>means</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #000040;">*</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">3</span> <span style="color: #000040;">+</span><span style="color: #FF0000;">&quot;abcdef&quot;</span><span style="color: #008000;">&#41;</span></pre></div></div>

<p>so this expression returns &#8220;d&#8221;. But when we obtain memory adress of &#8220;d&#8221; using &#038; operator, we can print string that starts at &#8220;d&#8221; using <em>puts</em> command.<br />
So the code prints &#8220;def&#8221;.</p>
<p>For more interesting examples of code obsfuscation visit: <a href="http://www.ioccc.org/" target="_blank">www.ioccc.org</a> or <a href="http://en.wikipedia.org/wiki/International_Obfuscated_C_Code_Contest" target="_blank">International Obfuscated C Code Contest</a>.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;linkname=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fc-interesting-example-of-c-code-obfuscation%2F&amp;title=%5BC%2B%2B%5D%20Interesting%20example%20of%20C%2B%2B%20code%20obfuscation" id="wpa2a_14">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/03/c-interesting-example-of-c-code-obfuscation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Armored Bulldozer rampage</title>
		<link>http://www.wojtekrj.net/2012/03/armored-bulldozer-rampage/</link>
		<comments>http://www.wojtekrj.net/2012/03/armored-bulldozer-rampage/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 15:29:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=689</guid>
		<description><![CDATA[Marvin Heemeyer was a shop owner in Colorado. Unfortunately, one day the mayor of his city has made him angry&#8230;]]></description>
			<content:encoded><![CDATA[<p><iframe width="420" height="315" src="http://www.youtube.com/embed/EqpxeWQ_XJw" frameborder="0" allowfullscreen></iframe><br />
<a href="http://en.wikipedia.org/wiki/Marvin_Heemeyer">Marvin Heemeyer</a> was a shop owner in Colorado. Unfortunately, one day the mayor of his city has made him angry&#8230;</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;linkname=Armored%20Bulldozer%20rampage" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Farmored-bulldozer-rampage%2F&amp;title=Armored%20Bulldozer%20rampage" id="wpa2a_16">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/03/armored-bulldozer-rampage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Book of Tobias &#8211; an adventure story in the Bible</title>
		<link>http://www.wojtekrj.net/2012/03/a-book-of-tobias-an-adventure-story-in-the-bible/</link>
		<comments>http://www.wojtekrj.net/2012/03/a-book-of-tobias-an-adventure-story-in-the-bible/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 20:01:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[bible]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=684</guid>
		<description><![CDATA[A lot of people finds the Old Testament as something boring; full of prohibitions, orders, rules, etc. Surprisingly, there is a quite good adventure story there &#8211; The Book of Tobias (it&#8217;s part of Catholic and Orthodox canons only). There were a father Tobit and his son Tobias &#8211; Jews of the Tribe of Naphtali. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wojtekrj.net/wp-content/uploads/2012/03/Andrea_del_Verrocchio_003.jpg"><img class="alignright  wp-image-685" title="Andrea_del_Verrocchio_003" src="http://www.wojtekrj.net/wp-content/uploads/2012/03/Andrea_del_Verrocchio_003-234x300.jpg" alt="" width="234" height="300" /></a>A lot of people finds the Old Testament as something boring; full of prohibitions, orders, rules, etc.<br />
Surprisingly, there is a quite good adventure story there &#8211; <strong>The Book of Tobias</strong> (it&#8217;s part of Catholic and Orthodox canons only).</p>
<p>There were a father Tobit and his son Tobias &#8211; Jews of the Tribe of Naphtali. They were living in captivity in Assyria during 8th century BC. After pidgeon had shitted over Tobit&#8217;s eyes and made him blind, Tobit started praying for a death. Later Tobit remembered that one men in Media owes him money. So before upcoming death he send his son, Tobias, in order to regain the debt. Tobit found Tobias a companion for this long and dangerous journey: a mysterious &#8211; but responsible and wise &#8211; man named Azariah.</p>
<p>After arriving in Media, Tobias met a young and beautiful girl named Sarah, whom he has the right to marry. Unfortunatelly, the girl is possesed by demon Asmodeus, who had killed every man she had tried to marry.</p>
<p>Would Tobit regain his debt? Whould Tobias marry Sarah or be killed by Asmodeus?<br />
And finally, who is Azariah?</p>
<p>You can find answers here:<br />
<a target="_blank" href="http://www.tldm.org/bible/old%20testament/tobias.htm">http://www.tldm.org/bible/old%20testament/tobias.htm</a></p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;linkname=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fa-book-of-tobias-an-adventure-story-in-the-bible%2F&amp;title=A%20Book%20of%20Tobias%20%E2%80%93%20an%20adventure%20story%20in%20the%20Bible" id="wpa2a_18">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/03/a-book-of-tobias-an-adventure-story-in-the-bible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Bible scene from Pulp Fiction</title>
		<link>http://www.wojtekrj.net/2012/03/the-bible-scene-from-pulp-fiction/</link>
		<comments>http://www.wojtekrj.net/2012/03/the-bible-scene-from-pulp-fiction/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 19:42:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[bible]]></category>
		<category><![CDATA[pulp fiction]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=680</guid>
		<description><![CDATA[The Bible scene from Pulp Fiction is one of the most legendary scenes in the history of cinematography. Jules is reciting a passage from the Bible before killing a man: The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://1.gvt0.com/vi/x2WK_eWihdU/0.jpg" height="266" style="clear: right; float: right;" width="320"><param name="movie" value="http://www.youtube.com/v/x2WK_eWihdU&#038;fs=1&#038;source=uds" /><param name="bgcolor" value="#FFFFFF" /><embed width="320" height="266"  src="http://www.youtube.com/v/x2WK_eWihdU&#038;fs=1&#038;source=uds" type="application/x-shockwave-flash"></embed></object>The Bible scene from Pulp Fiction is one of the most legendary scenes in the history of cinematography.<br />
Jules is reciting a passage from the Bible before killing a man:</p>
<blockquote><p>The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother&#8217;s keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know I am The Lord when I lay my vengeance upon thee.</p></blockquote>
<p>In fact, the passage was made up by Tarantino, because Ezekiel 25:17 says only:</p>
<blockquote><p>
    And I will execute great vengeance upon them with furious rebukes; and they shall know that I am the LORD, when I shall lay my vengeance upon them.</p></blockquote>
<p>Anyway, there are still many &#8220;true&#8221;  passages in the Bible that one can &#8220;memorize&#8221; like Jules. For example Izaiah 5:24-25:</p>
<blockquote><p>Therefore as the fire devoureth the stubble, and the flame consumeth the chaff, so their root shall be as rottenness, and their blossom shall go up as dust: because they have cast away the law of the LORD of hosts, and despised the word of the Holy One of Israel.Therefore is the anger of the LORD kindled against his people, and he hath stretched forth his hand against them, and hath smitten them: and the hills did tremble, and their carcasses were torn in the midst of the streets. For all this his anger is not turned away, but his hand is stretched out still.</p></blockquote>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;linkname=The%20Bible%20scene%20from%20Pulp%20Fiction" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2012%2F03%2Fthe-bible-scene-from-pulp-fiction%2F&amp;title=The%20Bible%20scene%20from%20Pulp%20Fiction" id="wpa2a_20">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2012/03/the-bible-scene-from-pulp-fiction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

