<?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"
	>

<channel>
	<title>Georgi's Blog</title>
	<atom:link href="http://joro.geodar.com/diary/feed/" rel="self" type="application/rss+xml" />
	<link>http://joro.geodar.com/diary</link>
	<description>It's about my life</description>
	<pubDate>Tue, 22 Jul 2008 03:39:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>School is over, got a job.</title>
		<link>http://joro.geodar.com/diary/2008/07/21/581/</link>
		<comments>http://joro.geodar.com/diary/2008/07/21/581/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 03:39:31 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Животът ми[/lang_bg][lang_en]My Life[/lang_en]]]></category>

		<category><![CDATA[[lang_bg]Работа[/lang_bg][lang_en]Work[/lang_en]]]></category>

		<category><![CDATA[ubs]]></category>

		<category><![CDATA[work]]></category>

		<category><![CDATA[работа]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=581</guid>
		<description><![CDATA[Officially, today is my first day at my new job. I started work in UBS A.G. - Investment Bank in the IT Equities department. We spent most of the day, today, listening to various presentations and speeches. I am saying officially, because I started last Monday as I had to go trough a pre-week financial [...]]]></description>
			<content:encoded><![CDATA[<p>Officially, today is my first day at my new job. I started work in UBS A.G. - Investment Bank in the IT Equities department. We spent most of the day, today, listening to various presentations and speeches. I am saying officially, because I started last Monday as I had to go trough a pre-week financial and accounting training. I now live in Stamford, CT and my new place is not bad, it only lacks an AC, but not for long.<br />
Because I work in a bank now, I will have to be careful what I write here and I have to put some disclaimers here and there that all you read here is my personal opinion and does not reflect that of my employer&#8230; the general stuff. However that will happen some other day because it is late now and I have to get up at 7am tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/07/21/581/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Frying tomatoes</title>
		<link>http://joro.geodar.com/diary/2008/06/24/580/</link>
		<comments>http://joro.geodar.com/diary/2008/06/24/580/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 15:51:02 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Рецепти[/lang_bg][lang_en]Recipies[/lang_en]]]></category>

		<category><![CDATA[[lang_bg]Храниелни бележки[/lang_bg][lang_en]Cooking notes[/lang_bg]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=580</guid>
		<description><![CDATA[There is one problem when frying tomatoes. Usually they are cooked in a pan and after the are done, everything around it is covered in tomatoes. And because the idea is for the water to evaporate it is not convenient to cover the pan. That&#8217;s why I decided to make myself an enhanced version of [...]]]></description>
			<content:encoded><![CDATA[<p>There is one problem when frying tomatoes. Usually they are cooked in a pan and after the are done, everything around it is covered in tomatoes. And because the idea is for the water to evaporate it is not convenient to cover the pan. That&#8217;s why I decided to make myself an enhanced version of my pan which resulted in clean kitchen. All I needed was a piece of thick aluminum foil (the thicker the better so that the tomatoes don&#8217;t dissolve it) long enough to go around the pan. Just take the foil and build a high wall around the pan. It should look something like that::<br />
<img src="/images/pan_enhanced1.png" alt="Pan" /><br />
<img src="/images/pan_enhanced2.png" alt="Pan" /><br />
It works wonders. </p>
<p>This is the recipe btw:<br />
2 big cans of petite diced tomatoes (or shredded tomatoes, or tomato juice)<br />
5-6 eggs<br />
3 cloves of garlic<br />
2 tbsp oil</p>
<p>Add the oil in the pan and before it gets too hot just add the tomatoes so that you don&#8217;t get an eruption of burning oil and water later. If the tomatoes are in big chunks use the hand blender, but keep some chunks of tomatoes for texture. Cook the tomatoes until all the water is gone and they are well cooked. After that just add the eggs, stir well to incorporate the eggs and cook them. That&#8217;s it. Remove from the heat and add the mashed garlic. If the tomatoes are too sour, just add a little bit of sugar (1/2 tsp). At first the garlic will be strong, but the high temperature of the tomatoes will reduce the strength.</p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/24/580/feed/</wfw:commentRss>
		</item>
		<item>
		<title>We got ourselves inline skates</title>
		<link>http://joro.geodar.com/diary/2008/06/19/579/</link>
		<comments>http://joro.geodar.com/diary/2008/06/19/579/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 21:24:41 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Животът ми[/lang_bg][lang_en]My Life[/lang_en]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=579</guid>
		<description><![CDATA[
Both Dary and I love to skate, but the skates we have in Bulgaria are quite old and beaten up, at least mine are, so we decided to get ourselves new ones. Hers are Rollerblade Spiritblade III - 2008 (left on the picture), mine are K2 Moto - 2007 (right on the picture). I gave [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/our_skates.png" alt="Skates" /></p>
<p>Both Dary and I love to skate, but the skates we have in Bulgaria are quite old and beaten up, at least mine are, so we decided to get ourselves new ones. Hers are Rollerblade Spiritblade III - 2008 (left on the picture), mine are K2 Moto - 2007 (right on the picture). I gave mine quite a run the other day in the park. Also I did try them here on the street. Dary only tried hers here, but not as much as I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/19/579/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Perl script for sending mail trough Gmail</title>
		<link>http://joro.geodar.com/diary/2008/06/19/578/</link>
		<comments>http://joro.geodar.com/diary/2008/06/19/578/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 18:35:53 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Животът ми[/lang_bg][lang_en]My Life[/lang_en]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=578</guid>
		<description><![CDATA[Nothing fancy, just a few prompts and use of  Net::SMTP::SSL and Authen::SASL

#!/usr/bin/perl -w
# Send email from Gmail
# Will not work on windows, because of the echo
# for the password. Just uncomment the two
# system lines and should be fine.
# Will wait for EOF (Ctrl+D) for the msg body.
# by GT
&#160;
use Net::SMTP::SSL;
&#160;
my $smtp;
my $username = [...]]]></description>
			<content:encoded><![CDATA[<p>Nothing fancy, just a few prompts and use of  Net::SMTP::SSL and Authen::SASL</p>
<ol class="codelist">
<li class="tab0 odd"><code>#!/usr/bin/perl -w</code></li>
<li class="tab0 even"><code># Send email from Gmail</code></li>
<li class="tab0 odd"><code># Will not work on windows, because of the echo</code></li>
<li class="tab0 even"><code># for the password. Just uncomment the two</code></li>
<li class="tab0 odd"><code># system lines and should be fine.</code></li>
<li class="tab0 even"><code># Will wait for EOF (Ctrl+D) for the msg body.</code></li>
<li class="tab0 odd"><code># by GT</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>use Net::SMTP::SSL;</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>my $smtp;</code></li>
<li class="tab0 even"><code>my $username = 'youremail@gmail.com';</code></li>
<li class="tab0 odd"><code>my $password;</code></li>
<li class="tab0 even"><code>my @lines;</code></li>
<li class="tab0 odd"><code>my $msg = &quot;&quot;;</code></li>
<li class="tab0 even"><code>my $to;</code></li>
<li class="tab0 odd"><code>my $subject;</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>$smtp = Net::SMTP::SSL-&gt;new('smtp.gmail.com', Port =&gt; 465, Debug=&gt;1) || die &quot;Cannot connect to server&quot; ;</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>system('stty -echo');</code></li>
<li class="tab0 even"><code>print &quot;Enter password:&quot;;</code></li>
<li class="tab0 odd"><code>$password = &lt;STDIN&gt;;</code></li>
<li class="tab0 even"><code>chomp $password;</code></li>
<li class="tab0 odd"><code>system('stty echo');</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>$smtp-&gt;auth($username, $password) || die &quot;Authentication failed&quot;;</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>print &quot;\nTo:&quot;;</code></li>
<li class="tab0 even"><code>$to = &lt;STDIN&gt;;</code></li>
<li class="tab0 odd"><code>chomp $to;</code></li>
<li class="tab0 even"><code>print &quot;Enter subject:&quot;;</code></li>
<li class="tab0 odd"><code>$subject = &lt;STDIN&gt;;</code></li>
<li class="tab0 even"><code>chomp $subject;</code></li>
<li class="tab0 odd"><code>print &quot;Enter message:\n&quot;;</code></li>
<li class="tab0 even"><code>@lines = &lt;&gt;;</code></li>
<li class="tab0 odd"><code>foreach $line (@lines){</code></li>
<li class="tab1 even"><code>$msg = $msg.$line;</code></li>
<li class="tab0 odd"><code>}</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>$smtp-&gt;mail($username.&quot;\n&quot;);</code></li>
<li class="tab0 even"><code>$smtp-&gt;to($to.&quot;\n&quot;);</code></li>
<li class="tab0 odd"><code>$smtp-&gt;data();</code></li>
<li class="tab0 even"><code>$smtp-&gt;datasend(&quot;From: &quot;. $username.&quot;\n&quot;);</code></li>
<li class="tab0 odd"><code>$smtp-&gt;datasend(&quot;To: &quot;.$to.&quot;\n&quot;);</code></li>
<li class="tab0 even"><code>$smtp-&gt;datasend(&quot;Subject: &quot;.$subject.&quot;\n&quot;);</code></li>
<li class="tab0 odd"><code>$smtp-&gt;datasend(&quot;\n&quot;);</code></li>
<li class="tab0 even"><code>$smtp-&gt;datasend($msg.&quot;\n&quot;);</code></li>
<li class="tab0 odd"><code>$smtp-&gt;dataend();</code></li>
<li class="tab0 even"><code>$smtp-&gt;quit;</code></li>
<li class="odd">&nbsp;</li>
<li class="sourcelink"><strong>Свалете този код/download this code:</strong> <a href="/code/gmailsmtp.pl">gmailsmtp.pl</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/19/578/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rice</title>
		<link>http://joro.geodar.com/diary/2008/06/19/577/</link>
		<comments>http://joro.geodar.com/diary/2008/06/19/577/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 17:32:38 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Храниелни бележки[/lang_bg][lang_en]Cooking notes[/lang_bg]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=577</guid>
		<description><![CDATA[
The easiest way to cook it is in a rice cooker, because it can monitor the temperature when the water is absorbed.
Water needed for cooling long white rice: 1cup rice in 1.5cup water; 2c. rice in 2.75c. water, 3c. rice in 3.5c. water.
Brown rice needs a little bit more water for cooking; short rice needs [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>The easiest way to cook it is in a rice cooker, because it can monitor the temperature when the water is absorbed.</li>
<li>Water needed for cooling long white rice: 1cup rice in 1.5cup water; 2c. rice in 2.75c. water, 3c. rice in 3.5c. water.</li>
<li>Brown rice needs a little bit more water for cooking; short rice needs less</li>
<li>Short rice releases more starch and becomes more sticky</li>
<li>Long rice almost does not release starch and is more fluffy</li>
<li>White rice cooks faster than brown rice</li>
</ul>
<p>P.S. Saffron is the most expensive spice on earth (about $1000 per lb.)</p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/19/577/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cast Iron skillet</title>
		<link>http://joro.geodar.com/diary/2008/06/18/576/</link>
		<comments>http://joro.geodar.com/diary/2008/06/18/576/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 00:43:27 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Храниелни бележки[/lang_bg][lang_en]Cooking notes[/lang_bg]]]></category>

		<category><![CDATA[cast iron]]></category>

		<category><![CDATA[seasoning]]></category>

		<category><![CDATA[skillet]]></category>

		<category><![CDATA[чугун]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=576</guid>
		<description><![CDATA[
Cast iron skillets are very durable, very heavy and disperses the heat very well. With it you can cook on high heat, in the oven, on the stove top, in the grill or basically anything that emits heat. When you buy a new cast iron cookware it has to be seasoned well. The standard procedure [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/castironskillet.png" alt="skillet" /></p>
<p>Cast iron skillets are very durable, very heavy and disperses the heat very well. With it you can cook on high heat, in the oven, on the stove top, in the grill or basically anything that emits heat. When you buy a new cast iron cookware it has to be seasoned well. The standard procedure is to clean it very well, dry it very well, coat it with some vegetable oil and bake it in a 300 degree F. oven for about an hour. After that, just wipe the excess oil, if any, and the skillet is ready. The best part is, that you don&#8217;t have to clean it. Just put some salt in it, scrub it a little bit, wipe it and store it. After a few uses an excellent nonstick layer will form and you can even cook eggs in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/18/576/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Archival of video podcasts</title>
		<link>http://joro.geodar.com/diary/2008/06/18/575/</link>
		<comments>http://joro.geodar.com/diary/2008/06/18/575/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 17:15:05 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Животът ми[/lang_bg][lang_en]My Life[/lang_en]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=575</guid>
		<description><![CDATA[I&#8217;ve picked a few video podcasts that I like to watch. But because there is a lot of info there, quite some time ago I decided to start archiving them and make them accessible from everywhere I have internet. That involved a simple web page and converting every episode to flash to avoid codec problems. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve picked a few video podcasts that I like to watch. But because there is a lot of info there, quite some time ago I decided to start archiving them and make them accessible from everywhere I have internet. That involved a simple web page and converting every episode to flash to avoid codec problems. The best part is, that all of them have some type of rss feeds and make it easy to get the url to the video file, a description and some other useful info. So I sat down and wrote the following script:</p>
<ol class="codelist">
<li class="tab0 odd"><code>#!/usr/bin/perl -w</code></li>
<li class="tab0 even"><code># This script gets the latest Systm Podcast feed.</code></li>
<li class="tab0 odd"><code># It will check if the episode is downloaded and if not,</code></li>
<li class="tab0 even"><code># it will download it, generate a .flv video, look for the</code></li>
<li class="tab0 odd"><code># $flag entry in index.html and will insert html code for</code></li>
<li class="tab0 even"><code># the downloaded episode.</code></li>
<li class="tab0 odd"><code>#</code></li>
<li class="tab0 even"><code># Requires: ffmpeg, flvtool2, mencode and convert (IM)</code></li>
<li class="tab0 odd"><code>#</code></li>
<li class="tab0 even"><code>#</code></li>
<li class="tab0 odd"><code># by Georgi Todorov</code></li>
<li class="tab0 even"><code>#</code></li>
<li class="tab0 odd"><code>#</code></li>
<li class="tab0 even"><code>use strict;</code></li>
<li class="tab0 odd"><code>use XML::RSS;</code></li>
<li class="tab0 even"><code>use LWP::Simple;</code></li>
<li class="tab0 odd"><code>use Date::Format;</code></li>
<li class="tab0 even"><code>use Date::Parse;</code></li>
<li class="odd">&nbsp;</li>
<li class="tab0 even"><code>my $duration;</code></li>
<li class="tab0 odd"><code>my $image;</code></li>
<li class="tab0 even"><code>my $url2parse;</code></li>
<li class="tab0 odd"><code>my $title;</code></li>
<li class="tab0 even"><code>my $url;</code></li>
<li class="tab0 odd"><code>my $desc;</code></li>
<li class="tab0 even"><code>my $ep=0;</code></li>
<li class="tab0 odd"><code>my $fname;</code></li>
<li class="tab0 even"><code>my $class;</code></li>
<li class="tab0 odd"><code>my $line;</code></li>
<li class="tab0 even"><code>my $i=0;</code></li>
<li class="tab0 odd"><code>my $date;</code></li>
<li class="tab0 even"><code>my @asdf;</code></li>
<li class="tab0 odd"><code>my @splitted;</code></li>
<li class="tab0 even"><code>my $extension;</code></li>
<li class="tab0 odd"><code>my $enc;</code></li>
<li class="tab0 even"><code># Create new instance of XML::RSS</code></li>
<li class="tab0 odd"><code>my $rss = new XML::RSS;</code></li>
<li class="tab0 even"><code># Get the URL, assign it to url2parse, and then parse the RSS content</code></li>
<li class="tab0 odd"><code>$url2parse = get(&quot;http://revision3.com/systm/feed/quicktime-high-definition&quot;);</code></li>
<li class="tab0 even"><code>#print $url2parse;</code></li>
<li class="tab0 odd"><code>$rss-&gt;parse($url2parse);</code></li>
<li class="tab0 even"><code># Print the channel items</code></li>
<li class="tab0 odd"><code>#print $rss-&gt;as_string;</code></li>
<li class="tab0 even"><code>open OLDINDEX, &quot;&lt;index.html&quot;;</code></li>
<li class="tab0 odd"><code>open NEWINDEX, &quot;&gt;newindex.html&quot;;</code></li>
<li class="tab0 even"><code>my $flag = &quot;&lt;!--start--&gt;&quot;;</code></li>
<li class="tab0 odd"><code>while ( $line = &lt;OLDINDEX&gt;){</code></li>
<li class="tab8 even"><code>chomp($line);</code></li>
<li class="tab8 odd"><code>if ($line eq $flag){</code></li>
<li class="tab16 even"><code>print NEWINDEX $line.&quot;\n&quot;;</code></li>
<li class="tab16 odd"><code>$i = 1;</code></li>
<li class="tab8 even"><code>}</code></li>
<li class="tab8 odd"><code>if ($i == 0){</code></li>
<li class="tab16 even"><code>print NEWINDEX $line.&quot;\n&quot;;</code></li>
<li class="tab8 odd"><code>}else{</code></li>
<li class="tab0 even"><code>foreach my $item (@{$rss-&gt;{'items'}}) {</code></li>
<li class="tab5 odd"><code>next unless defined($item-&gt;{'title'}) &amp;&amp; defined($item-&gt;{'enclosure'});</code></li>
<li class="tab5 even"><code>$date = time2str(&quot;%A, %B %o, %Y&quot;, str2time($item-&gt;{'pubDate'}));</code></li>
<li class="tab5 odd"><code>$date =~s/ +/ /gi;</code></li>
<li class="tab5 even"><code>$url = $item-&gt;{'enclosure'}-&gt;{'url'};</code></li>
<li class="tab5 odd"><code>@asdf = split(/\//, $url);</code></li>
<li class="tab5 even"><code>$ep = $asdf[$#asdf-1];</code></li>
<li class="tab5 odd"><code>$ep =~s/^0*//;</code></li>
<li class="tab5 even"><code>$title = &quot;Episode &quot;. $ep;</code></li>
<li class="tab5 odd"><code>@splitted = split(/\./, $url);</code></li>
<li class="tab5 even"><code>$extension = $splitted[$#splitted];</code></li>
<li class="tab5 odd"><code>if ( $ep%2 == 0 ){</code></li>
<li class="tab6 even"><code>$class = &quot;left&quot;;</code></li>
<li class="tab5 odd"><code>}else{</code></li>
<li class="tab6 even"><code>$class = &quot;right&quot;;</code></li>
<li class="tab5 odd"><code>}</code></li>
<li class="tab5 even"><code>$fname = &quot;Systm Episode &quot;.$ep.&quot; (&quot;.$date.&quot;)&quot;;</code></li>
<li class="tab5 odd"><code>$desc = $item-&gt;{'description'};</code></li>
<li class="even">&nbsp;</li>
<li class="tab6 odd"><code>print &quot;-------- Working on $title --------\n&quot;;</code></li>
<li class="tab6 even"><code>print &quot;Looking for $fname.$extension ...&quot;;</code></li>
<li class="tab6 odd"><code>if (-e &quot;$fname.m4v&quot;)</code></li>
<li class="tab6 even"><code>{</code></li>
<li class="tab7 odd"><code>print &quot;found. Skipping.\n&quot;;</code></li>
<li class="tab6 even"><code>}elsif (-e &quot;$fname.flv&quot;)</code></li>
<li class="tab6 odd"><code>{</code></li>
<li class="tab7 even"><code>print &quot;found. Skipping.\n&quot;;</code></li>
<li class="tab6 odd"><code>}else{</code></li>
<li class="tab7 even"><code>print &quot;not found. Downloading:\n&quot;;</code></li>
<li class="tab7 odd"><code>system (&quot;wget $url -O \&quot;$fname.$extension\&quot;&quot;);</code></li>
<li class="tab7 even"><code>print &quot;Generating a Thumbnail and Encoding:\n&quot;;</code></li>
<li class="tab7 odd"><code>system (&quot;ffmpeg -y -i \&quot;$fname.$extension\&quot; -f image2 -ss 100 -vframes 1 -an out.jpg&quot;);</code></li>
<li class="tab7 even"><code>system (&quot;convert out.jpg -resize x100 -quality 95 \&quot;images/$fname.jpg\&quot;&quot;);</code></li>
<li class="tab7 odd"><code>system (&quot;rm out.jpg&quot;);</code></li>
<li class="tab7 even"><code>system (&quot;./encode2 \&quot;$fname.$extension\&quot; \&quot;$fname.flv\&quot;&quot;);</code></li>
<li class="tab7 odd"><code>system (&quot;flvtool2 -UP \&quot;$fname.flv\&quot;&quot;);</code></li>
<li class="tab7 even"><code>$duration = `/usr/bin/ffmpeg -i \&quot;$fname.flv\&quot; 2&gt;&amp;1|grep Duration|cut -d \&quot;:\&quot; -f 3,4|cut -d \&quot;,\&quot; -f 1`;</code></li>
<li class="tab7 odd"><code>print NEWINDEX &quot;&lt;div class=\&quot;$class\&quot;&gt;\n&quot;;</code></li>
<li class="tab14 even"><code>print NEWINDEX &quot;\t&lt;div class=\&quot;imglt\&quot;&gt;\n&quot;;</code></li>
<li class="tab14 odd"><code>print NEWINDEX &quot;\t\t&lt;img src=\&quot;images/$fname.jpg\&quot; alt=\&quot;$fname\&quot; /&gt;&lt;br /&gt;\n&quot;;</code></li>
<li class="tab14 even"><code>print NEWINDEX &quot;\t\t&lt;a href='javascript:flowPlayerOpenFullScreen(\&quot;$fname.flv\&quot;)' class=\&quot;download_button\&quot; &gt;Play&lt;/a&gt;\n&quot;;</code></li>
<li class="tab14 odd"><code>print NEWINDEX &quot;\t\t&lt;a href=\&quot;$fname.mov\&quot; class=\&quot;download_button\&quot; &gt;Download&lt;/a&gt;\n&quot;;</code></li>
<li class="tab14 even"><code>print NEWINDEX &quot;\t&lt;/div&gt;\n&quot;;</code></li>
<li class="tab14 odd"><code>print NEWINDEX &quot;\t&lt;b&gt;$title ($date)&lt;/b&lt;br /&gt;\n&quot;;</code></li>
<li class="tab14 even"><code>print NEWINDEX &quot;\t&lt;b&gt;Length:&lt;/b&gt; $duration\n&quot;;</code></li>
<li class="tab14 odd"><code>print NEWINDEX &quot;\t&lt;p&gt;$desc&lt;/p&gt;\n&quot;;</code></li>
<li class="tab14 even"><code>print NEWINDEX &quot;&lt;/div&gt;\n&quot;;</code></li>
<li class="tab7 odd"><code>if ($class eq &quot;right&quot;){</code></li>
<li class="tab16 even"><code>print NEWINDEX &quot;&lt;div class=\&quot;clear\&quot;&gt;\n&quot;;</code></li>
<li class="tab16 odd"><code>print NEWINDEX &quot;\t&amp;nbsp;&lt;br /&gt;\n\t&amp;nbsp;\n&quot;;</code></li>
<li class="tab16 even"><code>print NEWINDEX&quot;&lt;/div&gt;\n&quot;;</code></li>
<li class="tab14 odd"><code>}</code></li>
<li class="tab1 even"><code>}</code></li>
<li class="tab2 odd"><code>print &quot;-------- DONE --------\n&quot;;</code></li>
<li class="even">&nbsp;</li>
<li class="tab0 odd"><code>}</code></li>
<li class="tab0 even"><code>$i = 0;</code></li>
<li class="tab0 odd"><code>}</code></li>
<li class="tab0 even"><code>}</code></li>
<li class="tab0 odd"><code>close OLDINDEX;</code></li>
<li class="tab0 even"><code>close NEWINDEX;</code></li>
<li class="tab0 odd"><code>system(&quot;mv index.html oldindex.html&amp;&amp;mv newindex.html index.html&quot;);</code></li>
<li class="even">&nbsp;</li>
<li class="sourcelink"><strong>Свалете този код/download this code:</strong> <a href="/code/updatepodcast.pl">updatepodcast.pl</a></li>
</ol>
<p>It works pretty good for now.  encode2 just contains the looooong mencoder command for encoding to flv:</p>
<ol class="codelist">
<li class="tab0 odd"><code>mencoder &quot;$1&quot; -o &quot;$2&quot; -of lavf -ovc lavc -oac lavc \</code></li>
<li class="tab0 even"><code>-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \</code></li>
<li class="tab0 odd"><code>-lavcopts vcodec=flv:vbitrate=800:autoaspect:mbd=2:\</code></li>
<li class="tab0 even"><code>mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:\</code></li>
<li class="tab0 odd"><code>cmp=2:subcmp=2:preme=2:turbo:acodec=mp3:abitrate=56  \</code></li>
<li class="tab0 even"><code>-srate 22050 -af lavcresample=22050</code></li>
<li class="sourcelink"><strong>Свалете този код/download this code:</strong> <a href="/code/encode_to_flv">encode_to_flv</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/18/575/feed/</wfw:commentRss>
		</item>
		<item>
		<title></title>
		<link>http://joro.geodar.com/diary/2008/06/17/574/</link>
		<comments>http://joro.geodar.com/diary/2008/06/17/574/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 18:27:04 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Храниелни бележки[/lang_bg][lang_en]Cooking notes[/lang_bg]]]></category>

		<category><![CDATA[steak]]></category>

		<category><![CDATA[пържола]]></category>

		<category><![CDATA[стек]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=574</guid>
		<description><![CDATA[

While choosing look for: moisture, bright color, even cut (for even cooking) and NO ODOR!
The best cut is around the spine of the animal. The further from the legs and the head, the more tender. Ribeye or prime rib cuts are very good 
Store at the bottom of the fridge never above 40 degrees F.
Best [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/ribeyesteak.png" alt="steak" /></p>
<ul>
<li>While choosing look for: moisture, bright color, even cut (for even cooking) and NO ODOR!</li>
<li>The best cut is around the spine of the animal. The further from the legs and the head, the more tender. Ribeye or prime rib cuts are very good </li>
<li>Store at the bottom of the fridge never above 40 degrees F.</li>
<li>Best cooked in cast iron skillet. </li>
<li>Season with plenty of salt, some pepper and rub with canola oil(or other oil with high burning point).</li>
<li>Cook for 30 secs on each side in the hot skillet on high heat, than put in a 500 degree oven for about 4 minutes for MR</li>
<li>Do not cut the stake for at least 4 minutes after it is out of the oven</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/17/574/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Category</title>
		<link>http://joro.geodar.com/diary/2008/06/17/573/</link>
		<comments>http://joro.geodar.com/diary/2008/06/17/573/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 18:05:13 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Храниелни бележки[/lang_bg][lang_en]Cooking notes[/lang_bg]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=573</guid>
		<description><![CDATA[For quite some time now I&#8217;ve been watching various food and cooking shows on the food network and other channels and they do teach quite a lot. However without practice I forget many things, so I decided to start writing them down. And using my blog, they could be useful to someone else too. The [...]]]></description>
			<content:encoded><![CDATA[<p>For quite some time now I&#8217;ve been watching various food and cooking shows on the food network and other channels and they do teach quite a lot. However without practice I forget many things, so I decided to start writing them down. And using my blog, they could be useful to someone else too. The new category for that is called &#8220;<a href="/diary/category/foodnotes/">Cooking notes</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/17/573/feed/</wfw:commentRss>
		</item>
		<item>
		<title>We completed the puzzle</title>
		<link>http://joro.geodar.com/diary/2008/06/16/572/</link>
		<comments>http://joro.geodar.com/diary/2008/06/16/572/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 16:57:58 +0000</pubDate>
		<dc:creator>TeraHz</dc:creator>
		
		<category><![CDATA[[lang_bg]Животът ми[/lang_bg][lang_en]My Life[/lang_en]]]></category>

		<guid isPermaLink="false">http://joro.geodar.com/diary/?p=572</guid>
		<description><![CDATA[Around January this year, while we were in one of the big stores here, we found ourselves next to the puzzle isle. So we decided to get a puzzle for ourselves. Of course, typical for us, we wanted the most complicated one. For 10 bucks we ended up getting The Chase by John Hyde with [...]]]></description>
			<content:encoded><![CDATA[<p>Around January this year, while we were in one of the big stores here, we found ourselves next to the puzzle isle. So we decided to get a puzzle for ourselves. Of course, typical for us, we wanted the most complicated one. For 10 bucks we ended up getting The Chase by John Hyde with size around 27&#215;20 inches with 1000pcs. We started solving it before the semester and we did the majority of it. However the semester started and we couldn&#8217;t finish it. Two days ago, we remembered about it and decided to finish it. We put it on the table and about 4 hours later we had it done. We had the most difficult part left - the one with all the black pieces, where only the shape of the piece was our guide for solving as they were all black. Here is how it looks:<br />
<a href="/images/puzzle_huge.png"><img src="/images/puzzle.png" alt="Puzzle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://joro.geodar.com/diary/2008/06/16/572/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
