<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>oliver @ blogging</title>
	
	<link>http://raduner.ch/blog</link>
	<description>Apple, IT, Internet und mehr</description>
	<lastBuildDate>Tue, 09 Mar 2010 16:52:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/oliverblogging" /><feedburner:info uri="oliverblogging" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>OS X: Airport lässt sich nicht deaktivieren</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/AUlQHSBTWLw/</link>
		<comments>http://raduner.ch/blog/2010/os-x-airport-lasst-sich-nicht-deaktivieren/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:52:59 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Problemlösungen]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1950</guid>
		<description><![CDATA[Heute hatte ich ein seltsames Problem mit AirPort auf meinem Mac. Und zwar konnte ich AirPort nicht mehr über das Menüelement deaktivieren. Es passierte einfach gar nichts, wenn der Befehl ausgewählt wurde.

Nach kurzer Suche fand ich den Grund in den AirPort-Settings. Wobei dies nicht unbedingt die Ursache ist, aber zumindest das &#8220;gewünschte&#8221; Verhalten zurückbrachte.
In den [...]]]></description>
			<content:encoded><![CDATA[<p>Heute hatte ich ein seltsames Problem mit AirPort auf meinem Mac. Und zwar konnte ich AirPort nicht mehr über das Menüelement deaktivieren. Es passierte einfach gar nichts, wenn der Befehl ausgewählt wurde.</p>
<p><img class="alignnone size-full wp-image-1951" title="AirPort Admin-Password Required 1" src="http://raduner.ch/blog/wp-content/uploads/2010/03/AirPort-Password-Requirement1.jpeg" alt="AirPort Admin-Password Required 1" width="399" height="311" /></p>
<p>Nach kurzer Suche fand ich den Grund in den AirPort-Settings. Wobei dies nicht unbedingt die Ursache ist, aber zumindest das &#8220;gewünschte&#8221; Verhalten zurückbrachte.</p>
<p><span id="more-1950"></span>In den AirPort-Einstellungen (Systemeinstellungen &gt; Netzwerk &gt; AirPort &gt; Weitere Optionen) lässt sich eine Option aktivieren, welche für das De- &amp; Aktivieren von AirPort nach dem Administrator-Passwort fragt.</p>
<p><a href="http://raduner.ch/blog/wp-content/uploads/2010/03/AirPort-Password-Requirement2.jpeg" rel="lightbox"><img class="alignnone size-medium wp-image-1952" title="AirPort Admin-Password Required 2" src="http://raduner.ch/blog/wp-content/uploads/2010/03/AirPort-Password-Requirement2-300x273.jpg" alt="AirPort Admin-Password Required 2" width="300" height="273" /></a></p>
<p><a href="http://raduner.ch/blog/wp-content/uploads/2010/03/AirPort-Password-Requirement3.jpg" rel="lightbox"><img class="alignnone size-medium wp-image-1953" title="AirPort Admin-Password Required 3" src="http://raduner.ch/blog/wp-content/uploads/2010/03/AirPort-Password-Requirement3-300x233.jpg" alt="AirPort Admin-Password Required 3" width="300" height="233" /></a></p>
<p>Sobald ich diese Einstellung deaktiviert hatte, konnte ich AirPort wie üblich via Menüleiste abschalten.</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/AUlQHSBTWLw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/os-x-airport-lasst-sich-nicht-deaktivieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/03/AirPort-Password-Requirement1-150x150.jpg" length="8634" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/os-x-airport-lasst-sich-nicht-deaktivieren/</feedburner:origLink></item>
		<item>
		<title>Doom 3 in Widescreen resolution</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/hl_3E0jrSsM/</link>
		<comments>http://raduner.ch/blog/2010/doom-3-in-widescreen-resolution/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 00:46:16 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Problemlösungen]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1938</guid>
		<description><![CDATA[
Recently I had some troubles with my Doom 3 game being f*cked up a little. One of the issues was, that the resolution has been reset to 640&#215;480 pixel and I could only change it back to 1024&#215;768 pixel the max.
However, I was able to fix it and playing in pretty widescreen again. Here is [...]]]></description>
			<content:encoded><![CDATA[<div style="display:block; text-align:center;"><img src="http://raduner.ch/blog/wp-content/uploads/2010/03/doom3_logo.jpg" alt="Doom 3 Logo" title="Doom 3 Logo" width="300" height="155" class="alignnone size-full wp-image-1943" /></div>
<p>Recently I had some troubles with my <a href="http://www.idsoftware.com/games/index.php" title="id Software - Games">Doom 3 game</a> being f*cked up a little. One of the issues was, that the resolution has been reset to 640&#215;480 pixel and I could only change it back to 1024&#215;768 pixel the max.</p>
<p>However, I was able to fix it and playing in pretty widescreen again. Here is what you need to do for your custom screen settings:</p>
<p><span id="more-1938"></span>The following 4 parameters from within your <strong>DoomConfig.cfg</strong>-file are important:</p>
<ul>
<li>r_customHeight</li>
<li>r_customWidth</li>
<li>r_aspectRatio</li>
<li>r_mode</li>
</ul>
<p>Here is an example from my own config, set to 16:9 widescreen with 1280&#215;800 pixel:</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">seta r_customHeight <span class="st0">&quot;800&quot;</span>
seta r_customWidth <span class="st0">&quot;1280&quot;</span>
seta r_mode <span class="st0">&quot;-1&quot;</span>
seta r_aspectRatio <span class="st0">&quot;1&quot;</span></div>
</div>
</pre>
<p>The value &#8220;r_aspectRatio&#8221; can be set to&#8230;</p>
<ul>
<li>&#8220;0&#8243; for 4:3</li>
<li>&#8220;1&#8243; for 16:9</li>
<li>&#8220;2&#8243; for 16:10</li>
</ul>
<p>&#8220;r_mode&#8221; set to -1 tells the game to use the values for r_customHeight and r_customWidth.</p>
<h3>References used</h3>
<p><a href="http://www.hardforum.com/archive/index.php/t-889043.html" title="hardforum.com - Doom 3 - Resurrection of Evil widescreen support?">Doom 3 Resurrection &#8211; widescreen support?</a><br />
<a href="http://www.tweakguides.com/Doom3_8.html" title="TweakGuides.com - Doom 3 Tweak Guide<br />
| Advanced Tweaking (Pt.2)">Doom 3 Tweak Guide</a></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/hl_3E0jrSsM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/doom-3-in-widescreen-resolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/03/doom3_logo-150x150.jpg" length="8656" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/doom-3-in-widescreen-resolution/</feedburner:origLink></item>
		<item>
		<title>Fading Images using JavaScript</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/8AXOxmcORs8/</link>
		<comments>http://raduner.ch/blog/2010/fading-images-using-javascript/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:33:22 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Bilder]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1892</guid>
		<description><![CDATA[Here I show the code which I used to add fading banner images with a fixed logo on a webpage.]]></description>
			<content:encoded><![CDATA[<p>I recently used a slightly modified version of <a href="http://slayeroffice.com/code/imageCrossFade/xfade2.html">Steve&#8217;s &#8220;Image Cross Fade&#8221;-JavaScript</a> to animate a fading banner image on a customer&#8217;s website.<br />
Plus there was the request to have the site&#8217;s logo floating all time above the images.</p>
<p>Here is the code with which I achieved both requests successfully.<br />
<span id="more-1892"></span><br />
<h3>JavaScript (functions.js)</h3 >
<pre style="overflow:auto;">
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;">window.<span class="me1">addEventListener</span><span class="sy0">?</span>window.<span class="me1">addEventListener</span><span class="br0">&#40;</span><span class="st0">&quot;load&quot;</span><span class="sy0">,</span>so_init<span class="sy0">,</span><span class="kw2">false</span><span class="br0">&#41;</span><span class="sy0">:</span>window.<span class="me1">attachEvent</span><span class="br0">&#40;</span><span class="st0">&quot;onload&quot;</span><span class="sy0">,</span>so_init<span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">var</span> d<span class="sy0">=</span>document<span class="sy0">,</span> zInterval<span class="sy0">=</span><span class="kw2">null</span><span class="sy0">,</span> current<span class="sy0">=</span>0<span class="sy0">,</span> timeout<span class="sy0">=</span>10000<span class="sy0">,</span>pause<span class="sy0">=</span><span class="kw2">false</span><span class="sy0">,</span> imgs<span class="sy0">=</span><span class="kw2">new</span> Array<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>

<span class="kw2">function</span> so_init<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><span class="sy0">!</span>d.<span class="me1">getElementById</span> <span class="sy0">||</span> <span class="sy0">!</span>d.<span class="me1">createElement</span><span class="br0">&#41;</span><span class="kw1">return</span><span class="sy0">;</span>

&nbsp; &nbsp; &nbsp; &nbsp; imgs <span class="sy0">=</span> d.<span class="me1">getElementById</span><span class="br0">&#40;</span><span class="st0">&quot;imageContainer&quot;</span><span class="br0">&#41;</span>.<span class="me1">getElementsByTagName</span><span class="br0">&#40;</span><span class="st0">&quot;img&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span><span class="br0">&#40;</span>i<span class="sy0">=</span><span class="nu0">1</span><span class="sy0">;</span>i<span class="sy0">&lt;</span>imgs.<span class="me1">length</span><span class="sy0">;</span>i<span class="sy0">++</span><span class="br0">&#41;</span> imgs<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="me1">xOpacity</span> <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// My modification: pick a random image to display first</span>
&nbsp; &nbsp; &nbsp; &nbsp; current <span class="sy0">=</span> Math.<span class="me1">floor</span><span class="br0">&#40;</span>Math.<span class="me1">random</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">*</span>imgs.<span class="me1">length</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; imgs<span class="br0">&#91;</span>current<span class="br0">&#93;</span>.<span class="me1">style</span>.<span class="me1">display</span> <span class="sy0">=</span> <span class="st0">&quot;block&quot;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; imgs<span class="br0">&#91;</span>current<span class="br0">&#93;</span>.<span class="me1">xOpacity</span> <span class="sy0">=</span> .99<span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; setTimeout<span class="br0">&#40;</span>so_xfade<span class="sy0">,</span>timeout<span class="br0">&#41;</span><span class="sy0">;</span>
<span class="br0">&#125;</span>

<span class="kw2">function</span> so_xfade<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; cOpacity <span class="sy0">=</span> imgs<span class="br0">&#91;</span>current<span class="br0">&#93;</span>.<span class="me1">xOpacity</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; nIndex <span class="sy0">=</span> imgs<span class="br0">&#91;</span>current<span class="sy0">+</span>1<span class="br0">&#93;</span><span class="sy0">?</span>current<span class="sy0">+</span>1<span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>

&nbsp; &nbsp; &nbsp; &nbsp; nOpacity <span class="sy0">=</span> imgs<span class="br0">&#91;</span>nIndex<span class="br0">&#93;</span>.<span class="me1">xOpacity</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; cOpacity<span class="sy0">-=</span>.05<span class="sy0">;</span> 
&nbsp; &nbsp; &nbsp; &nbsp; nOpacity<span class="sy0">+=</span>.05<span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; imgs<span class="br0">&#91;</span>nIndex<span class="br0">&#93;</span>.<span class="me1">style</span>.<span class="me1">display</span> <span class="sy0">=</span> <span class="st0">&quot;block&quot;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; imgs<span class="br0">&#91;</span>current<span class="br0">&#93;</span>.<span class="me1">xOpacity</span> <span class="sy0">=</span> cOpacity<span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; imgs<span class="br0">&#91;</span>nIndex<span class="br0">&#93;</span>.<span class="me1">xOpacity</span> <span class="sy0">=</span> nOpacity<span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; setOpacity<span class="br0">&#40;</span>imgs<span class="br0">&#91;</span>current<span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span> 
&nbsp; &nbsp; &nbsp; &nbsp; setOpacity<span class="br0">&#40;</span>imgs<span class="br0">&#91;</span>nIndex<span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>cOpacity<span class="sy0">&lt;=</span><span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; imgs<span class="br0">&#91;</span>current<span class="br0">&#93;</span>.<span class="me1">style</span>.<span class="me1">display</span> <span class="sy0">=</span> <span class="st0">&quot;none&quot;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; current <span class="sy0">=</span> nIndex<span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setTimeout<span class="br0">&#40;</span>so_xfade<span class="sy0">,</span>timeout<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setTimeout<span class="br0">&#40;</span>so_xfade<span class="sy0">,</span>50<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">function</span> setOpacity<span class="br0">&#40;</span>obj<span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>obj.<span class="me1">xOpacity</span><span class="sy0">&gt;</span>.99<span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.<span class="me1">xOpacity</span> <span class="sy0">=</span> .99<span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.<span class="me1">style</span>.<span class="me1">opacity</span> <span class="sy0">=</span> obj.<span class="me1">xOpacity</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.<span class="me1">style</span>.<span class="me1">MozOpacity</span> <span class="sy0">=</span> obj.<span class="me1">xOpacity</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.<span class="me1">style</span>.<span class="me1">filter</span> <span class="sy0">=</span> <span class="st0">&quot;alpha(opacity=&quot;</span> <span class="sy0">+</span> <span class="br0">&#40;</span>obj.<span class="me1">xOpacity</span><span class="sy0">*</span><span class="nu0">100</span><span class="br0">&#41;</span> <span class="sy0">+</span> <span class="st0">&quot;)&quot;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
&nbsp; &nbsp; &nbsp; &nbsp; 
<span class="br0">&#125;</span></div>
</div>
</pre>
<p>&nbsp;</p>
<h3>CSS (stylesheet.css)</h3>
<pre style="overflow:auto;">
<div class="codesnip-container" >
<div class="css codesnip" style="font-family:monospace;"><span class="re0">#topBanner</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">position</span><span class="sy0">:</span> <span class="kw2">relative</span><span class="sy0">;</span>
<span class="br0">&#125;</span>

<span class="re0">#topBanner</span> <span class="re0">#logo</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">block</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">background</span><span class="sy0">:</span> <span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">images/logo.png</span><span class="br0">&#41;</span> <span class="kw1">top</span> <span class="kw1">left</span> <span class="kw2">no-repeat</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">top</span><span class="sy0">:</span> <span class="re3">10px</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">left</span><span class="sy0">:</span> <span class="re3">5px</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">width</span><span class="sy0">:</span> <span class="re3">135px</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">height</span><span class="sy0">:</span> <span class="re3">20px</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">position</span><span class="sy0">:</span> <span class="kw2">absolute</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">z-index</span><span class="sy0">:</span><span class="nu0">100</span><span class="sy0">;</span>
<span class="br0">&#125;</span>

<span class="re0">#topBanner</span> <span class="re0">#imageContainer</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">height</span><span class="sy0">:</span> <span class="nu0">295</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">position</span><span class="sy0">:</span> <span class="kw2">relative</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">z-index</span><span class="sy0">:</span> <span class="nu0">20</span><span class="sy0">;</span>
<span class="br0">&#125;</span>

<span class="re0">#topBanner</span> <span class="re0">#imageContainer</span> img <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">display</span><span class="sy0">:</span><span class="kw2">none</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">position</span><span class="sy0">:</span><span class="kw2">absolute</span><span class="sy0">;</span>
<span class="br0">&#125;</span></div>
</div>
</pre>
<p>&nbsp;</p>
<h3>HTML (index.html)</h3>
<pre style="overflow:auto;">
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;topBanner&quot;</span>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;logo&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;logo&quot;</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;imageContainer&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;imageContainer&quot;</span>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<a href="http://december.com/html/4/element/noscript.html"><span class="kw2">noscript</span></a>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span class="kw2">img</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;topBannerImg&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;topBannerImg&quot;</span> <span class="kw3">alt</span><span class="sy0">=</span><span class="st0">&quot;wehr-dich.ch&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;images/banner/auberg.jpg&quot;</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;1000&quot;</span> <span class="kw3">height</span><span class="sy0">=</span><span class="st0">&quot;338&quot;</span> <span class="kw3">border</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/noscript.html"><span class="kw2">noscript</span></a>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<a href="http://december.com/html/4/element/img.html"><span class="kw2">img</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;banner1&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;banner1&quot;</span> <span class="kw3">alt</span><span class="sy0">=</span><span class="st0">&quot;&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;images/banner1.jpg&quot;</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;520&quot;</span> <span class="kw3">height</span><span class="sy0">=</span><span class="st0">&quot;295&quot;</span> <span class="kw3">border</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="sy0">/</span>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<a href="http://december.com/html/4/element/img.html"><span class="kw2">img</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;banner2&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;banner2&quot;</span> <span class="kw3">alt</span><span class="sy0">=</span><span class="st0">&quot;&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;images/banner2.jpg&quot;</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;520&quot;</span> <span class="kw3">height</span><span class="sy0">=</span><span class="st0">&quot;295&quot;</span> <span class="kw3">border</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="sy0">/</span>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<a href="http://december.com/html/4/element/img.html"><span class="kw2">img</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;banner3&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;banner3&quot;</span> <span class="kw3">alt</span><span class="sy0">=</span><span class="st0">&quot;&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;images/banner3.jpg&quot;</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;520&quot;</span> <span class="kw3">height</span><span class="sy0">=</span><span class="st0">&quot;295&quot;</span> <span class="kw3">border</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="sy0">/</span>&gt;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span>
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span></div>
</div>
</pre>
<p>&nbsp;</p>
<h3>Live Demonstration:</h3>
<p><script language="JavaScript" type="text/javascript">window.addEventListener?window.addEventListener("load",so_init,false):window.attachEvent("onload",so_init);var d=document,zInterval=null,current=0,timeout=2000,pause=false,imgs=new Array();function so_init(){if(!d.getElementById||!d.createElement)return;imgs=d.getElementById("imageContainer").getElementsByTagName("img");for(i=1;i<imgs.length;i++)imgs[i].xOpacity=0;current=Math.floor(Math.random()*imgs.length);imgs[current].style.display="block";imgs[current].xOpacity=.99;setTimeout(so_xfade,timeout)}function so_xfade(){cOpacity=imgs[current].xOpacity;nIndex=imgs[current+1]?current+1:0;nOpacity=imgs[nIndex].xOpacity;cOpacity-=.05;nOpacity+=.05;imgs[nIndex].style.display="block";imgs[current].xOpacity=cOpacity;imgs[nIndex].xOpacity=nOpacity;setOpacity(imgs[current]);setOpacity(imgs[nIndex]);if(cOpacity<=0){imgs[current].style.display="none";current=nIndex;setTimeout(so_xfade,timeout)}else{setTimeout(so_xfade,50)}function setOpacity(obj){if(obj.xOpacity>.99){obj.xOpacity=.99;return}obj.style.opacity=obj.xOpacity;obj.style.MozOpacity=obj.xOpacity;obj.style.filter="alpha(opacity="+(obj.xOpacity*100)+")"}}</script></p>
<style type="text/css">#topBanner,#topBanner #imageContainer{position:relative;height:295px;width:520px;}#topBanner #logo{display:block;background:url(http://raduner.ch/blog/wp-content/uploads/2010/03/logo.png) top left no-repeat;top:35px;left:20px;width:135px;height:20px;z-index:100}#topBanner #logo,#topBanner #imageContainer img{position:absolute}#topBanner #imageContainer{height:295;z-index:20}#topBanner #imageContainer img{display:none}</style>
<p><span style="display:block;">
<div id="topBanner">
<div name="logo" id="logo"></div>
<div name="imageContainer" id="imageContainer" onclick="">
		<noscript><img name="noScriptBanner" id="noScriptBanner" alt="" src="http://raduner.ch/blog/wp-content/uploads/2010/03/banner1.jpg" width="520" height="295" border="0" /></noscript><br />
		<img name="banner1" id="banner1" alt="" src="http://raduner.ch/blog/wp-content/uploads/2010/03/banner1.jpg" width="520" height="295" border="0" /><img name="banner2" id="banner2" alt="" src="http://raduner.ch/blog/wp-content/uploads/2010/03/banner2.jpg" width="520" height="295" border="0" /><img name="banner3" id="banner3" alt="" src="http://raduner.ch/blog/wp-content/uploads/2010/03/banner3.jpg" width="520" height="295" border="0" />
	</div>
</div>
<p></span></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/8AXOxmcORs8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/fading-images-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/03/banner1-150x150.jpg" length="5111" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/fading-images-using-javascript/</feedburner:origLink></item>
		<item>
		<title>My Blog’s 4-years-retrospect</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/09JIm6o5enM/</link>
		<comments>http://raduner.ch/blog/2010/4-years-blog-retrospect/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 22:06:33 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1862</guid>
		<description><![CDATA[Today, my Blog is already online its 4th year. Time to give a retrospect and throw some statistics in your face.]]></description>
			<content:encoded><![CDATA[<p>Today, my Blog is already online its 4th year. Time to give a retrospect and throw some statistics in your face.</p>
<h3>Posts vs. Timeline 12.02.2006 &#8211; 12.02.2010</h3>
<p><a href="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Timeline-2006-2010.png" rel="attachment wp-att-1866"><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Timeline-2006-2010-300x22.png" alt="Blog Timeline 2006-2010" title="Blog Timeline 2006-2010" width="300" height="22" class="alignnone size-medium wp-image-1866" /></a><br />
<small><i>(PNG, 856 KB / Credits <a href="http://www.beedocs.com/" title="Bee Docs Timeline for Mac OS X">Timeline 3D</a>)</i></small></p>
<p><span id="more-1862"></span><br />
<h3>Blog contents</h3>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Post-Comments-Summary-20100212.png" alt="Blog Post Comments Summary 20100212" title="Blog Post Comments Summary 20100212" width="494" height="179" class="alignnone size-full wp-image-1875" style="border:none;" /></p>
<h3>Top 10 Contents</h3>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Top-10-Content-20100212.png" alt="Blog Top 10 Content 20100212" title="Blog Top 10 Content 20100212" width="443" height="293" class="alignnone size-full wp-image-1867" /></p>
<h3>Top 10 Referring Sites</h3>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Top-10-Referring-Sites-20100212.png" alt="Blog Top 10 Referring Sites 20100212" title="Blog Top 10 Referring Sites 20100212" width="501" height="262" class="alignnone size-full wp-image-1869" /></p>
<h3>Faithful Readers of <a href="http://raduner.ch/blog/feed/" title="oliver @ blogging RSS-Feed">my Blog&#8217;s RSS-Feed</a> (<i>Thank you!</i>)</h3>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Feed-Subscribers-20100212.png" alt="Blog Feed Subscribers 20100212" title="Blog Feed Subscribers 20100212" width="482" height="65" class="alignnone size-full wp-image-1864" /><br />
<small><i>(Taken from <a href="http://www.feedburner.com/" title="Google FeedBurner">FeedBurner</a>)</i></small></p>
<h3>Map showing where my Readers are located</h3>
<p><a href="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Visitors-20100212.png" rel="attachment wp-att-1870 lightbox"><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Visitors-20100212-300x169.png" alt="Blog Visitors 20100212" title="Blog Visitors 20100212" width="300" height="169" class="alignnone size-medium wp-image-1870" /></a><br />
<small><i>(Taken from <a href="#googleiswatchingyou">Google Analytics</a>)</i></small></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/09JIm6o5enM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/4-years-blog-retrospect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/02/Blog-Feed-Subscribers-20100212-150x65.png" length="749" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/4-years-blog-retrospect/</feedburner:origLink></item>
		<item>
		<title>Mysterious “You have new mail” in OS X Terminal</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/3SXJ8rZnED4/</link>
		<comments>http://raduner.ch/blog/2010/mysterious-you-have-new-mail-in-os-x-terminal/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 21:52:55 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1849</guid>
		<description><![CDATA[Resolve the mystery about the strange notice "You have new mail" in your OS X Terminal window.]]></description>
			<content:encoded><![CDATA[<p>Recently I discovered a mysterious message showing up in every new Terminal window I opened under OS X. The notice simply read <strong>&#8220;You have new mail&#8221;</strong>:</p>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/02/New-Mail-in-OS-X-Terminal.png" alt="You Have New Mail in OS X Terminal" title="You Have New Mail in OS X Terminal" width="532" height="350" class="alignnone size-full wp-image-1848" style="border:none;" /></p>
<p>First I thought this was something that had been put in the Terminal&#8217;s startup message (called motd &#8211; Message of the Day, which can be edited with &#8220;$&nbsp;pico&nbsp;/etc/motd&#8221;). However, this was not the case.<br />
<span style="color:#fff;" title="While talking about mysterious... harhar">KTJGPTNURUHF</span><br />
<span id="more-1849"></span>Fortunately a short web-search <a href="http://forums.macosxhints.com/showthread.php?t=90385" title="Mac OS X Hints - Terminal 'You have new mail'">delivered the answer and solution</a> to this strange occurrence: the message is a part of the built-in Unix mail processing system, <a href="#more" title="Refer to 'Further Reading'">called &#8220;mail&#8221; or &#8220;mailx&#8221;</a>.</p>
<p>This application provides a functionality called &#8220;sendmail&#8221; which is commonly used in website development to generate an e-mail, for example in a contact form. And this was also the reason why I had that suspicious mail notice in my Terminal.</p>
<h3>How to get rid of those messages</h3>
<p>By using the follwing Terminal command, you will receive an overview of the mail messages &#8211; namely the mail inbox:</p>
<pre style="overflow-x:scroll;">
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">$ mailx <span class="co0">#launches the unix mail app</span>
Mail version 8.1 6<span class="sy0">/</span>6<span class="sy0">/</span>93. &nbsp;Type ? <span class="kw1">for</span> help.
<span class="st0">&quot;/var/mail/user&quot;</span>: <span class="nu0">1</span> message <span class="nu0">1</span> unread
<span class="sy0">&gt;</span>U &nbsp;<span class="nu0">1</span> MAILER-DAEMON<span class="sy0">@</span>... &nbsp;Mon Feb &nbsp;<span class="nu0">8</span> <span class="nu0">21</span>:<span class="nu0">41</span> &nbsp;<span class="nu0">81</span><span class="sy0">/</span><span class="nu0">2505</span> &nbsp;<span class="st0">&quot;Undelivered Mail Returned to Sender&quot;</span>
?</div>
</div>
</pre>
<p>&nbsp;</p>
<p>The prefix &#8220;U&#8221; stands for &#8220;Unread&#8221;. There are other prefixes such as &#8220;N&#8221;&nbsp;=&nbsp;New and &#8220;>&nbsp;&#8221;&nbsp;=&nbsp;Read.<br />
From here you can use now several commands to handle the messages (display the list using &#8220;?&#8221;):</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">? ? <span class="br0">&#91;</span>RETURN<span class="br0">&#93;</span></div>
</div>
</pre>
<style type="text/css">
tr:nth-child(even) { background-color:#dce7f3; }
tr:nth-child(odd) { background-color:#fff; }
</style>
<table width="100%">
<tr>
<th width="20%">
<pre><strong>Command</strong></pre>
</th>
<th width="80%">
<pre><strong>Description</strong></pre>
</th>
</tr>
<tr>
<td>
<pre>t <message list></pre>
</td>
<td>
<pre>type messages</pre>
</td>
</tr>
<tr>
<td>
<pre>n</pre>
</td>
<td>
<pre>goto and type next message</pre>
</td>
</tr>
<tr>
<td>
<pre>e <message list></pre>
</td>
<td>
<pre>edit messages</pre>
</td>
</tr>
<tr>
<td>
<pre>f <message list></pre>
</td>
<td>
<pre>give head lines of messages</pre>
</td>
</tr>
<tr>
<td>
<pre>d <message list></pre>
</td>
<td>
<pre>delete messages</pre>
</td>
</tr>
<tr>
<td>
<pre>s <message list></pre>
</td>
<td>
<pre>file append messages to file</pre>
</td>
</tr>
<tr>
<td>
<pre>u <message list></pre>
</td>
<td>
<pre>undelete messages</pre>
</td>
</tr>
<tr>
<td>
<pre>R <message list></pre>
</td>
<td>
<pre>reply to message senders</pre>
</td>
</tr>
<tr>
<td>
<pre>r <message list></pre>
</td>
<td>
<pre>reply to message senders and all recipients</pre>
</td>
</tr>
<tr>
<td>
<pre>pre <message list></pre>
</td>
<td>
<pre>make messages go back to /var/mail</pre>
</td>
</tr>
<tr>
<td>
<pre>m <user list></pre>
</td>
<td>
<pre>mail to specific users</pre>
</td>
</tr>
<tr>
<td>
<pre>q</pre>
</td>
<td>
<pre>quit, saving unresolved messages in mbox</pre>
</td>
</tr>
<tr>
<td>
<pre>x</pre>
</td>
<td>
<pre>quit, do not remove system mailbox</pre>
</td>
</tr>
<tr>
<td>
<pre>h</pre>
</td>
<td>
<pre>print out active message headers</pre>
</td>
</tr>
</table>
<p>&nbsp;</p>
<p>Most commonly you might want to read the message(s) and/or delete them. To do so, type:</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">? message-id <span class="br0">&#91;</span>RETURN<span class="br0">&#93;</span>
<span class="co0">#Use ctrl+v to skip through the message</span></div>
</div>
</pre>
<p>Afterwards simply use the following command to delete a message:</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">? d message-id <span class="br0">&#91;</span>RETURN<span class="br0">&#93;</span></div>
</div>
</pre>
<h3><a name="more"></a>Further reading</h3>
<ol>
<li>Type &#8220;$ man mail&#8221; into the Terminal</li>
<li><a href="http://heirloom.sourceforge.net/mailx_history.html" title="Heirloom Project - mail, Mail, mailx, nail—history notes">History of mail, Mail, mailx &#038; nail</a></li>
<li><a href="http://en.wikipedia.org/wiki/Mailx" title="Wikipedia - mailx">mailx</a> &#038; <a href="http://en.wikipedia.org/wiki/Mail_(Unix)" title="Wikipedia - mail (Unix)">mail</a> on Wikipedia</li>
</ol>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/3SXJ8rZnED4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/mysterious-you-have-new-mail-in-os-x-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://raduner.ch/blog/2010/mysterious-you-have-new-mail-in-os-x-terminal/</feedburner:origLink></item>
		<item>
		<title>OS X: Geek Alarm Clock</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/ENrDMArvHTo/</link>
		<comments>http://raduner.ch/blog/2010/os-x-geek-alarm-clock/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 20:21:05 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1828</guid>
		<description><![CDATA[Find out what a Geek's way is to set an audio-visual Alarm Clock under OS X]]></description>
			<content:encoded><![CDATA[<p style="float:right; padding-bottom:5px;"><img src="http://raduner.ch/blog/wp-content/uploads/2009/05/osxleopard_terminal-150x150.png" alt="" title="OS X Leopard Terminal Icon" width="130" height="130" class="alignnone size-thumbnail wp-image-1627" style="border:none;" /></p>
<p>There are for sure some visually nice alarm clocks to use on OS X, such like the <a href="http://www.baldgeeks.com/3-2-1.htm" title="baldgeeks.com - 3-2-1 Timer Widget">3-2-1 Dashboard timer-widget</a>.</p>
<p>But for real Geeks, there&#8217;s a way over the Terminal for activating an audio-visual reminder, using the following simple command:</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">$ leave hhmm
$ <span class="co0">#f.eg.: &quot;leave 0930&quot; meaning 21h30</span>
Alarm <span class="kw1">set</span> <span class="kw1">for</span> Mo <span class="nu0">8</span> Feb <span class="nu0">2010</span> <span class="nu0">21</span>:<span class="nu0">30</span>:00 CET. <span class="br0">&#40;</span>pid <span class="nu0">789</span><span class="br0">&#41;</span></div>
</div>
</pre>
<p>This activates a leave-timer which will alarm you 5 and 1 minute prior to the given time, such as at the exact time. The date is always your current day.</p>
<p>To disable the alarm, you need to quit the according process using the following kill-command:</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">$ <span class="kw2">kill</span> <span class="re5">-s</span> <span class="kw2">kill</span> pid
$ <span class="co0">#pid = 789 as in above example</span></div>
</div>
</pre>
<p>As usual, you can read all details about the &#8220;leave&#8221;-command by typing &#8220;man leave&#8221; in the  Terminal.</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/ENrDMArvHTo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/os-x-geek-alarm-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://raduner.ch/blog/2010/os-x-geek-alarm-clock/</feedburner:origLink></item>
		<item>
		<title>Safari: How-to add a “Tweet this”-shortcut</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/_Wu1le3T4yw/</link>
		<comments>http://raduner.ch/blog/2010/safari-how-to-add-a-tweet-this-shortcut/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 23:04:20 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1815</guid>
		<description><![CDATA[How-to add a "Tweet this"-shortcut to Safari, in order to tweet the webpage you are currently browsing.]]></description>
			<content:encoded><![CDATA[<p>I wanted to have a shortcut in Safari, which allows me to instantly post the Webpage I am currently browsing to <a href="http://twitter.com/">Twitter</a>.</p>
<p>Thanks to the service <a href="http://twitthis.com/" title="TwitThis - Twitter Promoter">TwitThis.com</a> and the <a href="http://ajax.twitthis.com/chuug.twitthis.scripts/twitthis.js" title="TwitThis JavaScript-file">JavaScript-Code they use</a>, I was able to create just what I desired:</p>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/01/Twit-This-Safari-Shortcut.png" alt="Twit This Safari Shortcut" title="Twit This Safari Shortcut" width="268" height="123" class="alignnone size-full wp-image-1825" /></p>
<p><span id="more-1815"></span></p>
<h3>Short &#8220;How-to&#8221; video</h3>
<p><object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/gl8HfKlLzfg&#038;hl=de_DE&#038;fs=1&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/gl8HfKlLzfg&#038;hl=de_DE&#038;fs=1&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></p>
<h3>Required JavaScript-Code for the Safari-shortcut</h3>
<pre style="overflow:scroll;">
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;">javascript<span class="sy0">:</span>window.<span class="kw3">open</span><span class="br0">&#40;</span><span class="st0">&quot;http://twitthis.com/twit?url=&quot;</span><span class="sy0">+</span>encodeURIComponent<span class="br0">&#40;</span>location.<span class="me1">href</span><span class="br0">&#41;</span><span class="sy0">+</span><span class="st0">&quot;&amp;title=&quot;</span><span class="sy0">+</span><span class="br0">&#40;</span><span class="br0">&#40;</span>document.<span class="me1">title</span><span class="br0">&#41;</span> <span class="sy0">?</span> encodeURIComponent<span class="br0">&#40;</span>document.<span class="me1">title</span>.<span class="me1">replace</span><span class="br0">&#40;</span><span class="co2">/^\s*|\s*$/g</span><span class="sy0">,</span><span class="st0">''</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="sy0">:</span> <span class="st0">&quot;&quot;</span><span class="br0">&#41;</span><span class="sy0">,</span> <span class="st0">&quot;TwitThisPop&quot;</span><span class="sy0">,</span> <span class="st0">&quot;width=600, height=600, location, status, scrollbars, resizable&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</div>
</pre>
<p>&nbsp;</p>
<h3>References used</h3>
<p><a href="http://twitthis.com/tools" title="TwitThis Tools">TwitThis.com Tools webpage</a></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/_Wu1le3T4yw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/safari-how-to-add-a-tweet-this-shortcut/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/01/Twit-This-Safari-Shortcut-150x123.png" length="10844" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/safari-how-to-add-a-tweet-this-shortcut/</feedburner:origLink></item>
		<item>
		<title>Excel: “ZÄHLENWENN” nur ein Teil der Werte dem Suchbegriff entspricht?</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/YTh5QFjO0Yg/</link>
		<comments>http://raduner.ch/blog/2010/excel-zahlenwenn-nur-ein-teil-der-werte-dem-suchbegriff-entspricht/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 20:58:34 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1803</guid>
		<description><![CDATA[
In Microsoft Excel ermöglicht die Funktion
=ZÄHLENWENN(Bereich;Suchkriterium)
das Zählen aller Vorkomnisse eines bestimmten Suchbegriffes innerhalb eines Zellenbereichs.
Was ist nun aber, wenn man die Werte im Zellenbereich nicht komplett mit dem Suchbegriff übereinstimmen?
Beispielsweise wenn ich in folgender Liste zählen will, wie oft der Suchbegriff &#8220;zug&#8221; vorkommt?
A1: Zugfahrer
B1: Kontrolleur
C1: Service
D1: Zugtechniker
E1: Aufzug
Mit =ZÄHLENWENN(A1:E1;&#8221;zug&#8221;) erhalte ich das Resultat &#8220;0&#8243; (was [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right;"><img src="http://raduner.ch/blog/wp-content/uploads/2010/01/Excel-2007-Logo-150x150.png" alt="Excel 2007 Logo" title="Excel 2007 Logo" width="150" height="150" class="alignnone size-thumbnail wp-image-1804" style="border:none;" /></p>
<p>In <a href="http://office.microsoft.com/de-de/excel/FX100487621031.aspx" title="Excel-Homepage">Microsoft Excel</a> ermöglicht die Funktion</p>
<p><b>=ZÄHLENWENN(Bereich;Suchkriterium)</b></p>
<p>das Zählen aller Vorkomnisse eines bestimmten Suchbegriffes innerhalb eines Zellenbereichs.</p>
<p>Was ist nun aber, wenn man die Werte im Zellenbereich nicht komplett mit dem Suchbegriff übereinstimmen?<br />
<span id="more-1803"></span>Beispielsweise wenn ich in folgender Liste zählen will, wie oft der Suchbegriff &#8220;zug&#8221; vorkommt?</p>
<p>A1: Zugfahrer<br />
B1: Kontrolleur<br />
C1: Service<br />
D1: Zugtechniker<br />
E1: Aufzug</p>
<p>Mit <i>=ZÄHLENWENN(A1:E1;&#8221;zug&#8221;)</i> erhalte ich das Resultat &#8220;0&#8243; (was ja eigentlich auch korrekt/logisch ist).</p>
<p>Man sollte hierfür wissen, dass Excel grundsätzlich das Zeichen * (Stern) als &#8220;Wildcard&#8221;-Zeichen (Spezialzeichen welches stellvertretend für 0, 1 oder mehrere Zeichen steht) interpretiert. Und dieses kann ich deshalb auch in meiner ZÄHLENWENN-Formel verwenden, um das  gewünschte Resultat zu erhalten. Die Formel sieht dann wie folgt aus:</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">=ZÄHLENWENN<span class="br0">&#40;</span>A1:E1;<span class="st0">&quot;*zug*&quot;</span><span class="br0">&#41;</span></div>
</div>
</pre>
<p>Hierfür erhalte ich nun korrekterweise das Resultat von &#8220;3&#8243;!</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/YTh5QFjO0Yg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/excel-zahlenwenn-nur-ein-teil-der-werte-dem-suchbegriff-entspricht/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/01/Excel-2007-Logo-150x150.png" length="19599" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/excel-zahlenwenn-nur-ein-teil-der-werte-dem-suchbegriff-entspricht/</feedburner:origLink></item>
		<item>
		<title>AppleScript: Move Files from specific Source- to Target-Folder</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/J_-hY7TLXU8/</link>
		<comments>http://raduner.ch/blog/2010/applescript-move-files-from-source-to-target/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 10:31:17 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Problemlösungen]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1789</guid>
		<description><![CDATA[I wanted to have an AppleScript application, that takes all files from a specific Source-Folder and moves them to a user defined Target-Folder.]]></description>
			<content:encoded><![CDATA[<p><center>
<p><img src="http://raduner.ch/blog/wp-content/uploads/2010/01/AppleScript-Logo.png" alt="AppleScript Logo" title="AppleScript Logo" width="128" height="128" class="alignnone size-full wp-image-1795" style="border:none;" /></p>
<p></center><br />
I wanted to have an AppleScript application, that takes all the files from a specific Source-Folder and moves* them to a user defined Target-Folder.</p>
<p>After searching my way through different Discussion Boards and the official AppleScript Language Guide, I came up with the following working piece of code:</p>
<p><span id="more-1789"></span>
<pre style="overflow:auto;">
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;"><a href="http://perldoc.perl.org/functions/tell.html"><span class="kw3">tell</span></a> application <span class="st0">&quot;Finder&quot;</span>
&nbsp; &nbsp; &nbsp; &nbsp; activate
&nbsp; &nbsp; &nbsp; &nbsp; set source_folder to choose folder with prompt <span class="st0">&quot;Please choose the Source-Folder:&quot;</span> default location <span class="br0">&#40;</span><span class="br0">&#40;</span>path to home folder<span class="br0">&#41;</span> as alias<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; set source_files to every file in source_folder
&nbsp; &nbsp; &nbsp; &nbsp; set target_folder to choose folder with prompt <span class="st0">&quot;Please choose the Taget-Folder:&quot;</span> default location <span class="br0">&#40;</span><span class="st0">&quot;:Applications:&quot;</span> as alias<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; repeat with i from 1 to number of items in source_files
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set source_file to <span class="br0">&#40;</span>item i of source_files<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; move source_file to <span class="br0">&#40;</span>target_folder<span class="br0">&#41;</span> <span class="sy0">--</span> <span class="kw2">use</span> <span class="st0">&quot;copy source_file to folder (target_folder as alias)&quot;</span> to copy the files
&nbsp; &nbsp; &nbsp; &nbsp; end repeat
&nbsp; &nbsp; &nbsp; &nbsp; set question to display dialog <span class="st0">&quot;Files have been moved. Move Source-Folder the trash?&quot;</span> buttons <span class="br0">&#123;</span><span class="st0">&quot;No, Thanks&quot;</span><span class="sy0">,</span> <span class="st0">&quot;Yes, Please&quot;</span><span class="br0">&#125;</span> default button 2
&nbsp; &nbsp; &nbsp; &nbsp; set answer to button returned of question
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> answer is equal to <span class="st0">&quot;Ja&quot;</span> <span class="kw1">then</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://perldoc.perl.org/functions/tell.html"><span class="kw3">tell</span></a> application <span class="st0">&quot;Finder&quot;</span> to <a href="http://perldoc.perl.org/functions/delete.html"><span class="kw3">delete</span></a> source_folder
&nbsp; &nbsp; &nbsp; &nbsp; end <span class="kw1">if</span>
&nbsp; &nbsp; &nbsp; &nbsp; display dialog <span class="st0">&quot;Files moved successfully.&quot;</span> buttons <span class="br0">&#123;</span><span class="st0">&quot;OK&quot;</span><span class="br0">&#125;</span> default button 1
end <a href="http://perldoc.perl.org/functions/tell.html"><span class="kw3">tell</span></a></div>
</div>
</pre>
<p>* If you want to do a <strong>copy, instead of moving</strong> the files, change the line</p>
<pre style="overflow:auto;">
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">move source_file to <span class="br0">&#40;</span>target_folder<span class="br0">&#41;</span></div>
</div>
</pre>
<p>to</p>
<pre style="overflow:auto;">
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">copy source_file to folder <span class="br0">&#40;</span>target_folder as alias<span class="br0">&#41;</span></div>
</div>
</pre>
<h3>Sources used</h3>
<ul>
<li><a href="http://www.macuser.de/forum/f30/dateien-verschieben-applescript-95666/">MacUser.de discussion about &#8220;Move Files using AppleScript&#8221; (DE)</a></li>
<li><a href="http://www.macuser.de/forum/f30/applescript-file-copy-10827/">MacUser.de discussion about &#8220;Copy Files using AppleScript&#8221; (DE)</a></li>
<li><a href="http://forums.macrumors.com/showpost.php?p=3300445&#038;postcount=10">Mac Rumors discussion about &#8220;AppleScript get list of Files&#8221;</a></li>
<li><a href="http://developer.apple.com/mac/library/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html">Apple&#8217;s official &#8220;AppleScript Language Guide&#8221;</a></li>
</ul>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/J_-hY7TLXU8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2010/applescript-move-files-from-source-to-target/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2010/01/AppleScript-Logo.png" length="15086" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2010/applescript-move-files-from-source-to-target/</feedburner:origLink></item>
		<item>
		<title>Urban Terror 4 Server configurations</title>
		<link>http://feedproxy.google.com/~r/oliverblogging/~3/aHvdbCkWjqE/</link>
		<comments>http://raduner.ch/blog/2009/urt4-server-configs/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 12:41:46 +0000</pubDate>
		<dc:creator>Oliver</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://raduner.ch/blog/?p=1770</guid>
		<description><![CDATA[I use to play Urban Terror from time to time with some friends, usually over the LAN when we meet somewhere. But we often have had some issues that stuff like Voting or the map-cycle did not work or meet our expectations, because of a wrong or no configuration of the server. Therefore I looked a bit into how to configure an UrT4 Server - and I will publish some of the main "Good-to-knows" here.]]></description>
			<content:encoded><![CDATA[<p style="float:right"><img src="http://raduner.ch/blog/wp-content/uploads/2009/12/urbanterrorlogo.png" alt="Urban Terror" title="Urban Terror Logo" width="100" height="75" class="alignnone size-full wp-image-1784" style="border:none;" /></p>
<p><a title="Urban Terror Website" href="http://www.urbanterror.net/">Urban Terror</a> is a stand-alone modification based on the Quake 3 engine.</p>
<p>I use to play this from time to time with <a title="swizz.Clan" href="http://swizzclan.ch/">some friends</a>, usually over the LAN when we meet somewhere. One of us guys does then start a local UrT4 Server, where the others can connect to and play. However, we often have had some issues that stuff like Voting or the map-cycle did not work or meet our expectations. Therefore I looked a bit into how to configure an UrT4 Server &#8211; and I will publish some of the main &#8220;Good-to-knows&#8221; here (most of it can also be found in the <a title="Urban Terror: FAQ" href="http://www.urbanterror.net/page.php?11">Urban Terror FAQ</a> on their website).<br />
<span id="more-1770"></span></p>
<h3>Play only the maps you like (= create a maplist)</h3>
<ol>
<li>There is a file named &#8220;mapcycle.txt&#8221; in your Quake 3 &gt; q3ut4 folder</li>
<li>Open and modify it, so that it holds only the maps (1 per line!) that you&#8217;d like to play</li>
</ol>
<h3>List all available maps </h3>
<ol>
<li>Start the game and open the console (alt+cmd+n on Mac)</li>
<li>Type &#8220;/map ut&#8221; and hit TAB &#8211; this will display a list of all maps</li>
</ol>
<h3>Ensure that people can auto-download a map they don&#8217;t have</h3>
<p>This one&#8217;s a little tricky, as it requires that you provide an URL to a website, where the map can be downloaded from. This is against what many think, that it will download it from the one who runs the UrT4 Server.</p>
<ol>
<li>When you started the server and you are in the game, open the console (alt+cmd+n)</li>
<li>Type &#8217;sv_dlURL &#8220;urbanterror.net&#8221;&#8216; and hit RETURN<br />
(replace &#8220;urbanterror.net&#8221; with any other website where the map is available under http://website.com/q3ut4/mapname.bsp)</li>
<li>As soon as somebody connects to your server now, he/she will be asked to download the map from that website.</li>
</ol>
<p>Alternatively you can you do this also by adding the &#8220;sv_dlURL&#8221;-parameter to your servers configuration file in Quake 3 &gt; q3ut4 &gt; server.cfg. But then you have to make sure that this will be loaded when Urban Terror is being started. To do so, open autoexec.cfg within the q3ut4 folder, and add the following command: exec server.cfg</p>
<h3>Enable voting</h3>
<p>I got Voting only to work when starting the server over a properly configured server.cfg file (see above). However, basically it is controled by the command &#8220;g_allowvote&#8221;:</p>
<ol>
<li>Check this website, to receive the bitmap (parameter value) specifying what people can vote for: <a title="Urban Terror g_allowVote Calculator" href="http://www.urbanterror.net/allowvote_calc.html">http://www.urbanterror.net/allowvote_calc.html</a></li>
<li>Start the game server and open the console (alt+cmd+n)</li>
<li>Type /g_allowvote &#8220;536871517&#8243; and hit RETURN<br />
(between the brackets you must add of course the prior calculated  value)</li>
</ol>
<img src="http://feeds.feedburner.com/~r/oliverblogging/~4/aHvdbCkWjqE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://raduner.ch/blog/2009/urt4-server-configs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<enclosure url="http://raduner.ch/blog/wp-content/uploads/2009/12/urbanterrorlogo.png" length="6068" type="image/jpg" />	<feedburner:origLink>http://raduner.ch/blog/2009/urt4-server-configs/</feedburner:origLink></item>
	</channel>
</rss>
