<?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; mac</title>
	<atom:link href="http://der-basti.com/weblog/tag/mac/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>Oracle&#8217;s Java 7 auf Mac OS X</title>
		<link>http://der-basti.com/weblog/2012/04/oracles-java-7-auf-mac-os-x/</link>
		<comments>http://der-basti.com/weblog/2012/04/oracles-java-7-auf-mac-os-x/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 13:32:25 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=1117</guid>
		<description><![CDATA[Seit Oktober 2010, mit der Übernahme Sun&#8217;s von Oracle, hat Apple beschlossen ihre eigene Java-Implementierung nicht mehr weiter entwickeln zu wollen. Vor ein paar Stunden hat Oracle nun das erste Java Release (7u4) für Mac OS veröffentlicht. Ich bin jetzt guter Hoffnung, dass für alle Systeme (Windows, Linux und Mac) von Oracle zeitgleich neue Versionen [...]]]></description>
			<content:encoded><![CDATA[<p>Seit Oktober 2010, mit der Übernahme Sun&#8217;s von Oracle, hat Apple beschlossen ihre eigene Java-Implementierung nicht mehr weiter entwickeln zu wollen. Vor ein paar Stunden hat Oracle nun das erste Java Release (7u4) für Mac OS veröffentlicht. Ich bin jetzt guter Hoffnung, dass für alle Systeme (Windows, Linux und Mac) von Oracle zeitgleich neue Versionen und damit auch fixes herauskommen. </p>
<p><b>Java 7 installieren</b></p>
<ol>
<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="new">Java 1.7 downloaden</a></li>
<li>Heruntergeladene <i>dmg</i> Datei öffnen und den Installer durchklicken</li>
<li>Das JDK sollte nun erfolgreich installiert sein</li>
<li>Nun öffnet man die <i>Java-Einstellungen</i>, welche unter <i>/Programme/Diesntprogramme</i> liegen</li>
<li>Den Eintrag <i>Java 7 SE</i> nach oben ziehen<br />
<a href="http://der-basti.com/weblog/files/2012/04/javaSettings.jpg" rel="lightbox[1117]"><img src="http://der-basti.com/weblog/files/2012/04/javaSettings-300x213.jpg" alt="" title="javaSettings" width="300" height="213" class="alignnone size-medium wp-image-1120" /></a></li>
<li>Jetzt kann man über das Terminal kontrollieren, ob alles funktioniert<br />
<a href="http://der-basti.com/weblog/files/2012/04/java7versionInfo.jpg" rel="lightbox[1117]"><img src="http://der-basti.com/weblog/files/2012/04/java7versionInfo.jpg" alt="" title="java7versionInfo" width="442" height="106" class="alignnone size-full wp-image-1119" /></a></li>
</ol>
<p><b>Eclipse einrichten</b></p>
<ol>
<li>Eclipse öffnen</li>
<li><i>Preferences</i> (cmd + ,) öffnen</li>
<li><i>Java</i> -> <i>Installed JREs</i> wählen</li>
<li><i>Add&#8230;</i> Button drücken und <i>MacOS X VM</i> auswählen</li>
<li>Im <i>JRE Home</i> Feld &#8220;/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home&#8221; eintragen</li>
<li>Jetzt sollten die <i>JRE system libraries</i> gefühlt sein<br />
<a href="http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/1588946.png" rel="lightbox[1117]"><img src="http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/1588946.png" alt="" title="JRE system libraries" width="520" height="394" class="alignnone size-full" /></a></li>
<li>Dem <i>JRE name</i> noch beispielsweise &#8220;JDK 1.7&#8243; eintragen und <i>Finish</i> drücken</li>
<li>Jetzt kann man das JDK 1.7 wählen</li>
</ol>
<p>Happy Coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/04/oracles-java-7-auf-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ForkLift unter Mac OS X Lion</title>
		<link>http://der-basti.com/weblog/2012/04/forklift-unter-mac-os-x-lion/</link>
		<comments>http://der-basti.com/weblog/2012/04/forklift-unter-mac-os-x-lion/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 08:52:39 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=1104</guid>
		<description><![CDATA[ForkLift ist ein klassischer file manager für Mac OS X. Habe ihn heut mal wieder nutzen wollen. Jedoch ist die alte Version 1.7.x nicht Lion kompatibel. Apple hat in Lion u.a. zwei Tools entfernt, die ForkLift nutzt. nmblookup und smbtree sind die Übeltäter. Um die nicht die aktuelle 2.x Version kaufen zu müssen, gibt es [...]]]></description>
			<content:encoded><![CDATA[<p>ForkLift ist ein klassischer file manager für Mac OS X. Habe ihn heut mal wieder nutzen wollen. Jedoch ist die alte Version 1.7.x nicht Lion kompatibel. Apple hat in Lion u.a. zwei Tools entfernt, die ForkLift nutzt. <i>nmblookup</i> und <i>smbtree</i> sind die Übeltäter. Um die nicht die aktuelle 2.x Version kaufen zu müssen, gibt es einen workaround.</p>
<ol>
<li>Lade das folgende Archiv herunter: <a href="http://download.binarynights.com/smb_tools.zip" target="new">http://download.binarynights.com/smb_tools.zip</a> (~ 2,4 MB)</li>
<li>Entpacke den Archivinhalt nach <i>/usr/bin/</i></li>
<li>Jetzt sollte ForkLift 1.7.x wieder unter Lion funktionieren</li>
</ol>
<p>Erfolgreich getestet mit Mac OS X (10.7.3) und ForkLift (1.7.8).</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/04/forklift-unter-mac-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erlang auf Mac OS X installieren</title>
		<link>http://der-basti.com/weblog/2012/04/erlang-auf-mac-os-x-installieren/</link>
		<comments>http://der-basti.com/weblog/2012/04/erlang-auf-mac-os-x-installieren/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 14:28:21 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=1071</guid>
		<description><![CDATA[Hier die kurz und einfache Installationsanleitung für Erlang auf Mac OS X (10.7.3): Das letzte Release hier herrunterladen Im Terminal folgendes ausführen # ggf. in der Verzeichnis Downloads wechseln # cd Downloads/ tar -xzf otp_src_%VERSION-NUMBER%.tar.gz # download entpacken cd otp_src_%VERSION-NUMBER% # in das Verzeichnis wechseln ./configure # configurieren make # bauen sudo make install # [...]]]></description>
			<content:encoded><![CDATA[<p>Hier die kurz und einfache Installationsanleitung für Erlang auf Mac OS X (10.7.3):</p>
<ol>
<li><a href="http://www.erlang.org/download.html" target="new">Das letzte Release hier herrunterladen</a></li>
<li>Im Terminal folgendes ausführen

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># ggf. in der Verzeichnis Downloads wechseln</span>
<span style="color: #666666; font-style: italic;"># cd Downloads/</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzf</span> otp_src_<span style="color: #000000; font-weight: bold;">%</span>VERSION-NUMBER<span style="color: #000000; font-weight: bold;">%</span>.tar.gz <span style="color: #666666; font-style: italic;"># download entpacken</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> otp_src_<span style="color: #000000; font-weight: bold;">%</span>VERSION-NUMBER<span style="color: #000000; font-weight: bold;">%</span> <span style="color: #666666; font-style: italic;"># in das Verzeichnis wechseln</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #666666; font-style: italic;"># configurieren</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #666666; font-style: italic;"># bauen</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #666666; font-style: italic;"># installieren</span></pre></div></div>

<p><i>%VERSION-NUMBER% &#8211; Aktuell ist gerade &#8216;R15B01&#8242;.</i></li>
<li>Das war es schon. Mittels &#8230;

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">erl</pre></div></div>

<p>&#8230; gelangt man in die interaktive Erlang Console.</li>
</ol>
<p>Mehr Informationen über Erlang sind hier zu finden:</p>
<ul>
<li><a href="http://www.erlang.org/" target="new">erlang.org</a></li>
<li><a href="http://en.wikipedia.org/wiki/Erlang_(programming_language)" target="new">erlang@wikipedia</a></li>
<li><a href="http://learnyousomeerlang.com/" target="new">learnyousomeerlang.com</a></li>
<li><a href="http://www.erlang-dach.org/lernen/lernen.html" target="new">erlang-dach.org &#8211; Erlang Anwendergruppe Deutschand.Österreich.Schweiz</a></li>
<li><a href="http://www.asconix.com/howtos/erlang/erlang" target="new">Erlang Howto</a></li>
<li><a href="http://www.erlang.se/doc/programming_rules.shtml" target="new">Erlang Programming Rules and Conventions</a></li>
<li><a href="http://erlide.org/" target="new">erlIDE für Eclipse</a></li>
<li><a href="https://groups.google.com/group/erlang-berlin/" target="new">Berlin Erlang User Group</a></li>
<li><a href="http://twitter.com/#!/erloungeberlin" target="new">erloungeberlin@twiter</a></li>
</ul>
<p>Happy Coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/04/erlang-auf-mac-os-x-installieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.DS_Store&#8217;s nerven</title>
		<link>http://der-basti.com/weblog/2012/03/ds_store-auf-usb-sticks-storen/</link>
		<comments>http://der-basti.com/weblog/2012/03/ds_store-auf-usb-sticks-storen/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 13:08:19 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=1020</guid>
		<description><![CDATA[.DS_Store&#8217;s (hidden files) legt Mac OS X auch automatisch auf USB-Stick und Netzlaufwerken an. Sie dienen dem System dazu individuelle Attribute (z.B. Position von Symbolen) zu speichern. Um diesen Desktop-Service abzuschalten genügt es folgende Zeile im Terminal auszuführen und sich abzumelden bzw. einen reboot durchzuführen. defaults write com.apple.desktopservices DSDontWriteNetworkStores true .DS_Store&#8217;s kann man natürlich auch [...]]]></description>
			<content:encoded><![CDATA[<p>.DS_Store&#8217;s (hidden files) legt Mac OS X auch automatisch auf USB-Stick und Netzlaufwerken an. Sie dienen dem System dazu individuelle Attribute (z.B. Position von Symbolen) zu speichern.</p>
<p>Um diesen Desktop-Service abzuschalten genügt es folgende Zeile im Terminal auszuführen und sich abzumelden bzw. einen reboot durchzuführen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.desktopservices DSDontWriteNetworkStores <span style="color: #c20cb9; font-weight: bold;">true</span></pre></div></div>

<p>.DS_Store&#8217;s kann man natürlich auch bequem per Terminal entfernen. Dazu geht man in das gewünschte Verzeichnis und führt folgenden Befehl aus.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.DS_Store'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-delete</span></pre></div></div>

<p><strong>Update</strong><br />
Versteckte Dateien/Ordner im Finder anzeigen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder AppleShowAllFiles TRUE
<span style="color: #c20cb9; font-weight: bold;">killall</span> Finder</pre></div></div>

<p>Rückgängig ist es mit folgenden Befehlen zu machen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder AppleShowAllFiles FALSE
<span style="color: #c20cb9; font-weight: bold;">killall</span> Finder</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/03/ds_store-auf-usb-sticks-storen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>PDF Dokumente unter Mac OS X verkleinern</title>
		<link>http://der-basti.com/weblog/2012/03/pdf-dokumente-unter-mac-os-x-verkleinern/</link>
		<comments>http://der-basti.com/weblog/2012/03/pdf-dokumente-unter-mac-os-x-verkleinern/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 20:45:04 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=740</guid>
		<description><![CDATA[Unter Mac OS X kann man schnell und bequem PDF Dokumente verkleinern. PDF Dokument verkleinern (mit vielen Bildern) PDF mit Vorschau öffnen Ablage / Exportieren&#8230; Quartz-Filter: Reduce File Size Jetzt nur noch Speichern Den Reduce File Size Quartz-Filter kann man auch noch selbst einstellen. Dazu öffnet man Programme / Dienstprogramme / ColorSync-Dienstprogramm und erstellt einen [...]]]></description>
			<content:encoded><![CDATA[<p>Unter Mac OS X kann man schnell und bequem PDF Dokumente verkleinern.</p>
<p><strong>PDF Dokument verkleinern (mit vielen Bildern)</strong></p>
<ol>
<li>PDF mit Vorschau öffnen</li>
<li>Ablage / Exportieren&#8230;</li>
<li>Quartz-Filter: Reduce File Size</li>
<li>Jetzt nur noch Speichern</li>
</ol>
<p>Den Reduce File Size Quartz-Filter kann man auch noch selbst einstellen. Dazu öffnet man <i>Programme / Dienstprogramme / ColorSync-Dienstprogramm</i> und erstellt einen neuen Filter. Diesen Filter kann man nun selbst konfigurieren.<br />
<a href="http://der-basti.com/weblog/files/2011/08/quartz_filter.jpg" rel="lightbox[740]"><img src="http://der-basti.com/weblog/files/2011/08/quartz_filter-300x227.jpg" alt="" width="300" height="227" class="alignnone size-medium wp-image-797" /></a></p>
<p><strong>Viele PDFs auf einen Schlag verkleinern</strong><br />
Lässt sich beispielsweise mit dem Automator erledigen.<br />
<a href="http://der-basti.com/weblog/files/2011/08/automator_reduce_pdfs.jpg" rel="lightbox[740]"><img src="http://der-basti.com/weblog/files/2011/08/automator_reduce_pdfs-288x300.jpg" alt="" width="288" height="300" class="alignnone size-medium wp-image-800" /></a><br />
<a href='http://der-basti.com/weblog/files/2011/08/automator_reduce_pdfs.zip'>automator_reduce_pdfs.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/03/pdf-dokumente-unter-mac-os-x-verkleinern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textauswahl in Quick Look aktivieren</title>
		<link>http://der-basti.com/weblog/2012/03/textauswahl-in-quick-look-aktivieren/</link>
		<comments>http://der-basti.com/weblog/2012/03/textauswahl-in-quick-look-aktivieren/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 23:46:07 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=977</guid>
		<description><![CDATA[Mit Quick Look betrachtete Dokumente lässt sich der Text gewöhnlich weder auswählen noch kopieren. Mit dem Tipp von lifehacker ändert sich dies: defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder Wer Dateianhängen in der Mail.app ebenfalls gerne eine Textpassage kopieren möchte, greift zu: defaults write com.apple.Mail QLEnableTextSelection -bool TRUE Dann natürlich Mail.app nochmals starten. Natürlich [...]]]></description>
			<content:encoded><![CDATA[<p>Mit Quick Look betrachtete Dokumente lässt sich der Text gewöhnlich weder auswählen noch kopieren. Mit dem <a href="http://lifehacker.com/5874280/copy-text-from-quick-look-previews-with-a-terminal-hack" target="_blank">Tipp von lifehacker</a> ändert sich dies:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder QLEnableTextSelection <span style="color: #660033;">-bool</span> TRUE; <span style="color: #c20cb9; font-weight: bold;">killall</span> Finder</pre></div></div>

<p>Wer Dateianhängen in der Mail.app ebenfalls gerne eine Textpassage kopieren möchte, greift zu:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.Mail QLEnableTextSelection <span style="color: #660033;">-bool</span> TRUE</pre></div></div>

<p>Dann natürlich Mail.app nochmals starten.<br />
Natürlich gibt es dass auch für die eingefleischten Microsoft Outlook:mac User:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.microsoft.Outlook QLEnableTextSelection <span style="color: #660033;">-bool</span> TRUE; <span style="color: #c20cb9; font-weight: bold;">killall</span> <span style="color: #ff0000;">&quot;Microsoft Outlook&quot;</span></pre></div></div>

<p>Um dies alles wieder rückgängig zu machen einfach folgendes ins Terminal tippen und bestätigen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults delete com.apple.finder QLEnableTextSelection; <span style="color: #c20cb9; font-weight: bold;">killall</span> Finder</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/03/textauswahl-in-quick-look-aktivieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBeans keyboard shortcuts</title>
		<link>http://der-basti.com/weblog/2012/01/netbeans-keyboard-shortcuts/</link>
		<comments>http://der-basti.com/weblog/2012/01/netbeans-keyboard-shortcuts/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 10:49:01 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=904</guid>
		<description><![CDATA[Bis dato hatte ich ausschließlich mit der Eclipse IDE programmiert. In der Hochschule wird jedoch NetBeans 7 eingesetzt. NetBeans 7 ist gar nicht mal so übel. Jedoch sind die Tastaturkürzel (shortcuts) anders. Das macht das Leben nicht gerade einfacher. Darum habe ich mich mal auf die Suche nach einer Keyboard-Shortcut-Übersicht gemacht. NetBeans 6.9 for Mac [...]]]></description>
			<content:encoded><![CDATA[<p>Bis dato hatte ich ausschließlich mit der Eclipse IDE programmiert. In der Hochschule wird jedoch NetBeans 7 eingesetzt.</p>
<p><a href="http://der-basti.com/weblog/files/2011/10/netbeans7.jpg" rel="lightbox[904]"><img src="http://der-basti.com/weblog/files/2011/10/netbeans7.jpg" alt="" title="netbeans7" width="473" height="300" class="alignnone size-full wp-image-911" /></a></p>
<p>NetBeans 7 ist gar nicht mal so übel. Jedoch sind die Tastaturkürzel (shortcuts) anders. Das macht das Leben nicht gerade einfacher. Darum habe ich mich mal auf die Suche nach einer Keyboard-Shortcut-Übersicht gemacht.</p>
<ul>
<li><a href="https://wiki.ucl.ac.uk/download/attachments/17077560/shortcuts_mac.pdf?version=1&#038;modificationDate=1297266073000" target="_blank">NetBeans 6.9 for Mac</a></li>
<li><a href="http://netbeans.org/project_downloads/www/shortcuts.pdf" target="_blank">NetBeans 7.0 for Win</a></li>
</ul>
<li><a href="http://netbeans.org/kb/articles/mac.html" target="_blank">Using NetBeans IDE on Mac OS X</a></li>
<li>Wenn du wissen möchtest welche keyboard shortcuts es alles in denier NetBeans Version gibt, dann schau unter <strong>Tools</strong> -> <strong>Options</strong> -> <strong>Keymap</strong> nach.</li>
</ul>
<p>Meine Favoriten:</p>
<table>
<tr>
<td>Shift + Esc</td>
<td>Toggle Work-space Maximize/Minimize</td>
</tr>
<tr>
<td>Ctrl+E</td>
<td>Delete current line</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
<p>Quelle: <a href="http://netbeanside61.blogspot.com/2008/04/top-10-netbeans-ide-keyboard-shortcuts.html" target="_blank">Top 10 NetBeans IDE Keyboard Shortcuts I use the most</a></p>
<p>Happy coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2012/01/netbeans-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batteriezustand deines Macs über das Terminal erfahren</title>
		<link>http://der-basti.com/weblog/2011/11/batteriezustand-deines-macs-uber-das-terminal-erfahren/</link>
		<comments>http://der-basti.com/weblog/2011/11/batteriezustand-deines-macs-uber-das-terminal-erfahren/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 12:07:09 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=922</guid>
		<description><![CDATA[Wieder einmal ein kleiner Artikel für die Mac-Terminal-Liebhaber. Wenn dich interessiert, was dein Akku noch enthält, wie viele Ladezyklen er hinter sich hat und wie viel seiner ursprünglichen Kapazität bereits abgebaut ist etc. Öffne das Terminal und führe folgendes aus ioreg -w0 -l &#124; grep Capacity &#124; cut -d &#34; &#34; -f 17-50 Ich weiß [...]]]></description>
			<content:encoded><![CDATA[<p>Wieder einmal ein kleiner Artikel für die Mac-Terminal-Liebhaber. Wenn dich interessiert, was dein Akku noch enthält, wie viele Ladezyklen er hinter sich hat und wie viel seiner ursprünglichen Kapazität bereits abgebaut ist etc.<br />
Öffne das Terminal und führe folgendes aus</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ioreg <span style="color: #660033;">-w0</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> Capacity <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">17</span>-<span style="color: #000000;">50</span></pre></div></div>

<p>Ich weiß diese Informationen lassen sich auch über Dienstprogramme / Systeminformationen abrufen. Jedoch lassen sich diese Information auch schön auf dem Desktop mittels den GeekTools / NerdTools darstellen. Wie das funktioniert, kannst du <a href="http://der-basti.com/weblog/2009/11/informationen-auf-dem-desktop/">hier</a> nachlesen.<br />
<!--</p>
<p>http://phacker.org/2008/10/23/check-mac-battery-health-from-terminalapp/</p>
<p>http://www.jonn8.com/html/scripts/Battery_Info.html</p>
<p>--></p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2011/11/batteriezustand-deines-macs-uber-das-terminal-erfahren/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drucker einrichten (TH-Wildau)</title>
		<link>http://der-basti.com/weblog/2011/09/drucker-einrichten-th-wildau/</link>
		<comments>http://der-basti.com/weblog/2011/09/drucker-einrichten-th-wildau/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 19:28:04 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=844</guid>
		<description><![CDATA[Wie eigentlich in jeder Universität/Hochschule kann man aus dem Netzwerk (VPN) drucken. So auch in der TH-Wildau. Für Windows gibt es bereits eine Tutorial. Alle die einen Mac benutzen müssen sich selbst helfen. Darum hier eine kleine Anleitung. Installiere den Toshiba e-STUDIO232-283_Ver1.01_MacOS10.4-10.6 Druckertreiber. Hinweis: funktioniert auch mit Mac OS X Lion Unter Systemeinstellungen / Drucken [...]]]></description>
			<content:encoded><![CDATA[<p>Wie eigentlich in jeder Universität/Hochschule kann man aus dem Netzwerk (VPN) drucken.<br />
So auch in der TH-Wildau. Für Windows gibt es bereits eine <a href="http://www.th-wildau.de/?id=700" target="_blank">Tutorial</a>.<br />
Alle die einen Mac benutzen müssen sich selbst helfen. Darum hier eine kleine Anleitung.<br />
<span id="more-844"></span></p>
<ol>
<li>Installiere den Toshiba <a href='http://der-basti.com/weblog/files/2011/09/e-STUDIO232-283_Ver1.01_MacOS10.4-10.6.zip'>e-STUDIO232-283_Ver1.01_MacOS10.4-10.6</a> Druckertreiber.<br />
<em>Hinweis: funktioniert auch mit Mac OS X Lion</em>
</li>
<li>Unter <strong>Systemeinstellungen</strong> / <strong>Drucken &#038; Scannen</strong> einen neues Drucker hinzufügen<br />
<a href="http://der-basti.com/weblog/files/2011/09/printer-1.jpg" rel="lightbox[844]"><img src="http://der-basti.com/weblog/files/2011/09/printer-1-150x150.jpg" alt="" title="Drucker hinzufügen" width="150" height="150" class="alignnone size-thumbnail wp-image-847" /></a>
</li>
<li>Nun muss man das Formular für den gewünschten Drucker ausfüllen.<br />
<strong>Adresse:</strong></p>
<table>
<tr>
<td><em>Haus</em></td>
<td><em>IP</em></td>
</tr>
<tr>
<td>Haus 13</td>
<td>194.95.44.167</td>
</tr>
<tr>
<td>Halle 14 Raum A-219 (mit Kopierterminal 106)</td>
<td>194.95.44.164</td>
</tr>
<tr>
<td>Haus 15</td>
<td>194.95.44.165</td>
</tr>
<tr>
<td>Haus 100</td>
<td>194.95.44.166</td>
</tr>
<tr>
<td>Halle 10 Bibliothek</td>
<td>194.95.49.212</td>
</tr>
</table>
<p><strong>Warteliste:</strong> PASSTHRU<br />
<strong>Drucken mit:</strong> <em>Drucksoftware auswählen</em><br />
<a href="http://der-basti.com/weblog/files/2011/09/printer-3.jpg" rel="lightbox[844]"><img src="http://der-basti.com/weblog/files/2011/09/printer-3-300x248.jpg" alt="" title="Treiberwahl" width="300" height="248" class="alignnone size-medium wp-image-865" /></a></p>
<p>Nun sollte das Formular etwa so aussehen.<br />
<a href="http://der-basti.com/weblog/files/2011/09/printer-4.jpg" rel="lightbox[844]"><img src="http://der-basti.com/weblog/files/2011/09/printer-4-300x257.jpg" alt="" title="Konfiguration" width="300" height="257" class="alignnone size-medium wp-image-866" /></a>
</li>
<li>
Jetzt kommt zwar eine Fehlermeldung, diese kann jedoch mit <em>Fortsetzen</em> bestätigt werden.<br />
<a href="http://der-basti.com/weblog/files/2011/09/printer-5.jpg" rel="lightbox[844]"><img src="http://der-basti.com/weblog/files/2011/09/printer-5-300x91.jpg" alt="" title="Fehlermeldung" width="300" height="91" class="alignnone size-medium wp-image-867" /></a>
</li>
<li>Bei folgender Konfiguration brauch nichts geändert werden. Jetzt noch auf <strong>OK</strong> klicken.<br />
<a href="http://der-basti.com/weblog/files/2011/09/printer-6.jpg" rel="lightbox[844]"><img src="http://der-basti.com/weblog/files/2011/09/printer-6-300x229.jpg" alt="" title="Weitere Konfiguration" width="300" height="229" class="alignnone size-medium wp-image-868" /></a>
</li>
<li><strong>Fertig</strong> der Drucker ist eingerichtet.<br />
<hr />
<div style="color:red;"><strong>WICHTIG!</strong></div>
<p>Bevor man Druckt, muss man in den <strong>Druckdetails</strong> / <strong>Druckmodus</strong> / <strong>Vertraulich</strong><br />
UND eine/seine <strong>PIN</strong> eingeben. Über diese PIN wird der Druck identifiziert und dementsprechend das Geld von der Karte gebucht.<br />
<em>Hinweis: leider wird der PIN wieder vergessen. Somit muss man ihn bei jedem Druck neu vergeben. Das kann leider auch zu bösen Überraschungen führen.</em></p>
<div style="color:red;"><strong>WICHTIG!</strong></div>
<hr />
<p><a href="http://der-basti.com/weblog/files/2011/09/printer-7.jpg" rel="lightbox[844]"><img src="http://der-basti.com/weblog/files/2011/09/printer-7-300x181.jpg" alt="" title="Druckdetails" width="300" height="181" class="alignnone size-medium wp-image-869" /></a>
</li>
</ol>
<p>Auf zum Druck-Terminal. Nach dem der Druckauftrag raus ist, kann man ihn sich mit der oben eingegebenen PIN am entsprechenden Druck-Terminal abholen. Der Preis pro Seite liegt bei ca. 6 ct.</p>
<p>P.S. Für Leute die Linux nutzen, sollte diese Anleitung ungefähr auch so funktionieren. Hier ist nur der Treiber und die Oberfläche etwas anders <img src='http://der-basti.com/weblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2011/09/drucker-einrichten-th-wildau/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Lion und TrueCrypt</title>
		<link>http://der-basti.com/weblog/2011/08/mac-os-x-lion-und-truecrypt/</link>
		<comments>http://der-basti.com/weblog/2011/08/mac-os-x-lion-und-truecrypt/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 22:02:57 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://der-basti.com/weblog/?p=778</guid>
		<description><![CDATA[Seit dem Update auf Mac OS X Lion funktioniert TrueCrypt 7.0a nicht mehr out of the box. Es kommt die Fehlermeldung: Library/Filesystems/fusefs.fs/Support/fusefs.kext failed to load &#8211; (Libyern/kext) link rror; check the system/kernel Logs for errors or try kextutil(8). The MacFUSE file system is not available (71). Abhilfe schaft die Installtion der neue MacFuse Core Version [...]]]></description>
			<content:encoded><![CDATA[<p>Seit dem Update auf Mac OS X Lion funktioniert TrueCrypt 7.0a nicht mehr out of the box. Es kommt die Fehlermeldung:</p>
<blockquote><p>Library/Filesystems/fusefs.fs/Support/fusefs.kext failed to load &#8211; (Libyern/kext) link rror; check the system/kernel Logs for errors or try kextutil(8). The MacFUSE file system is not available (71).</p></blockquote>
<p><a href="http://der-basti.com/weblog/files/2011/08/lion-truecrypt-error.jpg" rel="lightbox[778]"><img src="http://der-basti.com/weblog/files/2011/08/lion-truecrypt-error-300x123.jpg" alt="" width="300" height="123" class="alignnone size-medium wp-image-787" /></a></p>
<p>Abhilfe schaft die Installtion der neue <a href="http://www.tuxera.com/mac/macfuse-core-10.5-2.1.9.dmg">MacFuse Core Version 2.1.9</a>.</p>
<p><strong>Update:</strong> ab TrueCrypt 7.1 wird auch Mac OS X Lion unterstützt.</p>
<p><!--http://stadt-bremerhaven.de/dropbox-und-truecrypt-verschluesselte-daten-in-der-cloud</p>
<p>http://stadt-bremerhaven.de/truecrypt-container-unter-mac-os-x-automatisch-mounten</p>
<p>http://www.schmidp.com/2011/08/01/hide-postgresql-user-in-os-x-lion-10-7/--></p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2011/08/mac-os-x-lion-und-truecrypt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Max OS X in VirtualBox</title>
		<link>http://der-basti.com/weblog/2010/05/max-os-x-in-der-virtualbox/</link>
		<comments>http://der-basti.com/weblog/2010/05/max-os-x-in-der-virtualbox/#comments</comments>
		<pubDate>Sun, 02 May 2010 10:30:32 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=426</guid>
		<description><![CDATA[Seit ein paar Tagen (um genau zu sein dem 28. April 2010) gibt es die Beta1 von VirtualBox 3.2.0 zum Download. Hier ein paar der Neuerungen: Umbenennung in &#8220;Oracle VM VirtualBox&#8221; (das Sun Java wird es wohl dann auch nicht mehr geben) Experimentale Unterstützung von Max OS X Gästen CPU hot-plugging für Linux und eingeschränkt [...]]]></description>
			<content:encoded><![CDATA[<p>Seit ein paar Tagen (um genau zu sein dem 28. April 2010) gibt es die Beta1 von VirtualBox 3.2.0 zum <a href="http://download.virtualbox.org/virtualbox/http://download.virtualbox.org/virtualbox/3.2.0_BETA1/" target="_blank">Download</a>. Hier ein paar der Neuerungen:</p>
<ul>
<li>Umbenennung in &#8220;Oracle VM VirtualBox&#8221; (das Sun Java wird es wohl dann auch nicht mehr geben)</li>
<li><strong>Experimentale</strong> Unterstützung von Max OS X Gästen</li>
<li>CPU hot-plugging für Linux und eingeschränkt für WIndows</li>
<li>Löschen von Snapshots bei laufender VM</li>
<li>Support für Multi-Monitor jetzt auch im GUI Setup (ging schon via WinXP @ <a href="http://www.gentooforum.de/artikel/13485/virtualbox-vboxmanage-referenz.html" target="_blank" title="Referenz">VBoxManage</a>)

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#'Fernsteuerung' mit Port z.B. 6666 aktivieren</span>
vboxmanage modifyvm NameVM <span style="color: #660033;">-vrdpmulticon</span> on
vboxmanage modifyvm NameVM <span style="color: #660033;">-monitorcount</span> <span style="color: #000000;">2</span>
vboxvrdp <span style="color: #660033;">-startvm</span> NameVM
<span style="color: #666666; font-style: italic;">#mstsc /v:: \</span>
mstsc <span style="color: #000000; font-weight: bold;">/</span>v:127.0.0.1:<span style="color: #000000;">6666</span> <span style="color: #000000; font-weight: bold;">@</span>1\Administrator
mstsc <span style="color: #000000; font-weight: bold;">/</span>v:127.0.0.1:<span style="color: #000000;">6666</span> <span style="color: #000000; font-weight: bold;">@</span>2\Administrator</pre></div></div>

</li>
<li><a href="http://vbox.innotek.de/pipermail/vbox-announce/2010-April/000038.html" target="_blank">Einige Features mehr&#8230;</a></li>
</ul>
<p>Gestern Abend habe ich dann den Versuch unternommen Mac OS 10.6 auf Mac OS 10.6.3 zu installieren.<br />
Lizenz technisch ist das jedoch fraglich, da Apple dies für die Desktop Version eigentlich nicht erlaubt. Mal schauen, ob die Unterstützung Sang und Klang wieder entfernt wird oder Apple den VM-Hackintosh duldet. Nichts desto trotz hab ich ja noch ein paar freie Snow Leopard Lizenzen.<span id="more-426"></span></p>
<p><strong>UPDATE 2010-05-03</strong><br />
Die Vorfreude war jedoch leider schnell wieder vorbei. Die Kernel Panic &#8220;kdp_poll: no debugger device&#8221; stoppte das Vorhaben und ließ sich leider auch durch verschiedene Einstellungen nicht umgehen&#8230;<br />
<a href="http://der-basti.com/weblog/wp-content/uploads/2010/05/vbox_mac_os_kernel_panic.tiff"><img src="http://blog.der-basti.com/wp-content/uploads/2010/05/vbox_mac_os_kernel_panic.tiff" alt="" class="aligncenter size-full wp-image-431" /></a><br />
Ein paar hatten jedoch wohl schon eine shell und sogar eine graphische Oberfläche, die aber dann nur vom Beachball verschönert wurde. Für <a href="http://prasys.co.cc/2009/11/snow-leopard-boot-132-for-vmware-workstation-7-and-vmware-player-3/" target="_blank">VMWare</a> gibt es wohl ein lauffähige Lösungen.</p>
<p>Sobald es etwas neues gibt, wird es hier zu lesen sein.</p>
<p><strong>UPDATE 2010-05-09</strong> Heut ist die Beta 2 raus gekommen. Läuft bei mir jedoch leider immer noch nicht.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2010/05/max-os-x-in-der-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Konvertieren von .dmg &lt;-&gt; .iso</title>
		<link>http://der-basti.com/weblog/2010/05/konvertieren-von-dmg-iso/</link>
		<comments>http://der-basti.com/weblog/2010/05/konvertieren-von-dmg-iso/#comments</comments>
		<pubDate>Sat, 01 May 2010 19:19:38 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=418</guid>
		<description><![CDATA[Für alle die mal eben ein *.dmg in ein *.iso, oder umgekehrt, verwandeln möchten. Öffnen das Terminal / bash und benutzt einen der folgenden Befehle. .iso -&#62; .dmg hdiutil convert /path/to/filename.iso -format UDRW -o /path/to/savefile.dmg .dmg -&#62; .iso hdiutil convert /path/to/filename.dmg -format UDTO -o /path/to/savefile.iso Für mehr converter Optionen könnt ihr einfach mal hdiutil convert [...]]]></description>
			<content:encoded><![CDATA[<p>Für alle die mal eben ein *.dmg in ein *.iso, oder umgekehrt, verwandeln möchten. Öffnen das Terminal / bash und benutzt einen der folgenden Befehle.</p>
<p><strong>.iso -&gt; .dmg</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">hdiutil convert <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>filename.iso <span style="color: #660033;">-format</span> UDRW <span style="color: #660033;">-o</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>savefile.dmg</pre></div></div>

<p><strong>.dmg -&gt; .iso</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">hdiutil convert <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>filename.dmg <span style="color: #660033;">-format</span> UDTO <span style="color: #660033;">-o</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>savefile.iso</pre></div></div>

<p>Für mehr converter Optionen könnt ihr einfach mal <em>hdiutil convert -help</em> eingaben.</p>
<p>Happy converting!</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2010/05/konvertieren-von-dmg-iso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Airport Express &#8211; drucken von Windows</title>
		<link>http://der-basti.com/weblog/2010/02/airport-express-drucken-von-windows/</link>
		<comments>http://der-basti.com/weblog/2010/02/airport-express-drucken-von-windows/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 19:03:03 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=341</guid>
		<description><![CDATA[Apple&#8217;s Airport Express ist schon ein schönes kleines Gerät. Die kleine Box, die man einfach in die Steckdose steckt, hat einen recht umfangreichen Funktionsumfang. a/b/g/n Wi-Fi (2,4 GHz oder 5 GHz) und 10/100 LAN Anschluss WEP, WPA, WPA2 NAT, MAC-Adressfilterung, VPN Passthrough (IPSec, PPTP and L2TP) DHCP, PPPoE, DNS Proxy, IPv6 (6to4 und manuelle Tunnel) [...]]]></description>
			<content:encoded><![CDATA[<p>Apple&#8217;s Airport Express ist schon ein schönes kleines Gerät. Die kleine Box, die man einfach in die Steckdose steckt, hat einen recht umfangreichen Funktionsumfang.</p>
<ul>
<li>a/b/g/n Wi-Fi (2,4 GHz oder 5 GHz) und 10/100 LAN Anschluss
<ul>
<li>WEP, WPA, WPA2</li>
<li>NAT, MAC-Adressfilterung, VPN Passthrough (IPSec, PPTP and L2TP)</li>
<li>DHCP, PPPoE, DNS Proxy, IPv6 (6to4 und manuelle Tunnel)</li>
<li>WLAN auf 10 Benutzer begrenzt ):</li>
</ul>
</li>
<li>Streaming von Musik an die Stereoanlage oder Aktivlautsprecher
<ul>
<li>3,5 mm Anschluss (analoge oder optisch-digitale)</li>
<li><a href="http://www.rogueamoeba.com/airfoil/" target="_blank">Airfoil</a> und <a href="http://www.rogueamoeba.com/airfoil/speakers.php" target="_blank">Airfoil Speaker</a></li>
</ul>
</li>
<li>USB-Anschluss für die Anbindung eines USB-Druckers (keine Festplatte ): )</li>
<li>9,4 x 7,5 x 2,9 groß &#8211; ideal für Reisen</li>
</ul>
<p><!--Und man kann bei der Größe (9,4 x 7,5 x 2,9) es problemlos auf Reisen mitnehmen.--><br />
Nun aber zum eigentlichen Problem. Meine Freundin hat ein Notebook, auf dem Windows XP drauf läuft. Hier wollte ich ebenfalls den Drucker (GDI-Laserdrucker) einrichten. Die Einrichtung ging auch problemlos von der Hand (hier noch die orginal <a href="http://docs.info.apple.com/article.html?artnum=107998-de">Anleitung</a>). Jedoch als ich eine Testseite drucken wollte passierte nichts. Nach etwas Suche im Internet bin ich auf folgende Lösung gestoßen, welche bei mir funktioniert hat.</p>
<p>Drucker -&gt; Eigenschaften -&gt; Anschlüsse -&gt; Konfigurieren des 10.0.1.1 bzw. IP der Airport Express und bei Protokoll von &#8220;lpr&#8221; auf &#8220;raw&#8221;, mit der Portnummer 9100, umstellen.</p>
<p>Siehe da, es druckt.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2010/02/airport-express-drucken-von-windows/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>
		<item>
		<title>Podcasts</title>
		<link>http://der-basti.com/weblog/2010/01/podcasts/</link>
		<comments>http://der-basti.com/weblog/2010/01/podcasts/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 14:41:17 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=176</guid>
		<description><![CDATA[Seit ungefähr fünf Jahren höre ich nun schon Podcasts. Diese ganze Sache hat ca. ein Jahren vorher mit dem Chaosradio (@ Holger Klein) auf Fritz angefangen. Dadurch bin ich auf die gesamte Szene rund um Tim Pritlove und dem Chaos Computer Club (ccc) aufmerksam geworden. Da mich der ganze Tech-Staff interessiert. Es sollte nicht lange [...]]]></description>
			<content:encoded><![CDATA[<p>Seit ungefähr fünf Jahren höre ich nun schon Podcasts. Diese ganze Sache hat ca. ein Jahren vorher mit dem Chaosradio (@ Holger Klein) auf Fritz angefangen. Dadurch bin ich auf die gesamte Szene rund um <a href="http://tim.geekheim.de/" target="_blank">Tim Pritlove</a> und dem <a href="http://www.ccc.de" target="_blank">Chaos Computer Club</a> (ccc) aufmerksam geworden. Da mich der ganze Tech-Staff interessiert. Es sollte nicht lange dauern und der Chaosradio Express wurde geboren.<br />
Das waren noch Zeiten, Pionierzeiten so zu sagen. Es wusste kaum einer, was ein Podcast ist und noch weniger haben einen gehört.<br />
Meine ersten Podcasts waren Chaosradio Express, Bits und So und Schlaflos in München. Sie existieren ja erfreulicherweise bis heute. In diesem Zeitraum sind natürlich auch einige Podcasts wieder von der Oberfläche verschwunden.<br />
Ich kann mir schon lange nicht mehr vorstellen, auf dem Weg zur Arbeit (damals Schule und Zivildienst) und beim Einkaufen nichts auf den Ohren zu haben.<br />
Die Zeiten haben sich gewaltig geändert. Neben dem wachsenden Umfang, Qualität und Angebot, hat sich der Video Podcast etabliert.<br />
Meines Erachtens ist es eine exzellente Variante auf dem laufenden zu bleiben und sich weiter zu bilden. Den wer will sich von der Flimmerkiste berieseln lassen, wenn man selbst seinen Inhalt aussuchen und produzieren kann?</p>
<p>Hier noch eine Liste von hörenswerten Podcasts:</p>
<ul>
<li><a href="http://chaosradio.ccc.de/chaosradio.html" target="blank">Chaosradio</a></li>
<li><a href="http://chaosradio.ccc.de/chaosradio_express.html" target="blank">Chaosradio Express</a></li>
<li><a href="http://mobilemacs.de/" target="blank">MobileMacs</a></li>
<li><a href="http://www.bitsundso.de/" target="blank">Bits und so</a> (Kommerziell)</li>
<li><a href="http://www.die-drei-vogonen.de/" target="blank">Die drei Vogonnen</a></li>
<li><a href="http://www.radiotux.de/index.php/RadioTux:Aktuell:Podcast" target="blank">RadioTux</a></li>
<li><a href="http://www.mikrodilettanten.de/" target="blank">Mikrodilettanten</a></li>
<li><a href="http://www.heise.de/developer/podcast/" target="blank">heise Developer</a></li>
<li><a href="http://www.wolf-gideon-bleek.de/" target="blank">Softwaretechnik kompakt</a></li>
<li><a href="http://prototypen.com/radio/" target="blank">Radio Prototypen</a> (no Tech, Grüße an Falk)</li>
<li><a href="http://www.schlaflosinmuenchen.com/" target="blank">Schlaflos in München</a> (no Tech &#8211; classic)</li>
<li><a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=251507798" target="blank">Tiesto&#8217;s club life</a> (Musik)</li>
<li><a href="http://www.tagesschau.de/infoservices/podcast/index.html" target="blank">Tagesschau Audio &amp; Video</a> (no Tech)</li>
<li><a href="http://javaposse.com/" target="blank">Java Posse</a> (englisch)</li>
<li><a href="http://asylum.libsyn.com/" target="blank">asylum &#8211; JBoss World</a> (englisch)</li>
<li><a href="http://0x02100.silutions.de/" target="blank">Xcode von NULL auf Hundert</a> (Video)</li>
<li><a href="http://www3.ndr.de/sendungen/extra_3/podcast/extradreipodcast100.html" target="blank">Extra3</a> (Video, no Tech)</li>
</ul>
<p>Hört und schaut mal rein.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2010/01/podcasts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwordless SSH Login</title>
		<link>http://der-basti.com/weblog/2009/12/passwordless-ssh-login/</link>
		<comments>http://der-basti.com/weblog/2009/12/passwordless-ssh-login/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:43:47 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=143</guid>
		<description><![CDATA[Erstelle dir ein private/public key pair, which will create a private key in ~/.ssh/id_rsa den public in ~/.ssh/id_rsa.pub: ssh-keygen -t rsa Kopiere nun deinen public key zum remote host: scp ~/.ssh/id_rsa.pub username@remote-host.com:~ ssh username@remote-host.com cat ~/id_rsa.pub &#38;gt;&#38;gt; ~/.ssh/authorized_keys Fertig! Du kannst dich nun mit dem remote host über das selbe ssh commando wie zuvor verbinden. [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Erstelle dir ein private/public key pair, which will create a private key in ~/.ssh/id_rsa den public in ~/.ssh/id_rsa.pub:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> rsa</pre></div></div>

</li>
<li>Kopiere nun deinen public key zum remote host:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">scp</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_rsa.pub username<span style="color: #000000; font-weight: bold;">@</span>remote-host.com:~
<span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>remote-host.com
<span style="color: #c20cb9; font-weight: bold;">cat</span> ~<span style="color: #000000; font-weight: bold;">/</span>id_rsa.pub <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>authorized_keys</pre></div></div>

</li>
<li>Fertig! Du kannst dich nun mit dem remote host über das selbe ssh commando wie zuvor verbinden. Jeodch benötigst du nun kein Passwort mehr!</li>
</ol>
<p><strong>Hinweis</strong>: Dies funktioniert nur mit UNIX hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2009/12/passwordless-ssh-login/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Informationen auf dem Desktop</title>
		<link>http://der-basti.com/weblog/2009/11/informationen-auf-dem-desktop/</link>
		<comments>http://der-basti.com/weblog/2009/11/informationen-auf-dem-desktop/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 14:38:35 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Bits und Bytes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=65</guid>
		<description><![CDATA[Wie im letzten Blog Post zu lesen, habe ich mal wieder etwas für die Shell gescriptet. Als ich gerade etwas aufgeräumt habe, ist mit mein Desktop in Auge gefallen und denke das dies einen Post gewidmet werden kann. Ich denke das Programm GeekTool oder NerdTool kennt ihr. Die Kernfunktionalität sind Shellscripte, Bilder oder andere Dateien [...]]]></description>
			<content:encoded><![CDATA[<p>Wie im letzten Blog Post zu lesen, habe ich mal wieder etwas für die Shell gescriptet. Als ich gerade etwas aufgeräumt habe, ist mit mein Desktop in Auge gefallen und denke das dies einen Post gewidmet werden kann.<br />
Ich denke das Programm <a href="http://projects.tynsoe.org/en/geektool/">GeekTool</a> oder  <a href="http://">NerdTool</a> kennt ihr. Die Kernfunktionalität sind Shellscripte, Bilder oder andere Dateien als Teil des Bildschirmhintergrundes integrieren.</p>
<p>Hier ein paar Beispiele (<em>nicht alles selbst gescriptet</em>):</p>
<p><strong>System usage</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">top <span style="color: #660033;">-l</span> <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'/CPU usage/ {print &quot;CPU: &quot; $8, $9, $10, $11, $12, $13}'</span>
top <span style="color: #660033;">-l</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'/PhysMem/ {print &quot;RAM: used: &quot; $8 &quot; free: &quot; $10}'</span>
<span style="color: #c20cb9; font-weight: bold;">uptime</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{sub(&quot;:&quot;, &quot;h &quot;, $3); sub(&quot;,&quot;, &quot;min&quot;, $3); print &quot;Time since last system boot: &quot; $3}'</span></pre></div></div>

<p><strong>System</strong> (refresh 480s)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">system_profiler SPHardwareDataType SPSoftwareDataType <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'@info= ; $info= join(&quot;&quot;, @info);if($info=~m@[\r\n]+\s*Computer Name:\s*([^\r\n]+)[\r\n]+@) {print &quot;$1\n&quot;;}if($info=~m@[\r\n]+\s*System Version:\s*([^\r\n]+)[\r\n]+@) {print &quot;$1\n&quot;;}if($info=~m@[\r\n]+\s*Memory:\s*([^\r\n]+)[\r\n]+@) {print &quot;$1\n&quot;;}if($info=~m@[\r\n]+\s*Total Number Of Cores:\s*([^\r\n]+)[\r\n]+@) {print &quot;$1 x &quot;;}if($info=~m@[\r\n]+\s*Processor Speed:\s*([^\r\n]+)[\r\n]+@) {print &quot;$1 &quot;;}if($info=~m@[\r\n]+\s*Processor Name:\s*([^\r\n]+)[\r\n]+@) {print &quot;$1\n&quot;;}'</span></pre></div></div>

<p><strong>Network</strong> (refresh 60s)</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: #007800;">myen0</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> en0 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;inet &quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> 127.0.0.1 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span><span style="color: #000000; font-weight: bold;">`</span>
<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;">$myen0</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</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;Ethernet : <span style="color: #007800;">$myen0</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Ethernet : INACTIVE&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #007800;">myen1</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> en1 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;inet &quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> 127.0.0.1 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;myen1&quot;</span> <span style="color: #000000; font-weight: bold;">!</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;AirPort  : <span style="color: #007800;">$myen1</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Airport  : INACTIVE&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> External : <span style="color: #000000; font-weight: bold;">`</span>curl <span style="color: #660033;">-s</span> http:<span style="color: #000000; font-weight: bold;">//</span>checkip.dyndns.org<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/[a-zA-Z/ :]//g'</span><span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

<p><strong>Network traffic</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #666666; font-style: italic;"># created by chris helming.</span>
<span style="color: #666666; font-style: italic;"># chris dot helming at gmail</span>
<span style="color: #666666; font-style: italic;"># get the current number of bytes in and bytes out</span>
<span style="color: #007800;">myvar1</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-ib</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;en1&quot;</span> <span style="color: #660033;">-m</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $7}'</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #666666; font-style: italic;">#  bytes in</span>
<span style="color: #007800;">myvar3</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-ib</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;en1&quot;</span> <span style="color: #660033;">-m</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $10}'</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #666666; font-style: italic;"># bytes out</span>
<span style="color: #666666; font-style: italic;">#wait one second</span>
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
<span style="color: #666666; font-style: italic;"># get the number of bytes in and out one second later</span>
<span style="color: #007800;">myvar2</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-ib</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;en1&quot;</span> <span style="color: #660033;">-m</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $7}'</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #666666; font-style: italic;"># bytes in again</span>
<span style="color: #007800;">myvar4</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-ib</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;en1&quot;</span> <span style="color: #660033;">-m</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $10}'</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #666666; font-style: italic;"># bytes out again</span>
<span style="color: #666666; font-style: italic;"># find the difference between bytes in and out during that one second</span>
<span style="color: #007800;">subin</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$myvar2</span> - <span style="color: #007800;">$myvar1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">subout</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$myvar4</span> - <span style="color: #007800;">$myvar3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #666666; font-style: italic;"># convert bytes to kilobytes</span>
<span style="color: #007800;">kbin</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;scale=2; <span style="color: #007800;">$subin</span>/1024;&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bc</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">kbout</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;scale=2; <span style="color: #007800;">$subout</span>/1024;&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bc</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #666666; font-style: italic;"># print the results</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;IN : <span style="color: #007800;">$kbin</span> Kb/sec&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;OUT: <span style="color: #007800;">$kbout</span> Kb/sec&quot;</span></pre></div></div>

<p>Für weitere fertige Scripte kannst du auch einmal eine Suchmaschine deines Vertrauens befragen.<br />
Zusätzlich habe ich noch <a href="http://www.islayer.com/apps/istatmenus/">iStatsMenus</a> installiert. Meines Erachtens ein Tool, welches auch auf dem Mac nicht fehlen sollte.<br />
Alternativen bzw. Programme die in die gleiche Richtung gehen sind <a href="http://www.ragingmenace.com/software/menumeters/">MenuMeters</a>, <a href="http://www.atpurpose.com/atMonitor/">atMonitor</a> und <a href="http://www.gauchosoft.com/Software/X%20Resource%20Graph/">X Resource Graph</a></p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2009/11/informationen-auf-dem-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iSync und Nokia</title>
		<link>http://der-basti.com/weblog/2009/11/isync-und-nokia/</link>
		<comments>http://der-basti.com/weblog/2009/11/isync-und-nokia/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 19:27:50 +0000</pubDate>
		<dc:creator>Sebastian Nemak</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[handy]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.der-basti.com/?p=19</guid>
		<description><![CDATA[Wie Ihr sicherlich wisst beinhaltet Mac OS X iSync mit dem man sein mobiles gadget mit den Adressbuch und Kalender synchronisieren kann. Jedoch ist die Unterstützung für die Nokia Series 40 nicht gut. Damals habe ich in dem Blog-Artikel eine bei mir lauffähige Version gefunden, welche aber mit der 10.6 Installation leider abhanden gekommen ist. [...]]]></description>
			<content:encoded><![CDATA[<p>Wie Ihr sicherlich wisst beinhaltet Mac OS X iSync mit dem man sein mobiles gadget mit den Adressbuch und Kalender synchronisieren kann. Jedoch ist die Unterstützung für die Nokia Series 40 nicht gut. Damals habe ich in dem <a href="http://blog.dirkeinecke.de/2008/01/nokia-5310-xpressmusic-und-apple-isync.html">Blog-Artikel</a> eine bei mir lauffähige Version gefunden, welche aber mit der 10.6 Installation leider abhanden gekommen ist. Die Quelle feelfree.homelinux.com (HomeServer) ist heute nicht mehr erreichbar und Dirk hat nicht auf meine eMail reagiert. Darum bin ich selber zur Tat geschritten&#8230; selbst ist der Nerd.</p>
<p>Dies geht jedoch recht einfach mit dem iSync Plugin Maker. Er ist standardmäßig schon dabei. Jedoch müssen dazu die Developer Tool von der Mac OS X DVD installiert sein. Ich habe dazu das Handy via Bluetooth verbunden und die ganzen &#8216;Test&#8217; durchlaufen lassen. Kleiner Hinweis am Rande. Wenn Ihr das selber macht, bringt Zeit mit.</p>
<p>Hier mein <a href='http://der-basti.com/weblog/wp-content/uploads/2009/11/Nokia-5310.phoneplugin.zip'>Nokia 5310 XpressMusic iSync Plugin</a> (läuft auch unter iSync 3.1). Zum installieren öffnet Ihr den Finder, wählt iSync, lasst euch den Packetinhalt anzeigen, navigiert zum Ordner /Contents/PlugIns/ApplePhoneConduit.syncdevice/Contents/PlugIns/ und kopiert dort das Plugin hinein. Dann müsst Ihr nur noch iSync starten und mit dem Handy verbinden.<br />
Weitere <a href="http://james-lloyd.com/scripts/nokia-series-40-isync-plugin/">Nokia Series 40 Plugins</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://der-basti.com/weblog/2009/11/isync-und-nokia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

