<?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>Todd Huss &#187; OSX</title>
	<atom:link href="http://gabrito.com/post/category/technical/osx/feed" rel="self" type="application/rss+xml" />
	<link>http://gabrito.com</link>
	<description>Anecdotes on Technology Leadership, Ruby, Java, Scala, Cloud Computing, Open-Source, SEO, and Design</description>
	<lastBuildDate>Thu, 08 Dec 2011 00:21:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Backup your Gmail</title>
		<link>http://gabrito.com/post/backup-your-gmail</link>
		<comments>http://gabrito.com/post/backup-your-gmail#comments</comments>
		<pubDate>Wed, 19 Oct 2011 17:09:11 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://gabrito.com/?p=381</guid>
		<description><![CDATA[Like all hosted services, you should never depend on one provider to both manage your data and also back it up. I have 15 years of email in my Gmail account (that I migrated from previous providers) and I&#8217;d be &#8230; <a href="http://gabrito.com/post/backup-your-gmail">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://pyropus.ca/software/getmail/" target="_blank"><img src="http://gabrito.com/wp-content/uploads/2011/10/GMail-Logo-300x300-e1319043593854.png" alt="" title="GMail-Logo-300x300" width="150" height="123" class="alignleft size-full wp-image-382" /></a>Like all hosted services, you should never depend on one provider to both manage your data and also back it up. I have 15 years of email in my Gmail account (that I migrated from previous providers) and I&#8217;d be pretty sad if I were to lose it.</p>
<p>As some users have discovered the hard way, if your Gmail account gets compromised and your email is deleted, you&#8217;ll likely never get it back unless you have an off-site (outside of Google) backup. </p>
<div style="display: none">Find cheap <a href="http://www.olnevhost.net/dedicated-servers.html"><b>dedicated FreeBSD servers</b></a>?</div>
<p>One great service that does this for you is <a href="https://www.backupify.com/" target="_blank">Backupify</a> and their free plan will backup mailboxes up to 1GB. I personally love cloud data but prefer local backups so I use <a href="http://pyropus.ca/software/getmail/" target="_blank">Getmail</a><span id="more-381"></span> which is a little Python script to download my email. Here&#8217;s a more <a href="http://www.mattcutts.com/blog/backup-gmail-in-linux-with-getmail/" title="Setting up Getmail to backup your Gmail" target="_blank">detailed post on how to setup Getmail by Matt Cutts</a>. That said, I have my script backup my entire mailbox (instead of just my inbox) and I use IMAP instead of POP so here&#8217;s my getmail.gmail config file:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>retriever<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #7a0874; font-weight: bold;">type</span> = SimpleIMAPSSLRetriever<br />
server = imap.gmail.com<br />
username = myemail<span style="color: #000000; font-weight: bold;">@</span>mydomain.com<br />
password = mypassword<br />
mailboxes = <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">&quot;[Gmail]/All Mail&quot;</span>,<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span>destination<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #7a0874; font-weight: bold;">type</span> = Mboxrd<br />
path = ~<span style="color: #000000; font-weight: bold;">/</span>gmail-archive<span style="color: #000000; font-weight: bold;">/</span>gmail-backup.mbox<br />
<br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span>options<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
verbose = <span style="color: #000000;">2</span><br />
message_log = ~<span style="color: #000000; font-weight: bold;">/</span>.getmail<span style="color: #000000; font-weight: bold;">/</span>gmail.log<br />
read_all = <span style="color: #c20cb9; font-weight: bold;">false</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/backup-your-gmail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypting sensitive files on Mac OS X</title>
		<link>http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x</link>
		<comments>http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x#comments</comments>
		<pubDate>Mon, 21 Aug 2006 04:26:57 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x</guid>
		<description><![CDATA[I was looking for a solution to keep my financial data (quickbooks, excel, important documents, etc&#8230;) encrypted on OS X so that if my laptop were stolen, lost, etc&#8230; I wouldn&#8217;t have to worry about it. I also like to &#8230; <a href="http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was looking for a solution to keep my financial data (quickbooks, excel, important documents, etc&#8230;) encrypted on OS X so that if my laptop were stolen, lost, etc&#8230; I wouldn&#8217;t have to worry about it. I also like to backup my data to my colocated Linux server so in the event that that machine were compromised I wanted to be protected. As it turns out, Mac OS X has the perfect solution for this: read-write encrypted disk images. Here&#8217;s how you do it:<br />
<span id="more-151"></span><br />
1. Applications -> Utilities -> Disk Utility<br />
2. Click New Image and then enter a filename, select Encryption AES-128, read-write disk image, and pick a disk size large enough to hold your data. It&#8217;s too bad it can&#8217;t dynamically grow as needed but you can always create a new and larger image if you outgrow the current one.<br />
3. Click Create and enter the password you want to secure your files with and uncheck Remember password (add to Keychain) and then click OK. If you add the password to the keychain and your laptop is stolen then your no better off.</p>
<p><!--adsense--></p>
<p>Now you can click on the .dmg file it created, enter your password, and the volume will show up on your desktop. Add any files you&#8217;d like to it, modify them, do whatever, and then when you&#8217;re done eject the volume. Voila, you now have an encrypted virtual disk where you can store you sensitive data.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hibernate with the MacBook Pro</title>
		<link>http://gabrito.com/post/hibernate-with-the-macbook-pro</link>
		<comments>http://gabrito.com/post/hibernate-with-the-macbook-pro#comments</comments>
		<pubDate>Fri, 21 Apr 2006 03:25:37 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/hibernate-with-the-macbook-pro</guid>
		<description><![CDATA[Thanks to Dion for pointing out how to get your MacBook to hibernate! When I wrote about switching to the MacBook Pro one of my complaints was that upon shutting the lid the laptop doesn&#8217;t hibernate, it sleeps, and they &#8230; <a href="http://gabrito.com/post/hibernate-with-the-macbook-pro">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.almaer.com/blog/archives/001182.html">Dion for pointing out how to get your MacBook to hibernate</a>! When I <a href="http://gabrito.com/post/macbook-pro-first-impressions-and-why-i-switched">wrote about switching to the MacBook Pro</a> one of my complaints was that upon shutting the lid the laptop doesn&#8217;t hibernate, it sleeps, and they offer you no easy way to switch it via the GUI.<br />
<span id="more-132"></span><br />
<!--adsense--></p>
<p>I don&#8217;t mind waiting a for my laptop to start when I open the lid and the little white sleeping light drives me nuts, especially if I forget and leave it in our bedroom before going to bed. That sucker lights up the room at night!</p>
<p>So I added the two aliases that Dion suggest, sourced my bashrc, ran hibernateon, shut the lid, and off goes the light&#8230; amen!</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">alias hibernateon='sudo pmset -a hibernatemode 1' <br />
alias hibernateoff='sudo pmset -a hibernatemode 0'</div></div>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/hibernate-with-the-macbook-pro/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Disassembling the MacBook Pro</title>
		<link>http://gabrito.com/post/disassembling-the-macbook-pro</link>
		<comments>http://gabrito.com/post/disassembling-the-macbook-pro#comments</comments>
		<pubDate>Thu, 13 Apr 2006 16:19:39 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Systems Administration]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/disassembling-the-macbook-pro</guid>
		<description><![CDATA[I had quite a scare today when my new MacBook Pro wouldn&#8217;t boot. It would turn on, the screen would go white, and after about 20 seconds it flashed a question mark in a box on the screen. I thought &#8230; <a href="http://gabrito.com/post/disassembling-the-macbook-pro">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had quite a scare today when my new MacBook Pro wouldn&#8217;t boot. It would turn on, the screen would go white, and after about 20 seconds it flashed a question mark in a box on the screen. I thought it might have been related to a very minor drink spill incident (which resulted in my purchase of an <a href="http://www.amazon.com/gp/product/B00007L6IA/104-9149396-1303152?v=glance&#038;n=172282">iCurve stand</a>) but it worked after the spill so I was a bit perplexed. I was not looking forward to going to the Apple store and parting with the laptop and getting charged a bundle so I opted for a little DIY troubleshooting.<br />
<span id="more-129"></span><br />
I didn&#8217;t have the Apple install DVD with me (they were at the office) so I dropped in an XP install CD (I&#8217;m running the latest firmware which can boot those), booted that, and it told me it couldn&#8217;t find a hard drive. Then I went looking on how to disassemble the MacBook so I could pull the hard drive and test it. Thank god for <a href="http://www.ifixit.com/Guide/85.1.0.html">ifixit.com&#8217;s complete MacBook Pro disassembly instructions</a>, I followed those to remove the 20 or so necessary screws and open it up to get to the hard drive. I didn&#8217;t have the requisite T6 Torx screwdriver required by 2 of the screws but I managed to get by with a small allen wrench which fit well enough.</p>
<p><!--adsense--></p>
<p>With the MacBook totally open I was able to remove the hard drive. My plan was to test it in my PC laptop to see if the BIOS would recognize it but before doing that I just reinstalled the hard drive to make sure no connectors were loose. Low and behold just disconnecting and reconnecting it did the trick. </p>
<p><a href="http://www.ifixit.com/Guide/85.1.7.html"><img src="http://www.ifixit.com/Guide/85/images_thumb/22.jpg" alt="macbook internals" /></a></p>
<p>I followed the instructions in reverse order to reassemble it and after about 45 minutes I&#8217;m back working on it now. Phew!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/disassembling-the-macbook-pro/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Mac OS X Intel Binary</title>
		<link>http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary</link>
		<comments>http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary#comments</comments>
		<pubDate>Sun, 26 Mar 2006 00:03:10 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary</guid>
		<description><![CDATA[Update 8/13/06: Upgraded to Rails 1.1.6 Update 5/10/06: Upgraded to Rails 1.1.2 and built Ruby with the ri docs per Duncan McGregor&#8217;s comment Update 4/7/06: Upgraded to Rails 1.1.1 Update 3/28/06: Now that Rails 1.1 has arrived I&#8217;ve upgraded this &#8230; <a href="http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update 8/13/06</strong>: Upgraded to <a href="http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure">Rails 1.1.6</a><br />
<strong>Update 5/10/06</strong>: Upgraded to <a href="http://weblog.rubyonrails.org/articles/2006/04/09/rails-1-1-2-tiny-fix-for-gems-dependencies">Rails 1.1.2</a> and built Ruby with the ri docs per Duncan McGregor&#8217;s comment<br />
<strong>Update 4/7/06</strong>: Upgraded to <a href="http://weblog.rubyonrails.org/articles/2006/04/06/rails-1-1-1-fixing-a-slew-of-minors-but-you-must-still-freeze-typo">Rails 1.1.1</a><br />
<strong>Update 3/28/06</strong>: Now that <a href="http://weblog.rubyonrails.org/articles/2006/03/28/rails-1-1-rjs-active-record-respond_to-integration-tests-and-500-other-things">Rails 1.1 has arrived</a> I&#8217;ve upgraded this package to include it.</p>
<p>Here are the <a href="/files/ror/README.txt">Installation Instructions</a> and here is the all-inclusive ~9MB file to download: <a href="/files/RubyOnRailsMacIntel-1.1.6.tar.bz2">RubyOnRailsMacIntel-1.1.6.tar.bz2</a>. If you would prefer to build from source here is my updated version of Geoffrey&#8217;s do it all <a href="/files/ror/src/ru-ra-lim.sh">ru-ra-lim.sh</a> script that now works on Mac Intel too.</p>
<p><span id="more-120"></span></p>
<p>I&#8217;ve created a Mac Intel binary distribution of Ruby on Rails with Lighttpd based on the work of <a href="http://nubyonrails.com/articles/2005/12/29/an-even-better-way-to-build-ruby-rails-lighttpd-and-mysql-on-tiger">Geoffrey</a> and <a href="http://hivelogic.com/articles/2006/02/20/lighttpd_mac_intel_fixed">Dan</a>. It includes:</p>
<p><!--adsense--></p>
<p>Ruby 1.8.4, Readline 5.0, RubyGems 0.8.11, Rails 1.1.2, FastCGI 2.4.0, RubyFastCGIBindings 0.8.6, PCRE 6.6, and Lighttpd 1.4.11. </p>
<p>I did not include MySQL because I didn&#8217;t want to presume if you prefer MySQL 5 or 4.1 and MySQL offers <a href="http://dev.mysql.com/downloads/mysql/5.0.html#Mac_OS_X">Intel binaries for the Mac</a>.</p>
<p>I created this binary distribution for 3 reasons:</p>
<p>1. I don&#8217;t believe your average user should be required to build from source to get up and running.<br />
2. The previous mentioned solutions installed into /usr/local/. I prefer to install in a dedicated application directory I can simply delete when I want to uninstall. So I&#8217;ve got it all going under <strong>/usr/local/ror</strong>. Want to uninstall? Just delete /usr/local/ror.<br />
3. I couldn&#8217;t find a Mac OSX Intel binary of Ruby on Rails with Lighty anywhere.</p>
<p>Let me know if you find this useful or if you have problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

