<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>funkensturm. | Blog</title>
	
	<link>http://blog.funkensturm.de</link>
	<description>Das funkensturm. Weblog</description>
	<lastBuildDate>Sat, 10 Apr 2010 13:17:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/funkensturm" /><feedburner:info uri="funkensturm" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>I told you: Presentations</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/5wk7mT4CThA/</link>
		<comments>http://blog.funkensturm.de/2010/02/09/i-told-you-presentations/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 20:07:32 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[keynotes]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=279</guid>
		<description><![CDATA[When working with teams, I happen to explain over and over again what I think is a good presentation and what I think is a bad presentation. Now I post that wishful thinking of mine here, so that I can redirect everybody here who wants to know what I appreciate when putting together a presentation.
Mandatory: [...]]]></description>
			<content:encoded><![CDATA[<p>When working with teams, I happen to explain over and over again what I think is a good presentation and what I think is a bad presentation. Now I post that wishful thinking of mine here, so that I can redirect everybody here who wants to know what I appreciate when putting together a presentation.</p>
<h4>Mandatory: Title slide</h4>
<p>The first slide must contain</p>
<ul>
<li>the date of the presentation</li>
<li>the names of each presenter</li>
<li>the title / subtitle of the presentation</li>
</ul>
<h4>Mandatory: Slide numbers</h4>
<p>I want slide numbers on every slide. If there are no slide numbers, people cannot take notes and refer to a particular slide afterwards.</p>
<h4>Mandatory: <span class="caps">PDF</span> only</h4>
<p>There is no way I accept a PowerPoint or Keynotes file when handing in the presentation to the customer. It has to be <span class="caps">PDF</span>. However, it is OK to use the Keynotes project to present the presentation, because the Mac <span class="caps">OS PDF</span> full screen view sucks.</p>
<h4>Mandatory: Rounded corners</h4>
<p>Yes, I could put this into &#8220;Nice-to-Have features&#8221;, but it is so little work and so much effect that I request it. Use black, rounded corners for your presentation. If you don&#8217;t know how to do that, take it as an opportunity to learn how to do that. Keynotes should be shipping with a rounded corners function :)</p>
<h4>Mandatory: No animations</h4>
<p>The presentation mustn&#8217;t have any animation.</p>
<h4>Nice-to-Have: Backups</h4>
<p>Everybody in the team carries the presentation on a <span class="caps">USB</span> stick. Even better: bring some print-outs to be sure.</p>
<h4>It-depends: Dark / Light slide background</h4>
<p><a href="http://www.guykawasaki.com/books/art-of-the-start.shtml" onclick="pageTracker._trackPageview('/outgoing/www.guykawasaki.com/books/art-of-the-start.shtml?referer=');">Guy Kawasaki</a> made a stunning remark about why slides should have a dark background: Did you ever see the credits in the end of a movie on white background? At any rate, I recommend that you use a dark background (gray/black/blue) when the audience is sitting in a very small room and the screen is right in front of their eyes and they have to look at presentations all day long. In that case it is exhausting to look at a huge bright wall. If the presentation is a rather unique event of the day, you should use white background (easier to print as well). Check out the <a href="http://www.apple.com/quicktime/guide/appleevents" onclick="pageTracker._trackPageview('/outgoing/www.apple.com/quicktime/guide/appleevents?referer=');">Apple Keynotes</a> for good-looking dark background, they&#8217;re hard to make.</p>
<h4>The Laptop&#8230;</h4>
<ul>
<li>doesn&#8217;t need to reboot for <span class="caps">VGA</span> output</li>
<li>has the monitors synchronized, so that the presentation will be on the one and only main monitor</li>
<li>doesn&#8217;t have any icons on the desktop (looks very unprofessional)</li>
<li>does have an unspectacular, neutral desktop wallpaper (preferably black)</li>
<li>was tested on the beamer <span class="caps">BEFORE</span> the presentation started</li>
<li>has NO other program open (like messenger, outlook) except the presentation</li>
<li>has <span class="caps">REALLY NO</span> other program running, that includes the screensaver!</li>
<li>is connected to the power or has a full battery</li>
</ul>
<h4>The Presenter&#8230;</h4>
<ul>
<li>does <span class="caps">NOT</span> introduce the next speaker. You just leave the stage when you said your part.</li>
<li>will have a remote control (if not, let the others take care of controlling the slides)</li>
<li>does <span class="caps">NOT</span> look at one person (e.g. professor) &#8211; look at all the people</li>
<li>has practiced his part at least 3 times in front of the mirror and hits his time limit exactly</li>
</ul>
<h4>The Others&#8230;</h4>
<ul>
<li>stand on the <span class="caps">SAME</span> side while not saying anything</li>
<li>give the presenter <span class="caps">FULL</span> attention and are completely silent</li>
</ul>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/5wk7mT4CThA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2010/02/09/i-told-you-presentations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2010/02/09/i-told-you-presentations/</feedburner:origLink></item>
		<item>
		<title>AirPortClown: Simple MAC address spoof for Snow Leopard</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/eH3kKhct_s4/</link>
		<comments>http://blog.funkensturm.de/2010/01/22/airportclown-simple-mac-address-spoof-for-snow-leopard/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 13:41:40 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[mac os x]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[airport]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[spoof]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=270</guid>
		<description><![CDATA[So I found Ryans Automator to do this at iamthekiller but it was not 100% perfect, so I added some of JosteinB&#8217;s suggestions from his blog and out came an AppleScript Application called AirPortClown, which you can download here:

And it looks something like this:

The source code is of course included in the download. MacDaddyX didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>So I found Ryans Automator to do this at <a href="http://iamthekiller.net/2009/12/spoof-your-mac-address-with-services" onclick="pageTracker._trackPageview('/outgoing/iamthekiller.net/2009/12/spoof-your-mac-address-with-services?referer=');">iamthekiller</a> but it was not 100% perfect, so I added some of JosteinB&#8217;s suggestions from <a href="http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard" onclick="pageTracker._trackPageview('/outgoing/josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard?referer=');">his blog</a> and out came an AppleScript Application called AirPortClown, which you can download here:</p>
<p><a href="http://blog.funkensturm.de/wp-content/uploads/2010/04/AirPortClown.zip"><img src="http://blog.funkensturm.de/wp-content/uploads/2010/01/airportclown.png" alt="" title="airportclown" width="136" height="127" class="aligncenter size-full wp-image-271" /></a></p>
<p>And it looks something like this:</p>
<p><img src="http://blog.funkensturm.de/wp-content/uploads/2010/01/airportclown2.png" alt="" title="airportclown2" width="360" height="181" class="aligncenter size-full wp-image-273" /></p>
<p>The source code is of course included in the download. <a href="http://www.macupdate.com/info.php/id/25729" onclick="pageTracker._trackPageview('/outgoing/www.macupdate.com/info.php/id/25729?referer=');">MacDaddyX</a> didn&#8217;t work for me and <a href="http://sourceforge.net/projects/aspoof/" onclick="pageTracker._trackPageview('/outgoing/sourceforge.net/projects/aspoof/?referer=');">aaspoof</a> is Shareware.</p>
<p>Update: If you look though the comments you will see that there is still some development going on, this version up here is for OS X 10.6.3 but you can download the version for OS X 10.6.2 <a href="http://blog.funkensturm.de/wp-content/uploads/2010/03/AirPortClown.zip">here</a>. Make sure your Airport is turned on first when using the 10.6.3 version.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/eH3kKhct_s4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2010/01/22/airportclown-simple-mac-address-spoof-for-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2010/01/22/airportclown-simple-mac-address-spoof-for-snow-leopard/</feedburner:origLink></item>
		<item>
		<title>XML Sitemap Generator for Rails</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/0KHLc1EOz8k/</link>
		<comments>http://blog.funkensturm.de/2010/01/10/xml-sitemap-generator-for-rails/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 22:56:52 +0000</pubDate>
		<dc:creator>manuel</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Google Sitemaps]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[XML Sitemaps]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=263</guid>
		<description><![CDATA[I realy like the way the Google (XML) Sitemaps Generator for Wordpress handles the generation of my sitemaps and informs Google about the changes on my blog.
I was missing this in the Rails world for a long time, so I decided to build my own Rails plugin.
Here it is: &#8220;XML Sitemap Generator for Rails&#8221;
It&#8217;s just [...]]]></description>
			<content:encoded><![CDATA[<p>I realy like the way the <a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/" title="Google (XML) Sitemaps Generator for Wordpress" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/?referer=');">Google (XML) Sitemaps Generator for Wordpress</a> handles the generation of my sitemaps and informs Google about the changes on my blog.</p>
<p>I was missing this in the Rails world for a long time, so I decided to build my own Rails plugin.</p>
<p>Here it is: <a href="http://github.com/fsmanuel/xml_sitemap_generator" title="XML Sitemap Generator for Rails" target="_blank" onclick="pageTracker._trackPageview('/outgoing/github.com/fsmanuel/xml_sitemap_generator?referer=');">&#8220;XML Sitemap Generator for Rails&#8221;</a></p>
<p>It&#8217;s just a quick implementation of all the functionality you need to let your Rails App generate a XML Sitemap and ping Google about the updates.<br />
It&#8217;s not made to be scale more to give your small site the abillitiy to have a sitemap.</p>
<p>I&#8217;ll work on it in the future to make it easy to add some custom URL&#8217;s and maybe to have a version to scale&#8230;</p>
<p>Check it out on: <a href="http://github.com/fsmanuel/xml_sitemap_generator" title="XML Sitemap Generator for Rails @ GitHub.com" target="_blank" onclick="pageTracker._trackPageview('/outgoing/github.com/fsmanuel/xml_sitemap_generator?referer=');">GitHub</a><br />
If you have any suggestions fork the project and send me a pull request.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/0KHLc1EOz8k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2010/01/10/xml-sitemap-generator-for-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2010/01/10/xml-sitemap-generator-for-rails/</feedburner:origLink></item>
		<item>
		<title>Etwas mehr Privacy bitte (pgp, gpgmail, snow leopard, google suggest)</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/35wTw3wf2Yw/</link>
		<comments>http://blog.funkensturm.de/2009/10/28/etwas-mehr-privacy-bitte-pgp-gpgmail-snow-leopard-google-suggest/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 14:28:49 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[google suggest]]></category>
		<category><![CDATA[gpgmail]]></category>
		<category><![CDATA[pgp]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/2009/10/28/etwas-mehr-privacy-bitte-pgp-gpgmail-snow-leopard-google-suggest/</guid>
		<description><![CDATA[Glimmerblocker ist meiner Meinung nach der Beste Adblocker. Zu bekommen auf: www.glimmerblocker.org
Damit kann man dann auch einfach Google suggest queries blocken (einfach hosts blocken, die &#8220;/complete/search&#8221; im path haben)
Endlich gibt es GPGMail auch für Snow Leopard.
Direkt download: http://dl.getdropbox.com/u/20215/GPGMail-1.2.1.mailbundle.zip
Hintergrund für die Beta: http://discussions.apple.com/thread.jspa?threadID=2136007&#038;start=30&#038;tstart=0
]]></description>
			<content:encoded><![CDATA[<p>Glimmerblocker ist meiner Meinung nach der Beste Adblocker. Zu bekommen auf: <a href="http://www.glimmerblocker.org" onclick="pageTracker._trackPageview('/outgoing/www.glimmerblocker.org?referer=');">www.glimmerblocker.org</a></p>
<p>Damit kann man dann auch einfach Google suggest queries blocken (einfach hosts blocken, die &#8220;/complete/search&#8221; im path haben)</p>
<p>Endlich gibt es GPGMail auch für Snow Leopard.</p>
<p>Direkt download: <a href="http://dl.getdropbox.com/u/20215/GPGMail-1.2.1.mailbundle.zip" onclick="pageTracker._trackPageview('/outgoing/dl.getdropbox.com/u/20215/GPGMail-1.2.1.mailbundle.zip?referer=');">http://dl.getdropbox.com/u/20215/GPGMail-1.2.1.mailbundle.zip</a></p>
<p>Hintergrund für die Beta: <a href="http://discussions.apple.com/thread.jspa?threadID=2136007&#038;start=30&#038;tstart=0" onclick="pageTracker._trackPageview('/outgoing/discussions.apple.com/thread.jspa?threadID=2136007_038_start=30_038_tstart=0&amp;referer=');">http://discussions.apple.com/thread.jspa?threadID=2136007&#038;start=30&#038;tstart=0</a></p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/35wTw3wf2Yw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/10/28/etwas-mehr-privacy-bitte-pgp-gpgmail-snow-leopard-google-suggest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/10/28/etwas-mehr-privacy-bitte-pgp-gpgmail-snow-leopard-google-suggest/</feedburner:origLink></item>
		<item>
		<title>(Snow) Leopard + Rails + Passenger + VirtualBox + Windows 7 and localhost</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/pFmaMr9j6FY/</link>
		<comments>http://blog.funkensturm.de/2009/09/22/snow-leopard-rails-passenger-virtualbox-windows-7-and-localhost/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 13:23:32 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[rails localhost passenger virtualbox vmware windows app.local yourapp.local passenger leopard]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/2009/09/22/snow-leopard-rails-passenger-virtualbox-windows-7-and-localhost/</guid>
		<description><![CDATA[How do you test your Rails app in Internet Explorer? Crossover? Parallels? VMWare?
However, I use VirtualBox and Windows 7 and it turned out to work out of the box.
In your PassengerPrefPane just rename one of your applications to begin with &#8220;a&#8221;, so that it is alphabetically the FIRST entry! You can verify this by listing [...]]]></description>
			<content:encoded><![CDATA[<p>How do you test your Rails app in Internet Explorer? Crossover? Parallels? VMWare?</p>
<p>However, I use VirtualBox and Windows 7 and it turned out to work out of the box.</p>
<p>In your PassengerPrefPane just rename one of your applications to begin with &#8220;a&#8221;, so that it is alphabetically the FIRST entry! You can verify this by listing the contents of this directory:</p>
<p>/etc/apache2/passenger_pane_vhosts</p>
<p>The first one will be available on &#8220;localhost&#8221; in your Mac. That should be the application you would like to test in IE.</p>
<p>Now just boot up your Virtualbox with Windows 7 and hit 10.0.2.2 in the IE, and you will see that particular application.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/pFmaMr9j6FY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/09/22/snow-leopard-rails-passenger-virtualbox-windows-7-and-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/09/22/snow-leopard-rails-passenger-virtualbox-windows-7-and-localhost/</feedburner:origLink></item>
		<item>
		<title>Imagemagick on Snow Leopard</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/-BVnDWV7Aes/</link>
		<comments>http://blog.funkensturm.de/2009/09/07/imagemagick-on-snow-leopard/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 20:51:54 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[imagemagick snow leopard]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/2009/09/07/imagemagick-on-snow-leopard/</guid>
		<description><![CDATA[This is what the world has been waiting for:
http://github.com/maddox/magick-installer/tree/master
Because AFTER THAT you can sudo gem install rmagick
]]></description>
			<content:encoded><![CDATA[<p>This is what the world has been waiting for:</p>
<p><a href="http://github.com/maddox/magick-installer/tree/master" onclick="pageTracker._trackPageview('/outgoing/github.com/maddox/magick-installer/tree/master?referer=');">http://github.com/maddox/magick-installer/tree/master</a></p>
<p>Because AFTER THAT you can sudo gem install rmagick</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/-BVnDWV7Aes" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/09/07/imagemagick-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/09/07/imagemagick-on-snow-leopard/</feedburner:origLink></item>
		<item>
		<title>render_nested_form Helper</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/d9cPtAX8ef8/</link>
		<comments>http://blog.funkensturm.de/2009/08/27/render_nested_form-helper/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 16:57:06 +0000</pubDate>
		<dc:creator>manuel</dc:creator>
				<category><![CDATA[Rails 2.3]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[accepts_nested_attributes_for]]></category>
		<category><![CDATA[nested forms]]></category>
		<category><![CDATA[render_nested_form]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=216</guid>
		<description><![CDATA[Die in Rails 2.3 eingeführten Nested Forms haben mir am Anfang sehr viele Kopfschmerzen bereitet und tun dies immer mal wieder.
Dank schorsch vom SalesKing muss ich mir um diese Dinge keine Sorgen mehr machen.
Sein render_nested_form Helper übernimmt alles und hat ein paar sehr nette Options.

# Options are:
# * &#60;tt&#62;:new&#60;/tt&#62; - specify a certain number of [...]]]></description>
			<content:encoded><![CDATA[<p>Die in Rails 2.3 eingeführten Nested Forms haben mir am Anfang sehr viele Kopfschmerzen bereitet und tun dies immer mal wieder.</p>
<p>Dank schorsch vom <a href="http://www.salesking.eu" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.salesking.eu?referer=');">SalesKing</a> muss ich mir um diese Dinge keine Sorgen mehr machen.<br />
Sein <a href="http://gist.github.com/134652" target="_blank" onclick="pageTracker._trackPageview('/outgoing/gist.github.com/134652?referer=');">render_nested_form Helper</a> übernimmt alles und hat ein paar sehr nette Options.</p>

<div class="wp_syntax"><div class="code"><pre class="rails" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># Options are:</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:new&lt;/tt&gt; - specify a certain number of new elements to be added to the form. Useful for displaying a few blank elements at the bottom.</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:name&lt;/tt&gt; - override the name of the association, both for the field names, and the name of the partial</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:partial&lt;/tt&gt; - specify the name of the partial in which the form is located.</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:fields_for&lt;/tt&gt; - specify additional options for the fields_for_associated call</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:locals&lt;/tt&gt; - specify additional variables to be passed along to the partial</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:render&lt;/tt&gt; - specify additional options to be passed along to the render :partial call</span>
<span style="color:#008000; font-style:italic;"># * &lt;tt&gt;:skip&lt;/tt&gt; - array of elements which will be skipped, usefull if you already rendered a partial in the same form with parts of the data. eg. obj.addresses, render the firt address on top of form, render all the other addresses at the bottom</span>
&nbsp;
f.<span style="color:#9900CC;">render_nested_form</span><span style="color:#006600; font-weight:bold;">&#40;</span>@project.<span style="color:#9900CC;">tasks</span>, <span style="color:#ff3333; font-weight:bold;">:new</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006666;">3</span>, <span style="color:#ff3333; font-weight:bold;">:partial</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#996600;">'some_partial'</span>, <span style="color:#ff3333; font-weight:bold;">:locals</span><span style="color:#006600; font-weight:bold;">=&gt;</span>..<span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

<p><strong>Update:</strong><br />
Ich hab den Helper geforked und die Option :as hinzugefügt. Damit kann man den Namen der lokalen Variable definieren, wenn man den Partial z.B. für unterschiedliche Objekte und Attribute nutzt (bei mir ist das ein Upload Form).<br />
Hier findet ihr den <a href="http://gist.github.com/193443" target="_blank" onclick="pageTracker._trackPageview('/outgoing/gist.github.com/193443?referer=');">Fork</a>.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/d9cPtAX8ef8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/08/27/render_nested_form-helper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/08/27/render_nested_form-helper/</feedburner:origLink></item>
		<item>
		<title>Get HTTP Headers in Ruby</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/Pw6lWVOVmz8/</link>
		<comments>http://blog.funkensturm.de/2009/08/27/get-http-headers/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:15:11 +0000</pubDate>
		<dc:creator>manuel</dc:creator>
				<category><![CDATA[resources]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[schublade]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[NET::HTTP]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=202</guid>
		<description><![CDATA[Ein kleiner Schnipsel, um nur den Header eines HTTP Aufrufes zu erhalten.

url = URI.parse&#40;'http://manuel.funkensturm.de/'&#41;
req = Net::HTTP::Get.new&#40;url.path&#41;
res = Net::HTTP.start&#40;url.host, url.port&#41; &#123; &#124;http&#124; http.request_head&#40;'/feed/'&#41; &#125;
res.to_yaml

Interessant sind in meinen Augen folgende Werte:

&#62;&#62; res&#91;'last-modified'&#93;
=&#62; &#34;Tue, 11 Aug 2009 16:09:01 GMT&#34;
&#62;&#62; res&#91;'content-type'&#93;
=&#62; &#34;application/rss+xml; charset=\&#34;UTF-8\&#34;&#34;
&#62;&#62; res&#91;'etag'&#93;
=&#62; &#34;\&#34;ca39ca8e3c9d3b858ef0d711956e00ad\&#34;&#34;

über last-modified oder den etag kann man dann schauen, ob man den Feed abholt oder [...]]]></description>
			<content:encoded><![CDATA[<p>Ein kleiner Schnipsel, um nur den Header eines HTTP Aufrufes zu erhalten.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">url = <span style="color:#CC00FF; font-weight:bold;">URI</span>.<span style="color:#9900CC;">parse</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'http://manuel.funkensturm.de/'</span><span style="color:#006600; font-weight:bold;">&#41;</span>
req = <span style="color:#6666ff; font-weight:bold;">Net::HTTP::Get</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span>url.<span style="color:#9900CC;">path</span><span style="color:#006600; font-weight:bold;">&#41;</span>
res = <span style="color:#6666ff; font-weight:bold;">Net::HTTP</span>.<span style="color:#9900CC;">start</span><span style="color:#006600; font-weight:bold;">&#40;</span>url.<span style="color:#9900CC;">host</span>, url.<span style="color:#9900CC;">port</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#006600; font-weight:bold;">|</span>http<span style="color:#006600; font-weight:bold;">|</span> http.<span style="color:#9900CC;">request_head</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'/feed/'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#125;</span>
res.<span style="color:#9900CC;">to_yaml</span></pre></div></div>

<p>Interessant sind in meinen Augen folgende Werte:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> res<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">'last-modified'</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
=<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;Tue, 11 Aug 2009 16:09:01 GMT&quot;</span>
<span style="color: #000000; font-weight: bold;">&gt;&gt;</span> res<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">'content-type'</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
=<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;application/rss+xml; charset=<span style="color: #000099; font-weight: bold;">\&quot;</span>UTF-8<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">&gt;&gt;</span> res<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">'etag'</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
=<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>ca39ca8e3c9d3b858ef0d711956e00ad<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span></pre></div></div>

<p>über last-modified oder den etag kann man dann schauen, ob man den Feed abholt oder die Aktion durchführt&#8230;</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/Pw6lWVOVmz8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/08/27/get-http-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/08/27/get-http-headers/</feedburner:origLink></item>
		<item>
		<title>Funkenrailsdav: Webdav with Rails e.g. for ical</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/vyP7R0p45uI/</link>
		<comments>http://blog.funkensturm.de/2009/06/08/funkenrailsdav-webdav-with-rails-eg-for-ical/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 20:14:33 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[Rails 2.3]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[abonemment]]></category>
		<category><![CDATA[abonnieren]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[icalendar]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[railsdav]]></category>
		<category><![CDATA[synchronisieren]]></category>
		<category><![CDATA[synchronize]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=189</guid>
		<description><![CDATA[So you want a rails application to give you a webdav? Good, railsdav can do this for you. However, it might take you an hour or two as well to figure out how it works :)
This plugin is a copy of the original railsdav plugin with some modifications to make it run out-of-the-box. Just drop [...]]]></description>
			<content:encoded><![CDATA[<p>So you want a rails application to give you a webdav? Good, <a href="http://github.com/stueccles/railsdav" onclick="pageTracker._trackPageview('/outgoing/github.com/stueccles/railsdav?referer=');">railsdav</a> can do this for you. However, it might take you an hour or two as well to figure out how it works :)</p>
<p>This plugin is a copy of the original railsdav plugin with some modifications to make it run out-of-the-box. Just drop this plugin into your newly created rails application and it becomes a webdav-server. It comes with Authentication, so you can publish and synchronize your ical-files without fear :)</p>
<p>This was done using Rails 2.3.2.</p>
<p>Get it here: <a href="http://github.com/funkensturm/railsdav" onclick="pageTracker._trackPageview('/outgoing/github.com/funkensturm/railsdav?referer=');">http://github.com/funkensturm/railsdav</a></p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/vyP7R0p45uI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/06/08/funkenrailsdav-webdav-with-rails-eg-for-ical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/06/08/funkenrailsdav-webdav-with-rails-eg-for-ical/</feedburner:origLink></item>
		<item>
		<title>Presenting: The Funkengallery Demo App</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/iIOixu9pg8w/</link>
		<comments>http://blog.funkensturm.de/2009/02/19/presenting-the-funkengallery-demo-app/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 21:14:54 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[Rails 2.3]]></category>
		<category><![CDATA[introducing]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[funkengallery]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=180</guid>
		<description><![CDATA[Still in beta mode, but we are proud to present a Rails 2.3 application, modularized in plugins, fully I18n (German, English, Swedish), and of course published at github.
This funkengallery demo application includes demonstration of all our plugins:

acts_as_category
acts_as_identifiable
funkengallery
funkenlogin
funkenlogin
irobot
manipulify

Again, this is beta still, which means that for example the admin area wants your models to be called [...]]]></description>
			<content:encoded><![CDATA[<p>Still in beta mode, but we are proud to present a <strong>Rails 2.3</strong> application, modularized in plugins, fully I18n (German, English, Swedish), and of course published at <a href="http://www.github.com/funkensturm" onclick="pageTracker._trackPageview('/outgoing/www.github.com/funkensturm?referer=');">github</a>.</p>
<p>This funkengallery demo application includes demonstration of all our plugins:</p>
<ul>
<li>acts_as_category</li>
<li>acts_as_identifiable</li>
<li>funkengallery</li>
<li>funkenlogin</li>
<li>funkenlogin</li>
<li>irobot</li>
<li>manipulify</li>
</ul>
<p>Again, this is beta still, which means that for example the admin area wants your models to be called exactly &#8220;Category&#8221; and &#8220;User&#8221;. So not 100% modularized yet, but we&#8217;re getting there and you can already use it as a perfect standalone application ;)</p>
<p>What&#8217;s so special about this gallery is the very dynamic user rights management and the simplicity. It is designed for a complex category tree with many thousands of pictures. However, you might expect flickr design and you get&#8230; well&#8230; funkengallery. It is different and simpler, but really neat if you want to share your pictures quick, private and with individual user rights.</p>
<h4>Screenshots and Demo</h4>
<p>Check out our <a href="http://blog.funkensturm.de/downloads/">Downloads</a> site to see how you can easily test your local demo.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/iIOixu9pg8w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/02/19/presenting-the-funkengallery-demo-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/02/19/presenting-the-funkengallery-demo-app/</feedburner:origLink></item>
		<item>
		<title>Git Commands</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/fxpjcmyNVPw/</link>
		<comments>http://blog.funkensturm.de/2009/02/19/git-commands/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 20:56:57 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[befehle]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[gitignore]]></category>
		<category><![CDATA[index]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=169</guid>
		<description><![CDATA[Weil ich die auch immer wieder vergesse, mache ich mir hier eine Liste mit Git Befehlen.
Sie wird fortwährend erweitert.
Wie bekomme ich eine Datei ignoriert, wenn sie schon vom Index erfasst worden ist, denn nachträglich kann in .gitignore nichts hinzugefügt werden?

# Datei aus dem Index entfernen Syntax:
git update-index --assume-unchanged -- DATEINAME
# Beispiel:
git update-index --assume-unchanged -- db/development.sqlite3
# [...]]]></description>
			<content:encoded><![CDATA[<p>Weil ich die auch immer wieder vergesse, mache ich mir hier eine Liste mit Git Befehlen.<br />
Sie wird fortwährend erweitert.</p>
<p>Wie bekomme ich eine Datei ignoriert, wenn sie schon vom Index erfasst worden ist, denn nachträglich kann in .gitignore nichts hinzugefügt werden?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Datei aus dem Index entfernen Syntax:</span>
git update-index <span style="color: #660033;">--assume-unchanged</span> <span style="color: #660033;">--</span> DATEINAME
<span style="color: #666666; font-style: italic;"># Beispiel:</span>
git update-index <span style="color: #660033;">--assume-unchanged</span> <span style="color: #660033;">--</span> db<span style="color: #000000; font-weight: bold;">/</span>development.sqlite3
<span style="color: #666666; font-style: italic;"># Datei wieder in den Index aufnehmen:</span>
git update-index <span style="color: #660033;">--no-assume-unchanged</span> <span style="color: #660033;">--</span> db<span style="color: #000000; font-weight: bold;">/</span>development.sqlite3</pre></div></div>

<img src="http://feeds.feedburner.com/~r/funkensturm/~4/fxpjcmyNVPw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/02/19/git-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/02/19/git-commands/</feedburner:origLink></item>
		<item>
		<title>Rails: JPG Bilder kaputt beim Upload (grauer Balken)</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/FeaTXUOuJSI/</link>
		<comments>http://blog.funkensturm.de/2009/02/17/rails-jpg-bilder-kaputt-beim-upload-grauer-balken/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 11:46:22 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[bild]]></category>
		<category><![CDATA[corrupt]]></category>
		<category><![CDATA[datei]]></category>
		<category><![CDATA[file.open]]></category>
		<category><![CDATA[file.write]]></category>
		<category><![CDATA[grau]]></category>
		<category><![CDATA[grauer balken]]></category>
		<category><![CDATA[gray]]></category>
		<category><![CDATA[hochladen]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[korrupt]]></category>
		<category><![CDATA[params]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[rmagick]]></category>
		<category><![CDATA[speichern]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[zerstört]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=157</guid>
		<description><![CDATA[Völlig zufällig wurden Bilder beim Upload in Rails mit einem grauen Balken versehen.
Mal viel grau, mal wenig grau. Mann muss genau hinschauen bei diesem Beispiel, ganz unten rechts:

Zuerst dachte ich, es sei RMagick, dass versucht das Bild zu verkleinern (resize) und irgendwann merkte ich, dass der Upload an sich schon fehlerhaft war. Dann dachte ich [...]]]></description>
			<content:encoded><![CDATA[<p>Völlig zufällig wurden Bilder beim Upload in Rails mit einem grauen Balken versehen.</p>
<p>Mal viel grau, mal wenig grau. Mann muss genau hinschauen bei diesem Beispiel, ganz unten rechts:</p>
<p><img src="http://blog.funkensturm.de/wp-content/uploads/2009/02/dsc01326jzyuu.jpg" alt="dsc01326jzyuu" title="dsc01326jzyuu" width="500" height="375" class="alignnone size-full wp-image-158" /></p>
<p>Zuerst dachte ich, es sei RMagick, dass versucht das Bild zu verkleinern (resize) und irgendwann merkte ich, dass der Upload an sich schon fehlerhaft war. Dann dachte ich es sei der YUI Uploader, habe aber zum Glück das Problem gefunden.</p>
<p>Zum speichern der Datei habe ich das hier verwendet:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span>target, <span style="color:#996600;">&quot;wb&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">write</span><span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:upload</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">read</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

<p>Das darf man nicht! :)<br />
Man muss es so machen:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">file = <span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span>target, <span style="color:#996600;">&quot;wb&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
file.<span style="color:#9900CC;">write</span> params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:upload</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">read</span>
file.<span style="color:#9900CC;">close</span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/funkensturm/~4/FeaTXUOuJSI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/02/17/rails-jpg-bilder-kaputt-beim-upload-grauer-balken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/02/17/rails-jpg-bilder-kaputt-beim-upload-grauer-balken/</feedburner:origLink></item>
		<item>
		<title>Passenger für Ruby on Rails aus TextMate “automatisch” neu starten</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/M6uZX-t3UzE/</link>
		<comments>http://blog.funkensturm.de/2009/01/27/passenger-fur-ruby-on-rails-aus-textmate-automatisch-neu-starten/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 11:37:00 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[Passenger]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[autorun]]></category>
		<category><![CDATA[autostart]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[prefpane]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=132</guid>
		<description><![CDATA[Manchmal möchte man seine Ruby-on-Rails-Applikation im Passenger manuell neu starten. Sprich eine Datei my_app/tmp/restart.txt anlegen. Ich habe ein kleines Command-Skript für TextMate dafür geschrieben. Wenn man es ausführt (in diesem Beispiel mit APFEL+R), wird beim nächsten Browseraufruf alles neu geladen. Praktisch wenn man Plugins entwickelt :)
Hier der Command in TextMate:

Und hier der Code dafür

18
19
20
21
22
23
24
#!/usr/bin/env ruby
&#160;
require [...]]]></description>
			<content:encoded><![CDATA[<p>Manchmal möchte man seine Ruby-on-Rails-Applikation im Passenger manuell neu starten. Sprich eine Datei <code>my_app/tmp/restart.txt</code> anlegen. Ich habe ein kleines Command-Skript für TextMate dafür geschrieben. Wenn man es ausführt (in diesem Beispiel mit APFEL+R), wird beim nächsten Browseraufruf alles neu geladen. Praktisch wenn man Plugins entwickelt :)</p>
<p>Hier der Command in TextMate:</p>
<p><img src="http://blog.funkensturm.de/wp-content/uploads/2009/01/restart_passenger.png" alt="restart_passenger" title="restart_passenger" width="500" class="alignnone size-full wp-image-131" /></p>
<p>Und hier der Code dafür</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/bin/env ruby</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">&quot;#{ENV['TM_BUNDLE_SUPPORT']}/lib/rails_bundle_tools.rb&quot;</span>
f = <span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#CC0066; font-weight:bold;">open</span> <span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">join</span><span style="color:#006600; font-weight:bold;">&#40;</span>RailsPath.<span style="color:#9900CC;">new</span>.<span style="color:#9900CC;">rails_root</span>, <span style="color:#996600;">&quot;tmp&quot;</span>, <span style="color:#996600;">&quot;restart.txt&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#996600;">&quot;w&quot;</span>
f.<span style="color:#9900CC;">close</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Rails Application will be reloaded!&quot;</span></pre></td></tr></table></div>

<img src="http://feeds.feedburner.com/~r/funkensturm/~4/M6uZX-t3UzE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/01/27/passenger-fur-ruby-on-rails-aus-textmate-automatisch-neu-starten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/01/27/passenger-fur-ruby-on-rails-aus-textmate-automatisch-neu-starten/</feedburner:origLink></item>
		<item>
		<title>Musik vom Apple TV zurück in iTunes retten</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/KObW-GU0rVo/</link>
		<comments>http://blog.funkensturm.de/2009/01/21/musik-vom-apple-tv-zuruck-in-itunes-retten/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 15:38:36 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[apple tv]]></category>
		<category><![CDATA[festplatte]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[ide/pata]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mp3s]]></category>
		<category><![CDATA[musik]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[rescue]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=103</guid>
		<description><![CDATA[Gleich vorweg: Es kostet dich deine Apple-TV-Garantie und ein 2,5&#8243; externes Festplattengehäuse (IDE, oder neu-deutsch: PATA). Aber: Es war&#8217;s wert.
Denn plötzlich war iTunes leer (lange Geschichte) und das einzige Backup war&#8230; der Apple TV! Der wurde natürlich sofort ausgesteckt, weil der sich sonst wieder synchronisiert hätte und dort auch alles futsch gewesen wäre.
1. Festplatte vom [...]]]></description>
			<content:encoded><![CDATA[<p>Gleich vorweg: Es kostet dich deine Apple-TV-Garantie und ein 2,5&#8243; externes Festplattengehäuse (IDE, oder neu-deutsch: PATA). Aber: Es war&#8217;s wert.</p>
<p>Denn plötzlich war iTunes leer (lange Geschichte) und das einzige Backup war&#8230; der Apple TV! Der wurde natürlich sofort ausgesteckt, weil der sich sonst wieder synchronisiert hätte und dort auch alles futsch gewesen wäre.</p>
<p><strong>1. Festplatte vom Apple TV ausbauen</strong><br />
Dafür hätte ich nicht einmal eine der <a href="http://www.macworld.com/article/57079/2007/03/appletvharddrive.html" onclick="pageTracker._trackPageview('/outgoing/www.macworld.com/article/57079/2007/03/appletvharddrive.html?referer=');">zahlreichen Anleitungen</a> benötigt, denn die acht Schrauben (T8 und T10) stellten kein sonderliches Problem dar :) Natürlich musste ich zuerst die aufgekleisterte Gummi-Bodenplatte abmachen. Das ging jedoch ohne Sauerei und man kann die wieder ankleben. Aber vorsicht: Die reißt sehr schnell ;)</p>
<p><strong>2. Externes Gehäuse für 2,5 Zoll IDE (=PATA) kaufen</strong><br />
Schnell gemacht. Kostet 12 Euro ;)</p>
<p><strong>3. Apple TV Festplatte einbauen und am Mac anschließen</strong><br />
Die Platte soll natürlich nicht von Spotlight indiziert werden! Dafür hält man sich ganz ganz schnell folgende zwei Terminal-Befehle bereit und feuert sie ab, sobald die Platte (und ihre beiden Partitionen <em>Media</em> und <em>OSBoot</em>) erkannt wurde.</p>
<p><strong>touch /volumes/Media/.metadata_never_index<br />
touch /volumes/OSBoot/.metadata_never_index</strong></p>
<p><strong>Wichtig:</strong> Platte abklemmen und wieder anklemmen, Spotlight wird seine Änderungen die er in den ersten Sekunden gemacht hat wieder rückgängig machen.</p>
<p><strong>4. Drag&#8217;n'Drop der AppleTV Media Files in iTunes</strong><br />
Die Dateien auf dem Apple TV haben zwar die gleiche Struktur wie das iTunes Verzeichnis eines jeglichen Macs, jedoch sind die Dateinamen alle nur ein paar kryptische Buchstaben á la DDHX.mp3, NKKZ.mp3 usw. Das ist iTunes beim Import zum Glück egal, denn alle Metainformationen (inkl. Cover) sollten IN den einzelnen Dateien enthalten sein.</p>
<p><strong>5. Apple TV wieder zusammen bauen, anklemmen, synchronisieren, läuft.</strong></p>
<p>PS: Bei der Gelegenheit fragt man sich natürlich, ob es nicht so schwer sein könnte, einfach eine größere Festplatte in den Apple TV einzubauen ;)</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/KObW-GU0rVo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/01/21/musik-vom-apple-tv-zuruck-in-itunes-retten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/01/21/musik-vom-apple-tv-zuruck-in-itunes-retten/</feedburner:origLink></item>
		<item>
		<title>Apache2 auf dem Mac macht nur 401 wegen FileVault</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/E2BVhdP1oh4/</link>
		<comments>http://blog.funkensturm.de/2009/01/21/apache2-auf-dem-mac-macht-nur-401-wegen-filevault/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 15:32:57 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[401]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[filevault]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[unauthorized]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=102</guid>
		<description><![CDATA[Wenn man FileVault benutzt kann es zu Schwierigkeiten mit Apache kommen. Man bekommt ständig einen 401 um die Ohren gehauen. So lässt sich Passenger natürlich nicht verwenden!
Folgender Befehl schafft Abhilfe:
sudo chmod +a &#8220;www allow search&#8221; /Users/DEINBENUTZERNAME
(ggf. sollte man VORHER noch mit dem Festplatten-Dienstprogramm die Verzeichnisrechte generell einmal reparieren lassen).
]]></description>
			<content:encoded><![CDATA[<p>Wenn man FileVault benutzt kann es zu Schwierigkeiten mit Apache kommen. Man bekommt ständig einen 401 um die Ohren gehauen. So lässt sich Passenger natürlich nicht verwenden!</p>
<p>Folgender Befehl schafft Abhilfe:</p>
<p><strong>sudo chmod +a &#8220;www allow search&#8221; /Users/DEINBENUTZERNAME</strong></p>
<p>(ggf. sollte man VORHER noch mit dem Festplatten-Dienstprogramm die Verzeichnisrechte generell einmal reparieren lassen).</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/E2BVhdP1oh4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2009/01/21/apache2-auf-dem-mac-macht-nur-401-wegen-filevault/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2009/01/21/apache2-auf-dem-mac-macht-nur-401-wegen-filevault/</feedburner:origLink></item>
		<item>
		<title>ActiveSupport::Memoizable Cache löschen</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/7puIWYLX17E/</link>
		<comments>http://blog.funkensturm.de/2008/11/23/activesupportmemoizable-cache-loschen/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 01:11:21 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[Rails 2.2]]></category>
		<category><![CDATA[introducing]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[memoizable]]></category>
		<category><![CDATA[memoize]]></category>
		<category><![CDATA[memoize_all]]></category>
		<category><![CDATA[unmemoize]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=100</guid>
		<description><![CDATA[Auch wenn es vielen von vorn herein klar ist, mir war es nicht sofort klar :)
Das tolle Memoizable in Rails 2.2 macht das Caching von Methoden einfacher. Ich bin dabei auf eine Frage gestoßen:
Wie lösche ich den Cache?
Als ich mir den Quellcode von Memoizable angeschaut habe, dachte ich auf den ersten Blick, dass memoize_all ALLE [...]]]></description>
			<content:encoded><![CDATA[<p>Auch wenn es vielen von vorn herein klar ist, mir war es nicht sofort klar :)</p>
<p>Das tolle <a href="http://www.railway.at/articles/2008/09/20/a-guide-to-memoization" onclick="pageTracker._trackPageview('/outgoing/www.railway.at/articles/2008/09/20/a-guide-to-memoization?referer=');">Memoizable</a> in Rails 2.2 macht das Caching von Methoden einfacher. Ich bin dabei auf eine Frage gestoßen:</p>
<p>Wie lösche ich den Cache?</p>
<p>Als ich mir den <a href="http://github.com/josh/rails/tree/master/activesupport%2Flib%2Factive_support%2Fmemoizable.rb" onclick="pageTracker._trackPageview('/outgoing/github.com/josh/rails/tree/master/activesupport_2Flib_2Factive_support_2Fmemoizable.rb?referer=');">Quellcode von Memoizable</a> angeschaut habe, dachte ich auf den ersten Blick, dass memoize_all ALLE Methoden einer Klasse memoizen würde und unmemoize_all alles wieder deaktiviert.</p>
<p>Nun, tatsächlich löscht unmemoize_all nur den gesamten Cache und er wird automatisch mit jedem Aufruf einer Methode Stück für Stück wieder aufgebaut. Wenn man also z. B. eine Änderung vornimmt, sollte man unmemoize_all ausführen.</p>
<p>memoize_all hingegen, führt alle gecachten Methoden auf einmal aus (!) und speichert die Ergebnisse im Cache. Aber das kann doch nicht sein, oder? Kann mir<a href="http://github.com/josh/rails/tree/master/activesupport%2Flib%2Factive_support%2Fmemoizable.rb#L21" onclick="pageTracker._trackPageview('/outgoing/github.com/josh/rails/tree/master/activesupport_2Flib_2Factive_support_2Fmemoizable.rb_L21?referer=');"> das hier mal</a> jmd. erklären :)</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/7puIWYLX17E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2008/11/23/activesupportmemoizable-cache-loschen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2008/11/23/activesupportmemoizable-cache-loschen/</feedburner:origLink></item>
		<item>
		<title>Rails 2.2: NoMethodError von create_time_zone_conversion_attribute?</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/1NWSMaMAtrk/</link>
		<comments>http://blog.funkensturm.de/2008/11/20/rails-22-nomethoderror-von-create_time_zone_conversion_attribute/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:55:51 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[constante]]></category>
		<category><![CDATA[contant]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[evaluating nil.include]]></category>
		<category><![CDATA[rails 2.2]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[time zone conversion]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=99</guid>
		<description><![CDATA[Nachdem ich jetzt mehrere Stunden nicht verstanden habe, wieso meine Rails Applikation nur einen Klick lang funktioniert, möchte ich euch dran teil haben lassen. Ich habe mehrere Libraries und Plugins die alle meine Models erweitern und dachte schon es läge daran, dass immer dieser Fehler auftauchte:

You have a nil object when you didn't expect it!
You [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich jetzt mehrere Stunden nicht verstanden habe, wieso meine Rails Applikation nur einen Klick lang funktioniert, möchte ich euch dran teil haben lassen. Ich habe mehrere Libraries und Plugins die alle meine Models erweitern und dachte schon es läge daran, dass immer dieser Fehler auftauchte:</p>
<p><code><br />
You have a nil object when you didn't expect it!<br />
You might have expected an instance of Array.<br />
The error occurred while evaluating nil.include?<br />
</code></p>
<p>Recherche brachte mich hier her:<br />
<a href="http://rails.lighthouseapp.com/projects/8994/tickets/1339" onclick="pageTracker._trackPageview('/outgoing/rails.lighthouseapp.com/projects/8994/tickets/1339?referer=');">http://rails.lighthouseapp.com/projects/8994/tickets/1339</a></p>
<p>Das ganze lag nur daran, dass in Rails 2.2 ein Bug ist, der einen ein ActiveRecord Model nicht in eine Konstakte packen lässt!</p>
<p>Ich hatte eine Config-Datei die</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="rails" style="font-family:monospace;">MEINMODEL = MeinModelName</pre></td></tr></table></div>

<p>machte und später im Controller dann</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="rails" style="font-family:monospace;">MEINMODEL.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span>....</pre></td></tr></table></div>

<p>Und das darf man nicht :) Jedenfalls noch nicht.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/1NWSMaMAtrk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2008/11/20/rails-22-nomethoderror-von-create_time_zone_conversion_attribute/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2008/11/20/rails-22-nomethoderror-von-create_time_zone_conversion_attribute/</feedburner:origLink></item>
		<item>
		<title>C++ mit SDL mit g++ mit TextMate mit Mac OS X</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/jfs9Z_Rtee4/</link>
		<comments>http://blog.funkensturm.de/2008/10/23/c-mit-sdl-mit-g-mit-textmate-mit-mac-os-x/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 14:58:47 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[C++/SDL/OpenGL]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[g++]]></category>
		<category><![CDATA[kompilieren]]></category>
		<category><![CDATA[macro]]></category>
		<category><![CDATA[makro]]></category>
		<category><![CDATA[os c]]></category>
		<category><![CDATA[sdl]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=81</guid>
		<description><![CDATA[Ich wollte mal das Spiele programmieren anfangen. Matthias schlug C++ vor, so sollte es C++ sein. Dank dieser Anleitung habe ich dann auch schon angefangen diese Tutorials durchzugehen. Das macht auch sehr viel Spaß.
Nun benutze ich g++ und nicht Xcode. Damit ich das kompilieren auch schön in Textmate automatisiert ist, habe ich mir zwei Bundles [...]]]></description>
			<content:encoded><![CDATA[<p>Ich wollte mal das Spiele programmieren anfangen. Matthias schlug C++ vor, so sollte es C++ sein. Dank <a href="http://www.downanup.de/tag/sdl-c-sdllib-libsdl-gcc/" onclick="pageTracker._trackPageview('/outgoing/www.downanup.de/tag/sdl-c-sdllib-libsdl-gcc/?referer=');">dieser</a> Anleitung habe ich dann auch schon angefangen <a href="http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index" onclick="pageTracker._trackPageview('/outgoing/cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index&amp;referer=');">diese</a> Tutorials durchzugehen. Das macht auch sehr viel Spaß.</p>
<p>Nun benutze ich g++ und nicht Xcode. Damit ich das kompilieren auch schön in Textmate automatisiert ist, habe ich mir zwei Bundles dafür geschrieben (bzw. angepasst).</p>
<p>Man öffnet also in TextMate den BundleEditor und dupliziet den C++ Command namens &#8220;Compile Single File to Tool&#8221;, nennt die Kopie in z. B. &#8220;Datei kompilieren&#8221; um und passt die letzten Zeilen so an, dass sie so aussehen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="c" style="font-family:monospace;">puts <span style="color: #339933;">%</span>x<span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#{cc}&quot;</span> <span style="color: #339933;">-</span>o <span style="color: #ff0000;">&quot;#{FileNoExtension}&quot;</span>.<span style="color: #202020;">bin</span> <span style="color: #ff0000;">&quot;$TM_FILEPATH&quot;</span> <span style="color: #339933;">-</span>lSDL <span style="color: #339933;">-</span>lSDLmain <span style="color: #339933;">-</span>framework cocoa<span style="color: #009900;">&#125;</span>
puts <span style="color: #ff0000;">&quot;Successfully created #{FileNoExtension}.bin&quot;</span> unless $CHILD_STATUS <span style="color: #339933;">!=</span> <span style="color: #0000dd;">0</span></pre></td></tr></table></div>

<p>Dann legt noch einen schönen Shortcut fest, z. B. Apfel + E:</p>
<p><a href='http://blog.funkensturm.de/wp-content/uploads/2008/10/bundle1.png'><img src="http://blog.funkensturm.de/wp-content/uploads/2008/10/bundle1.png" alt="" title="bundle1" width="469" height="465" class="aligncenter size-full wp-image-79" /></a></p>
<p>Damit wird die aktuelle Datei die wir bearbeiten in dateiname.bin kompiliert, sobald wir Apfel + E drücken.</p>
<p>Dann machen wir noch eine Kopie von diesem Command und nennen diese z. B. &#8220;Kompilierte Datei ausführen&#8221; und die letzten Zeilen sollen so aussehen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="c" style="font-family:monospace;">puts <span style="color: #339933;">%</span>x<span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;./#{FileNoExtension}.bin&quot;</span> <span style="color: #009900;">&#125;</span>
puts <span style="color: #ff0000;">&quot;Yeah!&quot;</span> unless $CHILD_STATUS <span style="color: #339933;">!=</span> <span style="color: #0000dd;">0</span></pre></td></tr></table></div>

<p>Dann machen wir das z. B. auf Apfel + R (vorsicht, dass ist der Build-Befehl wenn man XCode verwendet.)</p>
<p><a href='http://blog.funkensturm.de/wp-content/uploads/2008/10/bundle2.png'><img src="http://blog.funkensturm.de/wp-content/uploads/2008/10/bundle2.png" alt="" title="bundle2" width="468" height="463" class="aligncenter size-full wp-image-80" /></a></p>
<p>Jetzt braucht man beim programmieren nur noch APFEL + E und dann APFEL + R drücken.</p>
<p>Naja, und dann taste ich mich doch erst mal <a href="http://www.meandmark.com/sdlopenglpart2.html" onclick="pageTracker._trackPageview('/outgoing/www.meandmark.com/sdlopenglpart2.html?referer=');">hier</a> ran ;)</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/jfs9Z_Rtee4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2008/10/23/c-mit-sdl-mit-g-mit-textmate-mit-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2008/10/23/c-mit-sdl-mit-g-mit-textmate-mit-mac-os-x/</feedburner:origLink></item>
		<item>
		<title>SVN Commands</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/8h7YlDEJCd4/</link>
		<comments>http://blog.funkensturm.de/2008/05/25/svn-commands/#comments</comments>
		<pubDate>Sun, 25 May 2008 13:38:49 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[ignore]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[propget]]></category>
		<category><![CDATA[proplist]]></category>
		<category><![CDATA[propset]]></category>
		<category><![CDATA[propval]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=77</guid>
		<description><![CDATA[Weil ich sie immer wieder suche, hier eine Liste von SVN Befehlen, einfach erklärt und mit schönen Beispielen. Besonders svn:ignore benutzt man immer wieder. Auch wenn ich gerade git installiere, der ein oder andere versteht SVN sicher besser mit diesem Dokument.
&#8211; SVN PROPERTIES &#8211;
ANZEIGEN
  Properties des aktuellen Verzeichnisses anzeigen
  svn pl
  Zeige [...]]]></description>
			<content:encoded><![CDATA[<p>Weil ich sie immer wieder suche, hier eine Liste von SVN Befehlen, einfach erklärt und mit schönen Beispielen. Besonders svn:ignore benutzt man immer wieder. Auch wenn ich gerade git installiere, der ein oder andere versteht SVN sicher besser mit diesem Dokument.</p>
<p>&#8211; SVN PROPERTIES &#8211;</p>
<p>ANZEIGEN</p>
<p>  Properties des aktuellen Verzeichnisses anzeigen<br />
  svn pl</p>
<p>  Zeige alle Änderungen für den nächsten commit, ignorierte Dateien sollen trotzdem angezeigt werden:<br />
  svn st &#8211;no-ignore</p>
<p>  Alle Properties rekursiv anzeigen<br />
  svn pl -R<br />
  Merke: &#8220;Properties on &#8216;config&#8217;: svn:ignore&#8221; bedeutet nicht, dass &#8220;config&#8221; ignoriert wird, sondern dass im Verzeichnis config, gewisse Objekte ignoriert werden. &#8220;config&#8221; ist in gewisser Weise nur der Träger der Eigenschaft, die Werte widerrum sind die Inhalte in config, welche ignoriert werden.</p>
<p>  Alle svn:ignore Properties rekursiv anzeigen<br />
  svn pg svn:ignore -R</p>
<p>  Details über ein Property erhalten<br />
  svn pg PROPVAL PATH &#8211;strict<br />
  Beispiele:<br />
    Welche Objekte werden im aktuellen Verzeichnis ignoriert?<br />
    svn pg svn:ignore . &#8211;strict</p>
<p>SETZEN</p>
<p>  Property des aktuellen Verzeichnisses setzen<br />
  svn ps PROPNAME PROPVAL PATH<br />
  Merke: Der aktuelle Wert des Properties wird dabei überschrieben! Möchte man ihn behalten, muss man ihn neu mit hinzufügen.<br />
  Merke: PROPVAL für z. B. svn:ignore ist ein Objekt je Zeile. Das wird mit z. b. &#8220;objekt1[RETURN]objekt2&#8243; erreicht.<br />
  Merke: Ein mit &#8220;svn mkdir&#8221; erstelltes Verzeichnis kann nicht direkt ignoriert werden. Verzeichnisse die ignoriert werden sollen, müssen manuell erstellt werden und können anschließend ignoriert werden.<br />
  Beispiele:<br />
    Das Verzeichnis test im aktuellen Verzeichnis ignorieren<br />
    svn ps svn:ignore test .<br />
    Das Verzeichnis test im Unterverzeichnis public/images ignorieren<br />
    svn ps svn:ignore test public/images<br />
    Die Verzeichnisse test1 und test2 im aktuellen Verzeichnis ignorieren<br />
    svn ps svn:ignore &#8220;test1[RETURN]test2&#8243; .<br />
    Alle *.log Dateien im Unterverzeichnis log ignorieren (Das hat keine Auswirkung auf das Verzeichnis log an sich, sondern nur die Dateien dort drin)<br />
    svn ps svn:ignore *.log log</p>
<p>LÖSCHEN</p>
<p>  Property PROPNAME von PATH löschen<br />
  svn pd PROPNAME [PATH]<br />
  Merke: Wieder hat das keine Auswirkung auf das Verzeichnis PATH, nur auf dessen Inhalte! (Es sei denn natürlich PATH ist eine Datei)<br />
  Merke: Wird PATH weggelassen, wird das Property vom aktuellen Verzeichnis gelöscht<br />
  Beispiele:<br />
    Alle Objekte im aktuellen Verzeichnis sollen nicht mehr ignoriert werden<br />
    svn pd svn:ignore<br />
    Alle Objekte im Verzeichnis public/images sollen nicht mehr ignoriert werden<br />
    svn pd svn:ignore public/images</p>
<p>&#8211; LEGENDE &#8211;</p>
<p>  PROPNAME ist ein Property<br />
  z. B. svn:ignore oder svn:executable</p>
<p>  PROPVAL Wert eines Properties<br />
  Die Belegung des Properties mit z. B. dem Namen eines Unterverzeichnisses</p>
<p>  PATH Verzeichnis zu einem Verzeichnis oder einer Datei usw.<br />
  z. B. dir/subdir oder .</p>
<p>  [RETURN] Entertaste<br />
  Ist ein Zeilensprung mit der Returntaste</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/8h7YlDEJCd4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2008/05/25/svn-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2008/05/25/svn-commands/</feedburner:origLink></item>
		<item>
		<title>Mailinator Update</title>
		<link>http://feedproxy.google.com/~r/funkensturm/~3/peb8HiXKSxA/</link>
		<comments>http://blog.funkensturm.de/2008/05/23/mailinator-update/#comments</comments>
		<pubDate>Fri, 23 May 2008 16:00:31 +0000</pubDate>
		<dc:creator>Captain Future</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[email mail inbox spam]]></category>
		<category><![CDATA[mailinator]]></category>

		<guid isPermaLink="false">http://blog.funkensturm.de/?p=62</guid>
		<description><![CDATA[Mailinator hat eine neue Funktion eingeführt und die möchte ich kurz vorstellen. In Diesem Artikel haben wir ja bereits über Bugmenot und Mailinator gesprochen.
Das Problem bei einem Mailinator-Account war bisher gewesen, dass jeder, der deine Emailadresse kennt, auch deine Emails lesen kann (ziemlich gravierend, oder? :)
funkensturm@mailinator.com brauchte man nur auf www.mailinator.com eingeben:

Und man konnte die [...]]]></description>
			<content:encoded><![CDATA[<p>Mailinator hat eine neue Funktion eingeführt und die möchte ich kurz vorstellen. In <a href="http://blog.funkensturm.de/2007/06/07/bugmenot-mailinator-tinyurl-firefox-erweiterungen/">Diesem Artikel</a> haben wir ja bereits über Bugmenot und Mailinator gesprochen.</p>
<p>Das Problem bei einem Mailinator-Account war bisher gewesen, dass jeder, der deine Emailadresse kennt, auch deine Emails lesen kann (ziemlich gravierend, oder? :)</p>
<p>funkensturm@mailinator.com brauchte man nur auf <a href="http://www.mailinator.com" onclick="pageTracker._trackPageview('/outgoing/www.mailinator.com?referer=');">www.mailinator.com</a> eingeben:</p>
<p><img src="http://blog.funkensturm.de/wp-content/uploads/2008/05/bild-2.png" alt="mailinator funkensturm login" title="bild-2" width="278" height="86" class="alignnone size-full wp-image-63" /></p>
<p>Und man konnte die Mails lesen:</p>
<p><img src="http://blog.funkensturm.de/wp-content/uploads/2008/05/bild-3.png" alt="" title="bild-3" width="385" height="128" class="alignnone size-full wp-image-64" /></p>
<p>Um das zu verhindern, sieht man jetzt klein im obigen Bild:<br />
<strong>&#8220;Alternate Address for this Inbox: M8R-9rdddd@mailinator.com&#8221;</strong></p>
<p>Wie <a href="http://mailinator.blogspot.com/2008/03/introducing-alternate-inbox-names.html" onclick="pageTracker._trackPageview('/outgoing/mailinator.blogspot.com/2008/03/introducing-alternate-inbox-names.html?referer=');">hier</a> erklärt, handelt es sich dabei um eine Art Hash-Wert für das Wort &#8220;funkensturm&#8221;. Das heißt, man gibt in Zukunft nur noch die Adresse <em>M8R-9rdddd@mailinator.com</em> weiter und keiner weiß, dass sich der Account &#8220;funkensturm&#8221; dahinter verbirgt.</p>
<img src="http://feeds.feedburner.com/~r/funkensturm/~4/peb8HiXKSxA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.funkensturm.de/2008/05/23/mailinator-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.funkensturm.de/2008/05/23/mailinator-update/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.410 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-25 20:49:48 -->
