<?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>Time Wasted on Binaries &#187; Code</title>
	<atom:link href="http://twob.net/archives/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://twob.net</link>
	<description></description>
	<lastBuildDate>Tue, 11 May 2010 11:16:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-beta2-14526</generator>
		<item>
		<title>How to force UTF-8 encoding in mail.app</title>
		<link>http://twob.net/code/how-to-force-utf-8-encoding-in-mailapp/</link>
		<comments>http://twob.net/code/how-to-force-utf-8-encoding-in-mailapp/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 10:17:51 +0000</pubDate>
		<dc:creator>bjorn</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://twob.net/code/how-to-force-utf-8-encoding-in-mailapp/</guid>
		<description><![CDATA[Just open up the terminal and type: defaults write com.apple.mail NSPreferredMailCharset "UTF-8" It was that easy. Not everyone has to do that I guess, but if you, like me, have had a problem with Outlook users asking you why you&#8217;re writing to them in Chinese, this might help get them off your back]]></description>
			<content:encoded><![CDATA[<p>Just open up the terminal and type:</p>

<p><code>defaults write com.apple.mail NSPreferredMailCharset "UTF-8"</code></p>

<p>It was that easy. Not everyone has to do that I guess, but if you, like me, have had a problem with Outlook users asking you why you&#8217;re writing to them in Chinese, this might help get them off your back</p>
]]></content:encoded>
			<wfw:commentRss>http://twob.net/code/how-to-force-utf-8-encoding-in-mailapp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgraded.</title>
		<link>http://twob.net/journal/upgraded/</link>
		<comments>http://twob.net/journal/upgraded/#comments</comments>
		<pubDate>Thu, 25 Jan 2007 20:33:26 +0000</pubDate>
		<dc:creator>bjorn</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twob.net/journal/upgraded/</guid>
		<description><![CDATA[Just upgraded to WordPress 2.1. All in all, it was quite a smooth experience. Congrats to the WordPress team for an impressive update! Update: if you&#8217;re using the Feedburner plugin for managing different flavours of RSS, be sure to update that, and change your settings accordingly. I didn&#8217;t, but now I have&#8230;]]></description>
			<content:encoded><![CDATA[<p>Just upgraded to WordPress 2.1. All in all, it was quite a smooth experience. Congrats to the WordPress team for an impressive update!</p>

<p><strong>Update:</strong> if you&#8217;re using the <a href="http://orderedlist.com/wordpress-plugins/feedburner-plugin/">Feedburner plugin</a> for managing different flavours of RSS, be sure to update that, and change your settings accordingly. I didn&#8217;t, but now I have&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://twob.net/journal/upgraded/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto kill lookupd after editing the hosts file on OS X</title>
		<link>http://twob.net/code/howto-kill-lookupd-after-editing-the-hosts-file-on-os-x/</link>
		<comments>http://twob.net/code/howto-kill-lookupd-after-editing-the-hosts-file-on-os-x/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 09:54:44 +0000</pubDate>
		<dc:creator>bjorn</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://twob.net/journal/howto-kill-lookupd-after-editing-the-hosts-file-on-os-x/</guid>
		<description><![CDATA[After editing the hosts file (mate /etc/hosts), instead of restarting the computer or logging out, this line will restart lookupd: sudo kill -HUP &#96;cat /var/run/lookupd.pid&#96;]]></description>
			<content:encoded><![CDATA[<p>After editing the hosts file (<code>mate /etc/hosts</code>), instead of restarting the computer or logging out, this line will restart lookupd:</p>

<p><code>sudo kill -HUP &#96;cat /var/run/lookupd.pid&#96;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://twob.net/code/howto-kill-lookupd-after-editing-the-hosts-file-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the terminal with MAMP on OS X</title>
		<link>http://twob.net/code/using-the-terminal-with-mamp-on-os-x/</link>
		<comments>http://twob.net/code/using-the-terminal-with-mamp-on-os-x/#comments</comments>
		<pubDate>Wed, 08 Nov 2006 13:15:38 +0000</pubDate>
		<dc:creator>bjorn</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://twob.net/journal/using-the-terminal-with-mamp-on-os-x/</guid>
		<description><![CDATA[Recently I was going to take the promising Symfony PHP framework out for a quick test drive, but ran into trouble in the very beginning of the tutorial. I&#8217;m running MAMP for local PHP development, but the terminal is using the built-in PHP version for its command line scripting. And Symfony is all about generating [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was going to take the promising <a href="http://symfony-project.com">Symfony</a> PHP framework out for a quick test drive, but ran into trouble in the very beginning of the tutorial. I&#8217;m running <a href="http://mamp.info/en/index.php">MAMP</a> for local PHP development, but the terminal is using the built-in PHP version for its command line scripting. And Symfony is all about generating models and scaffolds through the command-line in a railsy sort of way&#8230; bummer.</p>

<p>A quick search for led me to a <a href="http://forum.mamp.info/viewtopic.php?p=2021&amp;sid=acf7ca390a5716d954dbe7181d4302a1">discussion thread</a> in the MAMP forum, outlining the following solution. I&#8217;ve modified it a bit, using move instead of copy, and adding some necessary SUDO instructions:</p>

<ol>
<li>Backup current php version by renaming it (optional)<br />
<code><b>$</b> sudo mv /usr/bin/php /usr/bin/php4</code></li>
<li>Create a symbolic link pointing to the PHP version supplied by MAMP<br />
<code><b>$</b> sudo ln -s /Applications/MAMP/bin/php5/bin/php /usr/bin/php</code></li>
<li>Done!</li>
</ol>

<p>Now, onwards with the <a href="http://www.symfony-project.com/tutorial/my_first_project.html">tutorial</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://twob.net/code/using-the-terminal-with-mamp-on-os-x/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
