<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ileo&#039;s Blog</title>
	<atom:link href="http://blog.ileo.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ileo.de</link>
	<description>My life, science, astronomy, thoughts</description>
	<lastBuildDate>Wed, 30 Nov 2011 16:08:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.ileo.de' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ileo&#039;s Blog</title>
		<link>http://blog.ileo.de</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.ileo.de/osd.xml" title="ileo&#039;s Blog" />
	<atom:link rel='hub' href='http://blog.ileo.de/?pushpress=hub'/>
		<item>
		<title>Grüße vom Paranal</title>
		<link>http://blog.ileo.de/2011/04/16/gruse-vom-paranal/</link>
		<comments>http://blog.ileo.de/2011/04/16/gruse-vom-paranal/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 19:25:01 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=270</guid>
		<description><![CDATA[Buenas tardes señoras y señores, anbei ein paar Fotoeindrücke aus Chile, wo ich gerade (zum vierten Mal) beim Beobachten bin. Heute konnte ich das neue VST (VLT Survey Telescope) besichtigen, ein &#8220;kleines&#8221; 2.5-Meter-Teleskop das für Himmelsdurchmusterungen verwendet wird (um neue &#8230; <a href="http://blog.ileo.de/2011/04/16/gruse-vom-paranal/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=270&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Buenas tardes señoras y señores,</p>
<p>anbei ein paar Fotoeindrücke aus Chile, wo ich gerade (zum vierten Mal) beim Beobachten bin. Heute konnte ich das neue VST (VLT Survey Telescope) besichtigen, ein &#8220;kleines&#8221; 2.5-Meter-Teleskop das für Himmelsdurchmusterungen verwendet wird (um neue interessante Objekte zu finden, die später mit den großen Teleskopen angeschaut werden sollen). Danach bin ich zu Fuß vom Berggipfel zur &#8220;Residencia&#8221; runtergegangen (ca. 40 Minuten Spaziergang durch die Wüste). Das erstaunlichste an der Wüste finde ich immer noch, wie ruhig es hier ist. Man muss ab und zu einfach mal stehenbleiben und hören: Es ist still, absolut still. Mitunter hört man ein bisschen den Wind, aber ansonsten wirklich gar nichts.</p>
<p>Mittlerweile ist es auch wieder recht trocken geworden. Das merkt man zum Einen beim Wandern draußen (man kriegt sehr schnell einen trockenen Mund und trockene Augen) und drinnen merkt man es daran, dass man schon nach drei Schritten elektrisch geladen ist und bei jeder Berührung einen kleinen Schlag kriegt&#8230;</p>
<p>Das Wetter ist zur Zeit sehr gut, praktisch keine Wolken und sehr ruhige Atmosphäre. Ich hoffe, es bleibt die nächsten Tage noch so (und ich hoffe auch, dass ich von der Erkältung, die hier gerade rumgeht, verschont bleibe).</p>
<p>Jetzt lege ich mich mal noch ein bißchen an den Pool zum Ausruhen <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , in einer guten Stunde geht&#8217;s zum Essen und dann steht einen lange Nacht bevor (bis ca. 4 Uhr habe ich heute Beobachtungen).</p>
<p>Also dann: Hasta mañana!<br />
Leo<br />

<a href='http://blog.ileo.de/2011/04/16/gruse-vom-paranal/img-4710/' title='img 4710'><img data-attachment-id='271' data-orig-size='427,640' data-liked='0'width="100" height="150" src="http://ileob.files.wordpress.com/2011/04/img_4710.jpeg?w=100&#038;h=150" class="attachment-thumbnail" alt="img 4710" title="img 4710" /></a>
<a href='http://blog.ileo.de/2011/04/16/gruse-vom-paranal/img-4732/' title='img 4732'><img data-attachment-id='272' data-orig-size='640,427' data-liked='0'width="150" height="100" src="http://ileob.files.wordpress.com/2011/04/img_4732.jpeg?w=150&#038;h=100" class="attachment-thumbnail" alt="img 4732" title="img 4732" /></a>
<a href='http://blog.ileo.de/2011/04/16/gruse-vom-paranal/img-4735/' title='img 4735'><img data-attachment-id='273' data-orig-size='640,427' data-liked='0'width="150" height="100" src="http://ileob.files.wordpress.com/2011/04/img_4735.jpeg?w=150&#038;h=100" class="attachment-thumbnail" alt="img 4735" title="img 4735" /></a>
<a href='http://blog.ileo.de/2011/04/16/gruse-vom-paranal/img-4747/' title='img 4747'><img data-attachment-id='274' data-orig-size='640,427' data-liked='0'width="150" height="100" src="http://ileob.files.wordpress.com/2011/04/img_4747.jpeg?w=150&#038;h=100" class="attachment-thumbnail" alt="img 4747" title="img 4747" /></a>
<a href='http://blog.ileo.de/2011/04/16/gruse-vom-paranal/img-4793/' title='img 4793'><img data-attachment-id='275' data-orig-size='640,427' data-liked='0'width="150" height="100" src="http://ileob.files.wordpress.com/2011/04/img_4793.jpeg?w=150&#038;h=100" class="attachment-thumbnail" alt="img 4793" title="img 4793" /></a>
</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=270&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2011/04/16/gruse-vom-paranal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>

		<media:content url="http://ileob.files.wordpress.com/2011/04/img_4710.jpeg?w=100" medium="image">
			<media:title type="html">img 4710</media:title>
		</media:content>

		<media:content url="http://ileob.files.wordpress.com/2011/04/img_4732.jpeg?w=150" medium="image">
			<media:title type="html">img 4732</media:title>
		</media:content>

		<media:content url="http://ileob.files.wordpress.com/2011/04/img_4735.jpeg?w=150" medium="image">
			<media:title type="html">img 4735</media:title>
		</media:content>

		<media:content url="http://ileob.files.wordpress.com/2011/04/img_4747.jpeg?w=150" medium="image">
			<media:title type="html">img 4747</media:title>
		</media:content>

		<media:content url="http://ileob.files.wordpress.com/2011/04/img_4793.jpeg?w=150" medium="image">
			<media:title type="html">img 4793</media:title>
		</media:content>
	</item>
		<item>
		<title>Sync your life</title>
		<link>http://blog.ileo.de/2011/01/13/sync-your-life/</link>
		<comments>http://blog.ileo.de/2011/01/13/sync-your-life/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 20:26:12 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=261</guid>
		<description><![CDATA[If you would like to sync contacts and calendar entries wirelessly between your Mac and your iOS device(s) (such as iPhone, iPad, &#8230;), you can either subscribe to Apple&#8217;s &#8220;MobileMe&#8221; service at 79 € per year or you can manually &#8230; <a href="http://blog.ileo.de/2011/01/13/sync-your-life/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=261&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you would like to sync contacts and calendar entries wirelessly between your Mac and your iOS device(s) (such as iPhone, iPad, &#8230;), you can either subscribe to Apple&#8217;s &#8220;MobileMe&#8221; service at 79 € per year or you can manually set up sync solutions, e.g. using Google&#8217;s services. While &#8220;MobileMe&#8221; is certainly the much more convenient solution, it is also expensive.<span id="more-261"></span></p>
<p>I found it amazing that some of the relevant information to set up wireless address book and calendar syncing using the free solution was not available easily on the web. My requirements were:</p>
<p><strong>Keep my address books and my calendars on my iPhone and on my Mac in sync without me having to push any buttons or connect any cables.</strong></p>
<p>Here are the instructions that I was missing (using Mac OS X 10.6, iPhone OS 4.2.1):</p>
<h2>Mac &lt;-&gt; Google</h2>
<p>To sync your Mac&#8217;s &#8216;iCal&#8217; calendar with Google, simply add an account in iCal&#8217;s preferences. If you have more than one calendar you need to add them using the silly dummy calendars (&#8216;Stellvertreter&#8217; in German) which adds an unnecessary second level and makes the calendar side bar look a bit uglier than needed, but it works.</p>
<p>To sync your address book, you will have to set it up in the Address Book preferences. You probably don&#8217;t have to sync manually as long as</p>
<pre>~/Library/LaunchAgents/com.google.GoogleContactSyncAgent.plist</pre>
<p>is created that will take care of automatic syncing between your Mac&#8217;s address book and your Google account. Don&#8217;t follow <a href="http://blog.markojung.net/2009/02/sync-everything-with-google/">this advice</a> (using cron), or your user mail system will be flooded with error messages because the (running) Google daemon will be launched over and over again.</p>
<h2>iPhone &lt;-&gt; Google</h2>
<p>In order to achieve that you can in principle follow <a href="http://www.google.com/support/mobile/bin/answer.py?answer=138740&amp;topic=14252" target="_blank">these instructions</a>. One extra thing that I only found out after a bit of googling was: In the iPhone settings &gt; Mail, Contacts, Calendar &gt; [Your Google account], I had to set &#8220;synchronize Mail&#8221; to &#8220;unlimited&#8221; in order to make the calendar entries appear that I had entered before setting up the sync.</p>
<p>One other thing that is worth noting: You can set up which calendars to sync to your iPhone by surfing to m.google.com/sync <strong>on your iPhone</strong>. You will have to switch to the English version (or it says that the service wasn&#8217;t available).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=261&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2011/01/13/sync-your-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing your memory using memtest</title>
		<link>http://blog.ileo.de/2010/08/04/testing-your-memory-using-memtest/</link>
		<comments>http://blog.ileo.de/2010/08/04/testing-your-memory-using-memtest/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 09:02:42 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=249</guid>
		<description><![CDATA[Not yours, actually, but your Mac&#8217;s memory. I recently got two 4 GB modules (yes, that&#8217;s 8 GB of memory&#8230; wow!) and wanted to see if they are OK. Faulty memory modules may cause system crashes and all kinds of &#8230; <a href="http://blog.ileo.de/2010/08/04/testing-your-memory-using-memtest/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=249&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Not yours, actually, but your Mac&#8217;s memory. I recently got two 4 GB modules (yes, that&#8217;s 8 GB of memory&#8230; wow!) and wanted to see if they are OK. Faulty memory modules may cause system crashes and all kinds of weird behaviour. The program that can be used for this purpose is memtest which seems to be freely available with a GPL license but the <a href="http://www.memtestosx.org/joomla/index.php" target="_blank">official download website</a> asks to pay a small amount for downloading it. However, there are <a href="http://www.command-tab.com/2008/01/11/how-to-test-ram-under-mac-os-x/" target="_blank">alternative download sites</a> and even <a href="http://www.kelleycomputing.net/rember/" target="_blank">alternative frontends</a> to the memtest command line tool.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=249&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/08/04/testing-your-memory-using-memtest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>IDL and page orientation</title>
		<link>http://blog.ileo.de/2010/07/09/idl-and-page-orientation/</link>
		<comments>http://blog.ileo.de/2010/07/09/idl-and-page-orientation/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 14:38:55 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[IDL]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=243</guid>
		<description><![CDATA[In case you ever want to rotate a postscript file that&#8217;s in seascape orientation into ordinary landscape orientation, e.g. because IDL produces postscript files that are seascape, you can use this command for ghostscript: gs -dBATCH -dNOPAUSE -sOutputFile=pstest.pdf -sDEVICE=pdfwrite &#8220;-dAutoRotatePages=/None&#8221; &#8230; <a href="http://blog.ileo.de/2010/07/09/idl-and-page-orientation/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=243&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case you ever want to rotate a postscript file that&#8217;s in seascape orientation into ordinary landscape orientation, e.g. because IDL produces postscript files that are seascape, you can use this command for ghostscript:</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">gs -dBATCH -dNOPAUSE -sOutputFile=pstest.pdf -sDEVICE=pdfwrite &#8220;-dAutoRotatePages=/None&#8221; -c &#8220;&lt;&lt; /Orientation 1 &gt;&gt; setpagedevice&#8221; 0 rotate 0 0 translate -f pstest.ps</div>
<pre>gs -dBATCH -dNOPAUSE -sOutputFile=pstest.pdf -sDEVICE=pdfwrite "-dAutoRotatePages=/None" -c "&lt;&lt; /Orientation 1 &gt;&gt; setpagedevice" 0 rotate 0 0 translate -f pstest.ps</pre>
<div>where of course pstest.pdf and pstest.ps are the names of the files.</div>
<div></div>
<div>A more convenient way is to rotate within IDL, though, e.g. by using <a href="http://www.dfanning.com/programs/fixps.pro">David Fanning&#8217;s fixps.pro</a>.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=243&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/07/09/idl-and-page-orientation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>iOS 4 with free iPhone: Tethering still possible</title>
		<link>http://blog.ileo.de/2010/06/23/ios-4-with-free-iphone-tethering-still-possible/</link>
		<comments>http://blog.ileo.de/2010/06/23/ios-4-with-free-iphone-tethering-still-possible/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 22:04:37 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=240</guid>
		<description><![CDATA[I didn&#8217;t find on the internet whether Apple&#8217;s new iOS 4 would still allow Tethering for free iPhones, e.g. iPhones bought in Italy (like mine) and used with any SIM card. So I had to try out myself to find &#8230; <a href="http://blog.ileo.de/2010/06/23/ios-4-with-free-iphone-tethering-still-possible/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=240&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t find on the internet whether <a href="http://www.apple.com/iphone/softwareupdate/" target="_blank">Apple&#8217;s new iOS 4</a> would still allow Tethering for free iPhones, e.g. iPhones bought in Italy (like mine) and used with any SIM card. So I had to try out myself to find out: It does.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=240&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/06/23/ios-4-with-free-iphone-tethering-still-possible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>Opas Kartoffelsalat</title>
		<link>http://blog.ileo.de/2010/06/20/opas-kartoffelsalat/</link>
		<comments>http://blog.ileo.de/2010/06/20/opas-kartoffelsalat/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:35:59 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[Rezepte]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=236</guid>
		<description><![CDATA[Auf mehrfache Nachfrage hin poste ich hier das Rezept nach dem ich Kartoffelsalat mache. Ich habe es von meinem Opa, Kurt Brüggeller. Zutaten 4 mittelgroße speckige Kartoffeln (pro Person) rote Zwiebeln Essiggurken, süß-sauer Senf Kren (Meerrettich), am besten pur also &#8230; <a href="http://blog.ileo.de/2010/06/20/opas-kartoffelsalat/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=236&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Auf mehrfache Nachfrage hin poste ich hier das Rezept nach dem ich Kartoffelsalat mache. Ich habe es von meinem Opa, Kurt Brüggeller.</p>
<h3>Zutaten</h3>
<ul>
<li>4 mittelgroße speckige Kartoffeln (pro Person)</li>
<li>rote Zwiebeln</li>
<li>Essiggurken, süß-sauer</li>
<li>Senf</li>
<li>Kren (Meerrettich), am besten pur also kein&#8221; Gourmet-Sahne-Meerrettich&#8221; o.ä.</li>
<li>Salz, Pfeffer, je nach Geschmack etwas Petersilie</li>
<li>Raps- oder Sonnenblumenöl</li>
<li>Apfelessig</li>
<li>Evtl. mit Garnitur: hartgekochtes Ei, Schnittlauch, (Cocktail-)Tomaten</li>
</ul>
<h3>Zubereitung</h3>
<p>Kartoffeln kochen, auskühlen lassen, schälen, fein blättrig schneiden. Zwiebeln und Essiggurken fein schneiden, alles gut mischen. Abschmecken, mindestens drei Stunden in den Kühlschrank. Dort ziehen die Kartoffeln viel Wasser, daher darf der Salat vorher ruhig recht feucht sein, damit er am Schluss nicht zu trocken wird.</p>
<p>Guten Appetit!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=236&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/06/20/opas-kartoffelsalat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>Most annoying feature of the month: autocomplete=off</title>
		<link>http://blog.ileo.de/2010/05/10/most-annoying-feature-of-the-month-autocompleteoff/</link>
		<comments>http://blog.ileo.de/2010/05/10/most-annoying-feature-of-the-month-autocompleteoff/#comments</comments>
		<pubDate>Mon, 10 May 2010 20:36:33 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=232</guid>
		<description><![CDATA[Thank you, dear browser developers, for trying hard to protect us innocent web surfers from the evils of the web. While features such as phishing protection might really be helpful, another very widely used, but seldomly recognised, feature isn&#8217;t. I &#8230; <a href="http://blog.ileo.de/2010/05/10/most-annoying-feature-of-the-month-autocompleteoff/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=232&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thank you, dear browser developers, for trying hard to protect us innocent web surfers from the evils of the web. While features such as phishing protection might really be helpful, another very widely used, but seldomly recognised, feature isn&#8217;t. I am talking about the &#8220;autocomplete=off&#8221; feature here that prevents website to save login credentials in a system-wide password-manager (such as Keychain under Mac OS X). Meant to protect banking websites and other high-security sites, some webmasters apparently feel a need to use it for trivial-use websites such as Google or Deutsche Bahn. This is both annoying and dangerous. Annoying it is of course because it requries you to look up the password everytime you want to log in to that website. Dangerous it is, because people then might store passwords again in un-protected lists and / or copy-paste their login data to the form thereby making the data more easily accessible by intruders.</p>
<p>Solution? As in many cases: Use Firefox. While there seem to be some work-arounds to fix this annoying feature for <a href="http://www.macosxhints.com/comment.php?mode=display&amp;sid=20041012233334948&amp;title=Force+Safari+to+save+sites%27+autofill-blocked+form+data&amp;type=article&amp;order=&amp;pid=47765" target="_blank">older versions of Safari</a>, newer versions of WebKit (the HTML engine underlying Safari) don&#8217;t seem to be patchable this way. However, with Firefox together with the add-on <a href="http://wiki.greasespot.net/Main_Page" target="_blank">Greasemonkey</a>, you can use scripts to enhance your surfing experience. The script <a href="http://userscripts.org/scripts/show/68645" target="_blank">re-enable_password_manager</a> by andunix did the job for me. Now the Deutsche Bahn website opens again with login data pre-filled &#8212; as it should. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>One final note about Greasmonkey: Don&#8217;t let yourself be confused by the options that it offers you when adding a new script. In case it did nevertheless, this <a href="http://stackoverflow.com/questions/386612/greasemonkey-namespace-what-is-it-for" target="_blank">Stackoverflow webpage</a> might help clarify things.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=232&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/05/10/most-annoying-feature-of-the-month-autocompleteoff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert multiple ps files into pdf using ps2pdf</title>
		<link>http://blog.ileo.de/2010/04/20/convert-multiple-ps-files-into-pdf-using-ps2pdf/</link>
		<comments>http://blog.ileo.de/2010/04/20/convert-multiple-ps-files-into-pdf-using-ps2pdf/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 12:11:38 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=228</guid>
		<description><![CDATA[Unfortunately ps2pdf doesn&#8217;t allow that. But with a script as simple as that it will convert all ps files in your working directory into pdf and delete the original files: #!/bin/bash ## ## Written by Leonard Burtscher (burtscher@mpia.de) ## 20 &#8230; <a href="http://blog.ileo.de/2010/04/20/convert-multiple-ps-files-into-pdf-using-ps2pdf/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=228&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Unfortunately ps2pdf doesn&#8217;t allow that. But with a script as simple as that it will convert all ps files in your working directory into pdf and delete the original files:</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">#!/bin/bash</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">##</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">## Written by Leonard Burtscher (burtscher@mpia.de)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">## 20 Apr 2010</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">##</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">##</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">## PURPOSE</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">##</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">##</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">## To transform all ps files of a directory into pdf using ps2pdf</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">## Then delete all ps files</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">##</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">filelist=`(find . -name \*.ps)`</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">for i in $filelist; do</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">ps2pdf $i</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">rm $i</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo &#8216;Converted $i into pdf, deleted original file.&#8217;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">done</div>
<pre>#!/bin/bash

filelist=`(find . -name \*.ps)`

for i in $filelist; do

        ps2pdf $i

        rm $i

        echo 'Converted $i into pdf, deleted original file.'

done</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/228/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=228&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/04/20/convert-multiple-ps-files-into-pdf-using-ps2pdf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>On the plural of AGN</title>
		<link>http://blog.ileo.de/2010/03/24/on-the-plural-of-agn/</link>
		<comments>http://blog.ileo.de/2010/03/24/on-the-plural-of-agn/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 13:29:35 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Language]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=216</guid>
		<description><![CDATA[In the current view of galaxy formation and cosmology most galaxies undergo phases of high nuclear activity, where they accrete lots of matter (compared to their Eddington accretion rate) and shine brightly. Such an object is then called an Active &#8230; <a href="http://blog.ileo.de/2010/03/24/on-the-plural-of-agn/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=216&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the current view of galaxy formation and cosmology most galaxies undergo phases of high nuclear activity, where they accrete lots of matter (compared to their Eddington accretion rate) and shine brightly. Such an object is then called an Active Galaxy and the thing in the center that actually shines and where lots of other stuff is happening is called an Active Galactic Nucleus or AGN.</p>
<p>Now how would one call two such objects? Certainly they are Active Galactic Nuclei, since the latin word nucleus (Second declension, &#8220;o-Deklination&#8221;) has a plural ending of -i in the nominative.</p>
<p>However, this does not mean that the plural of AGN necessarily must be AGN, AGNi or some other funny, but counter-intuitive, abbreviation.</p>
<p>AGNs is <del>also a</del> the only grammatically valid plural form of AGN. This is because the term AGN is so widely used that it itself has actually become lexicalized, i.e. it has become a word by itself. In other words: You say it. And since standard English words get an &#8216;s&#8217; in the plural, the plural of AGN is therefore AGNs.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=216&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/03/24/on-the-plural-of-agn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
		<item>
		<title>Working in multiple locations</title>
		<link>http://blog.ileo.de/2010/02/16/working-in-multiple-locations/</link>
		<comments>http://blog.ileo.de/2010/02/16/working-in-multiple-locations/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:57:09 +0000</pubDate>
		<dc:creator>ileo82</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://blog.ileo.de/?p=213</guid>
		<description><![CDATA[I guess it becomes more and more usual to work not only in one place but have your office wherever you are. Since years I find it extremely practical to have all my data on one mobile computer (a MacBook &#8230; <a href="http://blog.ileo.de/2010/02/16/working-in-multiple-locations/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=213&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I guess it becomes more and more usual to work not only in one place but have your office wherever you are. Since years I find it extremely practical to have all my data on one mobile computer (a MacBook Pro, currently) and work with this laptop in various locations. But different locations require different computer settings: The network setup may change, the printer system as well, the filesystem you&#8217;re connected to can be different as well as many other things. Since I found it annoying to always have to change all these things by hand, I put in place a set of scripts with which all setttings can be changed from one location to another with one simple shell command. <a href="http://blog.ileo.de/2009/04/15/getting-to-work/">When I get to my institute</a>, I call a script called <em>switchmpia.sh</em> which looks like this:</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">#!/bin/bash</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">rm ~/.bash_profile</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">ln -s ~/.bash_profile_mpia ~/.bash_profile</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">sudo mv /etc/cups/client.conf.off /etc/cups/client.conf</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">#</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">switch_network_mpia.osascript</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">echo &#8220;**************     Network environment set to home ******************&#8221;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">#</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">echo &#8220;**************         Environment set to MPIA        ***************&#8221;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:15px;width:1px;height:1px;">echo &#8220;Printer settings only become effective after restart of applications.&#8221;</div>
<blockquote><p>#!/bin/bash</p>
<p>rm ~/.bash_profile</p>
<p>ln -s ~/.bash_profile_mpia ~/.bash_profile</p>
<p>sudo mv /etc/cups/client.conf.off /etc/cups/client.conf</p>
<p>switch_network_mpia.osascript</p></blockquote>
<div>It changes the default <em>.bash_profile</em> to one that has some institute-specific settings (see below), changes the CUPS settings (so that I can use my USB printer at home and the CUPS network printers in my institute) and calls an Apple Script that changes my Mac&#8217;s network settings (see below).</div>
<div></div>
<div>My <em>.bash_profile_mpia</em> looks like this:</div>
<div>
<blockquote>
<div>export MIDIDATA=/Volumes/astrodata/MIDIDATA</div>
<div># &#8230;</div>
<div>echo &#8220;Environment: MPIA&#8221;</div>
<div>source ~/.bash_profile_generic</div>
</blockquote>
</div>
<div>It sets a number of environment variables that I use in my scripts to values appropriate for the disks that I have available in my office, then it calls my generic <em>.bash_profile</em>.</div>
<div></div>
<div>The above mentioned Apple Script <em>switch_network_mpia.osascript</em> looks like this:</div>
<div>
<blockquote>
<div>#!/usr/bin/osascript</div>
<div>tell application &#8220;System Events&#8221; to tell (process 1 whose frontmost is true) to click menu item &#8220;MPIA&#8221; of menu 1 of menu item &#8220;Umgebung&#8221; of menu 1 of menu bar item 1 of menu bar 1</div>
</blockquote>
</div>
<div>It changes my Mac&#8217;s network location (which uses a German localization) to the settings for my institute (setting mainly the correct proxy servers). A good website to learn how Apple Script can help you with scripting system preferences was <a href="http://www.macosxautomation.com/applescript/features/system-prefs.html" target="_blank">macosxautomation.com</a>. The Apple Script was the most tricky bit for me and I was happy to receive very <a href="http://discussions.apple.com/thread.jspa?threadID=2329748" target="_blank">helpful comments from </a><strong><a href="http://discussions.apple.com/thread.jspa?threadID=2329748" target="_blank">Pierre L.</a></strong><a href="http://discussions.apple.com/thread.jspa?threadID=2329748" target="_blank"> in Apple&#8217;s discussion forum</a> for this (see the link for more information about this). Thanks again, Pierre L.!</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ileob.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ileob.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ileob.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ileob.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ileob.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ileob.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ileob.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ileob.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.ileo.de&amp;blog=17074079&amp;post=213&amp;subd=ileob&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.ileo.de/2010/02/16/working-in-multiple-locations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fcedec2f0b9125c937107a7dc015a91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ileo82</media:title>
		</media:content>
	</item>
	</channel>
</rss>
