<?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>Tadek's Blog</title>
	<atom:link href="http://tadek.pietraszek.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://tadek.pietraszek.org/blog</link>
	<description>Some random notes about computers, security, cool links and others.</description>
	<lastBuildDate>Fri, 12 Dec 2008 22:49:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cake++</title>
		<link>http://tadek.pietraszek.org/blog/2008/12/13/cake/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/12/13/cake/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:49:29 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=377</guid>
		<description><![CDATA[We recently visited our friends who started their own start-up. No, not in the Silicon Valley, but here in Kilchberg. And not in IT, but in pâtisserie.

We heard the [chocolate cake](http://www.cake-plus.ch/Web-Site/Meine%20Produkte.html) is to die for. We are so getting it for Christmas, topped with Christmas decorations. Sweet  
]]></description>
			<content:encoded><![CDATA[<p>We recently visited our friends who started their own start-up. No, not in the Silicon Valley, but here in Kilchberg. And not in IT, but in pâtisserie.</p>
<p><http://cake-plus.ch/></p>
<p>We heard the [chocolate cake](http://www.cake-plus.ch/Web-Site/Meine%20Produkte.html) is to die for. We are so getting it for Christmas, topped with Christmas decorations. Sweet <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/12/13/cake/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Talking TLS to SMTP</title>
		<link>http://tadek.pietraszek.org/blog/2008/12/02/talking-tls-to-smtp/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/12/02/talking-tls-to-smtp/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 13:06:48 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=375</guid>
		<description><![CDATA[I recently wanted to test TLS with SMTP. I followed instructions on   and got it to work in less than 30s  
In short:

perl -MMIME::Base64 -e 'print encode_base64("\000user\000password")'
openssl s_client -starttls smtp -crlf -connect &#60;ip&#62;:&#60;port&#62;
auth &#60;auth_command&#62;
mail from:&#60;tadek@pietraszek.org&#62;
rcpt to:&#60;tadek@pietraszek.org&#62;
data
...
.

Interestingly, when I tried typing `RCPT` s_client would interpret it as &#8220;renegotiate&#8221;, which confused me a bit, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wanted to test TLS with SMTP. I followed instructions on  <http://qmail.jms1.net/test-auth.shtml> and got it to work in less than 30s <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>In short:</p>
<pre>
perl -MMIME::Base64 -e 'print encode_base64("\000user\000password")'
openssl s_client -starttls smtp -crlf -connect &lt;ip&gt;:&lt;port&gt;
auth &lt;auth_command&gt;
mail from:&lt;tadek@pietraszek.org&gt;
rcpt to:&lt;tadek@pietraszek.org&gt;
data
...
.
</pre>
<p>Interestingly, when I tried typing `RCPT` s_client would interpret it as &#8220;renegotiate&#8221;, which confused me a bit, but you can inhibit it with `&#8211;quiet` or type it in lowercase like I did <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>T.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/12/02/talking-tls-to-smtp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>xdu: analyzing disk-space usage</title>
		<link>http://tadek.pietraszek.org/blog/2008/11/27/xdu-analyzing-disk-space-usage/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/11/27/xdu-analyzing-disk-space-usage/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 16:05:50 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips&Tricks]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=371</guid>
		<description><![CDATA[I recently started getting nagmails about running out of quota on my home directory. Being a very messy user, I had no idea where the space went. I tried playing with `du` manually, but it&#8217;s much easier with `xdu`:
sudo apt-get install xdu
du &#62; /tmp/blah
xdu -n /tmp/blah
]]></description>
			<content:encoded><![CDATA[<p>I recently started getting nagmails about running out of quota on my home directory. Being a very messy user, I had no idea where the space went. I tried playing with `du` manually, but it&#8217;s much easier with `xdu`:</p>
<pre>sudo apt-get install xdu
du &gt; /tmp/blah
xdu -n /tmp/blah</pre>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/11/27/xdu-analyzing-disk-space-usage/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Real-time map of planes approaching ZRH</title>
		<link>http://tadek.pietraszek.org/blog/2008/09/08/real-time-map-of-planes-approaching-zrh/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/09/08/real-time-map-of-planes-approaching-zrh/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 07:39:27 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=366</guid>
		<description><![CDATA[Real-time map of planes approaching the Zurich airport. Now I know why my plane was making crazy circles before landing. 
]]></description>
			<content:encoded><![CDATA[<p>Real-time map of planes approaching the Zurich airport. Now I know why my plane was making crazy circles before landing. <http://radar.zhaw.ch/radar.html></p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/09/08/real-time-map-of-planes-approaching-zrh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real-time map of Swiss trains</title>
		<link>http://tadek.pietraszek.org/blog/2008/09/08/real-time-map-of-swiss-trains/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/09/08/real-time-map-of-swiss-trains/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 07:36:46 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=363</guid>
		<description><![CDATA[(almost) real-time map of Swiss trains 
]]></description>
			<content:encoded><![CDATA[<p>(almost) real-time map of Swiss trains <http://www.swisstrains.ch></p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/09/08/real-time-map-of-swiss-trains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing trusted CA certificate in OSX</title>
		<link>http://tadek.pietraszek.org/blog/2008/04/28/importing-trusted-ca-certificate-in-osx/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/04/28/importing-trusted-ca-certificate-in-osx/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 08:50:14 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Tips&Tricks]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=359</guid>
		<description><![CDATA[ &#8211; how to import a trusted CA certificate in OSX.
]]></description>
			<content:encoded><![CDATA[<p><http://net.its.hawaii.edu/advanced/make_work/IPSec/MacOSXTiger/mactigercert.html> &#8211; how to import a trusted CA certificate in OSX.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/04/28/importing-trusted-ca-certificate-in-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Font resources</title>
		<link>http://tadek.pietraszek.org/blog/2008/04/27/font-resources/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/04/27/font-resources/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 15:06:46 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=358</guid>
		<description><![CDATA[ &#8211; a (commercial) site about fonts: let&#8217;s search in numerous ways has an amazingly comprehensive information about the creator and the history of each font.
]]></description>
			<content:encoded><![CDATA[<p><http://www.linotype.com/> &#8211; a (commercial) site about fonts: let&#8217;s search in numerous ways has an amazingly comprehensive information about the creator and the history of each font.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/04/27/font-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photos from the Office</title>
		<link>http://tadek.pietraszek.org/blog/2008/04/26/photos-from-the-office/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/04/26/photos-from-the-office/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 13:44:23 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=357</guid>
		<description><![CDATA[ &#8211; awesome in-flight photos. I wish my &#8220;office&#8221; had such views  
]]></description>
			<content:encoded><![CDATA[<p><http://picsfromtheoffice.blogspot.com/> &#8211; awesome in-flight photos. I wish my &#8220;office&#8221; had such views <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/04/26/photos-from-the-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing all files older than X days</title>
		<link>http://tadek.pietraszek.org/blog/2008/03/19/removing-all-files-older-than-x-days/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/03/19/removing-all-files-older-than-x-days/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 15:39:50 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Tips&Tricks]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/2008/03/19/removing-all-files-older-than-x-days/</guid>
		<description><![CDATA[I know it&#8217;s easy, but every time I write it I have to study the man page of `find` to figure out the correct parameters:
File only deletion:
    find  -atime +7 -type f -print &#124; xargs rm -f
Recursive deletion (be careful):
    find  -atime +7 -print &#124; xargs rm [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s easy, but every time I write it I have to study the man page of `find` to figure out the correct parameters:</p>
<p>File only deletion:</p>
<p>    find <dir> -atime +7 -type f -print | xargs rm -f</p>
<p>Recursive deletion (be careful):</p>
<p>    find <dir> -atime +7 -print | xargs rm -rf</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/03/19/removing-all-files-older-than-x-days/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing SVN with Apache2 support on my server.</title>
		<link>http://tadek.pietraszek.org/blog/2008/03/06/installing-svn-with-apache2-support-on-my-server/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/03/06/installing-svn-with-apache2-support-on-my-server/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 22:11:09 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/2008/03/06/installing-svn-with-apache2-support-on-my-server/</guid>
		<description><![CDATA[I just enabled SVN access on my server through the web interface. It was quite easy and, since we have a Postgres DB authentication, there&#8217;s no need to edit inconvenient password files  
All I had to do was to enable the SVN module: link `dav_svn.{load&#124;conf}` in `mods-enabled` and add the following line to the [...]]]></description>
			<content:encoded><![CDATA[<p>I just enabled SVN access on my server through the web interface. It was quite easy and, since we have a Postgres DB authentication, there&#8217;s no need to edit inconvenient password files <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>All I had to do was to enable the SVN module: link `dav_svn.{load|conf}` in `mods-enabled` and add the following line to the SSL-ed vhost. </p>
<p>    <Location "/svn/foo"><br />
       SVNPath /var/lib/svn/foo<br />
       Dav svn<br />
      <LimitExcept OPTIONS GET><br />
        Require user user@example.com user2@example.com<br />
      </LimitExcept><br />
    </Location></p>
<p>Since the SSL-ed vhost already requires authentication, I didn&#8217;t have to change anything. I also had to create an SVN repository `svnadmin create &#8211;fs-type fsfs /var/lib/svn/foo` and change the permissions to `www-data`.</p>
<p>The checkout command is:</p>
<p>  svn &#8211;username user@example.com &#8211;password my_secret_password co https://my.example.com/svn/foo</p>
<p>SVN caches the username and password, so any further operations are done without prompting you for it. If you don&#8217;t like it, you can disable it with `&#8211;no-auth-cache`.</p>
<p>Finally, one annoying thing. Initially, I would just try to connect without &#8211;username and SVN would first try my Unix user name and then ask for it. Unfortunately, some (but not all) users I tried in this way would get a mysterious:</p>
<p>    svn: PROPFIND request failed on &#8216;/svn/foo&#8217;<br />
    svn: PROPFIND of &#8216;/svn/foo&#8217;: authorization failed (https://example.com)</p>
<p>WTH?</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/03/06/installing-svn-with-apache2-support-on-my-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
