<?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>andy goundry &#187; Mac</title>
	<atom:link href="http://www.andygoundry.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andygoundry.com</link>
	<description>many things web</description>
	<lastBuildDate>Tue, 23 Mar 2010 01:53:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Call TextMate from command line</title>
		<link>http://www.andygoundry.com/2009/09/07/call-textmate-from-command-line/</link>
		<comments>http://www.andygoundry.com/2009/09/07/call-textmate-from-command-line/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:15:04 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.andygoundry.com/?p=445</guid>
		<description><![CDATA[A really neat feature of TextMate is the ability to call it from the command line and pass a directory or file as the object to open. Works great.
For this to work, you need to run a quick one-liner on the command line:
sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
Once done, you can call mate and pass it [...]]]></description>
			<content:encoded><![CDATA[<p>A really neat feature of TextMate is the ability to call it from the command line and pass a directory or file as the object to open. Works great.</p>
<p>For this to work, you need to run a quick one-liner on the command line:</p>
<blockquote><p>sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate</p></blockquote>
<p>Once done, you can call mate and pass it any object you want to open, such as:</p>
<blockquote><p>$ mate my_rails_app</p></blockquote>
<p>and it opens the entire directory as if it were a TextMate project.</p>
<p>Lots more detail available here: <a href="http://manual.macromates.com/en/using_textmate_from_terminal.html">http://manual.macromates.com/en/using_textmate_from_terminal.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/09/07/call-textmate-from-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up Merb, Cucumber and Webrat (and friends) on Snow Leopard</title>
		<link>http://www.andygoundry.com/2009/09/04/setting-up-merb-cucumber-and-webrat-on-snow-leopard-some-good-some-bad/</link>
		<comments>http://www.andygoundry.com/2009/09/04/setting-up-merb-cucumber-and-webrat-on-snow-leopard-some-good-some-bad/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 14:36:06 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Cucumber]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Merb]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Webrat]]></category>
		<category><![CDATA[bdd]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.andygoundry.com/?p=428</guid>
		<description><![CDATA[
My upgrade to Snow Leopard killed my Merb, Cucumber and Webrat setup so i had to start afresh. That was the bad. The good is that some manual hacks that were required in Leopard are no longer necessary, meaning I can rely on direct gem installations.
Here&#8217;s what i did:

Install Ruby and Gems
Follow instructions on http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
Install [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>My upgrade to Snow Leopard killed my Merb, Cucumber and Webrat setup so i had to start afresh. That was the bad. The good is that some manual hacks that were required in Leopard are no longer necessary, meaning I can rely on direct gem installations.</p>
<p>Here&#8217;s what i did:</p>
<ol>
<li><strong>Install Ruby and Gems<br />
<span style="font-weight: normal; ">Follow instructions on <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/">http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/</a></span></strong></li>
<li><strong>Install merb, rspec, cucumber, merb_cucumber and mongrel and dependencies<br />
<span style="font-weight: normal; ">sudo gem install merb rspec cucumber roman-merb_cucumber mongrel term-ansicolor treetop diff-lcs nokogiri do_sqlite3</span></strong></li>
<li><strong>Install webrat<br />
<span style="font-weight: normal;">sudo gem install hoe hpricot webrat</span></strong></li>
<li><strong><span style="font-weight: normal;"><strong>Fix Firefox bug with Snow Leopard<br />
<span style="font-weight: normal;">For some reason the libsqlite3.dylib  library in FireFox 3.5.2 is out of date and breaks cucumber under Snow Leopard. Thankfully, it&#8217;s a simple fix:<br />
mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig<br />
cp /usr/lib/libsqlite3.dylib /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib</span></strong></span></strong></li>
<li><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong>Install Selenium<br />
<span style="font-weight: normal;">sudo gem install Selenium<br />
sudo gem install selenium-client</span></strong></span></strong></span></strong></li>
<li><strong>Install the textmate cucumber bundle<br />
<span style="font-weight: normal;"><a href="http://github.com/bmabey/cucumber-tmbundle/tree/master">http://github.com/bmabey/cucumber-tmbundle/tree/master</a></span></strong></li>
</ol>
<p><strong>Deprecated Instructions on Snow Leopard that were required on Leopard</strong></p>
<p>The following ugly hacks were required on Leopard with it&#8217;s default Ruby installation. These are no longer required (at least on my machine) on Snow Leopard:</p>
<p><span style="text-decoration: underline;">Manual hack of Selenium</span></p>
<p>http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium</p>
<p>As the instructions recommended replacing the Selemium RC jar file () in the installed gem with one from the Selenium website, i had to find out where the gem had installed. Thankfully, gem -h pointed me toward gem help commands and from there i ran gem environment &#8211; This told me where gems are installed locally and i found that Selemium RC had been installed into /Library/Ruby/Gems/1.8/gems/Selenium-1.1.14/ I replaced as advised and then ran selenium from within the app root and all worked fine, using the replacement. I then downloaded and ran the test selenium code from http://github.com/aslakhellesoy/cucumber/tree/master/examples/selenium running selenium in a different console and then running cucumber examples/selenium/features/ . It worked a treat and booted up selenium as required. Great!</p>
<p><span style="text-decoration: underline;">Manual hack installation of webrat</span></p>
<p>Download http://github.com/gwynm/webrat/tree/master tar file. Git clone doesn&#8217;t work</p>
<p>sudo gem install hoe hpricot<br />
cd downloaded and untarred file<br />
rake gem<br />
sudo gem install pkg/webrat-0.2.1.gem</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/09/04/setting-up-merb-cucumber-and-webrat-on-snow-leopard-some-good-some-bad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to open a Mac OS X sparsebundle when it shows up as a regular folder</title>
		<link>http://www.andygoundry.com/2009/07/16/how-to-open-a-mac-os-x-sparsebundle-when-it-shows-up-as-a-regular-folder/</link>
		<comments>http://www.andygoundry.com/2009/07/16/how-to-open-a-mac-os-x-sparsebundle-when-it-shows-up-as-a-regular-folder/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 20:16:18 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.andygoundry.com/?p=424</guid>
		<description><![CDATA[This was taken from http://fplanque.com/dev/mac/os-x-sparsebundle-shows-up-as-regular-folder
What do you do if you have, say, an encrypted sparsebundle and some day you try to open it and you discover it shows up as a plain folder in the Finder instead as a bundle icon?
Double clicking will just open the folder and show you the bands that make up the [...]]]></description>
			<content:encoded><![CDATA[<p>This was taken from <a href="http://fplanque.com/dev/mac/os-x-sparsebundle-shows-up-as-regular-folder">http://fplanque.com/dev/mac/os-x-sparsebundle-shows-up-as-regular-folder</a></p>
<p>What do you do if you have, say, an encrypted sparsebundle and some day you try to open it and you discover it shows up as a plain folder in the Finder instead as a bundle icon?</p>
<p>Double clicking will just open the folder and show you the bands that make up the bundle.</p>
<p>I&#8217;ve forgotten how to fix the issue,  you can at least mount the contents of the bundle by typing this is the terminal: <code class="codespan">"/path/to/bundle/name_of_bundle.sparsebundle/"</code></p>
<p>Then you’ll have your virtual drive mounted on teh desktop, and if need be you can just copy them to a new sparsebundle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/07/16/how-to-open-a-mac-os-x-sparsebundle-when-it-shows-up-as-a-regular-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 3.0 beta 2 tethering how to</title>
		<link>http://www.andygoundry.com/2009/04/03/iphone-30-beta-2-tethering-how-to/</link>
		<comments>http://www.andygoundry.com/2009/04/03/iphone-30-beta-2-tethering-how-to/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 11:24:31 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.andygoundry.com/?p=302</guid>
		<description><![CDATA[In iPhone 3.0 beta 1, tethering didn&#8217;t work. In beta 2, it does and it&#8217;s really simple to achieve. It does require a quick mod to your iPhone. Here&#8217;s what you have to do:
1. Download the o2_uk.ipcc carrier details file. Please note that this is the UK ipcc file. If you&#8217;re not on O2 in [...]]]></description>
			<content:encoded><![CDATA[<p>In iPhone 3.0 beta 1, tethering didn&#8217;t work. In beta 2, it does and it&#8217;s really simple to achieve. It does require a quick mod to your iPhone. Here&#8217;s what you have to do:</p>
<p>1. Download the <a href="http://www.andygoundry.com/o2_uk.ipcc">o2_uk.ipcc</a> carrier details file. Please note that this is the UK ipcc file. If you&#8217;re not on O2 in the UK, search google for your suitable ipcc file.<br />
2. Connect iPhone to PC / Mac and select to restore with the option to select a custom restore package (hold down option on Mac before selecting restore)<br />
3. Select the ipcc file as the restore package. The change of details on the phone takes only a few seconds and doesn&#8217;t require an iPhone reboot<br />
4. Go into iPhone Settings app > General > Network > Internet Tethering and enable.<br />
5. Connect iPhone to PC / Mac over USB or bluetooth<br />
6. The PC / Mac will do the rest<br />
7. Done!</p>
<p>Works great (i&#8217;m posting via tethering now) </p>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/04/03/iphone-30-beta-2-tethering-how-to/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Geeky note for reference: How to reset MacBook Pro PRAM</title>
		<link>http://www.andygoundry.com/2009/01/09/geeky-not-for-reference-resetting-macbook-pro-pram/</link>
		<comments>http://www.andygoundry.com/2009/01/09/geeky-not-for-reference-resetting-macbook-pro-pram/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 17:13:42 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.adveho.net/?p=193</guid>
		<description><![CDATA[
Power down
Press power on button
Immediately press &#8220;alt + cmd + p + r&#8221;
Await until 2nd chime
Release keys
Allow to boot as normal

]]></description>
			<content:encoded><![CDATA[<ol>
<li>Power down</li>
<li>Press power on button</li>
<li>Immediately press &#8220;alt + cmd + p + r&#8221;</li>
<li>Await until 2nd chime</li>
<li>Release keys</li>
<li>Allow to boot as normal</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.andygoundry.com/2009/01/09/geeky-not-for-reference-resetting-macbook-pro-pram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
