<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><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" version="2.0">

<channel>
	<title>Martin Ström</title>
	
	<link>http://burnfield.com/martin</link>
	<description />
	<pubDate>Sat, 20 Sep 2008 08:53:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/haraldmartin" type="application/rss+xml" /><item>
		<title>Copy Paste Character</title>
		<link>http://burnfield.com/martin/2008/09/19/copy-paste-character/</link>
		<comments>http://burnfield.com/martin/2008/09/19/copy-paste-character/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 18:11:31 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[general]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[konst-teknik]]></category>

		<category><![CDATA[project]]></category>

		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/?p=130</guid>
		<description><![CDATA[Two weeks ago we (me and Konst &#38; Teknik) launched copypastecharacter.com—a site to make it dead easy to copy those special characters which otherwise can be hard to find. We just pushed an update and I realized I hadn&#8217;t mentioned it here.

The character you click will automatically get copied into your clipboard, thanks to the [...]]]></description>
			<content:encoded><![CDATA[<p>Two weeks ago we (me and <a href="http://www.konst-teknik.se">Konst &amp; Teknik</a>) launched <a href="http://copypastecharacter.com">copypastecharacter.com</a>—a site to make it dead easy to copy those special characters which otherwise can be hard to find. We just pushed an update and I realized I hadn&#8217;t mentioned it here.</p>

<p>The character you click will automatically get copied into your clipboard, thanks to the <a href="http://www.jeffothy.com/weblog/clipboard-copy">flash technique mentioned here</a>. However, I wrote my own JavaScript class to handle the clipboard and the buffer of clicked characters since you can hold down ‹alt› to copy multiple characters at once.</p>

<p><a href="http://www.copypastecharacter.com/javascripts/copy_buffer.js">Here&#8217;s the source for the copy buffer class</a> in case anyone&#8217;s interested.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=Mf5UL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=Mf5UL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=el2XL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=el2XL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=YjS8L"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=YjS8L" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2008/09/19/copy-paste-character/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clean up your Spotlight search results</title>
		<link>http://burnfield.com/martin/2008/08/15/clean-up-your-spotlight-search-results/</link>
		<comments>http://burnfield.com/martin/2008/08/15/clean-up-your-spotlight-search-results/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 05:52:07 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[general]]></category>

		<category><![CDATA[gmail]]></category>

		<category><![CDATA[mail]]></category>

		<category><![CDATA[mail.app]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[spotlight]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/?p=120</guid>
		<description><![CDATA[

By default, Spotlight will index all your mail Mail.app messages and attachments, even those in your Trash and Spam folders. To exclude these folders from the Spotlight results you can add the folders to the &#8220;Privacy&#8221; section of the &#8220;Spotlight&#8221; pane in &#8220;System Preferences&#8221;.

I&#8217;m using IMAP on Gmail so your path may be a little [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://img.skitch.com/20080815-gjq734aieheyqk1igguya416hk.jpg" alt="Spotlight" width="600"/></p>

<p>By default, Spotlight will index all your mail Mail.app messages and attachments, even those in your Trash and Spam folders. To exclude these folders from the Spotlight results you can add the folders to the &#8220;Privacy&#8221; section of the &#8220;Spotlight&#8221; pane in &#8220;System Preferences&#8221;.</p>

<p>I&#8217;m using IMAP on Gmail so your path may be a little different if you&#8217;re on another setup. The paths I choose to exclude are</p>

<pre><code>~/Library/Mail/IMAP-user@imap.gmail.com/[Gmail]/Trash.imapmbox
~/Library/Mail/IMAP-user@imap.gmail.com/[Gmail]/Spam.imapmbox
~/Library/Mail/IMAP-user@imap.gmail.com/[Gmail]/All Mail.imapmbox/Attachments
</code></pre>

<p>You might not want to use the last one if you tend to keep attachments in the mail message but I usually save the important ones to a real folder.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=Vuk21K"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=Vuk21K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=7KJ62K"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=7KJ62K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=uJSH2K"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=uJSH2K" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2008/08/15/clean-up-your-spotlight-search-results/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Terminal Setup for Rails Development</title>
		<link>http://burnfield.com/martin/2008/07/12/my-terminal-setup-for-rails-development/</link>
		<comments>http://burnfield.com/martin/2008/07/12/my-terminal-setup-for-rails-development/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 09:15:27 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[general]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/?p=117</guid>
		<description><![CDATA[I&#8217;m quite happy with my Terminal.app setup right now for the Rails projects I&#8217;m working on and wanted to share the bits and pieces I use.

First, I found a SIMB plugin for Terminal that&#8217;ll show the tab&#8217;s title in the tab instead of the running process. I use the plugin with a simple title helper [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m quite happy with my Terminal.app setup right now for the Rails projects I&#8217;m working on and wanted to share the bits and pieces I use.</p>

<p>First, I found a <a href="http://flickr.com/photos/djgraphite/2280004671/">SIMB plugin for Terminal</a> that&#8217;ll show the tab&#8217;s title in the tab instead of the running process. I use the plugin with a simple <code>title</code> helper in my <code>.bash_profile</code> to set the title simply.</p>

<pre><code>function title () { 
  unset PROMPT_COMMAND # more on this later
  echo___ -ne "\e]0;$1\a"
}

# Usage:
# title 'my title'
</code></pre>

<p>Second, I use a technique I saw on <a href="http://pseudogreen.org/blog/set_tab_names_in_leopard_terminal.html">how to automatically set the title to display the current working directory as title</a>, but since I use the plugin and helper function above, I could simplify the <code>PROMPT_COMMAND</code> a bit:</p>

<pre><code>function set_window_and_tab_title {
  local title="$1"
  [[ -z "$title" ]] &amp;&amp; title="root"
  echo___ -ne "\e]0;${title}\a"
}

PROMPT_COMMAND='set_window_and_tab_title "${PWD##*/}"'
</code></pre>

<p>That&#8217;s why I unset <code>PROMPT_COMMAND</code> in my <code>title</code> function, so it won&#8217;t auto update when I choose to set it manually using the <code>title</code> function.</p>

<p>The last piece is an updated version of my old <a href="http://burnfield.com/martin/2007/07/19/applescript-to-open-iterm-tabs-for-rails-development/">Rails Term-script for iTerm</a> which has been updated (and improved) for the Terminal in Mac OS X Leopard instead of iTerm.</p>

<p>It will open the tabs I usually use when doing Rails development and set the title of each tab using the above mentioned functions. You need to enter you projects root directory and the projects you want to have easy access to. I&#8217;ve added some comments to the AS code to help you out.</p>

<p><a href="http://burnfield.com/martin/wordpress/wp-content/uploads/RailsTerm.zip">Download a zipped version of the AppleScript</a>. Just drag the script to the Script Editor (/Applications/Utilities) to edit it.</p>

<p>All source code for these scripts can also be viewed on <a href="http://pastie.textmate.org/230228">Pastie</a>. Let me know if you have any improvements.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=5qNImJ"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=5qNImJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=GE3nyJ"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=GE3nyJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=7CDelJ"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=7CDelJ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2008/07/12/my-terminal-setup-for-rails-development/feed/</wfw:commentRss>
		</item>
		<item>
		<title>./script/server with automatic port finder</title>
		<link>http://burnfield.com/martin/2008/07/08/scriptserver-with-automatic-port-finder/</link>
		<comments>http://burnfield.com/martin/2008/07/08/scriptserver-with-automatic-port-finder/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 21:20:15 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[general]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/?p=116</guid>
		<description><![CDATA[This is the script I&#8217;m using when I start my local Rails development server. It will automatically detect the next available port starting at the default port 3000 so I can have multiple servers running without remembering what ports that are already busy.

#!/usr/bin/env ruby

DEFAULT_PORT = 3000

puts (`ps aux &#124; grep [r]uby &#124; grep script/server`.split("\n").map { [...]]]></description>
			<content:encoded><![CDATA[<p>This is the script I&#8217;m using when I start my local Rails development server. It will automatically detect the next available port starting at the default port 3000 so I can have multiple servers running without remembering what ports that are already busy.</p>

<pre><code>#!/usr/bin/env ruby

DEFAULT_PORT = 3000

puts (`ps aux | grep [r]uby | grep script/server`.split("\n").map { |l| 
  server = l.split(/\s+/)[11..-1]
  (port = server.index('-p')) ? server[port.next].to_i : DEFAULT_PORT
}.max || DEFAULT_PORT - 1).next
</code></pre>

<p>I aliased it to <code>ss</code> in <code>.bash_profile</code> like this:</p>

<pre><code>alias ss='./script/server -p `~/bin/available_rails_port`'
</code></pre>

<p>(Btw, Happy 2008! I haven&#8217;t updated this site for a while)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=wU9wqJ"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=wU9wqJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=RUPzFJ"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=RUPzFJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=WsOU8J"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=WsOU8J" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2008/07/08/scriptserver-with-automatic-port-finder/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Modernize Rails (or: get rid of Verdana)</title>
		<link>http://burnfield.com/martin/2007/12/29/modernize-rails-or-get-rid-of-verdana/</link>
		<comments>http://burnfield.com/martin/2007/12/29/modernize-rails-or-get-rid-of-verdana/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 10:29:55 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[rails]]></category>

		<category><![CDATA[railsplugin]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/12/29/modernize-rails-or-get-rid-of-verdana/</guid>
		<description><![CDATA[

Tired of see the the soooo 1999-ish font &#8220;Verdana&#8221; every time you get a local error page in Rails? 
Now you don&#8217;t have to. With this plugin the error pages will use Arial or Helvetica instead—finally!


To install:
./script/plugin install http://burnfield.com/svn/martin/rails/plugins/verdano
or as svn:external:
./script/plugin install -x http://burnfield.com/svn/martin/rails/plugins/verdano



  I&#8217;ve moved to git so the new instructions are: 
 [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://burnfield.com/martin/wordpress/wp-content/uploads/verdano.png' alt='Verdano'/></p>

<p>Tired of see the the soooo 1999-ish font &#8220;Verdana&#8221; every time you get a local error page in Rails? <br />
Now you don&#8217;t have to. With this plugin the error pages will use Arial or Helvetica instead—finally!</p>

<div class="del" markdown="0">
<del>To install:</del>
<pre><code>./script/plugin install http://burnfield.com/svn/martin/rails/plugins/verdano</code></pre>
<p>or as svn:external:</p>
<pre><code>./script/plugin install -x http://burnfield.com/svn/martin/rails/plugins/verdano</code></pre>
</div>

<div class="add">
  <p>I&#8217;ve moved to git so the new instructions are: </p>
  <pre><code>git clone git://github.com/haraldmartin/verdano.git</code></pre>
  <p>or just <a href="http://evil.che.lu/projects/braid">braid it</a></p>
</div>

<p>Happy new year!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=5elmL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=5elmL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=WNyEL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=WNyEL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=4dlvL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=4dlvL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2007/12/29/modernize-rails-or-get-rid-of-verdana/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multi-dimensional array sorter</title>
		<link>http://burnfield.com/martin/2007/11/24/multi-dimensional-array-sorter/</link>
		<comments>http://burnfield.com/martin/2007/11/24/multi-dimensional-array-sorter/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 09:41:54 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[blog]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[konst-teknik]]></category>

		<category><![CDATA[prototype]]></category>

		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/11/24/multi-dimensional-array-sorter/</guid>
		<description><![CDATA[The other day when working on some small updates on konst-teknik.se I wanted to sort the projects in a multi dimensional way, and take the other factors than the first into account. JavaScript&#8217;s Array#sort only supports one dimensional sorting so I wrapped my own sorter.

The results turned up pretty good (at least compared to the [...]]]></description>
			<content:encoded><![CDATA[<p>The other day when working on some small updates on <a href="http://konst-teknik.se">konst-teknik.se</a> I wanted to sort the projects in a multi dimensional way, and take the other factors than the first into account. JavaScript&#8217;s <code>Array#sort</code> only supports one dimensional sorting so I wrapped my own sorter.</p>

<p>The results turned up pretty good (at least compared to the first test), or perhaps I just like recursing functions.</p>

<pre><code>

var sortOrder = {
  'cat-no': ['cat-no', 'name', 'type', 'year'],
  'name':   ['name',   'type', 'year', 'cat_no'],
  'year':   ['year',   'name', 'type', 'cat_no'],
  'type':   ['type',   'name', 'year', 'cat_no']
};

function sort(order) {
  var ordering = sortOrder[order], length = ordering.length;
  $$('#projects > li').sort(function(left, right) {
    left = Project.find(left), right = Project.find(right);
    return (function(index) {
      var a = left.getSortValue(ordering[index]), 
          b = right.getSortValue(ordering[index]);
      return a < b ? -1 : a > b ? 1 : 
        index < length ? arguments.callee(++index) : 0;
    })(0);
  }).each(function(project) {
    project.parentNode.appendChild(project);
  });
}

</code></code></pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=RTf3L"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=RTf3L" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=PbalL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=PbalL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=nwtzL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=nwtzL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2007/11/24/multi-dimensional-array-sorter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iCal &amp; iPhone syncing in Leopard</title>
		<link>http://burnfield.com/martin/2007/11/22/ical-iphone-syncing-in-leopard/</link>
		<comments>http://burnfield.com/martin/2007/11/22/ical-iphone-syncing-in-leopard/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 20:00:57 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[blog]]></category>

		<category><![CDATA[ical]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[syncing]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/11/22/ical-iphone-syncing-in-leopard/</guid>
		<description><![CDATA[Looks like I&#8217;m not the only one having problems with my iCal to/from iPhone syncing.

After trying almost every possible solution I found in various forums and google, I finally came up with a fix that works for me. Like many others, I suspected the subscribed calendars were the problem and the iPhone synced fine after [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like I&#8217;m <a href="http://discussions.apple.com/thread.jspa?threadID=1204796">not</a> <a href="http://discussions.apple.com/thread.jspa?threadID=1202276">the</a> <a href="http://discussions.apple.com/thread.jspa?threadID=1200496">only one</a> having problems with my iCal to/from iPhone syncing.</p>

<p>After trying almost every possible solution I found in various forums and google, I finally came up with a fix that works for me. Like many others, I suspected the subscribed calendars were the problem and the iPhone synced fine after removing the subscriptions (including the built-in Birthdays calendar). But I have some subscribed calendars I want to have in iCal and found out that the <em>cannot live in a group</em>. I used to have a calendar group (File → New Calendar Group) for my <a href="http://fbcal.com">&#8220;noisy&#8221; calendars</a> so I could hide them easy with just one click. Looks like iCal/iPhone/Sync/OSX/whatever doesn&#8217;t like this and syncing stops working when using the group.</p>

<p>Doesn&#8217;t work:</p>

<p><img src='http://burnfield.com/martin/wordpress/wp-content/uploads/picture-2.png' alt='picture-2.png' /></p>

<p>Works:</p>

<p><img src='http://burnfield.com/martin/wordpress/wp-content/uploads/picture-1.png' alt='picture-1.png' /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=NvO6L"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=NvO6L" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=Dl5bL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=Dl5bL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=MKGBL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=MKGBL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2007/11/22/ical-iphone-syncing-in-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mac OS X 10.5.1 and Multi-Safari</title>
		<link>http://burnfield.com/martin/2007/11/21/mac-os-x-1051-and-multi-safari/</link>
		<comments>http://burnfield.com/martin/2007/11/21/mac-os-x-1051-and-multi-safari/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 17:12:26 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[blog]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[safari]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/11/21/mac-os-x-1051-and-multi-safari/</guid>
		<description><![CDATA[Seems like Multi-Safari (at least 2.0.4) broke when upgrading to Mac OS X 10.5.1. I get this error:

&#8220;You cannot use the application &#8216;Safari 2.0.4&#8242; with this version of Mac OS X.&#8221;

Luckily, I&#8217;ve found a workaround. Just launch Safari from the command line (Terminal.app that is) and it should work for you:

/Applications/Safari\ 2.0.4.app/Contents/MacOS/Safari &#38;
]]></description>
			<content:encoded><![CDATA[<p>Seems like <a href="http://michelf.com/projects/multi-safari/">Multi-Safari</a> (at least 2.0.4) broke when upgrading to Mac OS X 10.5.1. I get this error:</p>

<p>&#8220;You cannot use the application &#8216;Safari 2.0.4&#8242; with this version of Mac OS X.&#8221;</p>

<p>Luckily, I&#8217;ve found a workaround. Just launch Safari from the command line (Terminal.app that is) and it should work for you:</p>

<p><code>/Applications/Safari\ 2.0.4.app/Contents/MacOS/Safari &amp;</code></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=AcVaL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=AcVaL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=SYnYL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=SYnYL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=Hc4hL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=Hc4hL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2007/11/21/mac-os-x-1051-and-multi-safari/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ajax.CachedRequest</title>
		<link>http://burnfield.com/martin/2007/11/11/ajaxcachedrequest/</link>
		<comments>http://burnfield.com/martin/2007/11/11/ajaxcachedrequest/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 17:40:48 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[blog]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/11/11/ajaxcachedrequest/</guid>
		<description><![CDATA[Recently I wanted to cache the results (responseText) from a lot of Ajax.Requests since the returning data would not change and made the roundtrip to the server unnecessary. Maybe there are others out there interested so here&#8217;s the code. It&#8217;s not very well tested except the project where it is in use so there might [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wanted to cache the results (responseText) from a lot of <code>Ajax.Request</code>s since the returning data would not change and made the roundtrip to the server unnecessary. Maybe there are others out there interested so here&#8217;s the code. It&#8217;s not very well tested except <a href="http://rbg6.se">the project where it is in use</a> so there might be some bugs or tweaks needed.</p>

<pre><code>
Ajax.CachedRequest = Class.create(Ajax.Request, {
  initialize: function($super, url, options) {
    options = options || {};
    var onSuccess = options.onSuccess || Prototype.K;
    if (!Ajax.CachedRequest.cache[url] || options.reload) {
      options.onSuccess = function(transport) { 
        Ajax.CachedRequest.cache[url] = transport.responseText; 
        onSuccess(transport);
      }
      $super(url, options);
    } else {
      eval(Ajax.CachedRequest.cache[url]);
      this.dispatch.defer();
      [onSuccess, options.onComplete].each(function(m) { m &#038;&#038; m() });
    }
  },
  
  dispatch: function() {
    Ajax.Responders.dispatch('onComplete', null);
  }
});

Ajax.CachedRequest.cache = {};
</code></pre>

<p>Of course this assumes you&#8217;re using the brand new <a href="http://prototypejs.org">Prototype 1.6 </a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=zfelL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=zfelL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=g7JxL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=g7JxL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=c4GuL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=c4GuL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2007/11/11/ajaxcachedrequest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OmniFocus to iPhone bookmark exporter</title>
		<link>http://burnfield.com/martin/2007/11/09/omnifocus-to-iphone-bookmark-exporter/</link>
		<comments>http://burnfield.com/martin/2007/11/09/omnifocus-to-iphone-bookmark-exporter/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 17:29:01 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
		
		<category><![CDATA[blog]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[safari]]></category>

		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/11/09/omnifocus-to-iphone-bookmark-exporter/</guid>
		<description><![CDATA[Since the iPhone lacks the possibility to export tasks from iCal I made hack/script to export all tasks from OmniFocus to a Safari bookmark and therefore be syncable with Safari.

Read more in the OmniGroup forums and/or download the latest version here.

Update: On request, here are some screenshots of how the todo list looks like:




]]></description>
			<content:encoded><![CDATA[<p>Since the iPhone lacks the possibility to export tasks from iCal I made hack/script to export all tasks from <a href="http://omnigroup.com/omnifocus">OmniFocus</a> to a Safari bookmark and therefore be syncable with Safari.</p>

<p><a href="http://forums.omnigroup.com/showthread.php?p=24238#post24238">Read more in the OmniGroup forums</a> and/or download the latest version <a href="http://burnfield.com/martin/wordpress/wp-content/uploads/OFfline.zip">here</a>.</p>

<p>Update: On request, here are some screenshots of how the todo list looks like:</p>

<p><img src='http://burnfield.com/martin/wordpress/wp-content/uploads/of-1.png' alt='' /></p>

<p style="margin-top: 1em;"><img src='http://burnfield.com/martin/wordpress/wp-content/uploads/of-2.png' alt='of-2.png' /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/haraldmartin?a=PfpDL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=PfpDL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=vr3VL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=vr3VL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/haraldmartin?a=KOeuL"><img src="http://feeds.feedburner.com/~f/haraldmartin?i=KOeuL" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://burnfield.com/martin/2007/11/09/omnifocus-to-iphone-bookmark-exporter/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
