<?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>sabel&#039;s blog</title>
	<atom:link href="http://sabel.bluegfx.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://sabel.bluegfx.de</link>
	<description>Alles rund um Linux, PHP, MySQL, XHTML, CSS, Javascript, Ajax usw</description>
	<lastBuildDate>Wed, 09 May 2012 09:50:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Mac OS X: Zugriff auf Windows 7 Freigaben langsam</title>
		<link>http://sabel.bluegfx.de/2012/05/09/mac-os-x-zugriff-auf-windows-7-freigaben-langsam/</link>
		<comments>http://sabel.bluegfx.de/2012/05/09/mac-os-x-zugriff-auf-windows-7-freigaben-langsam/#comments</comments>
		<pubDate>Wed, 09 May 2012 09:50:57 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dateifreigabe]]></category>
		<category><![CDATA[freigabe]]></category>
		<category><![CDATA[langsam]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac osx]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=443</guid>
		<description><![CDATA[Gestern Abend wollte ich von einem iMac mit Mac OS X Lion (10.7.3) aus auf Ordnerfreigaben eines PCs mit Windows 7 Professional zugreifen. Mac hat die Freigaben auch sofort gefunden und konnte diese mounten. Allerdings fiel sofort auf, dass die &#8230; <a href="http://sabel.bluegfx.de/2012/05/09/mac-os-x-zugriff-auf-windows-7-freigaben-langsam/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Gestern Abend wollte ich von einem iMac mit Mac OS X Lion (10.7.3) aus auf Ordnerfreigaben eines PCs mit Windows 7 Professional zugreifen.</p>
<p>Mac hat die Freigaben auch sofort gefunden und konnte diese mounten. Allerdings fiel sofort auf, dass die Auflistung der Dateien und Unterordner in den Freigaben langsam war. Als ich dann eine Datei kopieren wollte, stellte ich fest, dass es sogar extrem langsam war (ein paar kb/sek).</p>
<p>Als Gegencheck kopierte ich testweise mal eine Datei vom PC zum Mac. Dabei hatte ich volle Gigabit-Geschwindigkeit.</p>
<p>Nach längerer Suche und nachdem ich einige &#8220;Tipps&#8221; ausprobiert hatte, bin ich letztendlich auf die <a href="http://serverfault.com/a/218272">Lösung</a> gestoßen.</p>
<p>Kurze Anleitung:<br />
Systemsteuerung->Netzwerk- und Freigabecenter->Adaptereinstellungen ändern->Rechtsklick auf LAN-Verbindung->Konfigurieren->Erweitert</p>
<p>Dort <strong>&#8220;Abladung großer Übertragung V2&#8243;</strong> deaktivieren.</p>
<p><img src="http://sabel.bluegfx.de/wordpress/wp-content/uploads/2012/05/mac.win_.share_.fix_.png" alt="" title="LAN-Verbindung konfigurieren" width="377" height="474" class="aligncenter size-full wp-image-445" /></p>
<p><img src="http://sabel.bluegfx.de/wordpress/wp-content/uploads/2012/05/mac.win_.share_.fix_.2.png" alt="" title="Erweiterte Einstellungen der LAN-Verbindung" width="414" height="461" class="aligncenter size-full wp-image-444" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2012/05/09/mac-os-x-zugriff-auf-windows-7-freigaben-langsam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera: CSS-Transitions für border-color</title>
		<link>http://sabel.bluegfx.de/2012/04/19/opera-css-transitions-fur-border-color/</link>
		<comments>http://sabel.bluegfx.de/2012/04/19/opera-css-transitions-fur-border-color/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 13:06:03 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[border-color]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[transition]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=436</guid>
		<description><![CDATA[Opera (aktuell 11.62) hat ein Problem damit, CSS-Transitions auf die Eigenschaft border-color (und vermutlich auch andere) anzuwenden. Funktioniert nicht Demo: http://jsfiddle.net/gaby/bcn5c/1/ Funktioniert Demo: http://jsfiddle.net/ds5bM/ Dieses Problem ist in den aktuellen Snapshots von Opera 12 gefixt: Our CSS Transitions support has &#8230; <a href="http://sabel.bluegfx.de/2012/04/19/opera-css-transitions-fur-border-color/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Opera (aktuell 11.62) hat ein Problem damit, CSS-Transitions auf die Eigenschaft border-color (und vermutlich auch andere) anzuwenden.</p>
<p><strong>Funktioniert nicht</strong></p>
<pre class="brush: css; title: ; notranslate">
-o-transition: border-color 1s linear;
</pre>
<p>Demo: <a href="http://jsfiddle.net/gaby/bcn5c/1/">http://jsfiddle.net/gaby/bcn5c/1/</a></p>
<p><strong>Funktioniert</strong></p>
<pre class="brush: css; title: ; notranslate">
-o-transition:
    border-top-color 1s linear,
    border-right-color 1s linear,
    border-bottom-color 1s linear,
    border-left-color 1s linear;
</pre>
<p>Demo: <a href="http://jsfiddle.net/ds5bM/">http://jsfiddle.net/ds5bM/</a></p>
<p>Dieses Problem ist in den aktuellen Snapshots von Opera 12 gefixt:</p>
<blockquote><p>
Our CSS Transitions support has also been updated. With CSS Transitions, rendering changes that normally happen instantly can be made to gradually happen over time instead. <strong>Among other things we have updated color transitions, enabled transitions on background positions, box shadows and more</strong>, and added the ability to transition through one or more abrupt steps.
</p></blockquote>
<p>Quelle: <a href="http://my.opera.com/desktopteam/blog/2012/03/26/html5-css-64bit">http://my.opera.com/desktopteam/blog/2012/03/26/html5-css-64bit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2012/04/19/opera-css-transitions-fur-border-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-Mail-Validierung für IDN-Domains in HTML5, PHP und Javascript</title>
		<link>http://sabel.bluegfx.de/2012/04/13/e-mail-validierung-fur-idn-domains-in-html5-php-und-javascript/</link>
		<comments>http://sabel.bluegfx.de/2012/04/13/e-mail-validierung-fur-idn-domains-in-html5-php-und-javascript/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 12:20:44 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[idn]]></category>
		<category><![CDATA[multibyte]]></category>
		<category><![CDATA[punycode]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[umlaute]]></category>
		<category><![CDATA[umlauts]]></category>
		<category><![CDATA[validate]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=398</guid>
		<description><![CDATA[Tach, ich habe mich heute mal (wieder) informiert, wie man am besten E-Mail-Adressen auf korrektes Format validiert. Die Situation Bisher habe ich in PHP immer den mit Version 5.2.0 eingeführten E-Mail-Filter und in Javascript einen regulären Ausdruck verwendet: PHP: Javascript: &#8230; <a href="http://sabel.bluegfx.de/2012/04/13/e-mail-validierung-fur-idn-domains-in-html5-php-und-javascript/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Tach,</p>
<p>ich habe mich heute mal (wieder) informiert, wie man am besten E-Mail-Adressen auf korrektes Format validiert. </p>
<h2>Die Situation</h2>
<p>Bisher habe ich in PHP immer den mit Version 5.2.0 eingeführten <a href="http://php.net/manual/de/function.filter-var.php">E-Mail-Filter</a> und in Javascript einen <a href="http://fightingforalostcause.net/misc/2006/compare-email-regex.php">regulären Ausdruck</a> verwendet:</p>
<p><strong>PHP:</strong></p>
<pre class="brush: php; title: ; notranslate">
function checkEmail($email){
	return filter_var($email, FILTER_VALIDATE_EMAIL) !== false;
}
</pre>
<p><strong>Javascript:</strong></p>
<pre class="brush: jscript; title: ; notranslate">
function checkEmail(email){
	return email.match(/^[-a-z0-9~!$%^&amp;*_=+}{\'?]+(\.[-a-z0-9~!$%^&amp;*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i);
}
</pre>
<p>Auch HTML5 bietet die Möglichkeit, ein Eingabefeld des Typs E-Mail zu erzeugen:</p>
<p><strong>HTML5:</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;de&quot;&gt;
    &lt;head&gt;
        &lt;title&gt;E-Mail-Validierung&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;form&gt;
            &lt;input type=&quot;email&quot;&gt;
            &lt;input type=&quot;submit&quot;&gt;
        &lt;/form&gt;
    &lt;/body&gt;
&lt;/html&gt;
</pre>
<p><a href="http://jsfiddle.net/m8fRz/">Demo für HTML5 und Javascript.</a></p>
<h2>Das Problem</h2>
<p>Das Problem ist nun, dass keine der drei Lösungen <a href="http://de.wikipedia.org/wiki/Internationalizing_Domain_Names_in_Applications">IDN-Domains</a> bei E-Mail-Adressen akzeptiert (siehe [1] und [2]). Das heißt Adressen wie <strong>foo@bär.de</strong>, die durchaus gültig sind, werden als ungültig erkannt.</p>
<h2>Die Lösung</h2>
<p>Als Lösung muss man also den Domain-Teil in <a href="http://de.wikipedia.org/wiki/Punycode">Punycode</a> konvertieren, um danach das Format prüfen zu können.</p>
<p>Für PHP kann man hierzu auf das Modul <a href="http://de.php.net/intl">intl</a> bzw. speziell auf die Funktion <a href="http://de.php.net/manual/en/function.idn-to-ascii.php">idn_to_ascii<br />
</a> zurückgreifen.</p>
<p><strong>PHP:</strong></p>
<pre class="brush: php; title: ; notranslate">
function checkEmail($email){
	$parts = explode('@', $email);
	return count($parts) == 2 &amp;&amp; filter_var($parts[0].'@'.idn_to_ascii($parts[1]), FILTER_VALIDATE_EMAIL) !== false;
}
</pre>
<p>Für Javascript bin ich auf eine tolle <a href="https://github.com/bestiejs/punycode.js">Bibliothek</a> von <a href="http://mathiasbynens.be/">Mathias Bynens</a> gestoßen. Damit lässt sich das Problem analog zu PHP lösen.</p>
<p><strong>Javascript:</strong></p>
<pre class="brush: jscript; title: ; notranslate">
function checkEmail(email){
	var parts = email.split('@');
	if(parts.length != 2){
		return false;
	}
	var converted = parts[0] + '@' + punycode.toASCII(parts[1]);

	return converted.match(/^[-a-z0-9~!$%^&amp;*_=+}{\'?]+(\.[-a-z0-9~!$%^&amp;*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i);
}
</pre>
<h2>Das Fazit</h2>
<p>Mit etwas mehr Aufwand ist es in PHP und Javascript also durchaus möglich IDN-E-Mail-Adressen korrekt zu erkennen. Meiner Meinung nach sollten die PHP-Entwickler ihren E-Mail-Filter erweitern, damit er IDN-Domains akzeptiert.</p>
<p>Für HTML5 gibt es dafür keine Lösung, solange die Browser-Entwickler es nicht berücksichtigen. Eingabefelder vom Typ &#8220;url&#8221; können übrigens mit IDN-Domains umgehen. Warum also nicht auch E-Mail-Felder?</p>
<p>Da davon auszugehen ist, dass sich &#8220;Umlautdomains&#8221; (wie man so schön sagt) in Zukunft weiter verbreiten werden, wäre es wichtig, dass Browser jetzt schon im vollen Umfang darauf vorbereitet wären.</p>
<p>[1] <a href="http://www.php.net/manual/en/filter.filters.validate.php#102398">http://www.php.net/manual/en/filter.filters.validate.php#102398</a><br />
[2] <a href="http://barrow.io/posts/email-validation-of-double-byte-domains/">http://barrow.io/posts/email-validation-of-double-byte-domains/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2012/04/13/e-mail-validierung-fur-idn-domains-in-html5-php-und-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Web Fonts &#8211; Mehrere Schriftstile im IE8 und älter laden</title>
		<link>http://sabel.bluegfx.de/2012/03/29/google-web-fonts-mehrere-schriftstile-im-ie8-und-alter-laden/</link>
		<comments>http://sabel.bluegfx.de/2012/03/29/google-web-fonts-mehrere-schriftstile-im-ie8-und-alter-laden/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 18:34:30 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[font-face]]></category>
		<category><![CDATA[google web fonts]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[multiple styles]]></category>
		<category><![CDATA[stile]]></category>
		<category><![CDATA[styles]]></category>
		<category><![CDATA[web fonts]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=391</guid>
		<description><![CDATA[Die Google Web Fonts sind toll und funktionieren in der Regel auch sehr gut. Aber heute bin ich auf ein Problem im Internet Explorer 6, 7 und 8 gestoßen. Definiert man in einer Anfrage mehrere Schriftstile gleichzeitig, dann liefert Google &#8230; <a href="http://sabel.bluegfx.de/2012/03/29/google-web-fonts-mehrere-schriftstile-im-ie8-und-alter-laden/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Die <a href="http://www.google.com/webfonts">Google Web Fonts</a> sind toll und funktionieren in der Regel auch sehr gut. Aber heute bin ich auf ein Problem im Internet Explorer 6, 7 und 8 gestoßen.</p>
<p>Definiert man in einer Anfrage mehrere Schriftstile gleichzeitig, dann liefert Google nur den Standard-Stil zurück, wenn man einen <strong>IE < = 8</strong> benutzt.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;link href=&quot;http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:200,300&quot; rel=&quot;stylesheet&quot; /&gt;
</pre>
<p>Die Lösung ist trivial. Einfach separate Anfragen stellen:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;link href=&quot;http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:200&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:300&quot; rel=&quot;stylesheet&quot; /&gt;
</pre>
<p>Es gibt bei Google auch nen <a href="http://code.google.com/p/googlefontdirectory/issues/detail?id=9">Bug-Report</a> dazu. Der ist allerdings schon fast zwei Jahre alt und es ist wohl fraglich, ob der jemals behoben wird.</p>
<p>Danke an Richard Fink, dessen <a href="http://readableweb.com/google-fonts-failing-for-internet-explorer-users/comment-page-1/#comment-34218">Blogpost</a> mir sehr geholfen hat.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2012/03/29/google-web-fonts-mehrere-schriftstile-im-ie8-und-alter-laden/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redmine: Premature end of script headers: dispatch.fcgi</title>
		<link>http://sabel.bluegfx.de/2012/03/24/redmine-premature-end-of-script-headers-dispatch-fcgi/</link>
		<comments>http://sabel.bluegfx.de/2012/03/24/redmine-premature-end-of-script-headers-dispatch-fcgi/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 11:10:47 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redmine]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fcgi]]></category>
		<category><![CDATA[mod_fcgid]]></category>
		<category><![CDATA[no logs]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[redmine]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=386</guid>
		<description><![CDATA[Wenn ihr Redmine über mod_fcgid eingebunden habt und es einfach nicht starten will und auch keine Fehler ausspuckt, außer Premature end of script headers: dispatch.fcgi im Apache error log. Dann solltet ihr mal überprüfen, ob die Datei configuration.yml die richtigen &#8230; <a href="http://sabel.bluegfx.de/2012/03/24/redmine-premature-end-of-script-headers-dispatch-fcgi/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wenn ihr Redmine über mod_fcgid eingebunden habt und es einfach nicht starten will und auch keine Fehler ausspuckt, außer <strong>Premature end of script headers: dispatch.fcgi</strong> im Apache error log.</p>
<p>Dann solltet ihr mal überprüfen, ob die Datei <strong>configuration.yml</strong> die richtigen Berechtigungen aufweist&#8230; Hat mich jetzt einige Zeit gekostet, das raus zu finden.</p>
<p>Drauf gekommen bin ich, weil ich Redmine mal via Passenger anstatt via fcgi eingebunden habe. Tolle Sache!</p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2012/03/24/redmine-premature-end-of-script-headers-dispatch-fcgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code completion für jQuery in NetBeans 7.1</title>
		<link>http://sabel.bluegfx.de/2012/01/26/code-completion-fur-jquery-in-netbeans-7-1/</link>
		<comments>http://sabel.bluegfx.de/2012/01/26/code-completion-fur-jquery-in-netbeans-7-1/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 14:14:41 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[auto completion]]></category>
		<category><![CDATA[code completion]]></category>
		<category><![CDATA[complete]]></category>
		<category><![CDATA[does not work]]></category>
		<category><![CDATA[doesn't work]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=375</guid>
		<description><![CDATA[Tach, NetBeans rühmt sich ja schon lange damit, dass sie code completion für JavaScript Dateien und Libraries haben. Unter anderem auch für jQuery. In der Doku findet man dazu sogar einen recht ausführlichen Artikel. Leider hat das bei mir nie &#8230; <a href="http://sabel.bluegfx.de/2012/01/26/code-completion-fur-jquery-in-netbeans-7-1/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Tach,</p>
<p>NetBeans rühmt sich ja schon lange damit, dass sie code completion für JavaScript Dateien und Libraries haben. Unter anderem auch für jQuery. In der Doku findet man dazu sogar einen recht ausführlichen <a href="http://netbeans.org/kb/docs/web/js-toolkits-jquery.html">Artikel</a>.</p>
<p>Leider hat das bei mir nie funktioniert und ich konnte auch nach ausführlichem googlen nichts finden, was mir half.</p>
<p>Heute bin ich aber endlich auf die Lösung gestoßen:</p>
<p><strong>Man darf die Datei nicht umbenennen!</strong></p>
<p>Ich hatte meine Datei immer in <strong>jquery.js</strong> umbenannt. Damit klappts aber nicht.<br />
Die Datei muss, z.B. für die aktuellste Version 1.7.1, <strong>jquery-1.7.1.js</strong> heißen!</p>
<p><a href="http://sabel.bluegfx.de/wordpress/wp-content/uploads/2012/01/netbeans.jquery.png"><img src="http://sabel.bluegfx.de/wordpress/wp-content/uploads/2012/01/netbeans.jquery-480x198.png" alt="" title="jQuery code completion in NetBeans" width="480" height="198" class="aligncenter size-medium wp-image-378" /></a></p>
<p>Im Moment bin ich mir noch nicht sicher, warum das so ist und ob das Absicht ist oder ob es sich um einen Bug handelt. Allerdings könnte ich mir vorstellen, dass es mit der Doku zusammenhängt, die neben der code completion angezeigt wird. Diese Doku muss aus dem Netz gezogen werden, da sie nicht in der JavaScript Datei enthalten ist.</p>
<p>Klappt übrigens auch perfekt mit der komprimierten Version <strong>jquery-1.7.1.min.js</strong>.</p>
<p>Begeistert bin ich davon allerdings nicht. Ich würde meine Dateien eigentlich gerne so benennen, wie ich es will.</p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2012/01/26/code-completion-fur-jquery-in-netbeans-7-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Neue Methode für Textarea Autoresize</title>
		<link>http://sabel.bluegfx.de/2011/11/01/neue-methode-fur-textarea-autoresize/</link>
		<comments>http://sabel.bluegfx.de/2011/11/01/neue-methode-fur-textarea-autoresize/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 12:57:19 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[autoexpand]]></category>
		<category><![CDATA[autoresize]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[expand]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[textarea]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=362</guid>
		<description><![CDATA[Neue interessante Methode, um eine Textarea zu erzeugen, die ihre Höhe automatisch dem Inhalt anpasst: http://www.alistapart.com/articles/expanding-text-areas-made-elegant/]]></description>
			<content:encoded><![CDATA[<p>Neue interessante Methode, um eine Textarea zu erzeugen, die ihre Höhe automatisch dem Inhalt anpasst:</p>
<p><a href="http://www.alistapart.com/articles/expanding-text-areas-made-elegant/">http://www.alistapart.com/articles/expanding-text-areas-made-elegant/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2011/11/01/neue-methode-fur-textarea-autoresize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird 3 Windows Theme für Thunderbird 5+</title>
		<link>http://sabel.bluegfx.de/2011/08/23/thunderbird-3-windows-theme-fur-thunderbird-5/</link>
		<comments>http://sabel.bluegfx.de/2011/08/23/thunderbird-3-windows-theme-fur-thunderbird-5/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 15:57:58 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[Thunderbird]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[3]]></category>
		<category><![CDATA[5]]></category>
		<category><![CDATA[6]]></category>
		<category><![CDATA[altes theme]]></category>
		<category><![CDATA[old theme]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=358</guid>
		<description><![CDATA[Hasst ihr das Standard Theme für Windows von Thunderbird 5 und neuer auch so wie ich? Hier gibts die Lösung: xpDefault]]></description>
			<content:encoded><![CDATA[<p>Hasst ihr das Standard Theme für Windows von Thunderbird 5 und neuer auch so wie ich?<br />
Hier gibts die Lösung: <a href="https://addons.mozilla.org/de/thunderbird/addon/xpdefault/">xpDefault</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2011/08/23/thunderbird-3-windows-theme-fur-thunderbird-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xdebug mit XAMPP unter Windows &#8211; Standard-Einstellung vom Profiler funktioniert nicht</title>
		<link>http://sabel.bluegfx.de/2011/07/27/xdebug-mit-xampp-unter-windows-standard-einstellung-vom-profiler-funktioniert-nicht/</link>
		<comments>http://sabel.bluegfx.de/2011/07/27/xdebug-mit-xampp-unter-windows-standard-einstellung-vom-profiler-funktioniert-nicht/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 16:39:42 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[xdebug]]></category>
		<category><![CDATA[xdebug.profiler_output_name]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=349</guid>
		<description><![CDATA[Kurze Lösung für ein Problem, das mich gerade doch einige Zeit aufgehalten hat. Die Standard-Einstellung für den Dateinamen, der für die Profiler-Dumps verwendet wird, ist unter XAMPP 1.7.4: Windows erlaubt aber keine Doppelpunkte im Dateinamen. Es gibt keine Fehlermeldung, gar &#8230; <a href="http://sabel.bluegfx.de/2011/07/27/xdebug-mit-xampp-unter-windows-standard-einstellung-vom-profiler-funktioniert-nicht/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Kurze Lösung für ein Problem, das mich gerade doch einige Zeit aufgehalten hat.</p>
<p>Die Standard-Einstellung für den Dateinamen, der für die Profiler-Dumps verwendet wird, ist unter <a href="http://www.apachefriends.org/de/xampp-windows.html">XAMPP 1.7.4</a>:</p>
<pre class="brush: plain; title: ; notranslate">
xdebug.profiler_output_name = &quot;xdebug_profile.%R::%u&quot;
</pre>
<p>Windows erlaubt aber keine Doppelpunkte im Dateinamen. Es gibt keine Fehlermeldung, gar nichts. Es tut sich einfach nichts.</p>
<p>Geändert auf z.B.</p>
<pre class="brush: plain; title: ; notranslate">
xdebug.profiler_output_name = &quot;callgrind.%t-%s&quot;
</pre>
<p>&#8230;und es funktioniert. Das Prefix &#8220;callgrind.&#8221; benutze ich, damit ich die Datei dann in KCacheGrind öffnen kann.</p>
<p>Weitere Informationen gibt es in der <a href="http://xdebug.org/docs/all_settings#profiler_output_name">Xdebug-Doku</a>.</p>
<p>Da muss man erstmal draufkommen.</p>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2011/07/27/xdebug-mit-xampp-unter-windows-standard-einstellung-vom-profiler-funktioniert-nicht/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Aktives Fenster auf anderen Monitor verschieben</title>
		<link>http://sabel.bluegfx.de/2011/05/30/linux-aktives-fenster-auf-anderen-monitor-verschieben/</link>
		<comments>http://sabel.bluegfx.de/2011/05/30/linux-aktives-fenster-auf-anderen-monitor-verschieben/#comments</comments>
		<pubDate>Mon, 30 May 2011 21:07:26 +0000</pubDate>
		<dc:creator>sabel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[window]]></category>
		<category><![CDATA[x]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://sabel.bluegfx.de/?p=343</guid>
		<description><![CDATA[Mit diesem kleinen Script lässt sich das aktuelle Fenster leicht per Shortcut von einem auf den anderen Monitor verschieben. Funktioniert auch mit maximierten Fenstern, die nach dem Verschieben weiterhin maximiert bleiben. Das Script ist für zwei Monitore mit gleicher Auflösung &#8230; <a href="http://sabel.bluegfx.de/2011/05/30/linux-aktives-fenster-auf-anderen-monitor-verschieben/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Mit diesem kleinen Script lässt sich das aktuelle Fenster leicht per Shortcut von einem auf den anderen Monitor verschieben. Funktioniert auch mit maximierten Fenstern, die nach dem Verschieben weiterhin maximiert bleiben.</p>
<p>Das Script ist für zwei Monitore mit gleicher Auflösung ausgelegt.</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash

# screen width
screen_width=1280

# active window
window=`xdotool getactivewindow`

# get active window size and position
x=`xwininfo -id $window | grep &quot;Absolute upper-left X&quot; | awk '{print $4}'`
w=`xwininfo -id $window | grep &quot;Width&quot; | awk '{print $2}'`

maximized=false
if [[ &quot;$w&quot; -eq &quot;$screen_width&quot; ]]; then
	maximized=true
fi

# window on left monitor
if [ &quot;$x&quot; -lt &quot;$screen_width&quot; ]; then

	if $maximized; then
		wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
	fi

	wmctrl -r :ACTIVE: -e 0,$screen_width,-1,-1,-1

	if $maximized; then
		wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
	fi

# window on right monitor
else

	if $maximized; then
		wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
	fi

	wmctrl -r :ACTIVE: -e 0,0,-1,-1,-1

	if $maximized; then
		wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
	fi

fi
</pre>
]]></content:encoded>
			<wfw:commentRss>http://sabel.bluegfx.de/2011/05/30/linux-aktives-fenster-auf-anderen-monitor-verschieben/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

