<?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>Rusty Razor Blade &#187; mac</title>
	<atom:link href="http://www.rustyrazorblade.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rustyrazorblade.com</link>
	<description>Tech Thoughts, Mostly on LAMP - by Jon Haddad</description>
	<lastBuildDate>Wed, 21 Jul 2010 20:42:03 +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>Headless Virtual Box</title>
		<link>http://www.rustyrazorblade.com/2010/07/headless-virtual-box/</link>
		<comments>http://www.rustyrazorblade.com/2010/07/headless-virtual-box/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 23:07:01 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[virtual box]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=1116</guid>
		<description><![CDATA[I like running VirtualBox headless on my Mac.  It doesn&#8217;t show up in the Dock, and feels like it&#8217;s a remote server.
First, figure out which VMs you have on your machine.
haddad-work:~ jhaddad$ VBoxManage list vms
Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.

"WebServer" {2c61a180-e098-4926-b09a-27e431791c88}
Then start it using VBoxHeadless
nohup VBoxHeadless [...]]]></description>
			<content:encoded><![CDATA[<p>I like running VirtualBox headless on my Mac.  It doesn&#8217;t show up in the Dock, and feels like it&#8217;s a remote server.</p>
<p>First, figure out which VMs you have on your machine.</p>
<pre>haddad-work:~ jhaddad$ VBoxManage list vms
Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.

"WebServer" {2c61a180-e098-4926-b09a-27e431791c88}</pre>
<p>Then start it using VBoxHeadless</p>
<pre>nohup VBoxHeadless -s WebServer -vrdp on  &#038;</pre>
<p>I&#8217;m using <a href="http://cord.sourceforge.net/">Cord</a> for RDP.</p>
<p>Open up Cord.  If you&#8217;re using the default settings, you can just go to quick connect and type &#8220;localhost&#8221;.  You&#8217;ll see your VM booting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2010/07/headless-virtual-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount afp share over command line</title>
		<link>http://www.rustyrazorblade.com/2010/04/mount-afp-share-over-command-line/</link>
		<comments>http://www.rustyrazorblade.com/2010/04/mount-afp-share-over-command-line/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 20:15:50 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=1079</guid>
		<description><![CDATA[This is so useful to me that I have to repost it here, just in case it disappears.

# create a folder for the mount point
sudo mkdir /Volumes/music

# mount the disk
mount -t afp afp:/// /Volumes/music/

#refresh the finder for when you get back
disktool -r

# when you're done
sudo umount /Volumes/music

Found on macosxhints
]]></description>
			<content:encoded><![CDATA[<p>This is so useful to me that I have to repost it here, just in case it disappears.</p>
<pre>
# create a folder for the mount point
sudo mkdir /Volumes/music

# mount the disk
mount -t afp afp://<ip address>/<share name> /Volumes/music/

#refresh the finder for when you get back
disktool -r

# when you're done
sudo umount /Volumes/music
</pre>
<p>Found on <a href="http://www.macosxhints.com/article.php?story=2001120201020569">macosxhints</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2010/04/mount-afp-share-over-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Running Puppet Master on Mac OS X Snow Leopard</title>
		<link>http://www.rustyrazorblade.com/2010/02/running-puppet-master-on-mac-os-x-snow-leopard/</link>
		<comments>http://www.rustyrazorblade.com/2010/02/running-puppet-master-on-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 20:24:39 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[puppet]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=991</guid>
		<description><![CDATA[As of a few hours after this post, I&#8217;ve given up trying to get Puppet Master running on Snow Leopard.  There appears to be an issue with the SSL certificates generated that&#8217;s preventing puppetd from getting it&#8217;s recipes.  There doesn&#8217;t appear to be any way to disable this.  I have switched to [...]]]></description>
			<content:encoded><![CDATA[<p><em>As of a few hours after this post, I&#8217;ve given up trying to get Puppet Master running on Snow Leopard.  There appears to be an issue with the SSL certificates generated that&#8217;s preventing puppetd from getting it&#8217;s recipes.  There doesn&#8217;t appear to be any way to disable this.  I have switched to a CentOS VM, which worked perfectly the first time.  The Unixy underpinnings of my Mac seem to be getting less and less useful every day.<br />
</em></p>
<p>I kept getting the below error when trying to start puppet, even though I had created the user and group through the accounts prefs pane.  Apparently that&#8217;s not good enough for the PuppetMaster to run.</p>
<p>For some reason this figuring this out was a huge pain.   These are the steps I took to getting it installed.  If it looks simple, well, that&#8217;s because it really is.  Most people suggest solving this with MacPorts, but then I still wouldn&#8217;t know how to set up users and groups on Snow Leopard, so I&#8217;d just be screwing myself over in the long run.</p>
<p>Anyways, here&#8217;s the error I was getting:</p>
<pre>err: /File[/var/puppet/rrd]: Failed to retrieve current state of resource:
Could not find group puppet
</pre>
<p>How to solve:</p>
<ol>
<strong>
<li>Install Facter and Puppet</li>
<p></strong><br />
This is easy enough &#8211; Snow Leopard comes with Ruby by default.  Both can be downloaded from the <a href="http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet">Reductive Labs download page</a>.</p>
<p><strong>
<li>Install Server Admin Tools.</li>
<p></strong><br />
As of this blog entry, you can find them in <a href="http://support.apple.com/kb/DL968">Apple&#8217;s downloads section</a>, although it was kind of a pain to find.</p>
<p><strong>
<li>Enable Remote Management for youself</li>
<p></strong><br />
I was not able to connect to localhost until I enabled this option.  You can control which users have management rights, so I&#8217;m not to concerned here.</p>
<p><strong>
<li>Create user and group for puppet.</li>
<p></strong><br />
Use the GUI tool to create new a puppet user and group.  You should now be able to start the pupptermasterd (yay!)
</ol>
<p>I&#8217;ll expand this post if I realize I forgot anything, or if questions come in.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2010/02/running-puppet-master-on-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing NumPy on MacOS X Snow Leopard</title>
		<link>http://www.rustyrazorblade.com/2009/09/installing-numpy/</link>
		<comments>http://www.rustyrazorblade.com/2009/09/installing-numpy/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 19:24:08 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[fortran]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[numpy]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=853</guid>
		<description><![CDATA[NumPy is a requirement to work with PyTables.  This is the second step in the install process, after getting HDF5 set up.
These instructions are based on the ones found on the NumPy site, but I&#8217;m summarizing things for my own use later on.
First, you&#8217;ll need to install the Fortran compiler for OSX (gFortran).  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://numpy.scipy.org/">NumPy</a> is a requirement to work with <a href="http://www.pytables.org/moin">PyTables</a>.  This is the second step in the install process, after getting <a href="/2009/09/issues-compiling-hdf5-on-macos-x-snow-leopard/">HDF5 set up.</a></p>
<p>These instructions are based on the ones found on the NumPy site, but I&#8217;m summarizing things for my own use later on.</p>
<p>First, you&#8217;ll need to install the Fortran compiler for OSX (gFortran).  Fortunately there&#8217;s a <a href="http://r.research.att.com/gfortran-4.2.3.dmg">Fortran universal binary installer.</a> </p>
<p>Next, get the NumPy source.  You can <a href="http://sourceforge.net/projects/numpy/files/">find it on Sourceforge</a>.  </p>
<p>Now, build with gFortran.</p>
<blockquote><p>python setup.py build &#8211;fcompiler=gnu95<br />
python setup.py install
</p></blockquote>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2009/09/installing-numpy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Helpful guide for setting up SSHFS on mac</title>
		<link>http://www.rustyrazorblade.com/2009/09/helpful-guide-for-setting-up-sshfs-on-mac/</link>
		<comments>http://www.rustyrazorblade.com/2009/09/helpful-guide-for-setting-up-sshfs-on-mac/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 23:23:26 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=817</guid>
		<description><![CDATA[I finally got fed up enough to look into this.  I&#8217;ve previously used Samba mounts, but this in theory should be better.
http://www.turingtarpit.com/2009/04/mounting-remote-filesystems-on-osx-leopard-using-sshfs-macfuse-and-macfusion/
If you&#8217;re using Snow Leopard, the drive will not be able to mount.  You can get around this by deleting /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources/sshnodelay.so
]]></description>
			<content:encoded><![CDATA[<p>I finally got fed up enough to look into this.  I&#8217;ve previously used Samba mounts, but this in theory should be better.</p>
<p><a href="http://www.turingtarpit.com/2009/04/mounting-remote-filesystems-on-osx-leopard-using-sshfs-macfuse-and-macfusion/">http://www.turingtarpit.com/2009/04/mounting-remote-filesystems-on-osx-leopard-using-sshfs-macfuse-and-macfusion/</a></p>
<p>If you&#8217;re using Snow Leopard, the drive will not be able to mount.  You can get around this by deleting /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources/sshnodelay.so</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2009/09/helpful-guide-for-setting-up-sshfs-on-mac/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Mac Dev Box Software Checklist</title>
		<link>http://www.rustyrazorblade.com/2009/05/new-mac-dev-box-software-checklist/</link>
		<comments>http://www.rustyrazorblade.com/2009/05/new-mac-dev-box-software-checklist/#comments</comments>
		<pubDate>Wed, 27 May 2009 20:53:59 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=764</guid>
		<description><![CDATA[When I get a new Mac, I go through the same steps every time.  Yes I use a Mac as a dev box.  
Software
Xcode
Adium
Launchbar
iTerm &#8211; change defaults to black background. (edit bookmarks, default, background)
Apache HTTP Server (source)
MySQL (source)
PHP (source)
Eclipse PDT
Omnigraffle
Fluid
BBEdit
SubEthaEdit
Git
SVN
Memcached
Tweaks
Remove everything from Dock.
Fix the look of the dock.
defaults write com.apple.dock no-glass -boolean YES
killall [...]]]></description>
			<content:encoded><![CDATA[<p>When I get a new Mac, I go through the same steps every time.  Yes I use a Mac as a dev box.  </p>
<p><strong>Software</strong></p>
<p><a href="http://developer.apple.com/TOOLS/xcode/">Xcode</a><br />
<a href="http://adium.im/">Adium</a><br />
<a href="http://www.obdev.at/products/launchbar/index.html">Launchbar</a><br />
<a href="http://iterm.sourceforge.net/">iTerm</a> &#8211; change defaults to black background. (edit bookmarks, default, background)<br />
<a href="http://httpd.apache.org/">Apache HTTP Server </a>(source)<br />
<a href="http://mysql.com/">MySQL</a> (source)<br />
<a href="http://php.net/">PHP</a> (source)<br />
<a href="http://www.eclipse.org/pdt/">Eclipse PDT</a><br />
<a href="http://www.omnigroup.com/applications/OmniGraffle/">Omnigraffle</a><br />
<a href="http://fluidapp.com/">Fluid</a><br />
<a href="http://www.barebones.com/">BBEdit</a><br />
<a href="http://www.codingmonkeys.de/subethaedit/">SubEthaEdit</a><br />
<a href="http://git-scm.com/">Git</a><br />
<a href="http://subversion.tigris.org/">SVN</a><br />
<a href="http://www.danga.com/memcached/">Memcached</a></p>
<p><strong>Tweaks</strong></p>
<p>Remove everything from Dock.</p>
<p><a href="http://www.mactips.org/archives/2007/10/28/return-the-dock-to-the-old-style/">Fix the look of the dock.</a></p>
<blockquote><p>defaults write com.apple.dock no-glass -boolean YES<br />
killall Dock</p></blockquote>
<p>/etc/bashrc tweaks</p>
<blockquote><p>
alias v=&#8221;ls -lahG&#8221;<br />
alias vi=&#8221;vim&#8221;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2009/05/new-mac-dev-box-software-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On cocoa&#8230;</title>
		<link>http://www.rustyrazorblade.com/2008/12/on-cocoa/</link>
		<comments>http://www.rustyrazorblade.com/2008/12/on-cocoa/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 02:01:30 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[cocoa]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=440</guid>
		<description><![CDATA[I found this pretty amusing&#8230;
me:
i&#8217;m terrible w/ cocoa
i don&#8217;t particularly like objective-c
it&#8217;s to verbose
matt: 
[me putonSock:blueOne onFoot:rightFoot ignoringHangNail:YES]
]]></description>
			<content:encoded><![CDATA[<p>I found this pretty amusing&#8230;</p>
<p><strong>me</strong>:<br />
i&#8217;m terrible w/ cocoa<br />
i don&#8217;t particularly like objective-c<br />
it&#8217;s to verbose</p>
<p><strong>matt: </strong><br />
[me putonSock:blueOne onFoot:rightFoot ignoringHangNail:YES]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2008/12/on-cocoa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X: Spaces + Fluid = Awesome</title>
		<link>http://www.rustyrazorblade.com/2008/11/os-x-spaces-fluid-awesome/</link>
		<comments>http://www.rustyrazorblade.com/2008/11/os-x-spaces-fluid-awesome/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 22:41:17 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[spaces]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=433</guid>
		<description><![CDATA[I&#8217;ve tried so many times to use Spaces, and I keep failing.  As useful as it *should* be, it just never was.  And I&#8217;ve finally realized why.  Most of what I do is in a web browser.  And spaces just wasn&#8217;t made for that.  I want Gmail to always be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried so many times to use Spaces, and I keep failing.  As useful as it *should* be, it just never was.  And I&#8217;ve finally realized why.  Most of what I do is in a web browser.  And spaces just wasn&#8217;t made for that.  I want Gmail to always be in space 3.  Facebook on 4.  It just wasn&#8217;t meant for that.</p>
<p>I&#8217;ve recently discovered <a href="http://fluidapp.com/">Fluid</a>.  <a href="http://fluidapp.com/">Fluid</a> brings creates Site Specific Browsers.  This means I have an actual application that I launch called Gmail.  It&#8217;s independent from everything else, doesn&#8217;t crash when Safari does (which, to be honest, is all the time).  I can assign it to a space.  So good.</p>
<p>Also, I&#8217;ve discovered hitting F9 (expose) after triggering F8 for spaces, it&#8217;ll do expose over all the spaces.  Pretty cool way to organize.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2008/11/os-x-spaces-fluid-awesome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Goodbye Quicksilver, Hello LaunchBar</title>
		<link>http://www.rustyrazorblade.com/2008/09/goodbye-quicksilver-hello-launchbar/</link>
		<comments>http://www.rustyrazorblade.com/2008/09/goodbye-quicksilver-hello-launchbar/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 20:58:53 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[launchbar]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[quicksilver]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=237</guid>
		<description><![CDATA[It&#8217;s unfortunate that I&#8217;ve reached this point, since I thought quicksilver was a really awesome piece of software.  Unfortunately, it&#8217;s just gotten to be completely unstable.  Beach balls became all too common.  So common, that I was willing to cough up $20 for LaunchBar after only trying it out for 10 minutes. [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s unfortunate that I&#8217;ve reached this point, since I thought quicksilver was a really awesome piece of software.  Unfortunately, it&#8217;s just gotten to be completely unstable.  Beach balls became all too common.  So common, that I was willing to cough up $20 for <a href="http://www.obdev.at/products/launchbar/index.html">LaunchBar</a> after only trying it out for 10 minutes.  </p>
<p>I never was a power user of quicksilver &#8211; I did like a lot of things in theory, but I never took the time to memorize the keyboard shortcuts.  Since Launchbar is a commercial product, hopefully it hangs around a lot longer.  That and I paid for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2008/09/goodbye-quicksilver-hello-launchbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Western Digital Drive with Leopard &#8211; &#8220;File system formatter failed.&#8221;</title>
		<link>http://www.rustyrazorblade.com/2008/02/file-system-formatter-failed/</link>
		<comments>http://www.rustyrazorblade.com/2008/02/file-system-formatter-failed/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 07:59:47 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/2008/02/26/file-system-formatter-failed/</guid>
		<description><![CDATA[I just bought a 1TB Western Digital drive.  I am stoked.
However, I tried to format the drive on my Mac (Leopard) and got the error &#8220;File system formatter failed&#8221; when I tried to format the disk as MacOS Extended (Journaled).  Not cool.
I found this forum thread which suggested using multiple partitions to solve [...]]]></description>
			<content:encoded><![CDATA[<p>I just bought a 1TB Western Digital drive.  I am stoked.</p>
<p>However, I tried to format the drive on my Mac (Leopard) and got the error &#8220;File system formatter failed&#8221; when I tried to format the disk as MacOS Extended (Journaled).  Not cool.</p>
<p>I found <a href="http://forums.dealnews.com/read.php?4,2742587">this forum thread</a> which suggested using multiple partitions to solve the problem.  When I was trying this, I went into options and changed the partition scheme from Master Boot Record to GUID partition table.  It formatted fine.</p>
<p>To test things further, I changed the scheme back to 1 partition, and left the format as GUID partition table.  This time it worked flawlessly.</p>
<p>The GUID type says it will not work as a start up disk MacOS older than 10.4.  So if you&#8217;re still on Panther you can&#8217;t boot up off my backup drive.  Try not to cry too much.</p>
<p><em>Update: here&#8217;s a few reasons why <a href="http://rantsandstuff.com/2009/07/15/guid-vs-mbr/">GUID owns MBR</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2008/02/file-system-formatter-failed/feed/</wfw:commentRss>
		<slash:comments>106</slash:comments>
		</item>
	</channel>
</rss>
