<?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>dopefish.de</title>
	<atom:link href="http://www.dopefish.de/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dopefish.de</link>
	<description>Headquaters of the evil genius</description>
	<lastBuildDate>Tue, 09 Mar 2010 17:08:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
		<item>
		<title>Schwarzwald in winter</title>
		<link>http://www.dopefish.de/archives/611</link>
		<comments>http://www.dopefish.de/archives/611#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:08:17 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=611</guid>
		<description><![CDATA[A few weeks ago we were in the Schwarzwald for a few days, and since we got a fair amount of snow while we were there I took some pics. I&#8217;ve uploaded my 30 favorite here &#8230;.

            function startGallery_9() { 
    [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago we were in the Schwarzwald for a few days, and since we got a fair amount of snow while we were there I took some pics. I&#8217;ve uploaded my 30 favorite here &#8230;.</p>
<p><script type="text/javascript">
            function startGallery_9() { 
              var myGallery = new gallery($("myGallery_9"), {                  timed: false,         showCarousel: true,         showInfopane: false,           showArrows: true,           embedLinks: false, slideInfoZoneOpacity: 0.80, textShowCarousel: "Overview of Pictures"   });
              
              document.getElementById("myGallery_9").style.display = "block";
           }
            window.addEvent("domready", startGallery_9);
          </script>
         <div style="width: 500px; height: 375px; border:0px solid; margin:0px auto; clear:both;"><div id="myGallery_9" class="myGallery" style="display:none; width: 500px !important; height: 375px !important;"><div class="imageElement">  <h3> DSC_2623</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2623.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2623.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2623.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2625</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2625.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2625.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2625.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2620</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2620.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2620.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2620.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2617</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2617.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2617.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2617.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2618</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2618.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2618.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2618.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2615</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2615.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2615.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2615.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2616</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2616.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2616.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2616.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2610</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2610.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2610.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2610.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2612</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2612.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2612.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2612.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2608</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2608.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2608.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2608.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2603</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2603.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2603.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2603.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2607</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2607.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2607.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2607.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2602</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2602.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2602.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2602.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2599</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2599.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2599.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2599.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2601</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2601.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2601.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2601.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2592</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2592.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2592.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2592.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2598</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2598.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2598.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2598.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2373</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2373.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2373.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2373.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2380</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2380.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2380.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2380.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2388</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2388.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2388.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2388.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2389</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2389.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2389.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2389.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2427</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2427.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2427.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2427.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2457</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2457.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2457.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2457.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2462</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2462.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2462.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2462.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2463</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2463.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2463.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2463.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2468</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2468.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2468.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2468.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2472</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2472.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2472.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2472.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2551</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2551.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2551.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2551.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2590</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2590.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2590.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2590.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> DSC_2367</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2367.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/DSC_2367.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schwarzwaldwinter/thumbs/thumbs_DSC_2367.jpg" class="thumbnail" /></div> </div></div></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/611/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mythtv and IR Blaster</title>
		<link>http://www.dopefish.de/archives/591</link>
		<comments>http://www.dopefish.de/archives/591#comments</comments>
		<pubDate>Sun, 24 Jan 2010 15:19:45 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ir blaster]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=591</guid>
		<description><![CDATA[We use a set-top-box as the video source for mythtv. And while this works perfectly fine, we have to manually make sure the right channel is set for what mythtv wants to record. This can turn out to being a pain at time, especially when multiple things are planned to be recorded on different channels. [...]


Related posts:<ol><li><a href='http://www.dopefish.de/archives/307' rel='bookmark' title='Permanent Link: Mythtv + Wii Remote + ScummVM + Google Earth'>Mythtv + Wii Remote + ScummVM + Google Earth</a> <small>Yesterday and today I went and got my Wii controller...</small></li>
<li><a href='http://www.dopefish.de/archives/524' rel='bookmark' title='Permanent Link: Bash scripting, traps and sleep'>Bash scripting, traps and sleep</a> <small>Today I ran into any old problem: you have a...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>We use a set-top-box as the video source for <a href="http://www.mythtv.org/">mythtv</a>. And while this works perfectly fine, we have to manually make sure the right channel is set for what mythtv wants to record. This can turn out to being a pain at time, especially when multiple things are planned to be recorded on different channels. So I went and ordered a IR transmitter from <a href="http://www.irblaster.info/">irblaster.info</a> to give mythtv the possibility to change channels itself.</p>
<p>Since a bunch of the infos I found online were a bit out dated, here are a few tips for anyone using current versions of the software (I&#8217;ve got mythtv-backend 0.22 and lirc 0.8.4a running on a mythbuntu based system when I wrote this)</p>
<p>Hardware is easy to set up, just plug it into a free serial port.<br />
1st we will head over to <a href="http://lirc.sourceforge.net/remotes/">http://lirc.sourceforge.net/remotes/</a> and grab the file for our reciever set-top-box if we don&#8217;t already have them.<br />
Then go edit /etc/lirc/hardware.conf and add the transmitter settings, these were mine:<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #007800;">TRANSMITTER</span>=<span style="color: #ff0000;">&quot;Skymaster_XL10&quot;</span></li><li><span style="color: #007800;">TRANSMITTER_MODULES</span>=<span style="color: #ff0000;">&quot;lirc_dev lirc_serial&quot;</span></li><li><span style="color: #007800;">TRANSMITTER_DRIVER</span>=<span style="color: #ff0000;">&quot;&quot;</span></li><li><span style="color: #007800;">TRANSMITTER_DEVICE</span>=<span style="color: #ff0000;">&quot;/dev/lirc1&quot;</span></li><li><span style="color: #007800;">TRANSMITTER_LIRCD_CONF</span>=<span style="color: #ff0000;">&quot;skymaster/XL10&quot;</span></li><li><span style="color: #007800;">TRANSMITTER_LIRCD_ARGS</span>=<span style="color: #ff0000;">&quot;&quot;</span></li></ol></div></pre><!--END_DEVFMTCODE--><br />
now include the reciever settings to /etc/lirc/lircd.conf<br />
I edited my /etc/init.d/lirc to execute the following line before starting the daemon (was needed to ensure the lirc_serial module can be loaded):<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">setserial</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>ttyS0 uart none</li></ol></div></pre><!--END_DEVFMTCODE--><br />
Restart lircd and you can then start testing if transmitting codes work with irsend works. here is a little wrapper script I wrote around irsend for mythtv to use. You may have to twiddle around with the sleeps and change the $Remote to your reciever. If the sleeps are too long (-> the script takes to long to finish switching channels), then mythtv will timeout and not display live tv.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">#!/bin/bash</span></li><li>&nbsp;</li><li><span style="color: #007800;">Remote</span>=<span style="color: #ff0000;">&quot;Skymaster_XL10&quot;</span></li><li>&nbsp;</li><li><span style="color: #007800;">send</span>=<span style="color: #ff0000;">&quot;irsend -d /dev/lircd1 SEND_ONCE&quot;</span></li><li>&nbsp;</li><li><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(echo $1|grep -c &quot;^[0-9]&quot;)</span>&quot;</span> = <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></li><li><span style="color: #000000; font-weight: bold;">then</span> <span style="color: #666666; font-style: italic;"># non-numeric command</span></li><li>&nbsp;&nbsp;<span style="color: #007800;">$send</span> <span style="color: #007800;">$Remote</span> <span style="color: #007800;">$1</span></li><li><span style="color: #000000; font-weight: bold;">else</span> <span style="color: #666666; font-style: italic;"># numeric</span></li><li>&nbsp;&nbsp;<span style="color: #000000; font-weight: bold;">for</span> digit <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/./&amp; /g'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #007800;">$send</span> <span style="color: #007800;">$Remote</span> <span style="color: #007800;">$digit</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1.5</span></li><li>&nbsp;&nbsp;<span style="color: #000000; font-weight: bold;">done</span></li><li><span style="color: #000000; font-weight: bold;">fi</span></li><li><span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">2</span></li></ol></div></pre><!--END_DEVFMTCODE--><br />
If everything is working fine, then go ahead and tell mythtv to use the script to change channels. This is done in the tuner card setup of mythtv-backend (mythtv-setup). </p>


<p>Related posts:<ol><li><a href='http://www.dopefish.de/archives/307' rel='bookmark' title='Permanent Link: Mythtv + Wii Remote + ScummVM + Google Earth'>Mythtv + Wii Remote + ScummVM + Google Earth</a> <small>Yesterday and today I went and got my Wii controller...</small></li>
<li><a href='http://www.dopefish.de/archives/524' rel='bookmark' title='Permanent Link: Bash scripting, traps and sleep'>Bash scripting, traps and sleep</a> <small>Today I ran into any old problem: you have a...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/591/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow</title>
		<link>http://www.dopefish.de/archives/573</link>
		<comments>http://www.dopefish.de/archives/573#comments</comments>
		<pubDate>Sat, 09 Jan 2010 21:08:24 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[snow]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=573</guid>
		<description><![CDATA[We went for a walk through the snow and some sledding today, here are the pics i shot &#8230;.

            function startGallery_7() { 
              var myGallery = new gallery($("myGallery_7"), {   [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>We went for a walk through the snow and some sledding today, here are the pics i shot &#8230;.<br />
<script type="text/javascript">
            function startGallery_7() { 
              var myGallery = new gallery($("myGallery_7"), {                  timed: false,         showCarousel: true,         showInfopane: false,           showArrows: true,           embedLinks: false, slideInfoZoneOpacity: 0.80, textShowCarousel: "Overview of Pictures"   });
              
              document.getElementById("myGallery_7").style.display = "block";
           }
            window.addEvent("domready", startGallery_7);
          </script>
         <div style="width: 500px; height: 375px; border:0px solid; margin:0px auto; clear:both;"><div id="myGallery_7" class="myGallery" style="display:none; width: 500px !important; height: 375px !important;"><div class="imageElement">  <h3> dsc_2302</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2302.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2302.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2302.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2306</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2306.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2306.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2306.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2307</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2307.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2307.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2307.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2311</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2311.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2311.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2311.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2316</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2316.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2316.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2316.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2319</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2319.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2319.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2319.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2320</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2320.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2320.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2320.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2321</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2321.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2321.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2321.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2326</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2326.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2326.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2326.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2327</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2327.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2327.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2327.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2329</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2329.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2329.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2329.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2333</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/snow/dsc_2333.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/snow/dsc_2333.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/snow/thumbs/thumbs_dsc_2333.jpg" class="thumbnail" /></div> </div></div></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/573/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Farmville</title>
		<link>http://www.dopefish.de/archives/562</link>
		<comments>http://www.dopefish.de/archives/562#comments</comments>
		<pubDate>Wed, 25 Nov 2009 10:52:39 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Autohotkey]]></category>
		<category><![CDATA[Farmville]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=562</guid>
		<description><![CDATA[Farmvill can be a fun way to pass some time, but if your fields get to be a bit big clicking on every single field can get to be a bit tiresome. I found this autohotkey script in the depths of the internet. It simplifies the process greatly  
 !^c::GoSub GetFarmSqGoSub Getfirstsq&#160;i=1&#160;SetMouseDelay, 0&#160;cycle := [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Farmvill can be a fun way to pass some time, but if your fields get to be a bit big clicking on every single field can get to be a bit tiresome. I found this <a href="http://www.autohotkey.com/download/">autohotkey</a> script in the depths of the internet. It simplifies the process greatly <img src='http://www.dopefish.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Text"><div class="devcodeoverflow"><ol><li> </li><li>!^c::</li><li>GoSub GetFarmSq</li><li>GoSub Getfirstsq</li><li>&nbsp;</li><li>i=1</li><li>&nbsp;</li><li>SetMouseDelay, 0</li><li>&nbsp;</li><li>cycle := farmy/2</li><li>newx=%startx%</li><li>newy=%starty%</li><li>loop, %cycle%</li><li>{</li><li>Click %newx%,%newy%</li><li>Loop, %farmx%</li><li>{</li><li>newx+=25</li><li>newy-=12</li><li>Click %newx%,%newy%</li><li>}</li><li>newx+=25</li><li>newy+=12</li><li>Click %newx%,%newy%</li><li>Loop, %farmx%</li><li>{</li><li>newx-=25</li><li>newy+=12</li><li>Click %newx%,%newy%</li><li>}</li><li>newx+=25</li><li>newy+=12</li><li>}</li><li>&nbsp;</li><li>return</li><li>&nbsp;</li><li>GoSub Getfirstsq</li><li>&nbsp;</li><li>GetFarmsq:</li><li>Inputbox, farmy, Hi, Enter the number of fields to the right to click on,,200,150,,,,,6</li><li>if ErrorLevel</li><li>&nbsp;&nbsp; GoSub Esc</li><li>Inputbox, farmx, Hi, Enter the number of fields upwards to click on,,200,150,,,,,6</li><li>if ErrorLevel</li><li>&nbsp;&nbsp; GoSub Esc</li><li>farmx--</li><li>return</li><li>&nbsp;</li><li>Getfirstsq:</li><li>Msgbox, Click on the leftmost field to start with (&quot;9 O'clock&quot; position).</li><li>KeyWait, LButton, D</li><li>KeyWait, LButton, D</li><li>MouseGetPos, startx, starty</li><li>return</li><li>&nbsp;</li><li>Esc:</li><li>!^x::reload</li><li>Return</li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/562/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>bash scripting &#8230; switching into directory of the script</title>
		<link>http://www.dopefish.de/archives/551</link>
		<comments>http://www.dopefish.de/archives/551#comments</comments>
		<pubDate>Mon, 23 Nov 2009 09:13:26 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[readlink]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=551</guid>
		<description><![CDATA[Sometimes it is useful to switch into the directory of the script e.g. when we need to call or include further files and don&#8217;t want to go through the hassle of searching for the script in the file system. Especially when symlinks are involved everything get a bit more interesting. This little snippet switches into [...]


Related posts:<ol><li><a href='http://www.dopefish.de/archives/524' rel='bookmark' title='Permanent Link: Bash scripting, traps and sleep'>Bash scripting, traps and sleep</a> <small>Today I ran into any old problem: you have a...</small></li>
<li><a href='http://www.dopefish.de/archives/347' rel='bookmark' title='Permanent Link: bash foo'>bash foo</a> <small>Instead of writing tons and tons of small scripts &lt;...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is useful to switch into the directory of the script e.g. when we need to call or include further files and don&#8217;t want to go through the hassle of searching for the script in the file system. Especially when symlinks are involved everything get a bit more interesting. This little snippet switches into the directory of the script, using readlink to dereference symlinks if the script is called via a symlink.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">## a small snippet to switch into script directory</span></li><li><span style="color: #007800;">SCRIPTDIR</span>=<span style="color: #800000;">${0}</span></li><li><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-L</span> <span style="color: #800000;">${SCRIPTDIR}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></li><li><span style="color: #000000; font-weight: bold;">then</span></li><li><span style="color: #666666; font-style: italic;"># dereference the symlink</span></li><li><span style="color: #007800;">SCRIPTDIR</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(readlink -e ${0})</span>&quot;</span></li><li><span style="color: #000000; font-weight: bold;">fi</span></li><li><span style="color: #666666; font-style: italic;"># chop off the scriptname and switch into the directory</span></li><li><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #800000;">${SCRIPTDIR%/*}</span></li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>


<p>Related posts:<ol><li><a href='http://www.dopefish.de/archives/524' rel='bookmark' title='Permanent Link: Bash scripting, traps and sleep'>Bash scripting, traps and sleep</a> <small>Today I ran into any old problem: you have a...</small></li>
<li><a href='http://www.dopefish.de/archives/347' rel='bookmark' title='Permanent Link: bash foo'>bash foo</a> <small>Instead of writing tons and tons of small scripts &lt;...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/551/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash scripting, traps and sleep</title>
		<link>http://www.dopefish.de/archives/524</link>
		<comments>http://www.dopefish.de/archives/524#comments</comments>
		<pubDate>Fri, 09 Oct 2009 17:01:43 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[trap]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=524</guid>
		<description><![CDATA[Today I ran into any old problem: you have a script that should do something when it recieves a signal (e.g. if someone sends it USR1 it should write to a log/syslog), but the script uses a long sleep because it normally only checks/calculates stuff every x min. If you send it a kill -USR1 [...]


Related posts:<ol><li><a href='http://www.dopefish.de/archives/551' rel='bookmark' title='Permanent Link: bash scripting &#8230; switching into directory of the script'>bash scripting &#8230; switching into directory of the script</a> <small>Sometimes it is useful to switch into the directory of...</small></li>
<li><a href='http://www.dopefish.de/archives/301' rel='bookmark' title='Permanent Link: self0wned'>self0wned</a> <small>Doh, I was just writing a bash script to calculate...</small></li>
<li><a href='http://www.dopefish.de/archives/591' rel='bookmark' title='Permanent Link: Mythtv and IR Blaster'>Mythtv and IR Blaster</a> <small>We use a set-top-box as the video source for mythtv....</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today I ran into any old problem: you have a script that should do something when it recieves a signal (e.g. if someone sends it USR1 it should write to a log/syslog), but the script uses a long sleep because it normally only checks/calculates stuff every x min. If you send it a <span style="color: #800000;">kill -USR1 $pid</span> it will normally execute the trap AFTER the sleep is done, not so great. I figured of the following solution today: put the sleep in a while loop that checks if the full time was slept, and inside the loop a sleep that sleeps the X seconds remaing in the background followed by a wait.</p>
<p>If the script now recieves a USR1 it can kill the wait, execute the trap and will continue the remaining sleep on the next iteration of the loop.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">#!/bin/bash </span></li><li>&nbsp;</li><li>initialize<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> </li><li>&nbsp;&nbsp;<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-o</span> nounset </li><li>&nbsp;&nbsp;<span style="color: #7a0874; font-weight: bold;">trap</span> cleanup INT TERM EXIT </li><li>&nbsp;&nbsp;<span style="color: #7a0874; font-weight: bold;">trap</span> print_foo USR1 </li><li><span style="color: #7a0874; font-weight: bold;">&#125;</span> </li><li>&nbsp;</li><li>cleanup<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span> </li><li>&nbsp;&nbsp;<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></li><li><span style="color: #7a0874; font-weight: bold;">&#125;</span> </li><li>&nbsp;</li><li>print_foo<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span></li><li>&nbsp;&nbsp;<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;foo&quot;</span></li><li><span style="color: #7a0874; font-weight: bold;">&#125;</span> </li><li>&nbsp;</li><li>initialize</li><li>&nbsp;</li><li><span style="color: #666666; font-style: italic;"># sleep 1 min</span></li><li><span style="color: #007800;">SLEEPTILL</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">'+%s'</span> <span style="color: #660033;">--date</span>=<span style="color: #ff0000;">&quot;+1 min&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></li><li>&nbsp;</li><li><span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">'+%s'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">-lt</span> <span style="color: #800000;">${SLEEPTILL}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></li><li><span style="color: #000000; font-weight: bold;">do</span></li><li>&nbsp;&nbsp;<span style="color: #c20cb9; font-weight: bold;">sleep</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">bc</span> <span style="color: #000000; font-weight: bold;">&lt;&lt;&lt;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SLEEPTILL}</span> - <span style="color: #007800;">$(date '+%s')</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&amp;</span></li><li>&nbsp;&nbsp;<span style="color: #007800;">BACKGROUND</span>=<span style="color: #007800;">$!</span></li><li>&nbsp;&nbsp;<span style="color: #7a0874; font-weight: bold;">wait</span> <span style="color: #007800;">$BACKGROUND</span></li><li><span style="color: #000000; font-weight: bold;">done</span></li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>


<p>Related posts:<ol><li><a href='http://www.dopefish.de/archives/551' rel='bookmark' title='Permanent Link: bash scripting &#8230; switching into directory of the script'>bash scripting &#8230; switching into directory of the script</a> <small>Sometimes it is useful to switch into the directory of...</small></li>
<li><a href='http://www.dopefish.de/archives/301' rel='bookmark' title='Permanent Link: self0wned'>self0wned</a> <small>Doh, I was just writing a bash script to calculate...</small></li>
<li><a href='http://www.dopefish.de/archives/591' rel='bookmark' title='Permanent Link: Mythtv and IR Blaster'>Mythtv and IR Blaster</a> <small>We use a set-top-box as the video source for mythtv....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/524/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cookies &#8230;</title>
		<link>http://www.dopefish.de/archives/517</link>
		<comments>http://www.dopefish.de/archives/517#comments</comments>
		<pubDate>Tue, 29 Sep 2009 20:56:45 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=517</guid>
		<description><![CDATA[I made some of my cookies this evening and used the opportunity to take some pictures. The lighting wasn&#8217;t perfect, so everything has a slight yellow tint. I decided to leave the pictures that way instead of trying to correct the problem in Photoshop.

            [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I made some of my <a href="http://www.dopefish.de/archives/104">cookies</a> this evening and used the opportunity to take some pictures. The lighting wasn&#8217;t perfect, so everything has a slight yellow tint. I decided to leave the pictures that way instead of trying to correct the problem in Photoshop.</p>
<p><script type="text/javascript">
            function startGallery_6() { 
              var myGallery = new gallery($("myGallery_6"), {                  timed: false,         showCarousel: true,         showInfopane: false,           showArrows: true,           embedLinks: false, slideInfoZoneOpacity: 0.80, textShowCarousel: "Overview of Pictures"   });
              
              document.getElementById("myGallery_6").style.display = "block";
           }
            window.addEvent("domready", startGallery_6);
          </script>
         <div style="width: 500px; height: 375px; border:0px solid; margin:0px auto; clear:both;"><div id="myGallery_6" class="myGallery" style="display:none; width: 500px !important; height: 375px !important;"><div class="imageElement">  <h3> dsc_keks_1</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_1.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_1.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/cookies/thumbs/thumbs_dsc_keks_1.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_keks_2</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_2.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_2.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/cookies/thumbs/thumbs_dsc_keks_2.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_keks_3</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_3.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_3.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/cookies/thumbs/thumbs_dsc_keks_3.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_keks_4</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_4.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/cookies/dsc_keks_4.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/cookies/thumbs/thumbs_dsc_keks_4.jpg" class="thumbnail" /></div> </div></div></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/517/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Wordpress -&gt; Facebook addon</title>
		<link>http://www.dopefish.de/archives/512</link>
		<comments>http://www.dopefish.de/archives/512#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:35:44 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=512</guid>
		<description><![CDATA[I&#8217;m currently trying out the &#8220;Status Updater&#8221; addon for Wordpress since the latest version supports adding the status as a link to the facebook page &#8230;


Related posts:Blog  Facebook So I finally got around to getting Facebook to automatically...
Wordpress, Lightbox &#038; SmoothGallery Since I just spent an hour debugging a problem that...
Virtualbox I&#8217;ve been playing [...]


Related posts:<ol><li><a href='http://www.dopefish.de/archives/361' rel='bookmark' title='Permanent Link: Blog <-> Facebook'>Blog <-> Facebook</a> <small>So I finally got around to getting Facebook to automatically...</small></li>
<li><a href='http://www.dopefish.de/archives/477' rel='bookmark' title='Permanent Link: Wordpress, Lightbox &#038; SmoothGallery'>Wordpress, Lightbox &#038; SmoothGallery</a> <small>Since I just spent an hour debugging a problem that...</small></li>
<li><a href='http://www.dopefish.de/archives/368' rel='bookmark' title='Permanent Link: Virtualbox'>Virtualbox</a> <small>I&#8217;ve been playing around with Virtualbox here at work the...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently trying out the &#8220;<a href="http://www.francesco-castaldo.com/plugins-and-widgets/fb-status-updater/">Status Updater</a>&#8221; addon for Wordpress since the latest version supports adding the status as a link to the facebook page &#8230;</p>


<p>Related posts:<ol><li><a href='http://www.dopefish.de/archives/361' rel='bookmark' title='Permanent Link: Blog <-> Facebook'>Blog <-> Facebook</a> <small>So I finally got around to getting Facebook to automatically...</small></li>
<li><a href='http://www.dopefish.de/archives/477' rel='bookmark' title='Permanent Link: Wordpress, Lightbox &#038; SmoothGallery'>Wordpress, Lightbox &#038; SmoothGallery</a> <small>Since I just spent an hour debugging a problem that...</small></li>
<li><a href='http://www.dopefish.de/archives/368' rel='bookmark' title='Permanent Link: Virtualbox'>Virtualbox</a> <small>I&#8217;ve been playing around with Virtualbox here at work the...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/512/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Serverdown</title>
		<link>http://www.dopefish.de/archives/508</link>
		<comments>http://www.dopefish.de/archives/508#comments</comments>
		<pubDate>Mon, 21 Sep 2009 21:34:47 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=508</guid>
		<description><![CDATA[Server was down for the last 6 hours due to me updating a few stuff that really really didn&#8217;t work out too well (grub, xen and kernel at the same time). I gave up and afer a few hours of work managed to revert back to the old configuration so I can recieve mail again [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Server was down for the last 6 hours due to me updating a few stuff that really really didn&#8217;t work out too well (grub, xen and kernel at the same time). I gave up and afer a few hours of work managed to revert back to the old configuration so I can recieve mail again till I figure out what went wrong. Server may be down tomorrow a bit too while I try to figure out what exactly broke and try to at least get grub and xen updated.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/508/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schwetzingen Castle</title>
		<link>http://www.dopefish.de/archives/504</link>
		<comments>http://www.dopefish.de/archives/504#comments</comments>
		<pubDate>Sun, 20 Sep 2009 13:20:39 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[castle]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[schwetzingen]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=504</guid>
		<description><![CDATA[Yesterday we made a short trip to the castle in Schwetzingen, while we were there I took some photos around the castle.

            function startGallery_5() { 
              var myGallery = new gallery($("myGallery_5"), [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Yesterday we made a short trip to the castle in Schwetzingen, while we were there I took some photos around the castle.</p>
<p><script type="text/javascript">
            function startGallery_5() { 
              var myGallery = new gallery($("myGallery_5"), {                  timed: false,         showCarousel: true,         showInfopane: false,           showArrows: true,           embedLinks: false, slideInfoZoneOpacity: 0.80, textShowCarousel: "Overview of Pictures"   });
              
              document.getElementById("myGallery_5").style.display = "block";
           }
            window.addEvent("domready", startGallery_5);
          </script>
         <div style="width: 500px; height: 375px; border:0px solid; margin:0px auto; clear:both;"><div id="myGallery_5" class="myGallery" style="display:none; width: 500px !important; height: 375px !important;"><div class="imageElement">  <h3> dsc_1995</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_1995.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_1995.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_1995.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_1996</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_1996.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_1996.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_1996.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2000</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2000.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2000.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_2000.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2003</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2003.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2003.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_2003.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2007</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2007.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2007.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_2007.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2011</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2011.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2011.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_2011.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2015</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2015.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2015.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_2015.jpg" class="thumbnail" /></div><div class="imageElement">  <h3> dsc_2018</h3>  <p style="color: #FFF000;"> </p>  <a target="_blank" href="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2018.jpg" title="open image" class="open"></a>  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/dsc_2018.jpg" class="full" />  <img src="http://www.dopefish.de/wp-content/gallery/schlossschwetzingen/thumbs/thumbs_dsc_2018.jpg" class="thumbnail" /></div> </div></div></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/504/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
