<?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>Codedrop™ Weblog &#187; Mac OSX</title>
	<atom:link href="http://www.codedrop.ca/blog/archives/category/os/mac-osx/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codedrop.ca/blog</link>
	<description>Drop'n some code and other tech tidbits...</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:45:02 +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>Use your DNS-323 for Time Machine backups.</title>
		<link>http://www.codedrop.ca/blog/archives/212</link>
		<comments>http://www.codedrop.ca/blog/archives/212#comments</comments>
		<pubDate>Wed, 13 Jan 2010 06:14:22 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[DNS-323]]></category>
		<category><![CDATA[Time Machine]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=212</guid>
		<description><![CDATA[If you don&#8217;t want to have to fork over the $$ to buy a time capsule want to make use of your existing DNS-323 hardware for backing up your Mac, here&#8217;s the steps to take.
1) Modify system preferences by executing this line in a terminal.

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

This will allow you to select the [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t want to have to fork over the $$ to buy a time capsule want to make use of your existing DNS-323 hardware for backing up your Mac, here&#8217;s the steps to take.</p>
<p>1) Modify system preferences by executing this line in a terminal.<br />
<code><br />
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1<br />
</code></p>
<p>This will allow you to select the DNS as a backup device when you configure Time Machine.</p>
<p>2) You need to manually create a disk image that Time Machine can understand.  The naming convention of this image is key.  The name consists of the computers name and mac address of the local eno device without colons.  (<computer’s name>_<string>.sparsebundle).  Easiest way to find out the proper name is to attempt a backup after completing step 1 above.  While this is attempting to run, use finder to browse the Volume (Volume_1 in my case) and write down the name of the file its trying to create.  The filename will contain .tmp before the .sparebundle.  Drop this from the filename and you have the complete name you need to use.</p>
<p>ie:  gataca_0021413a0cce.tmp.sparsebundle -> gataca_0021413a0cce.sparsebundle</p>
<p>Open disk utility and create a new disk image on your local drive (you cannot create the image directly on the NFS drive) with the following options:</p>
<p>Format: Spare Bundle Disk Image<br />
Partiions: No Partition Map<br />
Encryption: None<br />
Format: Mac OSX Extended Partition (Journaled)<br />
Size &#8211; Maximum Size.. I choose Custom 250GB</p>
<p>After the image is created&#8230; manually copy it over to the root of your NFS volume.</p>
<p>3) Kick off the time machine backup and voila!</p>
<p>Now.. be prepared for the caveats of this solution mentioned <a href="http://www.flokru.org/2008/03/15/time-machine-backups-on-network-shares-2-possible-problems/">here</a>.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Use+your+DNS-323+for+Time+Machine+backups.+http://hcb8d.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Use+your+DNS-323+for+Time+Machine+backups.+http://hcb8d.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/212/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4 Hidden Preferences</title>
		<link>http://www.codedrop.ca/blog/archives/70</link>
		<comments>http://www.codedrop.ca/blog/archives/70#comments</comments>
		<pubDate>Fri, 06 Mar 2009 15:40:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/70</guid>
		<description><![CDATA[I recently started using Safari 4 and found in incredibly disorienting having new tabs appear at the very top of the window frame.  To my suprise there&#8217;s a hidden setting that can change the location of the tab bar to something you might be more familiar with.  Check out this blog for a complete listing [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started using Safari 4 and found in incredibly disorienting having new tabs appear at the very top of the window frame.  To my suprise there&#8217;s a hidden setting that can change the location of the tab bar to something you might be more familiar with.  Check out this <a href="http://swedishcampground.com/safari-4-hidden-preferences">blog</a> for a complete listing of hidden preferences.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=a6daf120-7f5b-4db9-a996-7dab7277428e" alt="" /></div>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Safari+4+Hidden+Preferences+http://itw3e.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Safari+4+Hidden+Preferences+http://itw3e.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/70/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard Shortcuts For MacOSX (screen capture)</title>
		<link>http://www.codedrop.ca/blog/archives/57</link>
		<comments>http://www.codedrop.ca/blog/archives/57#comments</comments>
		<pubDate>Tue, 23 Dec 2008 16:31:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=57</guid>
		<description><![CDATA[Here&#8217;s a neat shortcut for doing selectable screen captures on a Mac:&#160;⌘⇧4 (Command &#8211; Shift &#8211; 4) &#8211; will change your cursor and allow you to select a region on the screen to capture.  After highlighting the region release the mouse button and voila!.. a new image file will be saved to your desktop [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a neat shortcut for doing selectable screen captures on a Mac:<br />&nbsp;<br /><b>⌘⇧4</b> (Command &#8211; Shift &#8211; 4) &#8211; will change your cursor and allow you to select a region on the screen to capture.  After highlighting the region release the mouse button and voila!.. a new image file will be saved to your desktop of the selected region. <br /><b>⌘⇧3 </b>(Command &#8211; Shift &#8211; 3) &#8211; will take a screen capture of your entire desktop.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Keyboard+Shortcuts+For+MacOSX+%28screen+capture%29+http://w2tpk.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Keyboard+Shortcuts+For+MacOSX+%28screen+capture%29+http://w2tpk.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install a specific software version using Mac Ports</title>
		<link>http://www.codedrop.ca/blog/archives/56</link>
		<comments>http://www.codedrop.ca/blog/archives/56#comments</comments>
		<pubDate>Tue, 09 Dec 2008 03:22:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=56</guid>
		<description><![CDATA[MacPorts is the preferred way of installing, managing, and upgrading ports of some the software I have on my Mac.&#160; Unfortunately mac ports does not let you specify a version.&#160; To mediate this you can create a local repository that is checked out to a specific version and install from there.
This example is how to [...]]]></description>
			<content:encoded><![CDATA[<p>MacPorts is the preferred way of installing, managing, and upgrading ports of some the software I have on my Mac.&nbsp; Unfortunately mac ports does not let you specify a version.&nbsp; To mediate this you can create a local repository that is checked out to a specific version and install from there.</p>
<p>This example is how to install ruby version 1.8.5-p12. </p>
<p><b>1) Find out the svn revision number of the Portfile by looking in:</b></p>
<p>http://trac.macosforge.org/projects/macports/log/trunk/dports/lang/ruby/Portfile</p>
<p>In my case it is 21127.</p>
<p><b>2) Set up a local port repository. In the file /opt/local/etc/macports/sources.conf, add this line before the rsync line:</b>
<p>file:///Users/Shared/dports and create that directory.</p>
<p><b>3) Install the port into your local repository.</b>
<p><typo:code>cd /Users/Shared/dports &amp;&amp; svn co –revision 21127<br />http://svn.macports.org/repository/macports/trunk/dports/lang/ruby/<br />lang/ruby/</typo:code></p>
<p><b>4) Run portindex so that ports now finds your new (old) version of ruby.</b>
<p><typo:code>portindex /Users/Shared/dports</typo:code></p>
<p><b>5) Now you should be able to see ruby @1.8.5-p12 in addition to @1.8.6 by running:</b></p>
<p><typo:code>port list</typo:code></p>
<p><b>6) Install Ruby</b>
<p><typo:code>sudo port install ruby @1.8.5-p12</typo:code></p>
<p>You should be up and running now, so to check, run:
<p><typo:code>ruby -v</typo:code></p>
<p>You will see something like this:
<p><typo:code>ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.10.1]</typo:code></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=How+to+install+a+specific+software+version+using+Mac+Ports+http://sb2hz.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=How+to+install+a+specific+software+version+using+Mac+Ports+http://sb2hz.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/56/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OSX Script To Toggle Hidden Files</title>
		<link>http://www.codedrop.ca/blog/archives/55</link>
		<comments>http://www.codedrop.ca/blog/archives/55#comments</comments>
		<pubDate>Mon, 24 Nov 2008 20:20:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=55</guid>
		<description><![CDATA[Working in a Mac environment I often find myself needing access to the system directories that are typically hidden by Finder.  I recently stumbled across the following script that I find quite useful for toggling back / forth between standard and full views.
Open ScriptEditor and save the following script:
try
set dotVisible to do shell script &#8220;defaults [...]]]></description>
			<content:encoded><![CDATA[<p>Working in a Mac environment I often find myself needing access to the system directories that are typically hidden by Finder.  I recently stumbled across the following script that I find quite useful for toggling back / forth between standard and full views.</p>
<p>Open ScriptEditor and save the following script:</p>
<p><font color="#330000"><small><font face="Courier New">try<br />
set dotVisible to do shell script &#8220;defaults read com.apple.finder AppleShowAllFiles&#8221;</p>
<p>on error errorMessage number errorNumber<br />
set dotVisible to 0<br />
end try</font></small></font></p>
<p><font color="#330000"><small><font face="Courier New">if dotVisible = &#8220;0&#8243; then<br />
do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles 1&#8243;<br />
else<br />
do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles 0&#8243;<br />
end if</font></small></font></p>
<p><font color="#330000"><small><font face="Courier New">tell application &#8220;Finder&#8221; to quit<br />
delay 1</font></small></font></p>
<p><font color="#330000"><small><font face="Courier New">tell application &#8220;Finder&#8221; to activate<br />
if dotVisible = &#8220;0&#8243; then<br />
say &#8220;VISIBLE&#8221;<br />
else<br />
say &#8220;HIDDEN&#8221;<br />
end if</font></small></font></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Mac+OSX+Script+To+Toggle+Hidden+Files+http://4kmq2.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Mac+OSX+Script+To+Toggle+Hidden+Files+http://4kmq2.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/55/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
