<?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>weblog von Sebastian Nemak &#187; linux</title>
	<atom:link href="http://der-basti.com/weblog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://der-basti.com/weblog</link>
	<description>Schnee von gestern oder die Zukunft von morgen</description>
	<lastBuildDate>Fri, 27 Apr 2012 13:45:17 +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>Proxy-Auto-Configuration (TH-Wildau)</title>
		<link>http://der-basti.com/weblog/2012/03/proxy-auto-configuration-th-wildau/</link>
		<comments>http://der-basti.com/weblog/2012/03/proxy-auto-configuration-th-wildau/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 09:37:04 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=902</guid>
		<description><![CDATA[Mit Hilfe der Proxy-Auto-Configuration (pac) findet der Webbrowser bzw. das System automatisch die passenden Proxy. Die pac ist eine einfache Text-/JavaScrip-Datei. Sie hat üblicherweise den Namen proxy.pac oder wpac.dat. Der Name ist jedoch Betriebssystem abhängig. Unter Mac OS X und den MS IE muss die Datei wpac.dat heißen. Solch eine Proxy Konfiguration kann auch automatisch [...]]]></description>
			<content:encoded><![CDATA[<p>Mit Hilfe der Proxy-Auto-Configuration (pac) findet der Webbrowser bzw. das System automatisch die passenden Proxy. Die pac ist eine einfache Text-/JavaScrip-Datei. Sie hat üblicherweise den Namen <i>proxy.pac</i> oder <i>wpac.dat</i>. Der Name ist jedoch Betriebssystem abhängig. Unter Mac OS X und den MS IE muss die Datei <i>wpac.dat</i> heißen.<br />
Solch eine Proxy Konfiguration kann auch automatisch im Netzwerk verteilt werden. Dies passiert, aufgrund der Gerätevielfalt in der TH-Wildau, jedoch nicht.</p>
<p>In dieser wird eine JavaScript-Funktion <i>FindProxyForURL(url, host)</i> definiert.<br />
Ein einfaches Beispiel für die TH-Wildau ist folgende Zeile.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> FindProxyForURL<span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> host<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #3366CC;">&quot;PROXY proxy.th-wildau.de:8080; DIRECT&quot;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span></pre></div></div>

<p>Die ganze PAC-Geschichte kann man natürlich auch noch weiter treiben&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> FindProxyForURL<span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> host<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">// function's</span>
		<span style="color: #006600; font-style: italic;">// isPlainHostName(host)</span>
		<span style="color: #006600; font-style: italic;">// dnsDomainIs(host, &quot;localhost&quot;) || dnsDomainIs(host, &quot;.beispiel.net&quot;)</span>
		<span style="color: #006600; font-style: italic;">// shExpMatch(host, &quot;192.168.178.*&quot;) || shExpMatch(host, &quot;10.0.*&quot;) || shExpMatch(url, &quot;https://*&quot;)</span>
		<span style="color: #006600; font-style: italic;">// isInNet(host, &quot;127.0.0.1&quot;, &quot;255.255.255.0&quot;) || isInNet(myIpAddress(), &quot;192.168.178.0&quot;, &quot;255.255.255.0&quot;)</span>
		<span style="color: #006600; font-style: italic;">// localHostOrDomainIs(host, &quot;127.0.0.1&quot;) || localHostOrDomainIs(host, &quot;beispiel.net&quot;)</span>
	<span style="color: #006600; font-style: italic;">// return's</span>
		<span style="color: #006600; font-style: italic;">// direkt - return &quot;DIRECT&quot;;</span>
		<span style="color: #006600; font-style: italic;">// proxy - return &quot;PROXY your.proxy.net:port&quot;;</span>
		<span style="color: #006600; font-style: italic;">// with fallback / multi proxy spec (proxy &gt; direct) - return &quot;PROXY proxy.th-wildau.de:8080; DIRECT&quot;;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">/*if (X() || Y()) {
		return &quot;DIRECT&quot;;
	} else if (Y() &amp;&amp; Z()) {
		return &quot;PROXY proxy.th-wildau.de:8080&quot;;
	} else {
		return &quot;PROXY proxy.th-wildau.de:8080; DIRECT&quot;;
	}*/</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Diese Datei kann beispielsweise in das Benutzerverzeichnis gelegt werden.<br />
Unter Mac OS X wird die pac unter <i>Systemeinstellungen / Netzwerk / WiFi bzw. Ethernet / Button: Weitere Optionen / Tab: Proxies / Checkbox: Autom. Proxy Konfiguration</i> eingetragen.</p>
<p><a href="http://der-basti.com/weblog/files/2012/03/pac-config.jpg" rel="lightbox[902]"><img src="http://der-basti.com/weblog/files/2012/03/pac-config.jpg" alt="" title="pac-config" width="651" height="506" class="alignnone size-full wp-image-1004" /></a></p>
<p>Hier gibt es noch weitere Informationen zum Thema <a href="http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/web-browser-auto-proxy-configuration.html" target="_blank">Link</>.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/03/proxy-auto-configuration-th-wildau/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClipGrab³</title>
		<link>http://der-basti.com/weblog/2010/01/clipgrab%c2%b3/</link>
		<comments>http://der-basti.com/weblog/2010/01/clipgrab%c2%b3/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 19:32:04 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=281</guid>
		<description><![CDATA[ClipGrap 3.0.5 habe ich vorhin entdeckt. Es ist ein kleine, feines GPL Tool zum Download und umwandeln von Videos. Naja, klein mit 15MB ist relativ. Aber okay. Es ist für Mac, Linux und Windows erhältlich. Ggf. könnt ihr es auch selbst aus den Sourcen kompilieren. Es funktioniert mit den Plattformen YouTube, Dailymotion, MyVideo, MySpass, Sevenload [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://clipgrab.de/" target="_blank">ClipGrap 3.0.5</a> habe ich vorhin entdeckt. Es ist ein kleine, feines GPL Tool zum Download und umwandeln von Videos. Naja, klein mit 15MB ist relativ. Aber okay. Es ist für Mac, Linux und Windows erhältlich. Ggf. könnt ihr es auch selbst aus den Sourcen kompilieren.<br />
Es funktioniert mit den Plattformen <a href="http://youtube.com/">YouTube</a>, <a href="http://www.dailymotion.com/">Dailymotion</a>, <a href="http://www.myvideo.de/">MyVideo</a>, <a href="http://www.myspass.de/">MySpass</a>, <a href="http://de.sevenload.com/">Sevenload</a> und <a href="http://www.vimeo.com/">Vimeo</a>.<br />
Die Videos können in den folgende Formaten konvertiert-gespeichert werden: orginal, MPEG4, WMV, OGG Theora (Video), OGG Vorbis (Audio) und MP3.</p>
<p><a href="http://der-basti.com/weblog/wp-content/uploads/2010/01/clipgrab3.jpg" rel="lightbox[281]"><img src="http://der-basti.com/weblog/wp-content/uploads/2010/01/clipgrab3-300x207.jpg" alt="ClipGrap3" class="aligncenter size-medium wp-image-284" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2010/01/clipgrab%c2%b3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

