<?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>Christi Toa &#187; apple</title>
	<atom:link href="http://www.christitoa.com/ct/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christitoa.com/ct</link>
	<description>it&#039;s pronounced &#34;toh&#34;, not &#34;toh-ah&#34;</description>
	<lastBuildDate>Fri, 28 May 2010 02:59:37 +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>Auto mount drives on Leopard with AppleScript</title>
		<link>http://www.christitoa.com/ct/2010/02/17/auto-mount-drives-on-leopard-with-applescript/</link>
		<comments>http://www.christitoa.com/ct/2010/02/17/auto-mount-drives-on-leopard-with-applescript/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 23:55:26 +0000</pubDate>
		<dc:creator>Christi</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://www.christitoa.com/?p=583</guid>
		<description><![CDATA[
tell application "Finder"
	if exists disk "Shared_Vol" then
	else
		mount volume "afp://user@myserver.com/Shared_Vol"
	end if
	if exists disk "input" then
	else
		mount volume "smb://user:passw0rd@mywindowsbox.com/input"
	end if
end tell

To run it from command line or crontab:

osascript theAppleScript.scpt

]]></description>
			<content:encoded><![CDATA[<pre class="brush:shell">
tell application "Finder"
	if exists disk "Shared_Vol" then
	else
		mount volume "afp://user@myserver.com/Shared_Vol"
	end if
	if exists disk "input" then
	else
		mount volume "smb://user:passw0rd@mywindowsbox.com/input"
	end if
end tell
</pre>
<p>To run it from command line or crontab:</p>
<pre class="brush:shell">
osascript theAppleScript.scpt
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.christitoa.com/ct/2010/02/17/auto-mount-drives-on-leopard-with-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aperture 3 Released!</title>
		<link>http://www.christitoa.com/ct/2010/02/09/aperture-3-released-2/</link>
		<comments>http://www.christitoa.com/ct/2010/02/09/aperture-3-released-2/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 17:43:23 +0000</pubDate>
		<dc:creator>Christi</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[aperture]]></category>

		<guid isPermaLink="false">http://www.christitoa.com/?p=536</guid>
		<description><![CDATA[Apple just released Aperture 3 and I&#8217;m salivating all over it! There are tools that I would love to use in Photoshop but it&#8217;s just a hassle to switch between Aperture and Photoshop that I just gave up about it. Now, it&#8217;s built into Aperture! Wooooot!

]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Apple just released Aperture 3 and I&#8217;m salivating all over it! There are tools that I would love to use in Photoshop but it&#8217;s just a hassle to switch between Aperture and Photoshop that I just gave up about it. Now, it&#8217;s built into Aperture! Wooooot!</p>
<p><a href="http://www.apple.com/aperture/"><img class="alignleft" src="http://images.apple.com/aperture/images/overview-hero-20091020.png" alt="Apple Aperture 3" width="496" height="239" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christitoa.com/ct/2010/02/09/aperture-3-released-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight 3 and Hackintosh</title>
		<link>http://www.christitoa.com/ct/2009/07/13/silverlight-3-and-hackintosh/</link>
		<comments>http://www.christitoa.com/ct/2009/07/13/silverlight-3-and-hackintosh/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 05:21:08 +0000</pubDate>
		<dc:creator>Christi</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[hackintosh]]></category>

		<guid isPermaLink="false">http://www.christitoa.com/?p=441</guid>
		<description><![CDATA[Microsoft recently released Silverlight 3. As most of you know, the silverlight installer checks if you&#8217;re using an Intel Mac before it allows you to continue the installation. If you did not configure well / did a vanilla install, the installer will halt and informs you that you are using a PPC machine even though [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft recently released Silverlight 3. As most of you know, the silverlight installer checks if you&#8217;re using an Intel Mac before it allows you to continue the installation. If you did not configure well / did a vanilla install, the installer will halt and informs you that you are using a PPC machine even though your hackintosh is running on Intel. I repackaged the installer to ignore the system check.</p>
<p><a title="Silverlight 3" href="http://rapidshare.com/files/255597366/Silverlight.3.0.pkg.zip" target="_blank">Here&#8217;s the link.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.christitoa.com/ct/2009/07/13/silverlight-3-and-hackintosh/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Opening New terminal in Leopard in the Current or Other Specified Directory</title>
		<link>http://www.christitoa.com/ct/2009/02/22/opening-new-terminal-in-leopard-in-the-current-or-other-specified-directory/</link>
		<comments>http://www.christitoa.com/ct/2009/02/22/opening-new-terminal-in-leopard-in-the-current-or-other-specified-directory/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 05:23:08 +0000</pubDate>
		<dc:creator>Christi</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.christitoa.com/?p=320</guid>
		<description><![CDATA[Found this tip over at macosxhints.com and also tlrobinson.net to be very useful. I don&#8217;t know how many times I&#8217;ve always open a new terminal with cmd-n and slowly cd into the current directory of the other terminal window. 
However, both guides had something lacking from each other. The guide from macosxhints.com can&#8217;t be completed because I can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Found this tip over at <a title="Open new Terminal Window at current terminal directory" href="http://www.macosxhints.com/article.php?story=20030508060348383" target="_blank">macosxhints.com</a> and also <a title="Open new Terminal window in current (or other specified) directory" href="http://tlrobinson.net/blog/2007/09/07/open-new-terminal-window-in-current-or-other-specified-directory/" target="_blank">tlrobinson.net</a> to be very useful. I don&#8217;t know how many times I&#8217;ve always open a new terminal with cmd-n and slowly cd into the current directory of the other terminal window. </p>
<p>However, both guides had something lacking from each other. The guide from <a title="Open new Terminal Window at current terminal directory" href="http://www.macosxhints.com/article.php?story=20030508060348383" target="_blank">macosxhints.com</a> can&#8217;t be completed because I can&#8217;t find a function called rehash in Leopard and it can&#8217;t open a new terminal in another specified directory like the ones from <a title="Open new Terminal window in current (or other specified) directory" href="http://tlrobinson.net/blog/2007/09/07/open-new-terminal-window-in-current-or-other-specified-directory/" target="_blank">tlrobinson.net</a>. The guide from <a title="Open new Terminal window in current (or other specified) directory" href="http://tlrobinson.net/blog/2007/09/07/open-new-terminal-window-in-current-or-other-specified-directory/" target="_blank">tlrobinson.net</a> was almost perfect but it would fail to launch a new terminal if your current terminal path consist of spaces in the directory. (e.g. /directory1/directory with spaces/another directory). Therefore, I just merge both of their guides together to have the best of both worlds: </p>
<pre class="brush:shell">
#!/bin/sh

if [ $# -ne 1 ]; then
    PATHDIR=`pwd`
else
    PATHDIR=$1
fi

osascript &lt;&lt; END
    tell app "Terminal" to do script "cd \"$PATHDIR\""
END
</pre>
<p>Just paste the above code in any directory you like. I created a folder &#8216;bin&#8217; in my home directory to store all my custom executables and added the following into my .bash_profile: </p>
<pre lang="bash">export PATH="${HOME}/bin:${PATH}</pre>
<p>I then also added the following in my .bash_profile</p>
<pre class="brush:shell">alias term="sh term.sh"</pre>
<p>You can now either close your current terminal window and open a new one or do
<pre class="brush:shell">source .bash_profile</pre>
<p> to have the new changes in your .bash_profile to take effect on your current terminal.</p>
<p>With this, you can now open a new terminal window at your current directory with
<pre class="brush:shell">term</pre>
<p> or open a new terminal at another path with
<pre class="brush:shell">term /somewhere/you/want/to/go</pre>
<p> or even open multiple terminal windows with
<pre class="brush:shell">term; term;</pre>
<p>A majority of the guide above is taken from the authors of <a title="Open new Terminal window in current (or other specified) directory" href="http://tlrobinson.net/blog/2007/09/07/open-new-terminal-window-in-current-or-other-specified-directory/" target="_blank">tlrobinson.net</a> and <a title="Open new Terminal Window at current terminal directory" href="http://www.macosxhints.com/article.php?story=20030508060348383" target="_blank">macosxhints.com</a>. Therefore, credits and appreciation must be given to both these sites: <a title="Open new Terminal window in current (or other specified) directory" href="http://tlrobinson.net/blog/2007/09/07/open-new-terminal-window-in-current-or-other-specified-directory/" target="_blank">tlrobinson.net</a> and <a title="Open new Terminal Window at current terminal directory" href="http://www.macosxhints.com/article.php?story=20030508060348383" target="_blank">macosxhints.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christitoa.com/ct/2009/02/22/opening-new-terminal-in-leopard-in-the-current-or-other-specified-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac HDD Cloning and Prebinding Issues</title>
		<link>http://www.christitoa.com/ct/2008/12/07/mac-hdd-cloning-and-prebinding-issues/</link>
		<comments>http://www.christitoa.com/ct/2008/12/07/mac-hdd-cloning-and-prebinding-issues/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 05:41:38 +0000</pubDate>
		<dc:creator>Christi</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.christitoa.com/?p=271</guid>
		<description><![CDATA[Recently, I cloned my hard disk using SuperDuper!. After a successful cloning, I could boot the cloned drive but was unable to open any of my applications. Each time I tried to open an application, it crashes instantly; even the Terminal. So I did a bit of googling and found that Leopard and SuperDuper sometimes [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I cloned my hard disk using <a title="SuperDuper!" href="http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html" target="_blank">SuperDuper!</a>. After a successful cloning, I could boot the cloned drive but was unable to open any of my applications. Each time I tried to open an application, it crashes instantly; even the Terminal. So I did a bit of googling and found that Leopard and SuperDuper sometimes has some prebinding issues after cloning. So, to solve it, boot into your original drive, launch Terminal and enter the following command:</p>
<pre class="brush:bash">>sudo update_prebinding -root /Volumes/NameOfDrive -force</pre>
<p>Once that&#8217;s done, reboot your Mac with your cloned drive and everything should be up and running!</p>
<p>tip: If you&#8217;re using an Intel Mac, you can boot your Mac with an External HDD (USB or Firewire) by pressing the Option key when you first turn on your Mac.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christitoa.com/ct/2008/12/07/mac-hdd-cloning-and-prebinding-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
