<?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>you know</title>
	<atom:link href="http://nico.you-know.org/feed" rel="self" type="application/rss+xml" />
	<link>http://nico.you-know.org</link>
	<description>Don`t you?</description>
	<lastBuildDate>Mon, 15 Feb 2010 22:53:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bookmarklet f&#252;r Translation Orgy</title>
		<link>http://nico.you-know.org/2010/02/15/bookmarklet-fuer-translation-orgy</link>
		<comments>http://nico.you-know.org/2010/02/15/bookmarklet-fuer-translation-orgy#comments</comments>
		<pubDate>Mon, 15 Feb 2010 22:51:20 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=684</guid>
		<description><![CDATA[Nachdem es mir Bookmarklets ziemlich angetan haben, musste doch direkt auch eins f&#252;r Translation Orgy her. Peter hat es mit E-Mails versucht, wieso also nicht auch Webseiten qualitativ hochwertig von Sinn befreien? Oder, um es mal anders zu sagen:
Wie bei den Text-Version der Brandung, m&#246;chten Sie von der Mitte laufen? Bookmarklet &#252;bersetzt einzige Chance! (zur [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nico.you-know.org/wp-content/2010/02/translationorgy.png" rel="lightbox[684]"><img class="alignleft size-medium wp-image-685" title="translationorgy" src="http://nico.you-know.org/wp-content/2010/02/translationorgy-300x179.png" alt="" width="240" height="143" /></a>Nachdem es mir <a href="http://nico.you-know.org/2009/12/22/qr-code-bookmarklet">Bookmarklets ziemlich angetan haben</a>, musste doch direkt auch eins f&#252;r <a href="http://deradm.in/to/">Translation Orgy</a> her. Peter hat es <a href="http://suche.pytalhost.de/2009/12/06/wollen-uber-ihre-eigenschaften-2-translation-orgy/">mit E-Mails versucht</a>, wieso also nicht auch Webseiten qualitativ hochwertig von Sinn befreien? Oder, um es mal anders zu sagen:</p>
<blockquote><p>Wie bei den Text-Version der Brandung, m&#246;chten Sie von der Mitte laufen? Bookmarklet &#252;bersetzt einzige Chance! (<a href="http://deradm.in/to/#Du%20surfst%20gerade%20im%20Internet%20und%20m%C3%B6chtest%20einen%20Text%20von%20seinem%20Sinn%20befreien?%20Nutze%20einfach%20das%20Translation%20Orgy%20Bookmarklet!">zur &#220;bersetzung</a>)</p></blockquote>
<p>Viel Spa&#223; damit!</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2010/02/15/bookmarklet-fuer-translation-orgy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP OfficeJet 6500: Tintenstand &#252;berwachen</title>
		<link>http://nico.you-know.org/2010/01/06/hp-officejet-6500-tintenstand-ueberwachen</link>
		<comments>http://nico.you-know.org/2010/01/06/hp-officejet-6500-tintenstand-ueberwachen#comments</comments>
		<pubDate>Wed, 06 Jan 2010 20:20:16 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=662</guid>
		<description><![CDATA[Leere Tintenpatronen bemerkt man meistens erst, wenn es sowieso schon viel zu sp&#228;t ist: Der Ausdruck erh&#228;lt einen Farbstich oder h&#228;ssliche Streifen. Dann hei&#223;t es schnell eine Druckerpatrone besorgen, weil der Ausdruck schnellstm&#246;glich gebraucht wird.
Am Besten w&#228;re es doch, wenn einfach eine Mail eintrudeln w&#252;rde, die signalisiert: &#8220;Hallo, bitte mal Tinenpatrone wechseln! Die ist bald [...]]]></description>
			<content:encoded><![CDATA[<p>Leere Tintenpatronen bemerkt man meistens erst, wenn es sowieso schon viel zu sp&#228;t ist: Der Ausdruck erh&#228;lt einen Farbstich oder h&#228;ssliche Streifen. Dann hei&#223;t es schnell eine Druckerpatrone besorgen, weil der Ausdruck schnellstm&#246;glich gebraucht wird.</p>
<p>Am Besten w&#228;re es doch, wenn einfach eine Mail eintrudeln w&#252;rde, die signalisiert: &#8220;Hallo, bitte mal Tinenpatrone wechseln! Die ist bald alle!&#8221;. Dann kann man sich in Ruhe auf den Weg machen und eine Tintenpatrone besorgen.</p>
<p>Die meisten aktuellen Netzwerkdrucker &#8211; wie mein HP OfficeJet 6500 &#8211; zeigen in Ihrem Webinterface den aktuellen Patronenf&#252;llstand an. Das ist nat&#252;rlich ideal, denn mit ein paar Zeilen Bash und dem allzeit geliebten Cron l&#228;sst sich da was basteln:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;"># get ink status from HP OfficeJet 6500</span>
&nbsp;
mailhead<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>
 <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">&amp;</span>lt;HEAD
Hallo<span style="color: #000000; font-weight: bold;">!</span> 
&nbsp;
Die Tinte auf <span style="color: #007800;">$PRINTER</span> geht zuneige:
&nbsp;
HEAD
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
mailfoot<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>
 <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">&amp;</span>lt;FOOT
&nbsp;
Bitte tauschen<span style="color: #000000; font-weight: bold;">!</span>
FOOT
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">PRINTER</span>=$<span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$PRINTER</span>&quot;</span> = <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: $0 [HOST]&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ping</span> <span style="color: #660033;">-c1</span> <span style="color: #007800;">$PRINTER</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$?</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Printer not pingable; not checking ink status&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #007800;">INKFILE</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">tempfile</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #007800;">INKURL</span>=<span style="color: #ff0000;">&quot;http://<span style="color: #007800;">$PRINTER</span>/index.htm?cat=info&amp;amp;page=printerInfo&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-O</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$INKFILE</span>&quot;</span> <span style="color: #660033;">-q</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$INKURL</span>&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$?</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;wget failed; are you sure that this is a OfficeJet 6500?&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #007800;">INKCOLORS</span>=<span style="color: #ff0000;">&quot;yellow cyan magenta black&quot;</span>
<span style="color: #007800;">INKPRINT</span>=<span style="color: #000000;">0</span>;
<span style="color: #000000; font-weight: bold;">for</span> COL <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$INKCOLORS</span>; <span style="color: #000000; font-weight: bold;">do</span>
 <span style="color: #007800;">COLREGEX</span>=<span style="color: #ff0000;">&quot;var <span style="color: #007800;">${COL}</span>ink=[0-9]+&quot;</span>
 <span style="color: #007800;">FILL</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$COLREGEX</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$INKFILE</span>&quot;</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #660033;">-o</span> <span style="color: #ff0000;">'[0-9]+'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #666666; font-style: italic;">#export &quot;${COL}FILL&quot;=</span>
&nbsp;
 <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$FILL</span> <span style="color: #660033;">-lt</span> <span style="color: #000000;">40</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
 <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$INKPRINT</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
 mailhead
 <span style="color: #007800;">INKPRINT</span>=<span style="color: #000000;">1</span>;
 <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;      <span style="color: #007800;">$COL</span> is empty! (<span style="color: #007800;">$FILL</span>%)&quot;</span>
 <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">done</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$INKPRINT</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
 mailfoot
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$INKFILE</span>&quot;</span></pre></div></div>

<p>Die entsprechende Cron-Zeile k&#246;nnte so aussehen:</p>
<pre>15 15 * * * /home/nico/bin/inkmon 10.10.10.14</pre>
<p>Jeden Tag um 15:15 Uhr wird das Skript ausgef&#252;hrt und pr&#252;ft den F&#252;llstand des OfficeJet 6500 auf 10.10.10.14. Hat eine der Patronen einen F&#252;llstand von weniger als 40%, gibt es einen h&#252;bschen Text aus, die Cron an den entsprechenden User schickt.</p>
<p>Ich bin gespannt, wie und ob ihr den F&#252;llstand von Druckerpatronen &#252;berwacht!</p>
<p>Update: Wordpress mag das Skript irgendwie nicht. Ich habe es auf <a href="http://pastebin.org/72017">Pastebin</a> geladen.</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2010/01/06/hp-officejet-6500-tintenstand-ueberwachen/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CAPI not installed &#8211; No such device or address</title>
		<link>http://nico.you-know.org/2010/01/03/capi-not-installed-no-such-device-or-address</link>
		<comments>http://nico.you-know.org/2010/01/03/capi-not-installed-no-such-device-or-address#comments</comments>
		<pubDate>Sun, 03 Jan 2010 22:04:00 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Alltag]]></category>
		<category><![CDATA[ISDN]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=677</guid>
		<description><![CDATA[capi not installed &#8211; No such device or address (6)
Wer diese Fehlermeldung bei der Installation einer ISDN-Karte zu Gesicht bekommt, sollte zun&#228;chst einmal banalste Dinge &#252;berpr&#252;fen. Zum Beispiel ob die Karte auch ganz im PCI-Slot sitzt. So geschehen hier.
]]></description>
			<content:encoded><![CDATA[<blockquote><p>capi not installed &#8211; No such device or address (6)</p></blockquote>
<p>Wer diese Fehlermeldung bei der Installation einer ISDN-Karte zu Gesicht bekommt, sollte zun&#228;chst einmal banalste Dinge &#252;berpr&#252;fen. Zum Beispiel ob die Karte auch ganz im PCI-Slot sitzt. So geschehen hier.</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2010/01/03/capi-not-installed-no-such-device-or-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frohe Weihnachten!</title>
		<link>http://nico.you-know.org/2009/12/24/frohe-weihnachten-2</link>
		<comments>http://nico.you-know.org/2009/12/24/frohe-weihnachten-2#comments</comments>
		<pubDate>Thu, 24 Dec 2009 19:13:42 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=659</guid>
		<description><![CDATA[Ich w&#252;nsche euch allen frohe Weihnachten. Esst nicht zu viel (ich bin jetzt schon ziemlich satt) und startet gut ins neue Jahr 2010.
(Quelle des Weihnachtsbaums: Webdesigner Depot)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://nico.you-know.org/wp-content/2009/12/xmas-06.png" rel="lightbox[659]"><img class="alignleft size-full wp-image-660" title="xmas-06" src="http://nico.you-know.org/wp-content/2009/12/xmas-06.png" alt="" width="256" height="256" /></a>Ich w&#252;nsche euch allen frohe Weihnachten. Esst nicht zu viel (ich bin jetzt schon ziemlich satt) und startet gut ins neue Jahr 2010.</p>
<p>(Quelle des Weihnachtsbaums: <a href="http://www.webdesignerdepot.com/2009/12/more-exclusive-icons-for-the-holidays-xmas-festives/">Webdesigner Depot</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/12/24/frohe-weihnachten-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade auf Wordpress 2.9</title>
		<link>http://nico.you-know.org/2009/12/22/upgrade-auf-wordpress-2-9</link>
		<comments>http://nico.you-know.org/2009/12/22/upgrade-auf-wordpress-2-9#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:15:04 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=656</guid>
		<description><![CDATA[
Wieso setzt man einen Primary Key &#252;ber option_name? *kopfsch&#252;ttel*
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://nico.you-know.org/wp-content/2009/12/wp-optionname-primary.png" rel="lightbox[656]"><img class="size-full wp-image-657 aligncenter" title="wp-optionname-primary" src="http://nico.you-know.org/wp-content/2009/12/wp-optionname-primary.png" alt="" width="471" height="183" /></a></p>
<p style="text-align: center;">Wieso setzt man einen Primary Key &#252;ber option_name? *kopfsch&#252;ttel*</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/12/22/upgrade-auf-wordpress-2-9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QR-Code-Bookmarklet</title>
		<link>http://nico.you-know.org/2009/12/22/qr-code-bookmarklet</link>
		<comments>http://nico.you-know.org/2009/12/22/qr-code-bookmarklet#comments</comments>
		<pubDate>Tue, 22 Dec 2009 10:45:03 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[E71]]></category>
		<category><![CDATA[Nützliches]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=651</guid>
		<description><![CDATA[Wer &#246;fters URLs durch m&#252;hsames Abtippen zwischen PC und Handy austauscht, der wird sich &#252;ber dieses Bookmarklet freuen. Es generiert einen QR-Code, der von den allermeisten Mobiltelefonen (z.B. von meinem E71) gelesen werden kann. M&#252;hsames Abtippen entf&#228;llt also.  
Zur Installation den Link unten in den Lesezeichen abspeichern.
Bookmarklet: QR-Code generieren

javascript:void&#40;window.open&#40;'http://chart.apis.google.com/chart?cht=qr&#38;chs=300x300&#38;chl=' + window.location.href&#41;&#41;;

Danke an die Google [...]]]></description>
			<content:encoded><![CDATA[<p>Wer &#246;fters URLs durch m&#252;hsames Abtippen zwischen PC und Handy austauscht, der wird sich &#252;ber dieses Bookmarklet freuen. Es generiert einen <a href="http://de.wikipedia.org/wiki/QR-Code">QR-Code</a>, der von den allermeisten Mobiltelefonen (z.B. von meinem E71) gelesen werden kann. M&#252;hsames Abtippen entf&#228;llt also. <img src='http://nico.you-know.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Zur Installation den Link unten in den Lesezeichen abspeichern.</p>
<p style="text-align: center;"><a href="javascript:void(window.open('http://chart.apis.google.com/chart?cht=qr&amp;chs=300x300&amp;chl='%20+%20window.location.href));">Bookmarklet: QR-Code generieren</a></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">javascript<span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#40;</span>window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'http://chart.apis.google.com/chart?cht=qr&amp;chs=300x300&amp;chl='</span> <span style="color: #339933;">+</span> window.<span style="color: #660066;">location</span>.<span style="color: #660066;">href</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Danke an die <a href="http://code.google.com/intl/de-DE/apis/chart/types.html#qrcodes">Google Charts API</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/12/22/qr-code-bookmarklet/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gesten in Ecken</title>
		<link>http://nico.you-know.org/2009/12/05/gesten-in-ecken</link>
		<comments>http://nico.you-know.org/2009/12/05/gesten-in-ecken#comments</comments>
		<pubDate>Sat, 05 Dec 2009 11:03:57 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=642</guid>
		<description><![CDATA[Manchmal bin ich zugegebenerma&#223;en auch etwas neidisch auf die Mac-User. Tim positioniert seinen Mauszeiger einfach in der oberen rechten Ecke und nach einer gewissen Zeit sperrt sich sein Bildschirm &#8211; extrem praktisch. Dank Compiz kann man sich das eigentlich auch unter Linux einrichten. Also flugs das &#8220;Commands&#8221;-Plugin aktiviert, und
gnome-screensaver-command -l
auf die Ecke oben rechts gelegt. [...]]]></description>
			<content:encoded><![CDATA[<p>Manchmal bin ich zugegebenerma&#223;en auch etwas neidisch auf die Mac-User. Tim positioniert seinen Mauszeiger einfach in der oberen rechten Ecke und nach einer gewissen Zeit sperrt sich sein Bildschirm &#8211; extrem praktisch. Dank Compiz kann man sich das eigentlich auch unter Linux einrichten. Also flugs das &#8220;Commands&#8221;-Plugin aktiviert, und</p>
<pre>gnome-screensaver-command -l</pre>
<p>auf die Ecke oben rechts gelegt. Klingt gut, ist es aber nicht. Kommt man aus Versehen in die Ecke, ist der Bildschirm sofort gesperrt und man muss das Passwort eintippen. Die Mac-User haben hier eine Schonfirst von 2 oder 3 Sekunden, in der sie den Mauszeiger aus der Ecke ziehen k&#246;nnen.</p>
<p>Die Idee ist nun, das Sperren des Bildschirms erst dann vorzunehmen, wenn man die Ecken in einer bestimmten Reihenfolge &#8220;anf&#228;hrt&#8221;. Zuerst f&#228;hrt man in die untere rechte Ecke, dann in die obere rechte Ecke und erst jetzt wird der Bildschirm gesperrt. Unm&#246;glich, so etwas aus Versehen auszul&#246;sen. Wie realisiert man das nun am Besten? Klar, mit einem simplen Shell-Skript:<br />
<span id="more-642"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
        first<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>s<span style="color: #000000; font-weight: bold;">&gt;/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>firstedge
        <span style="color: #000000; font-weight: bold;">;;</span>
        second<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>firstedge <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                        <span style="color: #007800;">FIRST</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>firstedge<span style="color: #7a0874; font-weight: bold;">&#41;</span>;
                        <span style="color: #007800;">NOW</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span>;
                        <span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #007800;">i</span>=NOW-FIRST;
&nbsp;
                        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$i</span> <span style="color: #660033;">-lt</span> <span style="color: #000000;">5</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                                gnome-screensaver-command <span style="color: #660033;">-l</span>
                                <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>firstedge
                        <span style="color: #000000; font-weight: bold;">fi</span>
                <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">esac</span></pre></div></div>

<p>Das Skript speichert man z.B. unter <tt>~/bin/screensaver</tt>, macht es ausf&#252;hrbar und legt die Kommandos <tt>~/bin/screensaver first</tt> und <tt>~/bin/screensaver second</tt> auf die gew&#252;nschen Kommando-Ecken. </p>
<p>Was passiert also? In der ersten Ecke wird der aktuelle Unix-Timestamp in <tt>/tmp/firstedge</tt> gespeichert. In der zweiten Ecke wird nun &#252;berpr&#252;ft, ob diese Datei existiert. Wenn ja, berechnen wir die Differenz zwischen dem aktuellen Unix-Timestamp und dem gespeicherten. Ist die Differenz echt kleiner 5, sperren wir den Bildschirm und l&#246;schen <tt>/tmp/firstedge</tt>.</p>
<p>Viel Spa&#223; damit!</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/12/05/gesten-in-ecken/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu h&#228;ngt beim Herunterfahren wenn CIFS-Shares gemounted sind</title>
		<link>http://nico.you-know.org/2009/10/29/ubuntu-haengt-beim-herunterfahren-wenn-cifs-shares-gemounted-sind</link>
		<comments>http://nico.you-know.org/2009/10/29/ubuntu-haengt-beim-herunterfahren-wenn-cifs-shares-gemounted-sind#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:39:44 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=640</guid>
		<description><![CDATA[Wer unter Ubuntu ein CIFS-Share in seiner fstab eingebunden hat, der leidet meistens unter langen Herunterfahr-Zeiten, da der Network-Manager die Netzwerkverbindung trennt, bevor die Shares ausgeh&#228;ngt werden.
Ein Fix findet sich im Ubuntu-Wiki:
If you use network manager, and are getting really slow shutdowns. It&#8217;s probably because the network manager shuts down before unmounting the network shares. [...]]]></description>
			<content:encoded><![CDATA[<p>Wer unter Ubuntu ein CIFS-Share in seiner fstab eingebunden hat, der leidet meistens unter langen Herunterfahr-Zeiten, da der Network-Manager die Netzwerkverbindung trennt, bevor die Shares ausgeh&#228;ngt werden.</p>
<p>Ein Fix findet sich im <a href="https://wiki.ubuntu.com/MountWindowsSharesPermanently#Fixing%20a%20CIFS%20bug%20with%20network%20manager">Ubuntu-Wiki</a>:</p>
<blockquote><p>If you use network manager, and are getting really slow shutdowns. It&#8217;s probably because the network manager shuts down before unmounting the network shares. That will cause CIFS to hang, and wait for 60 seconds or so. Here&#8217;s what you do to fix it: <span id="line-116"> </span></p>
<pre>sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K14umountnfs.sh
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K14umountnfs.sh</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/10/29/ubuntu-haengt-beim-herunterfahren-wenn-cifs-shares-gemounted-sind/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Palm Pre offenbar doch wieder mit iTunes-Sync</title>
		<link>http://nico.you-know.org/2009/10/03/palm-pre-offenbar-doch-wieder-mit-itunes-sync</link>
		<comments>http://nico.you-know.org/2009/10/03/palm-pre-offenbar-doch-wieder-mit-itunes-sync#comments</comments>
		<pubDate>Sat, 03 Oct 2009 08:21:44 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=633</guid>
		<description><![CDATA[Der Streit zwischen Palm und Apple scheint kein Ende zu nehmen. Die Funktion des Palm Pre, sich mit iTunes zu syncronisieren, st&#246;&#223;t bei Apple auf wenig Gegenliebe: Die letzten Versionen von iTunes sperrten den Palm Pre aus, w&#228;hrend Palm mit neuen WebOS-Versionen das Feature wieder reparierte.
Schlie&#223;lich beklagte Palm, Apple w&#252;rde sich nicht an USB-Standards halten [...]]]></description>
			<content:encoded><![CDATA[<p>Der Streit zwischen Palm und Apple scheint kein Ende zu nehmen. Die Funktion des Palm Pre, sich mit iTunes zu syncronisieren, st&#246;&#223;t bei Apple auf wenig Gegenliebe: Die letzten Versionen von iTunes sperrten den Palm Pre aus, w&#228;hrend Palm mit neuen WebOS-Versionen das Feature wieder reparierte.</p>
<p>Schlie&#223;lich beklagte Palm, <a href="http://www.golem.de/0908/68834.html">Apple w&#252;rde sich nicht an USB-Standards halten</a> und lege Beschwerde beim USB-IF ein. Dort kam man zu einem anderen Schluss: <a href="http://www.golem.de/0909/70018.html">Palm halte sich nicht an USB-Standards</a>, und nicht Apple. Es wurde also still um die iTunes-Syncronisation mit dem Palm Pre, bei Heise konnte man sogar von <a href="http://www.heise.de/newsticker/Palm-Pre-Kuenftige-Firmware-Updates-ohne-iTunes-Abgleich--/meldung/146240">einem Verzicht auf die iTunes-Syncronisation</a> mit webOS 1.2 lesen.</p>
<p>Der Streit geht allerdings weiter: Ganz beil&#228;ufig f&#252;hrt Palm im <a href="http://blog.palm.com/palm/2009/10/if-you-use-certain-configurations-of-exchange-2007-you-may-have-experienced---some-problems-syncing-your-eas-email-with-your.html">Blogartikel zur Erscheinung von webOS 1.2.1</a> auf, das Update stelle sicher, dass der MediaSync mit der neuesten iTunes-Version wieder funktioniere.</p>
<p>Mal sehen, wie Apple darauf reagiert.</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/10/03/palm-pre-offenbar-doch-wieder-mit-itunes-sync/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wieso mich der Anblick eines HTC Hero immer noch beeindruckt</title>
		<link>http://nico.you-know.org/2009/09/08/wieso-mich-der-anblick-eines-htc-hero-immer-noch-beeindruckt</link>
		<comments>http://nico.you-know.org/2009/09/08/wieso-mich-der-anblick-eines-htc-hero-immer-noch-beeindruckt#comments</comments>
		<pubDate>Tue, 08 Sep 2009 16:18:02 +0000</pubDate>
		<dc:creator>Nico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nico.you-know.org/?p=630</guid>
		<description><![CDATA[Bereits seit einigen Monaten habe ich nun mein Nokia E71. Im Vergleich zu meinem Palm TX war das nat&#252;rlich ein gro&#223;er Sprung: Endlich ein &#8211; mehr oder weniger &#8211; &#8220;richtiger&#8221; IMAP-Client, der die Verbindung zum Mailserver aufrecht erhalten kann, ein (einigerma&#223;en) stabil laufendes System und ein recht moderner Browser. Doch auch dieses Ger&#228;t hat seine [...]]]></description>
			<content:encoded><![CDATA[<p>Bereits seit einigen Monaten habe ich nun mein Nokia E71. Im Vergleich zu meinem Palm TX war das nat&#252;rlich ein gro&#223;er Sprung: Endlich ein &#8211; mehr oder weniger &#8211; &#8220;richtiger&#8221; IMAP-Client, der die Verbindung zum Mailserver aufrecht erhalten kann, ein (einigerma&#223;en) stabil laufendes System und ein recht moderner Browser. Doch auch dieses Ger&#228;t hat seine Macken.<br />
<span id="more-630"></span><br />
Alte Palmuser sind eine schier unersch&#246;pfliche Softwareauswahl mit vielen kleinen Helferchen gewohnt. Man kann praktisch laufend ein neues Programm finden und es entweder lieben oder hassen lernen. Symbian-basierte Ger&#228;te bieten da nicht so viel Auswahl: Zwar gibt es einen Python-Interpreter, mit dem man einiges realisieren kann, aber so richtig auf den Geschmack sind die Entwickler dabei wohl nicht gekommen. Vielleicht ist das iPhone einfach eine attraktivere Entwicklungsplattform?</p>
<p>Java-Applikationen finden sich &#8211; zumindest nach meiner Erfahrung &#8211; deutlich mehr als Python bzw. native Symbian-Applikationen. Zu nennen w&#228;re hier beispielsweise <a href="http://www.twibble.de/twibble-mobile/">Twibble</a>, meiner Meinung nach einer der besten Twitter-Clients &#252;berhaupt (wenn ich viele Tweets verpasst habe, kann ich einfach weiterscrollen und Twibble l&#228;dt sie automatisch nach, sehr n&#252;tzlich). Leider funktioniert Twibble nicht immer ganz reibungslos, oft wird die Timeline nicht nachgeladen (ohne irgendeinen ersichtlichen Grund) oder es startet gar nicht erst.</p>
<p>Achja &#8211; die WLAN-Verbindung, auch etwas nerviges. Wenn mehrere Anwendungen gleichzeitig eine Netzverbindung nutzen, kommt es h&#228;ufig zu Problemen. Einmal kann es ganz wunderbar funktionieren, seinen Mailclient, Twibble und den Browser gleichzeitig ge&#246;ffnet zu haben, beim anderen mal erscheinen beim Verbindungsaufbau die WLAN-Netze nicht, beim n&#228;chsten mal bricht der Verbindungsaufbau dann komplett mit der Fehlermeldung &#8220;WLAN-Verbindung bereits in Benutzung&#8221; ab. Konsequenz ist, dass man manche Aktionen grunds&#228;tzlich mehrmals probieren muss: Link in Twibble anklicken, WLANs erscheinen nicht, abbrechen, Link nochmal anklicken, WLANs erscheinen wieder nicht&#8230; Das Spiel spielt man in der Regel zwei bis drei Mal bis man endlich eine Verbindung aufbauen kann.</p>
<p>Ebenso seltsam gestaltet sich die Men&#252;f&#252;hrung. Manche Men&#252;s erreicht man &#252;ber verschiedene Wege (was ja nicht unbedingt schlecht ist), w&#228;hrend manche tief in den Men&#252;ebenen versteckt sind. Ebenso gleicht der Weg vom Men&#252; zur&#252;ck nicht immer dem Weg, den man auf dem Hinweg genommen hat&#8230; kurzum: Eine kleine Katastrophe.</p>
<p>Alles in allem ist es doch ein nettes Spielzeug und es erf&#252;llt seinen Zweck. Demn&#228;chst werde ich aber doch mal in den T-Punkt (darf man das noch so nennen?) stiefeln und an einem HTC Hero &#228;h&#8230; T-Mobile G2 Touch spielen.</p>
]]></content:encoded>
			<wfw:commentRss>http://nico.you-know.org/2009/09/08/wieso-mich-der-anblick-eines-htc-hero-immer-noch-beeindruckt/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
