<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6" -->
<rss version="0.92">
<channel>
	<title>flip's</title>
	<link>http://flip.netzbeben.de</link>
	<description>development, music, design and inspiration</description>
	<lastBuildDate>Wed, 13 Aug 2008 06:02:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Move Wubi installation (Ubuntu on Windows) to a native Ubuntu system</title>
		<description>There's a tool called LVPM which could do the move, but there are sometimes problems with it. So I recommend to use a faster and safer way to do it - with the wubi-move-to-partition script:

	Boot into your Wubi installation.
	Open a shell and do a:
wget "https://wiki.ubuntu.com/WubiGuide?action=AttachFile&#38;do=get&#38;target=wubi-move-to-partition"
	Install and run gparted:
sudo apt-get install ...</description>
		<link>http://flip.netzbeben.de/2008/08/move-wubi-installation-ubuntu-on-windows-to-a-native-ubuntu-system/</link>
			</item>
	<item>
		<title>Smilies in Rails using RedCloth</title>
		<description>RedCloth doesn't come with support for smilies, so i've added it for one of my projects.
You need to extend the RedCloth class. You could do this by creating a file in your /lib directory, which you have to include in your environment.rb. Here an example for three simple smilies:


class RedCloth
 ...</description>
		<link>http://flip.netzbeben.de/2008/07/smilies-in-rails-using-redcloth/</link>
			</item>
	<item>
		<title>Rails: routes and special characters like dots</title>
		<description>Rails doesn't seem to like dots and other special chars in its routes.
If you want to use URLs like http://www.domain.com/post/1/just_a_test.. logically the following route seems to be sensible:

map.connect '/post/:id/:title', :controller => 'forum', :action => 'show_post'

But rails won't like the dots. Use a route like the following to allow a URL ...</description>
		<link>http://flip.netzbeben.de/2008/07/rails-routes-and-special-characters-like-dots/</link>
			</item>
	<item>
		<title>Sehnsucht nach Ruhe</title>
		<description> </description>
		<link>http://flip.netzbeben.de/2008/06/ruhe/</link>
			</item>
	<item>
		<title>Functional test for HTTP Basic Authentication in Rails 2</title>
		<description>If you want to provide a username and password for a HTTP Basic Authentication in one of your functional tests, simply use the following:


def test_should_get_index
  @request.env["HTTP_AUTHORIZATION"] = "Basic " + Base64::encode64("username:password")
  get :index
  assert_response :success
  assert_not_nil assigns(:articles)
end

Keywords: rails test, functionals, authorization, basic http authentication, how to ...</description>
		<link>http://flip.netzbeben.de/2008/06/functional-test-for-http-authentication-in-rails-2/</link>
			</item>
	<item>
		<title>404 in rails</title>
		<description>If you need to show a 404 error page from your controller without using an exception, this could help:

render :file => "#{RAILS_ROOT}/public/404.html",  :status => 404 and return </description>
		<link>http://flip.netzbeben.de/2008/06/404-in-rails/</link>
			</item>
	<item>
		<title>Rails 2: authenticate_or_request_with_http_basic and Apache</title>
		<description>I've tried to use the new authenticate_or_request_with_http_basic function of Rails 2 to include a simple authentication for some special pages in an application. But Apache kept refusing authorization, even if the authenticate_or_request_with_http_basic-block was set to be always true.

To fix this, add or change this in your public/.htaccess (if using FastCGI):
RewriteRule ...</description>
		<link>http://flip.netzbeben.de/2008/06/authenticate_or_request_with_http_basic-and-apache/</link>
			</item>
	<item>
		<title>Save my life</title>
		<description>Another piece of great emo

 </description>
		<link>http://flip.netzbeben.de/2008/03/save-my-life/</link>
			</item>
	<item>
		<title>Okkervil River</title>
		<description>That's what I'd call EMO.

 </description>
		<link>http://flip.netzbeben.de/2008/01/okkervil-river/</link>
			</item>
	<item>
		<title>Localization problem with Wordpress 2.3</title>
		<description>I've transferred a wordpress system to another server which runs PHP 5. The language file didn't work  anymore. After one annoying hour I've found out that the gettext functions are buggy.

Solution:

	Get the current version of php-gettext at http://download.savannah.nongnu.org/releases/php-gettext/
	Extract the gettext.php and streams.php to your wp-includes-directory

That's all.

Keywords: wordpress, localization, php ...</description>
		<link>http://flip.netzbeben.de/2008/01/localization-problem-with-wordpress-23/</link>
			</item>
</channel>
</rss>
