<?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>[schuchlenz.com]</title>
	<atom:link href="http://www.schuchlenz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schuchlenz.com</link>
	<description>posts.each do { &#124;p&#124; read(p) }</description>
	<lastBuildDate>Thu, 25 Feb 2010 13:25:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GimpShop &amp; Photoshop Shortcut File</title>
		<link>http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/</link>
		<comments>http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 13:08:41 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[gimpshop]]></category>
		<category><![CDATA[menurc]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/</guid>
		<description><![CDATA[For all of you who need/want to do graphics work on Linux, the Gimp is praised as an alternative to Photoshop. Well, I tend to use CS4 for the more complex work since Gimp simply isn&#8217;t that powerful and comfortable&#8230; wait. There&#8217;s GimpShop!
What&#8217;s that?
GimpShop (http://plasticbugs.com/?page_id=294) is a hack for Gimp to change the menu structure [...]]]></description>
			<content:encoded><![CDATA[<p>For all of you who need/want to do graphics work on Linux, the Gimp is praised as an <a href="http://www.schuchlenz.com/tag/alternative/" class="st_tag internal_tag" rel="tag" title="Posts tagged with alternative">alternative</a> to <a href="http://www.schuchlenz.com/tag/photoshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with photoshop">Photoshop</a>. Well, I tend to use CS4 for the more complex work since Gimp simply isn&#8217;t that powerful and comfortable&#8230; wait. There&#8217;s GimpShop!</p>
<p><strong>What&#8217;s that?</strong></p>
<p>GimpShop (<a href="http://plasticbugs.com/?page_id=294" target="_blank">http://plasticbugs.com/?page_id=294</a>) is a hack for Gimp to change the menu structure and tools to a <a href="http://www.schuchlenz.com/tag/photoshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with photoshop">Photoshop</a> layout (which it seems to do quite neatly). Combined with <a href="http://www.schuchlenz.com/tag/photoshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with photoshop">Photoshop</a> shortcuts for Gimp (found here: <a href="http://epierce.freeshell.org/gimp/gimp_ps.php" target="_blank">http://epierce.freeshell.org/gimp/gimp_ps.php</a>) the Gimp starts to really make sense for people like me who try to do a switchover from Adobe&#8217;s overpriced solutions to free alternatives but who don&#8217;t want to miss out on <a href="http://www.schuchlenz.com/tag/photoshop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with photoshop">Photoshop</a>&#8217;s massive and innovative features.</p>
<p><strong>EDIT</strong>: In case you don&#8217;t like GimpShop in German either (it was because of my general DE locale that Linux decided a german Gimp would be good for me):</p>
<p>I hacked together a quick Perl script, just put it somewhere, give it 755 perms and add a symlink to the file to your /usr/local/bin.</p>
<p>Step 1:</p>
<p>Create a file (I called it gimp_en.pl) and add the following:</p>
<p><code>#!/usr/bin/perl</code><br />
<code>system("LANG=EN gimp")</code></p>
<p>Step 2:</p>
<p>Create a symlink (after chmod 755 on gimp_en.pl) in /usr/local/bin:</p>
<p><code>sudo ln -s /path/to/gimp_en.pl gimp_en</code></p>
<p>Step 3:</p>
<p>Put a launcher on your desktop (or wherever you like it) pointing to &#8220;gimp_en&#8221;</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts found at the moment.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/gimpshop-photoshop-shortcut-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing UPDATE with Doctrine and a String as Parameter</title>
		<link>http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/</link>
		<comments>http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 10:55:13 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[getSql]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/</guid>
		<description><![CDATA[Today I had to extend a few Doctrine queries and one of these modifications consisted of changing the parameter of an UPDATE query from integer to string &#8211; and whoops! It didn&#8217;t work anymore&#8230;
When using $query-&#62;getSql(); I noticed that it wanted to do something like this:
UPDATE data SET date = 2009-12-14 WHERE ...
and of course [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to extend a few Doctrine queries and one of these modifications consisted of changing the parameter of an <a href="http://www.schuchlenz.com/tag/update/" class="st_tag internal_tag" rel="tag" title="Posts tagged with update">UPDATE</a> query from integer to <a href="http://www.schuchlenz.com/tag/string/" class="st_tag internal_tag" rel="tag" title="Posts tagged with string">string</a> &#8211; and whoops! It didn&#8217;t work anymore&#8230;</p>
<p>When using <code>$query-&gt;getSql();</code> I noticed that it wanted to do something like this:</p>
<p><code><a href="http://www.schuchlenz.com/tag/update/" class="st_tag internal_tag" rel="tag" title="Posts tagged with update">UPDATE</a> data SET date = 2009-12-14 WHERE ...</code></p>
<p>and of course mySQL doesn&#8217;t like passing date strings without proper quotes&#8230;</p>
<p>The query looked like this:</p>
<p><code>$query-&gt;<a href="http://www.schuchlenz.com/tag/update/" class="st_tag internal_tag" rel="tag" title="Posts tagged with update">UPDATE</a>('Data')-&gt;set('date', $myNewDate)-&gt;where(...)</code></p>
<p>which I had to subsitute with</p>
<p><code>$query-&gt;<a href="http://www.schuchlenz.com/tag/update/" class="st_tag internal_tag" rel="tag" title="Posts tagged with update">UPDATE</a>('Data')-&gt;set('date', '?', $myNewDate)-&gt;where(...)</code></p>
<p>Note the <code>'?'</code> in the middle &#8211; now it works <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/symfony-allowing-extra-field-in-validated-forms/" title="Symfony: Allowing extra field in validated forms (04.11.2009)">Symfony: Allowing extra field in validated forms</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/doctrine-queries/" title="Doctrine Queries (04.11.2009)">Doctrine Queries</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/doing-update-with-doctrine-and-a-string-as-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IRC server &amp; channels added!</title>
		<link>http://www.schuchlenz.com/irc-server-channels-added/</link>
		<comments>http://www.schuchlenz.com/irc-server-channels-added/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:11:24 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[droom]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[pjirc]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[sass]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[webchat]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/irc-server-channels-added/</guid>
		<description><![CDATA[Since the start of this week, there is an own IRC server running at irc.droom.at (webchat or connect directly with your favourite IRC client) which offers support for:

Rails
jQuery
symfony
HAML / SASS

and sports some fun channels. Check it out and populate the server  

	Related posts
	
	How HAML changed my (XHTML) life (0)
	Using jQuery for every day tasks [...]]]></description>
			<content:encoded><![CDATA[<p>Since the start of this week, there is an own <a href="http://www.schuchlenz.com/tag/irc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with irc">IRC</a> server running at <a target="_blank" href="http://irc.droom.at">irc.droom.at</a> (webchat or connect directly with your favourite <a href="http://www.schuchlenz.com/tag/irc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with irc">IRC</a> client) which offers support for:</p>
<ul>
<li>Rails</li>
<li>jQuery</li>
<li>symfony</li>
<li>HAML / <a href="http://www.schuchlenz.com/tag/sass/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sass">SASS</a></li>
</ul>
<p>and sports some fun channels. Check it out and populate the server <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/" title="How HAML changed my (XHTML) life (12.11.2009)">How HAML changed my (XHTML) life</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/using-jquery-for-every-day-tasks/" title="Using jQuery for every day tasks (30.10.2009)">Using jQuery for every day tasks</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-predefining-date-formats/" title="Rails: Predefining date formats (30.10.2009)">Rails: Predefining date formats</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/" title="Rails: Integrate FCKEditor with ActiveScaffold (30.10.2009)">Rails: Integrate FCKEditor with ActiveScaffold</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/irc-server-channels-added/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How HAML changed my (XHTML) life</title>
		<link>http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/</link>
		<comments>http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 08:00:00 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/</guid>
		<description><![CDATA[Using HAML and SASS have streamlined my template and XHTML building in a way I couldn&#8217;t imagine. I&#8217;ve tried some markup/markdown like textile but HAML is so well integrated into Ruby on Rails, it&#8217;s plain amazing. Come on, take a look, I promise you will like that one 

But what is HAML?
HAML (HTML Abstract Markup [...]]]></description>
			<content:encoded><![CDATA[<p>Using <a href="http://haml-lang.com/" target="_blank">HAML</a> and <a href="http://sass-lang.com/" target="_blank">SASS</a> have streamlined my template and <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> building in a way I couldn&#8217;t imagine. I&#8217;ve tried some markup/markdown like textile but HAML is so well integrated into Ruby on Rails, it&#8217;s plain amazing. Come on, take a look, I promise you will like that one <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<span id="more-110"></span></p>
<p><strong>But what is HAML?</strong><br />
HAML (HTML Abstract Markup Language) is a markup language that changes the way you write <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a>. Let me give you a small example:</p>
<p><code>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;a test&lt;/title&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="style.css"/&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;div id="header"&gt;&lt;h1&gt;some headline&lt;/h1&gt;&lt;/div&gt;<br />
&lt;div id="menu"&gt;link1 link2 link3&lt;/div&gt;<br />
&lt;div id="content"&gt;<br />
&lt;p&gt;some text in a paragraph&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</code></p>
<p>This is standard <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> code (OK quick and dirty). With HAML, you can shorten that to</p>
<p><code>!!!<br />
%html<br />
%head<br />
%title a test<br />
%style{:type =&gt; "text/css", :href =&gt; "style.css"}/<br />
%body<br />
#header<br />
%h1 some headline<br />
#menu link1 link2 link3<br />
#content<br />
%p some text in a paragraph</code></p>
<p>As you can see, there are no ending <a href="http://www.schuchlenz.com/tag/tags/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tags">tags</a> anymore, all the structuring is done via python-style indenting. This not only gives you a cleaner code but &#8211; once you are used to it &#8211; provides amazing speed and structure, especially when used in conjunction with Ruby code. The trick is you can add Ruby code directly into the {} and () of the <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> <a href="http://www.schuchlenz.com/tag/tags/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tags">tags</a>. One more example which makes things a bit more clear (I hope):</p>
<p><code>&lt;% for m in getMenuItems('mainMenu') %&gt;<br />
&lt;% if m.is_active == false or m.is_active == "" %&gt;<br />
&lt;% next %&gt;<br />
&lt;% end %&gt;<br />
&lt;%= link_to m.name.to_s, '/somecontroller/' + m.id.to_s %&gt;<br />
&lt;% end %&gt;</code></p>
<p>With HAML, it looks like:</p>
<p><code>- for m in getMenuItems('mainMenu')<br />
- if m.is_active == false or m.is_active == ""<br />
- next<br />
= link_to m.name.to_s, '/somecontroller/' + m.id.to_s</code></p>
<p>As this is just a very basic loop with only one condition and no surrounding <a href="http://www.schuchlenz.com/tag/xhtml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with xhtml">XHTML</a> stuff I can only show you how HAML makes the code readable and shortens it (since you don&#8217;t need those pesky <code>&lt;% end %&gt;</code> statements anymore, once you utilize it in your layouts and views you will see how powerful it is.</p>
<p>OK, how can I get it to run with my Rails app?<br />
Just install the gem via</p>
<p><code>sudo gem install haml</code></p>
<p>and add</p>
<p><code>config.gem 'haml'</code></p>
<p>to your <code>config/environment.rb</code>. Then install and unpack the gem with</p>
<p><code>rake gems:install<br />
rake gems:unpack</code></p>
<p>and you&#8217;re set. Now you need to rename the desired views from .html.erb to .html.haml (e.g. app/views/layouts/application.html.haml) and start changing the code from ERBish style to HAML. Try it! Take a view file, rename it and start changing it to HAML and you will see how cool it is once you have worked with it.</p>
<p>Be sure to check out the documentation @ <a href="http://haml-lang.com/" target="_blank">http://haml-lang.com/</a> it is very useful and the tutorials on the official site are too!</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/irc-server-channels-added/" title="IRC server &#038; channels added! (19.11.2009)">IRC server &#038; channels added!</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-predefining-date-formats/" title="Rails: Predefining date formats (30.10.2009)">Rails: Predefining date formats</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/" title="Rails: Integrate FCKEditor with ActiveScaffold (30.10.2009)">Rails: Integrate FCKEditor with ActiveScaffold</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-extracting-fixtures-from-databases/" title="Rails: Extracting fixtures from databases (30.10.2009)">Rails: Extracting fixtures from databases</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/how-haml-changed-my-xhtml-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to process multiple checkboxes with jQuery</title>
		<link>http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/</link>
		<comments>http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 11:32:07 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[checked]]></category>
		<category><![CDATA[each()]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/</guid>
		<description><![CDATA[The functionality isn&#8217;t new: you have a list of stuff and want checkboxes before the elements so you can mass-process them. In my case, I wanted to set a number of list elements to a certain state (which in this case means a status flag in the database) so the need arose to fetch all [...]]]></description>
			<content:encoded><![CDATA[<p>The functionality isn&#8217;t new: you have a list of stuff and want checkboxes before the elements so you can mass-process them. In my case, I wanted to set a number of list elements to a certain state (which in this case means a status flag in the database) so the need arose to fetch all selected elements (where the <a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a> is checked), stuff them into an AJAX function and deselect the items afterwards.</p>
<p>For this example, my list looks like:</p>
<p><code>&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="1" name="check[]" /&gt; 1&lt;br /&gt;<br />&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="2" name="check[]" /&gt; 2&lt;br /&gt;<br />&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="3" name="check[]" /&gt; 3&lt;br /&gt;<br />&lt;input type="<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>" value="4" name="check[]" /&gt; 4&lt;br /&gt;</p>
<p>&lt;button&gt;send&lt;/button&gt;<br /></code><br />Now I want to get alle checked checkboxes with <a href="http://www.schuchlenz.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jquery">jQuery</a> and process them with AJAX. For this task, I employ <a href="http://www.schuchlenz.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jquery">jQuery</a>&#8217;s each() functionality:</p>
<p><code>$('button').click(function(){<br />&nbsp; $(':<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>:checked').each(function(){<br />&nbsp;&nbsp;&nbsp; $.post('process.php', { <a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>: $(this).attr('value') });<br />&nbsp; });<br />});</code></p>
<p>Now what does that do?</p>
<p><code>$(':<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>:checked').each(function(){</code></p>
<p>tells <a href="http://www.schuchlenz.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jquery">jQuery</a> to get all checked checkboxes and via each() do something (function()&#8230;)</p>
<p><code>$.post('process.php', { <a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>: $(this).attr('value') });</code></p>
<p>For each value that we get, we want to send an AJAX call to <code>process.php</code> and pass the current value as parameter &#8220;<a href="http://www.schuchlenz.com/tag/checkbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checkbox">checkbox</a>&#8221;, which we can pick up with PHP. If you like, you can also add a callback function to the AJAX call (e.g. an alert which says &#8220;Thanks I&#8217;ve used your data&#8221; or something alike).</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/how-to-ajax-with-jquery/" title="How to AJAX with jQuery (30.10.2009)">How to AJAX with jQuery</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/using-jquery-for-every-day-tasks/" title="Using jQuery for every day tasks (30.10.2009)">Using jQuery for every day tasks</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/javascript-cookies/" title="JavaScript cookies (30.10.2009)">JavaScript cookies</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/irc-server-channels-added/" title="IRC server &#038; channels added! (19.11.2009)">IRC server &#038; channels added!</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/changing-selected-option-in-a-select/" title="Changing selected option in a SELECT (04.11.2009)">Changing selected option in a SELECT</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analytics Desktop Reporting with Polaris</title>
		<link>http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/</link>
		<comments>http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 13:59:22 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[polaris]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/</guid>
		<description><![CDATA[Yesterday I&#8217;ve found a nice Adobe AIR application named &#8220;Polaris&#8221; (find it here) which provides a desktop interface to the most important Google Analytics reports. It comes as a free version which limits you to one Analytics account but you can also go premium and pay for it to have multiple Analytics accounts displayed at [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I&#8217;ve found a nice Adobe AIR application named &#8220;<a href="http://www.schuchlenz.com/tag/polaris/" class="st_tag internal_tag" rel="tag" title="Posts tagged with polaris">Polaris</a>&#8221; (find it <a target="_blank" href="http://www.desktop-reporting.com/polaris.html">here</a>) which provides a <a href="http://www.schuchlenz.com/tag/desktop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with desktop">desktop</a> interface to the most important <a href="http://www.schuchlenz.com/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with google">Google</a> Analytics reports. It comes as a free version which limits you to one Analytics account but you can also go premium and pay for it to have multiple Analytics accounts displayed at once.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/analytics-desktop-reporting-with-polaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mailer HOWTO for Rails</title>
		<link>http://www.schuchlenz.com/mailer-howto-for-rails/</link>
		<comments>http://www.schuchlenz.com/mailer-howto-for-rails/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 11:10:01 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mailer]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[send]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/mailer-howto-for-rails/</guid>
		<description><![CDATA[Since sending mails via Rails is &#8211; at first sight &#8211; a bit tricky, I want to provide you with a quick heads up on how to do that. 
Fortunately Rails provides us with a mailer generator to set up the basics:
ruby script/generate mailer MyMailer
You can of course call it as you like it to [...]]]></description>
			<content:encoded><![CDATA[<p>Since sending mails via Rails is &#8211; at first sight &#8211; a bit tricky, I want to provide you with a quick heads up on how to do that. </p>
<p><span id="more-104"></span><br />Fortunately Rails provides us with a mailer generator to set up the basics:</p>
<p><code>ruby script/generate mailer MyMailer</code></p>
<p>You can of course call it as you like it to fit your application. But for this HOWTO let&#8217;s stick to MyMailer. As you have noticed, Rails created some files for us:</p>
<p><code>exists&nbsp; app/models/<br />create&nbsp; app/views/my_mailer<br />exists&nbsp; test/unit/<br />create&nbsp; test/fixtures/my_mailer<br />create&nbsp; app/models/my_mailer.rb<br />create&nbsp; test/unit/my_mailer_test.rb</code></p>
<p>At first, we need to edit app/models/my_mailer.rb and add the following code:</p>
<p><code>def <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a>(recipient, subject, bodyText)<br />&nbsp; from "no-reply@mydomain.com"<br />&nbsp; recipients recipient<br />&nbsp; subject subject <br />&nbsp; body :bodyText =&gt; bodyText<br />end</code></p>
<p><i><b>Notice: make sure you don&#8217;t use @from or @body &#8211; you maybe won&#8217;t get any error but it simply won&#8217;t work!</b></i><br />This is the function that will be called when we want to send a <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a>. You can also use default values (like for the from address) for subject and body if you like. But we want to provide our application with a form to enter subject and body and to <a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a> some recipients (so we have a mass mailer, basically). Let&#8217;s edit the <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a> template &#8211; this is the body of our <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a> message. It resides in app/views/my_mailer and we call it <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a>.html.erb (we have to create that). Then we put in:</p>
<p><code>&lt;%= @bodyText %&gt;</code></p>
<p>At the moment, the body text is sufficient, but you can also add a salutation, footer line or whatever you want to be sent alongside the stuff the user puts in the body field in the <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a> sending form. Here is the code you have to put in the controller which is supposed to send the mails (I used admin):</p>
<p><code>def sendEmail<br />&nbsp; params[:recipients].each do |r|<br />&nbsp; MyMailer::deliver_mail(r, params[:subject], params[:body])<br />end</code></p>
<p>The each-loop allows for stuffing multiple recipients into our <a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a> sending function. But we need a form to <a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a> these users and provide a subject and body field. So you have to create a view (e.g. admin/sendMyMail.html.erb) and put in something like that:</p>
<p><code>&lt;% form_tag '/admin/sendEmail' do %&gt;<br />&lt;label&gt;Subject:&lt;/label&gt;&lt;br /&gt;<br />&lt;input type="text" name="subject" /&gt;&lt;br /&gt;&lt;br /&gt;<br />&lt;label&gt;Recipients:&lt;/label&gt;&lt;br /&gt;<br />&lt;<a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a> name="recipients[]" multiple&gt;<br />&lt;% Recipient.find(:all).each do |r| %&gt;<br />&lt;option value="&lt;%= r.<a href="http://www.schuchlenz.com/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mail">mail</a> %&gt;"&gt;&lt;%= r.firstname + ' ' + r.lastname %&gt;&lt;/option&gt;<br />&lt;% end %&gt;<br />&lt;/<a href="http://www.schuchlenz.com/tag/select/" class="st_tag internal_tag" rel="tag" title="Posts tagged with select">select</a>&gt;<br />&lt;br /&gt;&lt;br /&gt;<br />&lt;label&gt;Message:&lt;/label&gt;&lt;br /&gt;<br />&lt;textarea name="body"&gt;&lt;/textarea&gt;<br />&lt;br /&gt;&lt;br /&gt;<br />&lt;input type="submit" value="send 'em" /&gt;<br />&lt;% end %&gt;</code></p>
<p>I used a model Recipient here, you can of course use any model you want, extract the (rather ugly) database querying and put it in a helper etc.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/activescaffold-how-to-get-started/" title="ActiveScaffold: How to get started (02.11.2009)">ActiveScaffold: How to get started</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/symfony-how-to-get-data-from-session-into-form/" title="Symfony: How to get data from session into form (02.11.2009)">Symfony: How to get data from session into form</a> (1)</li>
	<li><a href="http://www.schuchlenz.com/svn-a-quick-howto/" title="SVN: A quick HOWTO (04.11.2009)">SVN: A quick HOWTO</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/mailer-howto-for-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Subscribe2: too much MIME prevents mails being sent&#8230;</title>
		<link>http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/</link>
		<comments>http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:46:03 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[bad header]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[subscribe2]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/</guid>
		<description><![CDATA[Today I added the subscribe2 plugin to this blog, which in fact is very nice (hey you &#8211; are you subscribed yet?) to notify users of new posts. But when I took the first dry run trying to subscribe and confirm my account, no mail has been sent. Well, in fact the logfiles of my [...]]]></description>
			<content:encoded><![CDATA[<p>Today I added the <a href="http://www.schuchlenz.com/tag/subscribe2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscribe2">subscribe2</a> plugin to this blog, which in fact is very nice (hey you &#8211; are you subscribed yet?) to notify users of new posts. But when I took the first dry run trying to subscribe and confirm my account, no mail has been sent. Well, in fact the logfiles of my mailserver proved me wrong: the mail was rejected because of a <a href="http://www.schuchlenz.com/tag/bad-header/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bad header">BAD HEADER</a> error since the MIME version was noted twice and therefore my mailserver decided to dump it. </p>
<p>Due to the fact that that many sysadmins have hardened their security because of spam and virus waves, it is a good idea to check on the error, which in fact resides in wp-content/plugins/<a href="http://www.schuchlenz.com/tag/subscribe2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscribe2">subscribe2</a>/<a href="http://www.schuchlenz.com/tag/subscribe2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscribe2">subscribe2</a>.php. Just comment out the line</p>
<p><code>$headers .= "MIME-Version: 1.0\n";</code></p>
<p>and you&#8217;re safe.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/mailer-howto-for-rails/" title="Mailer HOWTO for Rails (05.11.2009)">Mailer HOWTO for Rails</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/subscribe2-too-much-mime-prevents-mails-being-sent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing selected option in a SELECT</title>
		<link>http://www.schuchlenz.com/changing-selected-option-in-a-select/</link>
		<comments>http://www.schuchlenz.com/changing-selected-option-in-a-select/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:35:31 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[option]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[selected]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/changing-selected-option-in-a-select/</guid>
		<description><![CDATA[In Symfony, nothing is as easy as it might seem. So I ran into the problem to change which element of an autogenerated SELECT is selected. jQuery came in handy to accomplish that.
In this case, my SELECT looks like:
&#60;select id="mySelect"&#62;&#60;option value="0"&#62;please choose&#60;/option&#62;&#60;option value="1" selected&#62;some option&#60;/option&#62;&#60;option value="2"&#62;some other option&#60;/option&#62;&#60;option value="3"&#62;you get it&#60;/option&#62;&#60;/select&#62;
Now, I want to have [...]]]></description>
			<content:encoded><![CDATA[<p>In Symfony, nothing is as easy as it might seem. So I ran into the problem to change which element of an autogenerated SELECT is selected. <a href="http://www.schuchlenz.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jquery">jQuery</a> came in handy to accomplish that.</p>
<p>In this case, my SELECT looks like:</p>
<p><code>&lt;select id="mySelect"&gt;<br />&lt;option value="0"&gt;please choose&lt;/option&gt;<br />&lt;option value="1" selected&gt;some option&lt;/option&gt;<br />&lt;option value="2"&gt;some other option&lt;/option&gt;<br />&lt;option value="3"&gt;you get it&lt;/option&gt;<br />&lt;/select&gt;</code></p>
<p>Now, I want to have my option no# 2 selected instead of 1:</p>
<p><code><a href="http://www.schuchlenz.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jquery">jQuery</a>("select#mySelect option[selected]").removeAttr("selected");<br /><a href="http://www.schuchlenz.com/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jquery">jQuery</a>("select#mySelect option[value=2]").attr("selected", "selected");</code></p>
<p>And here we go. Courtesy to <span class="blog_author"><span id="dnn_ctr428_MainView_ViewEntry_lblUserID">Will Strohl (http://www.willstrohl.com) for this tip!<br /></span></span></p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/using-jquery-for-every-day-tasks/" title="Using jQuery for every day tasks (30.10.2009)">Using jQuery for every day tasks</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/javascript-cookies/" title="JavaScript cookies (30.10.2009)">JavaScript cookies</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/irc-server-channels-added/" title="IRC server &#038; channels added! (19.11.2009)">IRC server &#038; channels added!</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/how-to-process-multiple-checkboxes-with-jquery/" title="How to process multiple checkboxes with jQuery (09.11.2009)">How to process multiple checkboxes with jQuery</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/how-to-ajax-with-jquery/" title="How to AJAX with jQuery (30.10.2009)">How to AJAX with jQuery</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/changing-selected-option-in-a-select/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN: A quick HOWTO</title>
		<link>http://www.schuchlenz.com/svn-a-quick-howto/</link>
		<comments>http://www.schuchlenz.com/svn-a-quick-howto/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 11:20:45 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[branches]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[trunk]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/svn-a-quick-howto/</guid>
		<description><![CDATA[If you do a lot of coding, you will experience the need for versioning your code. I have used CVS before switching to SVN and I can only recommend SVN to you &#8211; once you get the hang of it, you will love it. I even use SVN for keeping track of complex HTML templates.
When [...]]]></description>
			<content:encoded><![CDATA[<p>If you do a lot of coding, you will experience the need for versioning your code. I have used CVS before switching to <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> and I can only recommend <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> to you &#8211; once you get the hang of it, you will love it. I even use <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> for keeping track of complex HTML templates.</p>
<p>When using <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> for the first time, I followed a tutorial on the net but it was quite misleading and thus I had quite some trouble with checking in and out.</p>
<p>Let&#8217;s say we have an <a href="http://www.schuchlenz.com/tag/application/" class="st_tag internal_tag" rel="tag" title="Posts tagged with application">application</a> that resides under /var/www/myApp/ and we have a <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> repository over at <code>www.mydomain.com/<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/myAPP</code> (you can create that via <code>svnadmin create myAPP</code> in the <code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/</code> directory).</p>
<p>OK, at first, we have to check out the empty repo to a directory (I use /home/joe/myAPP here):</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> co http://www.mydomain.com/<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/myAPP /home/joe/myAPP</code></p>
<p>Then, we jump into our temporary repo and create the necessary directories:</p>
<p><code>cd /home/joe/myAPP<br />
mkdir tags branches</code></p>
<p>Done? Good. Let&#8217;s copy our <a href="http://www.schuchlenz.com/tag/application/" class="st_tag internal_tag" rel="tag" title="Posts tagged with application">application</a> to the trunk/ directory:</p>
<p><code>cp /var/www/myAPP trunk -a</code></p>
<p>Now we can add our 3 folders to the <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> repository (in fact, we only mark them for addition, they are added once we commit our changes by checking in):</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> add trunk branches tags</code></p>
<p>trunk, branches and tags directories are now registered as part of our <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> repo. But hey! Let&#8217;s assume we have two folders (private and logs) which we don&#8217;t want to be updated when checking in changes to our repository. We can now set ignore rules to avoid them being <a href="http://www.schuchlenz.com/tag/checked/" class="st_tag internal_tag" rel="tag" title="Posts tagged with checked">checked</a> in:</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> propedit <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>:ignore .</code></p>
<p>An editor will open &#8211; this can be VIM, nano or whatever you have set as your shells default editor. Enter the following lines and save+close:</p>
<p><code>trunk/private<br />
trunk/logs</code></p>
<p>You can also set single files or wildcard specs to be ignored:</p>
<p><code>trunk/log/*.log<br />
trunk/private/*<br />
trunk/private/myDocument.txt</code></p>
<p>Once you&#8217;re done, let&#8217;s check in our changes to the repo:</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> ci</code></p>
<p>Now you can enter a message (for the first time I use &#8220;initial commit&#8221;), save+close and you will notice that <a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">SVN</a> works on your changes and gives back a revision number. This is your current version.</p>
<p>Once you&#8217;re done, I&#8217;d suggest making an update, removing our repo checkout and checking out only <code>trunk/</code> since you won&#8217;t need tags and branches when working locally:</p>
<p><code><a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> up<br />
cd ..<br />
rm -rf myAPP<br />
<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> co http://www.mydomain.com/<a href="http://www.schuchlenz.com/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a>/myAPP/trunk myAPP</code></p>
<p>Now you&#8217;re set!</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/symfony-how-to-get-data-from-session-into-form/" title="Symfony: How to get data from session into form (02.11.2009)">Symfony: How to get data from session into form</a> (1)</li>
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/mailer-howto-for-rails/" title="Mailer HOWTO for Rails (05.11.2009)">Mailer HOWTO for Rails</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/activescaffold-how-to-get-started/" title="ActiveScaffold: How to get started (02.11.2009)">ActiveScaffold: How to get started</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/svn-a-quick-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
