<?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>Benjamin Sherman &#187; Mac</title>
	<atom:link href="http://holyarmy.org/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://holyarmy.org</link>
	<description>I have to have a tagline?</description>
	<lastBuildDate>Wed, 02 Jun 2010 06:06:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Have fun RESTing!</title>
		<link>http://holyarmy.org/2010/01/have-fun-resting/</link>
		<comments>http://holyarmy.org/2010/01/have-fun-resting/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 10:46:59 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=416</guid>
		<description><![CDATA[Cheesy post titles aside&#8230;
I just discovered the very simple but incredibly useful RESTClient at: http://code.google.com/p/rest-client/ .
It&#8217;s a simple Java GUI app for testing out one&#8217;s REST services. You can choose your: URL, HTTP method, add any custom headers, add a body for PUT/POST, set auth info, SSL info, and do simple scripting.
This is an incredibly [...]]]></description>
			<content:encoded><![CDATA[<p>Cheesy post titles aside&#8230;</p>
<p>I just discovered the very simple but incredibly useful <strong>RESTClient</strong> at: <a href="http://code.google.com/p/rest-client/">http://code.google.com/p/rest-client/</a> .</p>
<p>It&#8217;s a simple Java GUI app for testing out one&#8217;s REST services. You can choose your: URL, HTTP method, add any custom headers, add a body for PUT/POST, set auth info, SSL info, and do simple scripting.</p>
<p>This is an incredibly useful tool, AND a far cry better than doing it all on the command line with curl.</p>
<p>Thanks @subwiz (the project owner)!</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2010/01/have-fun-resting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here, File File! Nears Release, Gets Attention</title>
		<link>http://holyarmy.org/2009/12/here-file-file-nears-release/</link>
		<comments>http://holyarmy.org/2009/12/here-file-file-nears-release/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 22:51:08 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[appsfire]]></category>
		<category><![CDATA[excitement]]></category>
		<category><![CDATA[herefilefile]]></category>
		<category><![CDATA[hff]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[tuaw]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=411</guid>
		<description><![CDATA[I&#8217;m taking time away from adding spit and polish to the exciting Here, File File project to say WOO HOO!
The whole team (Adam, Buck, and I) are psyched! A few days ago we found out Here, File File is a finalist in the AppsFire Apps Star Awards. And today, The Unofficial Apple Weblog (TUAW) published a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m taking time away from adding spit and polish to the exciting <a title="Here, File File!" href="http://herefilefile.com">Here, File File</a> project to say WOO HOO!</p>
<p>The whole team (<a href="http://welcome.totheinter.net">Adam</a>, <a href="http://buckwilson.me">Buck</a>, and I) are psyched! A few days ago we found out Here, File File is a finalist in the <a href="http://video.appsfire.com/video/2623113-here-file-file-iphone-app-promo">AppsFire Apps Star Awards</a>. And today, The Unofficial Apple Weblog (TUAW) published a great <a href="http://www.tuaw.com/2009/12/05/found-footage-here-file-file-lets-you-access-your-macs-files/">HFF write up</a>.</p>
<p>If you haven&#8217;t seen our promo video yet, give it a whirl!</p>
<p><a href="http://holyarmy.org/2009/12/here-file-file-nears-release/"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/12/here-file-file-nears-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing &#8220;find&#8221; Errors</title>
		<link>http://holyarmy.org/2009/11/killing-find-errors/</link>
		<comments>http://holyarmy.org/2009/11/killing-find-errors/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 05:46:53 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=408</guid>
		<description><![CDATA[I&#8217;ve used the unix filesystem search utility find for many years. Though, like most things, until forced to learn its deeper secrets, I generally get by with only the most basic knowledge.
One of the cool things about find is that you can specify a search and then execute an action on the results, all in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used the unix filesystem search utility <strong>find</strong> for many years. Though, like most things, until forced to learn its deeper secrets, I generally get by with only the most basic knowledge.</p>
<p>One of the cool things about <strong>find</strong> is that you can specify a search and then execute an action on the results, all in one command.</p>
<p>This example is probably my most common use of <strong>find</strong>:</p>
<pre>find . -type d -name .svn -exec rm -fr {} \;
</pre>
<p>This means: find, in the current directory (.), a directory (-type d), named .svn (-name .svn), and for every result (-exec) remove that directory (rm -fr {}) .  The &#8220;{}&#8221; represents the matched path string, and the &#8220;\;&#8221; is required to end the &#8220;-exec&#8221; command.</p>
<p>Here&#8217;s a sample of what this looks like, including output:</p>
<pre>$ find . -type d -name .svn -exec rm -fr {} \;
find: ./.svn: No such file or directory
find: ./getid3-2.0.0b4/.svn: No such file or directory
find: ./getid3-2.0.0b4/extras/.svn: No such file or directory
find: ./getid3-2.0.0b4/getid3/.svn: No such file or directory</pre>
<p>This is great, and I&#8217;ve used this exact syntax for years. But today I ran into a problem. I wanted to run this exact command as part of a custom build script in Xcode. When this command ran I had <strong>81 errors </strong>popup in my build results! What happened is that all thos &#8220;No such file or directory&#8221; messages are actually errors, and Xcode reported them as such.</p>
<p>The solution is to add one extra argument: -depth . This causes find to do a depth-first traversal of the sub-directories being searched. That is, find will check the contents of directories before acting (eg, running an -exec command) on the directory in question. The default is to act on the directory (in our case, removing it) before attempting to visit it&#8217;s contents. So after we removed the directory, find was still trying to look at it; <strong>-depth </strong>fixes that.</p>
<p>So, the final answer is, I now use:</p>
<pre>find . -type d -name .svn -depth -exec rm -fr {} \;
</pre>
<p>Yes, this is a slightly verbose explanation for something so simple, but maybe it will help someone else.</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/11/killing-find-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resetting Forgotten OS X 10.5 User Password</title>
		<link>http://holyarmy.org/2009/11/resetting-forgotten-os-x-105-user%c2%a0password/</link>
		<comments>http://holyarmy.org/2009/11/resetting-forgotten-os-x-105-user%c2%a0password/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 18:43:02 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[boot password reset mac]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=406</guid>
		<description><![CDATA[I have an older G4 Mac Mini I use for testing the Mac app I&#8217;m working on (Here, File File F.K.A. Welcome to Your Mac. It&#8217;s just nice to have a machine that I can test both 10.4 and 10.5 as well as PowerPC compatibility.
Yesterday I needed to do some updates on the 10.5 system [...]]]></description>
			<content:encoded><![CDATA[<p>I have an older G4 Mac Mini I use for testing the Mac app I&#8217;m working on (<a href="http://www.herefilefile.com/">Here, File File</a> F.K.A. <a href="http://welcome.toyourmac.com/">Welcome to Your Mac</a>. It&#8217;s just nice to have a machine that I can test both 10.4 and 10.5 as well as PowerPC compatibility.</p>
<p>Yesterday I needed to do some updates on the 10.5 system and couldn&#8217;t remember my password.</p>
<p>Google was my friend and showed me an Apple Knowledge Base article to solve the problem.</p>
<p>The steps to restart are as follows:</p>
<ol>
<li>Restart into single user mode (hold Command+S during boot). (Note: that if you use a non-Apple keyboard that&#8217;s WindowsKey+S)</li>
<li>At the &#8220;#&#8221; prompt run:
<ul>
<li>
<pre>mount -uw /</pre>
</li>
</ul>
</li>
<li>Now run:
<ul>
<li>
<pre>launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist</pre>
</li>
</ul>
</li>
<li>Note your short username and user directory by running:
<ul>
<li>
<pre>ls /Users</pre>
</li>
</ul>
</li>
<li>Run the following with your username instead of &#8220;username&#8221;:
<ul>
<li>
<pre>dscl . -delete /Users/username AuthenticationAuthority</pre>
</li>
</ul>
</li>
<li>Now reset your password by running:
<ul>
<li>
<pre>passwd username</pre>
</li>
</ul>
</li>
<li>Now reboot by running:
<ul>
<li>
<pre>reboot</pre>
</li>
</ul>
</li>
</ol>
<p>This is a bit more complicated than it seems to have been in 10.4 Tiger.  I&#8217;m fairly certain you could skip steps 2 &#8211; 5, since it didn&#8217;t use the same directory service backend.</p>
<p>Note: I don&#8217;t use secure file vault, but others on the web have noted that resetting your password in this way will lock you out of your data. In fact, it looks like there is not a way to recover/reset that password, which is part of what makes it secure. <img src='http://holyarmy.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks Google and Apple!</p>
<p>Source: http://support.apple.com/kb/TS1543</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/11/resetting-forgotten-os-x-105-user%c2%a0password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mac Mini DVI-HDMI on LCD HDTV</title>
		<link>http://holyarmy.org/2009/06/mac-mini-dvi-hdmi-on-lcd-hdtv/</link>
		<comments>http://holyarmy.org/2009/06/mac-mini-dvi-hdmi-on-lcd-hdtv/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 21:26:49 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[dvi]]></category>
		<category><![CDATA[hdmi]]></category>
		<category><![CDATA[hdtv]]></category>
		<category><![CDATA[lcd]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=397</guid>
		<description><![CDATA[I recently purchased a Mac Mini to be my home media computer. I plan to blog more about that later. For now, the only tricky thing about using a Mini has been using my TV for a monitor.
There&#8217;s a lot of noise on the web (or Google at least) when trying to search for a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased a Mac Mini to be my home media computer. I plan to blog more about that later. For now, the only tricky thing about using a Mini has been using my TV for a monitor.</p>
<p>There&#8217;s a lot of noise on the web (or Google at least) when trying to search for a solution to using a Mini&#8217;s DVI output on LCD TV&#8217;s. Typically they recommend using DisplayConfigX  or SwitchResX to tweak your display modelines, timing, resolution, and just generally dive deeper than I like  into display configuration. My solution was MUCH simpler.</p>
<p>My television is a Samsung 46&#8243; LCD (LN46A539P1F). It has 3 HDMI inputs, but one is specifically intended to be used for PCI DVI input converted to HDMI.  It also provides a VGA DSUB input which works perfectly with a Mac Mini&#8217;s miniDVI-&gt;VGA apapter, but the point here is to get direct digital signal without converting to analog.</p>
<p>The Mac Mini has a miniDVI output and is packaged with a miniDVI-&gt;DVI adapter, so to get a signal into the TV, you&#8217;ll need a DVI-&gt;HDMI or miniDVI-&gt;HDMI adapter. I bought both from <a href="http://www.monoprice.com">Monoprice</a> as they are very inexpensive and either works fine.</p>
<p>Once you have the apdapter on and the HDMI cable connected to the TV, the Mac will recognize that it is displaying on an HDTV and will recommend 720p (1280&#215;720 resoution) or 1080p (1920&#215;1080 resolution). However, you will now most likely see that your output is either too small on the screen (has a few inches of black border around the picture)  or is too big (extends beyond the screen). If it&#8217;s too big, you have Overscan enabled in your Displays preference pane. If not, you should enable Overscan.</p>
<p>Now, on your TV, go to the Menu:</p>
<ul>
<li>Choose &#8220;Picture&#8221; (should be first option)</li>
<li>Choose &#8220;Picture Options&#8221; (near the bottom of list)</li>
<li>Choose &#8220;Size&#8221; (will have options like 4:3, 16:9, and Just Scan)</li>
<li>Choose &#8220;Just Scan&#8221;</li>
<li>Close Menu</li>
</ul>
<p>Bam! Your display should now be just right!</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/06/mac-mini-dvi-hdmi-on-lcd-hdtv/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updating RubyGems on Mac OS X 10.5 Leopard</title>
		<link>http://holyarmy.org/2009/03/updating-rubygems-on-mac-os-x-105-leopard/</link>
		<comments>http://holyarmy.org/2009/03/updating-rubygems-on-mac-os-x-105-leopard/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 04:38:40 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sass]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=383</guid>
		<description><![CDATA[I&#8217;m just posting a simple tip today.
I was wanting to play around with the very cool SASS meta-language using Compass. The language and tool are implemented in Ruby, which is pre-installed on OS X, but as I discovered, I needed a newer version of RubyGems.
I had already known I needed to update Gems, so I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just posting a simple tip today.</p>
<p>I was wanting to play around with the very cool <a href="http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html">SASS meta-language</a> using <a href="http://wiki.github.com/chriseppstein/compass">Compass</a>. The language and tool are implemented in Ruby, which is pre-installed on OS X, but as I discovered, I needed a newer version of RubyGems.</p>
<p>I had already known I needed to update Gems, so I was doing the following:</p>
<pre style="padding-left: 30px">$ sudo gem update</pre>
<p>Eventually I got errors like this:</p>
<pre style="padding-left: 30px">Updating installed gems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Bulk updating Gem source index for: http://gems.github.com/
Attempting remote update of RedCloth
ERROR:  Error installing RedCloth:
    RedCloth requires RubyGems version &gt;= 1.2
Attempting remote update of capistrano
ERROR:  Error installing capistrano:
    capistrano requires RubyGems version &gt;= 1.2
Attempting remote update of net-sftp
ERROR:  Error installing net-sftp:
    net-sftp requires RubyGems version &gt;= 1.2
Attempting remote update of net-ssh
ERROR:  Error installing net-ssh:
    net-ssh requires RubyGems version &gt;= 1.2
Gems updated: RedCloth, capistrano, net-sftp, net-ssh</pre>
<p>Turns out, to update RubyGems, one must update the gem <em>system!</em></p>
<p>So, the next correct command to run is:</p>
<pre style="padding-left: 30px">$ sudo gem update --system</pre>
<p>This updated my RubyGems to version 1.3.1 and allowed me to move forward in playing with Ruby.</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/03/updating-rubygems-on-mac-os-x-105-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Foxmarks: Bookmark Synchronization Heaven</title>
		<link>http://holyarmy.org/2009/02/foxmarks-bookmark-synchronization-heaven/</link>
		<comments>http://holyarmy.org/2009/02/foxmarks-bookmark-synchronization-heaven/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 22:19:25 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[foxmarks]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=381</guid>
		<description><![CDATA[Long have I searched for the magic bullet solution to my bookmark synchronization woes.  I&#8217;ve wanted a simple plugin that would synchronize my bookmarks between multiple installations of Firefox and Safari, thus making it simple to access said bookmarks from any computer, or between the two commonly used browsers on my Mac.  I&#8217;ve looked at [...]]]></description>
			<content:encoded><![CDATA[<p>Long have I searched for the magic bullet solution to my bookmark synchronization woes.  I&#8217;ve wanted a simple plugin that would synchronize my bookmarks between multiple installations of <a href="http://www.getfirefox.com">Firefox</a> and <a href="http://www.apple.com/safari/">Safari</a>, thus making it simple to access said bookmarks from any computer, or between the two commonly used browsers on my Mac.  I&#8217;ve looked at many options, but always the solution only allows me to sync one browser or the other, leaving me looking for some secondary sync tool to get between Firefox and Safari on my Mac itself, not via network or a proper sync.</p>
<p>I&#8217;d almost given up on finding a solution, then, a few months ago I started using <a href="http://delicious.com/">Delicious</a>. It was cool because there were plugins for Safari, Firefox, and IE, and of course, it&#8217;s by default a web based bookmarking system. Its cool, I like it, but I just didn&#8217;t use it much. The plugins integrate it into the browser by giving you ANOTHER bookmarks menu, not by integrating with the browsers&#8217; bookmark system.</p>
<p>Before ever using Safari or Delicious, my Firefox bookmark sync tool of choice was <a href="http://www.foxmarks.com/">Foxmarks</a>. It provided a web interface for remote access to my bookmarks, plus a nice sync interface for all my Firefox installations. I was randomly poking around today and discovered that <strong>Foxmarks now works with Safari and IE!</strong> I was excited and wasted no time installing Foxmarks for Safari. So far, it works great!</p>
<p>For the most part, it works just as you&#8217;d expect, bookmarks sync between all my Safari(Mac only, for now, I think) and Firefox(Mac, Linux, and Windows) installations without hassle. I&#8217;ve yet to try out the Internet Explorer functionality, but I&#8217;m guessing it works pretty well. I just don&#8217;t use IE enough to care.</p>
<p>One caveat to be aware of: both Firefox and Safari use some browser specific URL syntax to access internal functionality for recent bookmarks, etc. That stuff will only work on the browser where it was created, Safari on Safari, Firefox on Firefox, etc. For me, that&#8217;s a non issue, I rarely use those features. I have tested and confirmed that javascript bookmarklets (like for Tinyurl and Cornify) do seem to work after syncing. Those are about the only reason I use on the bookmark menubar.</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/02/foxmarks-bookmark-synchronization-heaven/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building a Hackintosh Successful Attempt #1</title>
		<link>http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/</link>
		<comments>http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 05:32:39 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[hackintosh]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=359</guid>
		<description><![CDATA[Since getting a Mac Book Pro for work, I&#8217;ve become quite the fan of OS X. As a unix/software guy, I really enjoy having the power of a BSD/Unix system readily available, without having to install some hack like cygwin. (I&#8217;m not knocking cygwin, it&#8217;s a really nice Windows add-on, but I prefer not to [...]]]></description>
			<content:encoded><![CDATA[<p>Since getting a Mac Book Pro for work, I&#8217;ve become quite the fan of OS X. As a unix/software guy, I really enjoy having the power of a BSD/Unix system readily available, without having to install some hack like <a href="http://cygwin.org/">cygwin</a>. (I&#8217;m not knocking cygwin, it&#8217;s a really nice Windows add-on, but I prefer not to run Windows, in general.) I also like the OS X user interface, and lately, that it runs the very cool <a href="http://boxee.tv/">boxee</a> media center software. So, I wanted to build a boxee box. My options were AppleTV, Mac Mini, or Hackintosh. The Mac Mini was more money than I wanted to spend for an untested solution. The AppleTV would probably be a good solution, especially now that it&#8217;s getting more testing from the boxee community, but I wasn&#8217;t sure about it. Finally, I thought that a Hackintosh would be a cool project, give me not just boxee but a full OS X system, and I could buy the parts for $235 from <a href="http://newegg.com">newegg</a>. That&#8217;s a cheap computer, and especially a cheap Mac.</p>
<p>I went with an Intel D945GCLF2 motherboard. It&#8217;s a mini-ITX board with built in dual Atom 330 processors, the kind of CPU&#8217;s used in the new and inexpensive NetBook computers. It&#8217;s a very low power solution, but with the dual processors most of the research I did suggested it should do 720p HD content. It has a S/PDIF header for digital audio out, but requires an extra cable and I have yet to test it. VGA out is less preferable than DVI, but again, this is cheap, and my Samsung 46&#8243; LCD has VGA-input, so it certainly works. Also, it&#8217;s limited to a single 2GB DIMM, so max out that RAM early. <img src='http://holyarmy.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I bought the following from newegg:</p>
<ul>
<li>D945GCLF2 motherboard &#8211; $80</li>
<li>Any old PATA (SATA should work, too) DVD Burner &#8211; $25</li>
<li>2GB Kingston 240-pin DDR2 667 SDRAM &#8211; $21</li>
<li>APEX MI-100 Black/Silver Mini-ITX Case w/ 250w PSU &#8211; $56</li>
<li>80GB Western Digital SATA Hard Drive &#8211; $37</li>
<li>Shipping/Handling + rush processing &#8211; $15</li>
</ul>
<p>Total cost: $234<br />
Full disclosure: I later bought a cheap USB bluetooth dongle ($25) and Apple&#8217;s Bluetooth keyboard and mouse (full retail, ouch) as that was the best wireless control solution, but any USB keyboard and mouse combo should work fine for normal usage.</p>
<p><strong>INSTALL GUIDE FOR RETAIL OS X on D945GCLF2</strong></p>
<p><strong></strong><span id="more-359"></span><br />
Original info from: <a href="http://forum.insanelymac.com/index.php?showtopic=138881">http://forum.insanelymac.com/index.php?showtopic=138881</a> </p>
<p>You&#8217;ll need to download the following items:</p>
<ul>
<li>Driver/Patch Package D945GCLF2_driver_pack_v2.5.zip: <a href="http://www.mediafire.com/download.php?4kwooomwm3m">http://www.mediafire.com/download.php?4kwooomwm3m</a></li>
<li>10.5.6 Combo Update: <a href="http://support.apple.com/downloads/Mac_OS_X_10_5_6_Combo_Update">http://support.apple.com/downloads/Mac_OS_X_10_5_6_Combo_Update</a></li>
<li>OSx86Tools &#8211; Download version 1.0 build 150: <a href="http://pcwizcomputer.com/osx86tools">http://pcwizcomputer.com/osx86tools</a></li>
</ul>
<p>You&#8217;ll need access to all these files once you get your system running, so you should have them available on a USB drive of some kind.</p>
<p>Also note, the driver/patch package includes an ISO image: D945GCLF2_boot_132.iso .  You&#8217;ll need to burn that to a blank CD. This is a helper boot CD. Everything referenced below that needs to be installed or used is part of the Driver/Patch package except for the OSx86 Tools and the Combo Updater.</p>
<p><strong>HARDWARE SETUP</strong></p>
<ul>
<li>D945GCLF2 motherboard</li>
<li>2GB memory, 240-pin DDR2 SDRAM 533MHz DIMM</li>
<li>IDE (PATA) DVD-ROM, jumper set to IDE MASTER</li>
<li>SATA 80GB HD</li>
</ul>
<p>This can be critical; not having the jumper set properly gave me serious issues with booting.</p>
<p><strong>BIOS SETUP</strong></p>
<ul>
<li>Reset D945GCLF2 BIOS to defaults</li>
</ul>
<div>This can be critical; not having default settings caused me problems with the video driver.</div>
<p><strong>INITIAL BOOT</strong></p>
<ol>
<li>Boot with boot132.iso CD</li>
<li>when prompted, insert retail OSX 10.5.4 dvd.</li>
<li>when disk has spun up, hit enter until prompted to boot by DVD</li>
<li>hit F8, type &#8221; -v &#8221; and hit enter (This turns on verbose mode, as I like to know WHY when something breaks)</li>
</ol>
<p><strong>INITIAL INSTALL</strong></p>
<ol>
<li>Choose language</li>
<li>From Utilities Menu,  choose Disk Utility</li>
<li>Repartition hard drive as GUID</li>
<li>Quit Disk Utility</li>
<li>Proceed with normal installation</li>
<li>(optional) to speed up my install, i customized and removed X11, Language Translations, and Printer Drivers. I can add what I need later. This saves almost 5GB (almost half the default 11.2GB needed for install)</li>
<li>when finished, reboot.</li>
</ol>
<p><strong>BOOT SYSTEM FROM CD</strong></p>
<ol>
<li>after reboot, re-insert boot123.iso CD</li>
<li>when promtped hit ESC and type 80 (81, if installed OSX to second HD),  hit enter</li>
<li>hit enter to boot, OR type &#8220;-v&#8221; then hit enter for verbose</li>
</ol>
<p><strong>BASIC SETUP AND UPDATE</strong></p>
<ol>
<li>follow normal setup (likely you&#8217;ll have to identify your keyboard, then create a user)</li>
<li>Update to 10.5.6 using downloaded combo update, manual install. </li>
<li>Reboot using BOOT SYSTEM FROM CD above (restart may require hard reset/power cycle)</li>
</ol>
<p><strong>CUSTOMIZE DRIVERS</strong></p>
<ol>
<li>Using the OSX86 Tool:
<ol>
<li>Install custom video kexts (drivers) &#8212; optionally backup Extensions first</li>
<li>repair permissions</li>
<li>clear extension cache </li>
</ol>
</li>
<li>Reboot using BOOT SYSTEM FROM CD above (restart may require hard reset/power cycle)</li>
<li>Using OSX86 Tool:
<ol>
<li>Install custom System and Audio kexts (drivers) </li>
<li>repair permissions</li>
<li>clear extension cache . </li>
</ol>
</li>
<li>Reboot using BOOT SYSTEM FROM CD above</li>
</ol>
<p><strong>FINAL TWEAKS</strong></p>
<ol>
<li>Patch the DSDT using patcher</li>
<li>when the &#8220;Terminal&#8221; script asks what OS to emulate, type 0 (for Darwin) and hit enter</li>
<li>when it completes there will be a &#8220;dsdt.aml&#8221; file in the same directory as the DSDT patcher. drag that onto your &#8220;Hard Drive&#8221;</li>
<li>Install the chameleon bootloader version 1.0.12</li>
<li>Ensure the hard drive is bootable. Open Terminal and type:<br />
<code> sudo fdisk -e /dev/rdisk0<br />
p (view partition list)<br />
f 1 (activate first partition, only do different if you are REALLY sure)<br />
w (writes changes to disk)<br />
y (when prompted that a reboot will be needed)<br />
q (quit fdisk)<br />
</code></li>
<li>Make sure you eject the boot123.iso CD then reboot normally.</li>
</ol>
<p>You should have a pretty darned happy OS X 10.5.6 install!</p>
<p> </p>
<p>Update 2008-02-18: Photos from building the box:</p>

<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/1-motherboard-shot/' title='Motherboard Shot'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/1-motherboard-shot-150x150.jpg" class="attachment-thumbnail" alt="D945GCLF2 Motherboard" title="Motherboard Shot" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/2-top-psu-and-dvd/' title='Top PSU and DVD'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/2-top-psu-and-dvd-150x150.jpg" class="attachment-thumbnail" alt="" title="Top PSU and DVD" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/3-single-pci-and-dimm/' title='Single PCI and DIMM'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/3-single-pci-and-dimm-150x150.jpg" class="attachment-thumbnail" alt="" title="Single PCI and DIMM" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/4-side-opposite-hd-clearance-under-floppy-bay/' title='Side opposite HD clearance under floppy bay'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/4-side-opposite-hd-clearance-under-floppy-bay-150x150.jpg" class="attachment-thumbnail" alt="" title="Side opposite HD clearance under floppy bay" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/5-side-missing-hd/' title='Side missing HD'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/5-side-missing-hd-150x150.jpg" class="attachment-thumbnail" alt="" title="Side missing HD" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/6-side-with-hd/' title='Side with HD'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/6-side-with-hd-150x150.jpg" class="attachment-thumbnail" alt="" title="Side with HD" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/7-assembled-rear/' title='Assembled Rear'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/7-assembled-rear-150x150.jpg" class="attachment-thumbnail" alt="" title="Assembled Rear" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/8-assembled-front/' title='Assembled Front'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/8-assembled-front-150x150.jpg" class="attachment-thumbnail" alt="" title="Assembled Front" /></a>
<a href='http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/9-booting-os-x-on-tv/' title='Booting OS X on TV'><img width="150" height="150" src="http://holyarmy.org/files//home/benjamin/webholyarmy/wp-content/blogs.dir/2/files//2009/02/9-booting-os-x-on-tv-150x150.jpg" class="attachment-thumbnail" alt="" title="Booting OS X on TV" /></a>

]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2009/02/building-a-hackintosh-successful-attempt-1/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Use vi key bindings in bash</title>
		<link>http://holyarmy.org/2008/12/use-vi-key-bindings-in-bash/</link>
		<comments>http://holyarmy.org/2008/12/use-vi-key-bindings-in-bash/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 06:29:38 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=331</guid>
		<description><![CDATA[A long time ago I used ksh with vi key bindings, and life was good.
Then I moved on to bash, but for some reason, I never investigated using vi key bindings. I simply lived with the defaults (which, for the record, are emacs-like key bindings).
So, just the other day I said to myself, &#8220;Self, I [...]]]></description>
			<content:encoded><![CDATA[<p>A long time ago I used ksh with vi key bindings, and life was good.</p>
<p>Then I moved on to bash, but for some reason, I never investigated using vi key bindings. I simply lived with the defaults (which, for the record, are emacs-like key bindings).</p>
<p>So, just the other day I said to myself, &#8220;Self, I want to use vi key bindings in bash. I want to again experience the joy of traversing and editing my command line in COMMAND MODE. I want the speed and the power of my precious vi (well, I use vim) at my finger tips. And I NO LONGER want to waste time holding arrow keys or to think about using emacs-like commands.&#8221;</p>
<p>So, I fired up google.com; low and behold I stumbled onto this little post about <a href="http://blogs.techrepublic.com.com/opensource/?p=193">using vi key bindings in bash and zsh</a>. So sweet!</p>
<p>In a nutshell, the bash command to enable vi mode is:</p>
<p><code>set -o vi</code></p>
<p>This can be set in your .bashrc file, and if it doesn&#8217;t pickup when you start a new terminal session, add something like this to your .profile or .bash_profile:</p>
<p><code>if [ -f ~/.bashrc ]; then<br />
. ~/.bashrc<br />
fi</code></p>
<p>With vi mode enabled, you&#8217;ll start your bash session in insert mode, so things should behave as normal. But, to turn on the power, just hit the ESC key to enter COMMAND MODE. <img src='http://holyarmy.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Now all your vi commands are availble. Move to end of line with &#8220;$&#8221;, beginning of line with &#8220;^&#8221;, delete a word with &#8220;dw&#8221;, etc.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2008/12/use-vi-key-bindings-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bonjour Avahi Addendum</title>
		<link>http://holyarmy.org/2008/11/bonjour-avahi-addendum/</link>
		<comments>http://holyarmy.org/2008/11/bonjour-avahi-addendum/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 16:23:53 +0000</pubDate>
		<dc:creator>benjamin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[avahi]]></category>
		<category><![CDATA[bonjour]]></category>
		<category><![CDATA[time machine]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://holyarmy.org/?p=325</guid>
		<description><![CDATA[A while back I wrote about advertising Linux services via Avahi/Bonjour. Since then I&#8217;ve made a few changes to my setup.
First, I nixed netatalk for direct AFP support. My primary reason for using it was to gain a more Mac-like network filesystem which would make Time Machine happier. Well, Time Machine uses a sparse bundle [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote about <a href="http://holyarmy.org/2008/01/advertising-linux-services-via-avahibonjour">advertising Linux services via Avahi/Bonjour</a>. Since then I&#8217;ve made a few changes to my setup.</p>
<p>First, I nixed netatalk for direct AFP support. My primary reason for using it was to gain a more Mac-like network filesystem which would make Time Machine happier. Well, Time Machine uses a sparse bundle disk image on it&#8217;s target; after learning about that, using AFP seemed a bit unnecessary. Also, Samba CIFS/SMB seemed to perform better. I don&#8217;t have solid benchmarks for this, but simple file copies seemed to be consistenly faster with Samba. One of the biggest annoyances about netatalk was all the extra hidden files and folders it created. I run a hybrid network, I have more Mac machines, but also Windows, plus I browse file systems on the command line quite often; and those excess files pushed me over the edge.</p>
<p>Second, I nixed Time Machine. Just when I thought everything was working perfectly, it completely blew up and could no longer access its data store. Not good for a backup solution. I plan to write about my new home backup solution sometime, but it&#8217;s basically rsync with a few key points.</p>
<p><span id="more-325"></span></p>
<p>Lastly, I streamlined my Linux avahi config using some pointers <a href="http://www.simonwheatley.co.uk/2008/04/06/avahi-finder-icons/">here</a>, suggested to me by George the commenter on my above linked post.</p>
<p>Previously i had a service config file for each service, but this resulted in my server having multiple entries in the OS X Finder, one host for Samba, one host for AFP (when I had it), and one host for RFB. So, I merged all of those files into one.</p>
<p><strong>multi.service</strong><br />
<code><br />
&lt;?xml version="1.0" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;<br />
&lt;!DOCTYPE service-group SYSTEM "avahi-service.dtd"&gt;<br />
&lt;service-group&gt;<br />
&lt;name replace-wildcards="yes"&gt;%h&lt;/name&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_smb._tcp&lt;/type&gt;<br />
&lt;port&gt;139&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_rfb._tcp&lt;/type&gt;<br />
&lt;port&gt;5901&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_device-info._tcp&lt;/type&gt;<br />
&lt;port&gt;0&lt;/port&gt;<br />
&lt;txt-record&gt;model=RackMac&lt;/txt-record&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_http._tcp&lt;/type&gt;<br />
&lt;port&gt;80&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_ssh._tcp&lt;/type&gt;<br />
&lt;port&gt;22&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_sftp-ssh._tcp&lt;/type&gt;<br />
&lt;port&gt;22&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;/service-group&gt;<br />
</code><br />
Now everything that can show up in the OS X finder, shows up on one host entry. Plus thanks to the tip I linked to above, the &#8220;_device-info._tcp&#8221; section sets an icon for the server in OS X Finder.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://holyarmy.org/2008/11/bonjour-avahi-addendum/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
