<?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>~/slaveriq</title> <atom:link href="http://plassmann.ch/feed" rel="self" type="application/rss+xml" /><link>http://plassmann.ch</link> <description>fun, code and more fun</description> <lastBuildDate>Thu, 22 Mar 2012 20:55:31 +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>Todays .htaccess tip &#8211; How to get rid of the www. subdomain</title><link>http://plassmann.ch/archives/102</link> <comments>http://plassmann.ch/archives/102#comments</comments> <pubDate>Thu, 22 Mar 2012 20:48:39 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[.htaccess]]></category> <category><![CDATA[Code]]></category> <category><![CDATA[redirect]]></category> <category><![CDATA[rewrite]]></category> <category><![CDATA[subdomain]]></category><guid isPermaLink="false">http://plassmann.ch/?p=102</guid> <description><![CDATA[#www. is overrated RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.*) RewriteRule ^(.*) http://%1/$1 [QSA,L,R=301] Now let&#8217;s explain how this works: The first line is a comment, that explains what the rewrite is supposed to do. This line just turns on the rewrite &#8230; <a href="http://plassmann.ch/archives/102">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<pre class="brush:.htaccess">#www. is overrated
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*)  http://%1/$1 [QSA,L,R=301]</pre><p>Now let&#8217;s explain how this works:</p><p>The first line is a comment, that explains what the rewrite is supposed to do.</p><p>This line just turns on the rewrite engine</p><pre class="brush:.htaccess">RewriteEngine On</pre><p>This line says if the domain is &#8220;www.anything&#8221; and note that it saves the domain without the www. part as %1</p><pre class="brush:.htaccess">RewriteCond %{HTTP_HOST} ^www\.(.*)</pre><p>now this line does the actual rewriting. from anything to the domain with the query string attached (QSA) so we won&#8217;t break links. also note that it is a permanent redirect (the R=301 part) and it&#8217;s the last rule (L) that will be executed for this request.</p><pre class="brush:.htaccess">RewriteRule ^(.*)  http://%1/$1 [QSA,L,R=301]</pre>Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F102&amp;title=Todays%20.htaccess%20tip%20-%20How%20to%20get%20rid%20of%20the%20www.%20subdomain&amp;bodytext=%23www.%20is%20overrated%0D%0ARewriteEngine%20On%0D%0ARewriteCond%20%25%7BHTTP_HOST%7D%20%5Ewww%5C.%28.%2A%29%0D%0ARewriteRule%20%5E%28.%2A%29%20%20http%3A%2F%2F%251%2F%241%20%5BQSA%2CL%2CR%3D301%5D%0D%0ANow%20let%27s%20explain%20how%20this%20works%3A%0D%0A%0D%0AThe%20first%20line%20is%20a%20comment%2C%20that%20explains%20what%20the%20rewrite%20is%20supposed%20to%20do.%0D%0A%0D%0AThis%20line" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F102&amp;title=Todays%20.htaccess%20tip%20-%20How%20to%20get%20rid%20of%20the%20www.%20subdomain&amp;notes=%23www.%20is%20overrated%0D%0ARewriteEngine%20On%0D%0ARewriteCond%20%25%7BHTTP_HOST%7D%20%5Ewww%5C.%28.%2A%29%0D%0ARewriteRule%20%5E%28.%2A%29%20%20http%3A%2F%2F%251%2F%241%20%5BQSA%2CL%2CR%3D301%5D%0D%0ANow%20let%27s%20explain%20how%20this%20works%3A%0D%0A%0D%0AThe%20first%20line%20is%20a%20comment%2C%20that%20explains%20what%20the%20rewrite%20is%20supposed%20to%20do.%0D%0A%0D%0AThis%20line" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F102&amp;t=Todays%20.htaccess%20tip%20-%20How%20to%20get%20rid%20of%20the%20www.%20subdomain" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Todays%20.htaccess%20tip%20-%20How%20to%20get%20rid%20of%20the%20www.%20subdomain%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F102" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F102&amp;title=Todays%20.htaccess%20tip%20-%20How%20to%20get%20rid%20of%20the%20www.%20subdomain&amp;annotation=%23www.%20is%20overrated%0D%0ARewriteEngine%20On%0D%0ARewriteCond%20%25%7BHTTP_HOST%7D%20%5Ewww%5C.%28.%2A%29%0D%0ARewriteRule%20%5E%28.%2A%29%20%20http%3A%2F%2F%251%2F%241%20%5BQSA%2CL%2CR%3D301%5D%0D%0ANow%20let%27s%20explain%20how%20this%20works%3A%0D%0A%0D%0AThe%20first%20line%20is%20a%20comment%2C%20that%20explains%20what%20the%20rewrite%20is%20supposed%20to%20do.%0D%0A%0D%0AThis%20line" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Todays%20.htaccess%20tip%20-%20How%20to%20get%20rid%20of%20the%20www.%20subdomain&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F102" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/102/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mac OSx on the go</title><link>http://plassmann.ch/archives/96</link> <comments>http://plassmann.ch/archives/96#comments</comments> <pubDate>Thu, 22 Mar 2012 20:37:32 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Mac OS x]]></category><guid isPermaLink="false">http://plassmann.ch/?p=96</guid> <description><![CDATA[If you have read my previous post about OSx, then you might wonder a bit when i tell you that i am still using OSx. I could have installed Linux or even Windows on the Macbook. But there are some &#8230; <a href="http://plassmann.ch/archives/96">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>If you have read my previous post about OSx, then you might wonder a bit when i tell you that i am still using OSx. I could have installed Linux or even Windows on the Macbook.</p><p>But there are some reasons for me to keep using OSx. First reason being that i paid for OSx.  The other reason being that i like the mobility of the Macbook. I just close the lid and it goes to sleep once opened it&#8217;s back.  Yes Windows and Linux can do the same but not nearly as good.</p><p>I am really happy with the Hardware ever since i upgraded the Ram to 8GB and installed a SSD as my main disc. I can not really complain about lag since i don&#8217;t really see any lag anymore.</p><p>What still annoys me, is that since i updated to Lion i have to reboot a lot more than before. It&#8217;s due to many things. sometimes it&#8217;s just a program that hangs itself up or sometimes it&#8217;s even the login screen that get&#8217;s stuck (haven&#8217;t that for a while though)</p><p>I am actually thinking of trying Linux on my Macbook, maybe a dualboot work. It would be interesting to see if i can get Archlinux to work just well with the suspend and hibernation as OSx does.</p><p>But a reinstall will probably not happen until i have enough of Diablo 3 (y u no out yet)</p> Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F96&amp;title=Mac%20OSx%20on%20the%20go&amp;bodytext=If%20you%20have%20read%20my%20previous%20post%20about%20OSx%2C%20then%20you%20might%20wonder%20a%20bit%20when%20i%20tell%20you%20that%20i%20am%20still%20using%20OSx.%20I%20could%20have%20installed%20Linux%20or%20even%20Windows%20on%20the%20Macbook.%0D%0A%0D%0ABut%20there%20are%20some%20reasons%20for%20me%20to%20keep%20using%20OSx.%20First%20reason%20bein" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F96&amp;title=Mac%20OSx%20on%20the%20go&amp;notes=If%20you%20have%20read%20my%20previous%20post%20about%20OSx%2C%20then%20you%20might%20wonder%20a%20bit%20when%20i%20tell%20you%20that%20i%20am%20still%20using%20OSx.%20I%20could%20have%20installed%20Linux%20or%20even%20Windows%20on%20the%20Macbook.%0D%0A%0D%0ABut%20there%20are%20some%20reasons%20for%20me%20to%20keep%20using%20OSx.%20First%20reason%20bein" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F96&amp;t=Mac%20OSx%20on%20the%20go" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Mac%20OSx%20on%20the%20go%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F96" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F96&amp;title=Mac%20OSx%20on%20the%20go&amp;annotation=If%20you%20have%20read%20my%20previous%20post%20about%20OSx%2C%20then%20you%20might%20wonder%20a%20bit%20when%20i%20tell%20you%20that%20i%20am%20still%20using%20OSx.%20I%20could%20have%20installed%20Linux%20or%20even%20Windows%20on%20the%20Macbook.%0D%0A%0D%0ABut%20there%20are%20some%20reasons%20for%20me%20to%20keep%20using%20OSx.%20First%20reason%20bein" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Mac%20OSx%20on%20the%20go&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F96" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/96/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Enghave Station Pizza &amp; Grillbar [Ordered Out]</title><link>http://plassmann.ch/archives/77</link> <comments>http://plassmann.ch/archives/77#comments</comments> <pubDate>Mon, 11 Oct 2010 22:46:26 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Copenhagen Guide]]></category> <category><![CDATA[Veggie guide]]></category> <category><![CDATA[Ordered Out]]></category><guid isPermaLink="false">http://plassmann.ch/?p=77</guid> <description><![CDATA[We ordered through Pizzaplus.dk. That means that we paid online and had human interaction while ordering. We ordered our food at 11:15 and the order got confirmed to be at our office 12:30, but as we later should discover, is &#8230; <a href="http://plassmann.ch/archives/77">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>We ordered through <a href="http://pizzaplus.dk/menu/enghave-station/1720/Koebenhavn" target="_blank">Pizzaplus.dk</a>. That means that we paid online and had human interaction while ordering.</p><p>We ordered our food at 11:15 and the order got confirmed to be at our office 12:30, but as we later should discover, is that they first open at 15:00 on weekends. That was not mentioned on pizzaplus. No idea who&#8217;s fault that is but it&#8217;s a big minus for Enghave Station Pizza &amp; Grillbar.</p><p>After having to wait 4 hours and several phone calls to Enghave Station Pizza &amp; Grillbar, we got the food. The personal at Enghave Station Pizza &amp; Grillbar was friendly but was not very good at danish and they talked very silently, that made it very hard to unterstand what they said.</p><p>I had the:</p><blockquote><p><strong>46. Fettuccini spinat</strong><br /> Med spinat, flødesauceog gorgonzola.</p></blockquote><p>It&#8217;s pasta with spinach, creamsource and gorgonzola cheese.</p><p>It did not taste bad, but i could not taste the gorgonzola, but the spinach was very dominant. Because of that i would give it a <strong>Rating:</strong> 2 out of 5 stars.</p><p>In Service i would give it 0 out 0f 5.</p><p>The pricing is okay i Paid 49DDK for it, but it was not as much food as i hoped so that draws down and makes the pricing expensive. i give it <strong>Rating:</strong> 2 out of 5 stars</p><p>Read on to find out how the Veggie pizza was, that Sandra had.</p><blockquote><p><strong>22. Vegetariana</strong><br /> Tomat, ost, paprika, asparges, løg, champignon og artiskok.</p></blockquote><p>Deep pan. Slightly to much of most of the ingredients which took the overhand on the less than desired amount of champignon but this was still the best pizza I ever had in Copenhagen. I give it <strong>Rating:</strong> 4 out of 5 stars</p><p>However if I wouldnt have had something to do during the extremely long waiting time I would have been so irritated it would have ruined the entire meal. I felt tricked and unsure that we would even get food at all, an excellent way to ruin a customers mood and apetite.</p><p>The pizza was very good, but not worth that wait.</p><p>Overall rating <strong>Overall Rating:</strong> 2.67 out of 5 stars</p> Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F77&amp;title=Enghave%20Station%20Pizza%20%26amp%3B%20Grillbar%20%5BOrdered%20Out%5D&amp;bodytext=We%20ordered%20through%20Pizzaplus.dk.%20That%20means%20that%20we%20paid%20online%20and%20had%20human%20interaction%20while%20ordering.%0D%0A%0D%0AWe%20ordered%20our%20food%20at%2011%3A15%20and%20the%20order%20got%20confirmed%20to%20be%20at%20our%20office%2012%3A30%2C%20but%20as%20we%20later%20should%20discover%2C%20is%20that%20they%20first%20open%20" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F77&amp;title=Enghave%20Station%20Pizza%20%26amp%3B%20Grillbar%20%5BOrdered%20Out%5D&amp;notes=We%20ordered%20through%20Pizzaplus.dk.%20That%20means%20that%20we%20paid%20online%20and%20had%20human%20interaction%20while%20ordering.%0D%0A%0D%0AWe%20ordered%20our%20food%20at%2011%3A15%20and%20the%20order%20got%20confirmed%20to%20be%20at%20our%20office%2012%3A30%2C%20but%20as%20we%20later%20should%20discover%2C%20is%20that%20they%20first%20open%20" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F77&amp;t=Enghave%20Station%20Pizza%20%26amp%3B%20Grillbar%20%5BOrdered%20Out%5D" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Enghave%20Station%20Pizza%20%26amp%3B%20Grillbar%20%5BOrdered%20Out%5D%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F77" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F77&amp;title=Enghave%20Station%20Pizza%20%26amp%3B%20Grillbar%20%5BOrdered%20Out%5D&amp;annotation=We%20ordered%20through%20Pizzaplus.dk.%20That%20means%20that%20we%20paid%20online%20and%20had%20human%20interaction%20while%20ordering.%0D%0A%0D%0AWe%20ordered%20our%20food%20at%2011%3A15%20and%20the%20order%20got%20confirmed%20to%20be%20at%20our%20office%2012%3A30%2C%20but%20as%20we%20later%20should%20discover%2C%20is%20that%20they%20first%20open%20" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Enghave%20Station%20Pizza%20%26amp%3B%20Grillbar%20%5BOrdered%20Out%5D&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F77" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/77/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mac OSx &#8211; What fanboys ignore [update]</title><link>http://plassmann.ch/archives/40</link> <comments>http://plassmann.ch/archives/40#comments</comments> <pubDate>Mon, 19 Jul 2010 14:36:47 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Mac OS x]]></category> <category><![CDATA[dislike]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Mac OSx]]></category><guid isPermaLink="false">http://plassmann.ch/?p=40</guid> <description><![CDATA[If you trust those Apple Fanboys, then OSx must be THE ultimate OS. It is true that Mac OSx has the best Window Manager and some smart details that makes it easy to use. But you loose your freedom of &#8230; <a href="http://plassmann.ch/archives/40">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>If you trust those Apple Fanboys, then OSx must be THE ultimate OS.</p><p>It is true that Mac OSx has the best Window Manager and some smart details that makes it easy to use.</p><p>But you loose your freedom of choice, OSx comes with a Window Manager that you have to use, you can&#8217;t change the layout like you would on any X11 WM. So you can&#8217;t make your desktop personal besides changing the Wallpaper.</p><p>The default layout is fine for me so that does not bother me. Something i was very surprised to hear is the FS support. You will ofc have HFS/HFS+ support and also Fat and Fat32 but thats it. Yes you can read NTFS, but you can&#8217;t write to it. EXT, ZFS or  RaiserFS are not supported at all. Unless you would like to run your FS Driver in userspace(fuse).</p><p>Now what i like with OS x is that you get a unix shell, the default one sucks (bash) but i installed the z shell that runs smoothly &lt;3.</p><p>On Linux I loved the package managers, just run one command and you have the software. Mac is Freebsd based so they have &#8220;copied&#8221; the port system. Let me explain how the port system works.</p><p>The Freebsd port system works with makefiles, so say &#8220;make config&#8221; and then you can choose the compile options like support for bluetooth, in that way you get nice and small binaries. In most Linux distributions you would have a package manager that just installs binary packages. That is fast and fits most people. So why would you compile from source? To be able to choose, and customize the software to your needs.</p><p>Now with Mac ports you compile the source, but you can&#8217;t config pre compilation. (if you can somehow please leave a comment) So why would i ever want to compile if i just get the default config?</p><p>The management ability from mac ports is limited to the Software installed with MacPorts. So if i want to update all my Software i would need to open the Software and let the Software search for updates. I miss my package manager.</p><p>One more thing, I like to lock my Desktop, so people can&#8217;t go on my Facebook and write shit or change my Wallpaper to some sort of nasty porn picture. On Windows it&#8217;s easy (Windows key +L) on Linux (ctrl + alt + L) on Mac you need to go to the keychain preferences and tell to show a tray icon, then you need to go there and click on &#8220;Lock screen&#8221;. WTF!? give me a hotkey for that.</p><p>Oh Yeah, you can make one of your own (someone give me the path to the screensaver). Right now i have one for fast User switch but that is not fast as i would like it to be.</p><p>Now before you Fanboys get angry and start a flamewar. I like OSx, else i would not have spend money on it, but those things do really bother me i would wish them to be fixed.</p><p>[Update]</p><p><em>As I was informed, OSx has a build in shortcut for that ctrl+shift+eject.</em></p><p>Follow these instructions if you would like a hotkey for locking your Desktop:</p><p><a href="http://artofgeek.com/2009/09/08/lock-your-macs-screen-like-in-windows-snow-leopard-edition/">http://artofgeek.com/2009/09/08/lock-your-macs-screen-like-in-windows-snow-leopard-edition/﻿</a></p><p>but instead of the path shown use:</p><blockquote><p><span style="font-family: 'Lucida Grande', Lucida, Verdana, sans-serif; color: #515151; font-size: 14px; line-height: 23px;"><code>/System/Library/Frameworks/ScreenSaver.framework/Resources/</code><br /> <code>ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine﻿</code></span></p></blockquote><p>Don&#8217;t forget to go to</p><p>System Preferences &#8211;&gt; Security &#8211;&gt; Generell</p><p>and tell em to ask for the password immediately.</p> Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F40&amp;title=Mac%20OSx%20-%20What%20fanboys%20ignore%20%5Bupdate%5D&amp;bodytext=If%20you%20trust%20those%20Apple%20Fanboys%2C%20then%20OSx%20must%20be%20THE%20ultimate%20OS.%0D%0A%0D%0AIt%20is%20true%20that%20Mac%20OSx%20has%20the%20best%20Window%20Manager%20and%20some%20smart%20details%20that%20makes%20it%20easy%20to%20use.%0D%0A%0D%0ABut%20you%20loose%20your%20freedom%20of%20choice%2C%20OSx%20comes%20with%20a%20Window%20Manager%20that" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F40&amp;title=Mac%20OSx%20-%20What%20fanboys%20ignore%20%5Bupdate%5D&amp;notes=If%20you%20trust%20those%20Apple%20Fanboys%2C%20then%20OSx%20must%20be%20THE%20ultimate%20OS.%0D%0A%0D%0AIt%20is%20true%20that%20Mac%20OSx%20has%20the%20best%20Window%20Manager%20and%20some%20smart%20details%20that%20makes%20it%20easy%20to%20use.%0D%0A%0D%0ABut%20you%20loose%20your%20freedom%20of%20choice%2C%20OSx%20comes%20with%20a%20Window%20Manager%20that" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F40&amp;t=Mac%20OSx%20-%20What%20fanboys%20ignore%20%5Bupdate%5D" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Mac%20OSx%20-%20What%20fanboys%20ignore%20%5Bupdate%5D%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F40" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F40&amp;title=Mac%20OSx%20-%20What%20fanboys%20ignore%20%5Bupdate%5D&amp;annotation=If%20you%20trust%20those%20Apple%20Fanboys%2C%20then%20OSx%20must%20be%20THE%20ultimate%20OS.%0D%0A%0D%0AIt%20is%20true%20that%20Mac%20OSx%20has%20the%20best%20Window%20Manager%20and%20some%20smart%20details%20that%20makes%20it%20easy%20to%20use.%0D%0A%0D%0ABut%20you%20loose%20your%20freedom%20of%20choice%2C%20OSx%20comes%20with%20a%20Window%20Manager%20that" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Mac%20OSx%20-%20What%20fanboys%20ignore%20%5Bupdate%5D&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F40" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/40/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Eine Kleinigkeit für Lisa</title><link>http://plassmann.ch/archives/36</link> <comments>http://plassmann.ch/archives/36#comments</comments> <pubDate>Tue, 29 Jun 2010 21:57:43 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Code]]></category><guid isPermaLink="false">http://plassmann.ch/?p=36</guid> <description><![CDATA[#!/usr/bin/env python #für dat Lisa def stuff(quest): from random import randint num = randint(0,len(quest)) return quest[num] def main(): quest=["huuunger!", "Will spielen", "du bist doof" ] print("Ich bin das baby du musst mich lieb haben!") while 1: input = raw_input(stuff(quest)) if &#8230; <a href="http://plassmann.ch/archives/36">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<pre class="brush:python">
#!/usr/bin/env python
#für dat Lisa

def stuff(quest):
    from random import randint
    num = randint(0,len(quest))
    return quest[num]

def main():
    quest=["huuunger!",
           "Will spielen",
           "du bist doof"
           ]
    print("Ich bin das baby du musst mich lieb haben!")
    while 1:
        input = raw_input(stuff(quest))
        if input == "stirb":
            print("du mörder!")
            raw_input()
            break
if __name__ == '__main__':
    main()
</pre>Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F36&amp;title=Eine%20Kleinigkeit%20f%C3%BCr%20Lisa&amp;bodytext=%20%0D%0A%23%21%2Fusr%2Fbin%2Fenv%20python%0D%0A%23f%C3%BCr%20dat%20Lisa%0D%0A%0D%0Adef%20stuff%28quest%29%3A%0D%0A%20%20%20%20from%20random%20import%20randint%0D%0A%20%20%20%20num%20%3D%20randint%280%2Clen%28quest%29%29%0D%0A%20%20%20%20return%20quest%5Bnum%5D%0D%0A%0D%0Adef%20main%28%29%3A%0D%0A%20%20%20%20quest%3D%5B%22huuunger%21%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%22Will%20spielen%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%22du%20bist%20doof%22%0D%0A%20%20%20%20" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F36&amp;title=Eine%20Kleinigkeit%20f%C3%BCr%20Lisa&amp;notes=%20%0D%0A%23%21%2Fusr%2Fbin%2Fenv%20python%0D%0A%23f%C3%BCr%20dat%20Lisa%0D%0A%0D%0Adef%20stuff%28quest%29%3A%0D%0A%20%20%20%20from%20random%20import%20randint%0D%0A%20%20%20%20num%20%3D%20randint%280%2Clen%28quest%29%29%0D%0A%20%20%20%20return%20quest%5Bnum%5D%0D%0A%0D%0Adef%20main%28%29%3A%0D%0A%20%20%20%20quest%3D%5B%22huuunger%21%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%22Will%20spielen%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%22du%20bist%20doof%22%0D%0A%20%20%20%20" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F36&amp;t=Eine%20Kleinigkeit%20f%C3%BCr%20Lisa" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Eine%20Kleinigkeit%20f%C3%BCr%20Lisa%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F36" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F36&amp;title=Eine%20Kleinigkeit%20f%C3%BCr%20Lisa&amp;annotation=%20%0D%0A%23%21%2Fusr%2Fbin%2Fenv%20python%0D%0A%23f%C3%BCr%20dat%20Lisa%0D%0A%0D%0Adef%20stuff%28quest%29%3A%0D%0A%20%20%20%20from%20random%20import%20randint%0D%0A%20%20%20%20num%20%3D%20randint%280%2Clen%28quest%29%29%0D%0A%20%20%20%20return%20quest%5Bnum%5D%0D%0A%0D%0Adef%20main%28%29%3A%0D%0A%20%20%20%20quest%3D%5B%22huuunger%21%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%22Will%20spielen%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%22du%20bist%20doof%22%0D%0A%20%20%20%20" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Eine%20Kleinigkeit%20f%C3%BCr%20Lisa&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F36" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/36/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A little something for my GF</title><link>http://plassmann.ch/archives/25</link> <comments>http://plassmann.ch/archives/25#comments</comments> <pubDate>Thu, 22 Apr 2010 07:11:13 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Code]]></category><guid isPermaLink="false">http://plassmann.ch/?p=25</guid> <description><![CDATA[#!/usr/bin/env python ''' This is made for my wonderfull girlfriend. ''' try: import psyco psyco.full() import random except: import random def getBooks(file): import os f = open(os.path.join(os.path.curdir,file),'r') books = [] for line in f.readlines(): books.append(line) return books def shuffel(books): num &#8230; <a href="http://plassmann.ch/archives/25">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<pre class="brush:python">

#!/usr/bin/env python
'''
This is made for my wonderfull girlfriend.
'''
try:
    import psyco
    psyco.full()
    import random
except:
    import random

def getBooks(file):
    import os
    f = open(os.path.join(os.path.curdir,file),'r')
    books = []
    for line in f.readlines():
        books.append(line)
    return books

def shuffel(books):
    num = random.randint(0,len(books)-1)
    result = books[num] + ", Number of books in list %s" %len(books)
    return result

def main():
    print(shuffel(getBooks('books.txt')))
    raw_input()

if __name__ == '__main__':
    main()
</pre>Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F25&amp;title=A%20little%20something%20for%20my%20GF&amp;bodytext=%20%0D%0A%0D%0A%23%21%2Fusr%2Fbin%2Fenv%20python%0D%0A%27%27%27%0D%0AThis%20is%20made%20for%20my%20wonderfull%20girlfriend.%0D%0A%27%27%27%0D%0Atry%3A%0D%0A%20%20%20%20import%20psyco%0D%0A%20%20%20%20psyco.full%28%29%0D%0A%20%20%20%20import%20random%0D%0Aexcept%3A%0D%0A%20%20%20%20import%20random%0D%0A%20%20%20%20%20%20%20%20%0D%0Adef%20getBooks%28file%29%3A%0D%0A%20%20%20%20import%20os%0D%0A%20%20%20%20f%20%3D%20open%28os.path.join%28os.path" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F25&amp;title=A%20little%20something%20for%20my%20GF&amp;notes=%20%0D%0A%0D%0A%23%21%2Fusr%2Fbin%2Fenv%20python%0D%0A%27%27%27%0D%0AThis%20is%20made%20for%20my%20wonderfull%20girlfriend.%0D%0A%27%27%27%0D%0Atry%3A%0D%0A%20%20%20%20import%20psyco%0D%0A%20%20%20%20psyco.full%28%29%0D%0A%20%20%20%20import%20random%0D%0Aexcept%3A%0D%0A%20%20%20%20import%20random%0D%0A%20%20%20%20%20%20%20%20%0D%0Adef%20getBooks%28file%29%3A%0D%0A%20%20%20%20import%20os%0D%0A%20%20%20%20f%20%3D%20open%28os.path.join%28os.path" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F25&amp;t=A%20little%20something%20for%20my%20GF" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=A%20little%20something%20for%20my%20GF%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F25" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F25&amp;title=A%20little%20something%20for%20my%20GF&amp;annotation=%20%0D%0A%0D%0A%23%21%2Fusr%2Fbin%2Fenv%20python%0D%0A%27%27%27%0D%0AThis%20is%20made%20for%20my%20wonderfull%20girlfriend.%0D%0A%27%27%27%0D%0Atry%3A%0D%0A%20%20%20%20import%20psyco%0D%0A%20%20%20%20psyco.full%28%29%0D%0A%20%20%20%20import%20random%0D%0Aexcept%3A%0D%0A%20%20%20%20import%20random%0D%0A%20%20%20%20%20%20%20%20%0D%0Adef%20getBooks%28file%29%3A%0D%0A%20%20%20%20import%20os%0D%0A%20%20%20%20f%20%3D%20open%28os.path.join%28os.path" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=A%20little%20something%20for%20my%20GF&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F25" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/25/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hello World</title><link>http://plassmann.ch/archives/6</link> <comments>http://plassmann.ch/archives/6#comments</comments> <pubDate>Mon, 22 Mar 2010 01:46:39 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Code]]></category><guid isPermaLink="false">http://plassmann.ch/?p=6</guid> <description><![CDATA[if user == nice: print "hello World" else: print ":=(" Share and Enjoy:]]></description> <content:encoded><![CDATA[<pre class="brush:python">
if user == nice:
    print "hello World"
else:
    print ":=("
</pre>Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fplassmann.ch%2Farchives%2F6&amp;title=Hello%20World&amp;bodytext=%20%0D%0Aif%20user%20%3D%3D%20nice%3A%0D%0A%20%20%20%20print%20%22hello%20World%22%0D%0Aelse%3A%0D%0A%20%20%20%20print%20%22%3A%3D%28%22%20%0D%0A%0D%0A" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fplassmann.ch%2Farchives%2F6&amp;title=Hello%20World&amp;notes=%20%0D%0Aif%20user%20%3D%3D%20nice%3A%0D%0A%20%20%20%20print%20%22hello%20World%22%0D%0Aelse%3A%0D%0A%20%20%20%20print%20%22%3A%3D%28%22%20%0D%0A%0D%0A" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fplassmann.ch%2Farchives%2F6&amp;t=Hello%20World" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Hello%20World%20-%20http%3A%2F%2Fplassmann.ch%2Farchives%2F6" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fplassmann.ch%2Farchives%2F6&amp;title=Hello%20World&amp;annotation=%20%0D%0Aif%20user%20%3D%3D%20nice%3A%0D%0A%20%20%20%20print%20%22hello%20World%22%0D%0Aelse%3A%0D%0A%20%20%20%20print%20%22%3A%3D%28%22%20%0D%0A%0D%0A" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Hello%20World&amp;link=http%3A%2F%2Fplassmann.ch%2Farchives%2F6" ><img src="http://plassmann.ch/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><br/><br/>]]></content:encoded> <wfw:commentRss>http://plassmann.ch/archives/6/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 1632/1716 objects using disk: basic

Served from: plassmann.ch @ 2012-05-21 00:37:55 -->
