<?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>Daniel Selinger / Webdeveloper &#187; Hacks &amp; Voodoo</title>
	<atom:link href="http://www.dselinger.biz/category/_dev/hacks-voodoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dselinger.biz</link>
	<description>all-in-one device suitable for (nearly) every purpose</description>
	<lastBuildDate>Thu, 16 Jun 2011 09:23:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ruby &amp; Rails on 1und1 VPS</title>
		<link>http://www.dselinger.biz/2008/07/ruby-rails-on-1und1-vps/</link>
		<comments>http://www.dselinger.biz/2008/07/ruby-rails-on-1und1-vps/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 09:22:42 +0000</pubDate>
		<dc:creator>Daniel Selinger</dc:creator>
				<category><![CDATA[Hacks & Voodoo]]></category>
		<category><![CDATA[_dev]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.dselinger.biz/?p=66</guid>
		<description><![CDATA[As a VPS @ 1und1 is one of the well-configured VPS I&#8217;ve ever seen, I post this little HowTo to get things done&#8230; Targets: Get the OS working, especially the package manager Install Ruby (1.8.6) Install Rails (2.0.2) Environment: OS: CentOS 5 Plesk 8.4 Hey ho, let&#8217;s go: Get yum working As yum IS NOT [...]]]></description>
			<content:encoded><![CDATA[<p>As a VPS @ 1und1 is one of the well-configured VPS I&#8217;ve ever seen, I post this little HowTo to get things done&#8230;</p>
<p>Targets:</p>
<ul>
<li>Get the OS working, especially the package manager</li>
<li>Install Ruby (1.8.6)</li>
<li>Install Rails (2.0.2)</li>
</ul>
<p>Environment:</p>
<ul>
<li>OS: CentOS 5</li>
<li>Plesk 8.4</li>
</ul>
<p>Hey ho, let&#8217;s go:</p>
<ol>
<li>Get yum working<br />
As yum IS NOT working after the automated OS install, we will start here.<br />
Yum complains about 2 packages missing:</p>
<p>python-iniparse<br />
yum-fastestmirror</p>
<p>You can get them on a mirror listed <a title="CentOS public mirrorlist" href="http://www.centos.org/modules/tinycontent/index.php?id=13">here</a>. Install them with rpm -ivh. Now yum should work. As the preset package sources suck, I propose that you edit the config in /etc/yum.repos.d/CentOS-Base.repo. You can look at my <a title="CentOS repo config" href="http://www.dselinger.biz/wp-content/uploads/2008/07/centos-base.repo">config</a> for reference.</p>
<p>As gcc ISN&#8217;T installed, you should install it. Also you should install mysql-devel.</li>
<li>Install Ruby<br />
Download Ruby from it&#8217;s website. Extract it. Install it:</p>
<pre>$ make
$ make install</pre>
<p>In my case I had problems with zlib and openssl. To fix this, check if zlib and zlib-devel are installed. Also you have to go in the extracted Ruby sourcefolder and install it by hand. To do so, make follow this steps:</p>
<pre>$ cd rubysource
$ cd ext
$ cd zlib
$ ruby extconf.rb
$ make
$ make install</pre>
<p>Do the same for openssl. If you want to use mysql, get the C library. <a title="Ruby mysql module" href="http://www.tmtm.org/en/mysql/ruby/">Here&#8217;s</a> the source and the manual.<br />
Now get <a title="Ruby gem" href="http://rubyforge.org/frs/?group_id=126">rubygems</a>. You should take version 1.1.1. Now your Ruby installation should be fine. Now install Rails:</p>
<pre>$ cd rubysource
$ gem install rails -v 2.0.2</pre>
</li>
</ol>
<p>Now Ruby &amp; Rails should be up and running. Hope this helps :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dselinger.biz/2008/07/ruby-rails-on-1und1-vps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Working IE6 PNG fix</title>
		<link>http://www.dselinger.biz/2008/07/working-ie6-png-fix/</link>
		<comments>http://www.dselinger.biz/2008/07/working-ie6-png-fix/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 17:47:41 +0000</pubDate>
		<dc:creator>Daniel Selinger</dc:creator>
				<category><![CDATA[Hacks & Voodoo]]></category>
		<category><![CDATA[_dev]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.dselinger.biz/?p=32</guid>
		<description><![CDATA[I didn&#8217;t thought it would really exist: A working png fix for the IE 6. But it does! Check this out: http://www.twinhelix.com/css/iepngfix/ All you have to do is to add some strange CSS to your stylesheet: #myIdSelector&#123; behavior: url&#40;path/to/this/iepngfix.htc&#41;; &#125; Perhaps you also have to add this to your htaccess: AddType text/x-component .htc More info [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t thought it would really exist: A working png fix for the IE 6. But it does!</p>
<p>Check this out: <a href="http://www.twinhelix.com/css/iepngfix/">http://www.twinhelix.com/css/iepngfix/</a></p>
<p>All you have to do is to add some strange CSS to your stylesheet:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#myIdSelector</span><span style="color: #00AA00;">&#123;</span>
 behavior<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">path/to/this/iepngfix.htc</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
 <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Perhaps you also have to add this to your htaccess:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">AddType</span> text/x-component .htc</pre></div></div>

<p>More info available on the author&#8217;s <a title="iepngfix demo" href="http://www.twinhelix.com/css/iepngfix/demo/">site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dselinger.biz/2008/07/working-ie6-png-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

