<?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>Daniel Tillett &#187; Apple</title>
	<atom:link href="http://www.tillett.info/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tillett.info</link>
	<description>Just my blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:22:11 +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>Installing Windows 7 on Mac Mini without a MacOS X Lion Partition</title>
		<link>http://www.tillett.info/2011/10/14/installing-windows-7-on-mac-mini-without-a-macos-x-lion-partition/</link>
		<comments>http://www.tillett.info/2011/10/14/installing-windows-7-on-mac-mini-without-a-macos-x-lion-partition/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 07:28:02 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.tillett.info/?p=145</guid>
		<description><![CDATA[The Apple mac mini make a rather nice silent and quite powerful Windows box (there just isn&#8217;t any other hardware out there as good). The problem is if you install Windows 7 you have to keep a Mac OS partition if you use BootCamp which is a waste of drive space. The second problem is [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>The Apple mac mini make a rather nice silent and quite powerful Windows box (there just isn&#8217;t any other hardware out there as good). The problem is if you install Windows 7 you have to keep a Mac OS partition if you use BootCamp which is a waste of drive space. The second problem is the new mac minis don&#8217;t have a DVD drive anymore so it is not possible to install from a Window 7 DVD. The final problem is you need all the drivers that Apple supplies, so even if you manage to install from a image it would not work.</p>
<p>It occurred to me that it might not be necessary to keep the MAC OS X partition if I installed from the BootCamp created USB installer. This would allow me to remove the Mac OS X partition in the Windows install process. I gave it a go and it worked. The basic procedure is as follows:</p>
<ol>
<li>Boot into Mac OS X Lion and use BootCamp to create the USB installer with the Apple drivers. You will need an Windows 7 iso image and a USB drive. I am not sure of the capacity you need for the drive, but the drive I used was 16 GB. Make sure you don&#8217;t have anything you want on the USB drive as it will be deleted in the process of creating the installer.</li>
<li>Restart the Mac Mini holding down the option key and select the USB drive to boot.</li>
<li>Windows 7 should start up and take you through the installation process. Select the custom installation and when it shows the hard drive delete all the Mac partitions and create a new partition for Windows. Continue with the installation as per normal.</li>
<li>Once you are in Windows 7 go to the USB drive and install the Apple drivers.</li>
<li>Now you have the drivers installed you can download and install all the Windows updates &#8211; so much fun :)</li>
</ol>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2011/10/14/installing-windows-7-on-mac-mini-without-a-macos-x-lion-partition/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2011/10/14/installing-windows-7-on-mac-mini-without-a-macos-x-lion-partition/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2011/10/14/installing-windows-7-on-mac-mini-without-a-macos-x-lion-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing CentOS 5.5 on a Intel Mac Mini</title>
		<link>http://www.tillett.info/2011/01/31/installing-centos-5-5-on-mac-mini-intel/</link>
		<comments>http://www.tillett.info/2011/01/31/installing-centos-5-5-on-mac-mini-intel/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 13:01:03 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[server admin]]></category>

		<guid isPermaLink="false">http://www.tillett.info/?p=98</guid>
		<description><![CDATA[If you want to install centos 5.5 on an intel mac mini it is pretty easy. My guess is the same process applied to other Apple computers, but I have not tried it on anything other than a mac mini. The mac mini is a really nice little server that takes up no space and [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>If you want to install centos 5.5 on an intel mac mini it is pretty easy. My guess is the same process applied to other Apple computers, but I have not tried it on anything other than a mac mini. The mac mini is a really nice little server that takes up no space and is totally silent &#8211; much better to live with than the dual xeon space heater I had to move out of my office.</p>
<ol>
<li>Boot off the <em>Mac OS X Install DVD</em> or from an external drive (I have a firewire drive with Mac OS X installed on it so this it is what I did). Go to the  <em>Utilities</em> folder in <em>Applications</em> and launch <em>Disk Utility</em> if booting off an external drive, or if booting off the <em>Install DVD</em> select  <em>Disk Utility</em> from the <em>Utilities</em> menu.</li>
<li>Click on the disk you want to install CentOS on to, then select <em>Partition</em> tab, then select 1 partitions and choose <em>MS-DOS (FAT)</em> as the format. Then click <em>options</em> and select <em>Master Boot Record</em>. Then click on <em>Apply</em> when you are done. Don&#8217;t click outside of this tab before pressing <em>Apply</em> or you will lose the MBR setting.</li>
<li>Once the partitioning is complete insert the first CentOS CD and reboot the mac mini.</li>
<li>Go through the standard centos install as per normal.</li>
</ol>
<p>On tip to watch for if you are behind a proxy like me is to not select to install the CentOS extras packages. What happens if you do is you get hung at this point of the install and will have to start over again from scratch. You can always install the extras latter by modifying the yum.conf file in /etc.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2011/01/31/installing-centos-5-5-on-mac-mini-intel/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2011/01/31/installing-centos-5-5-on-mac-mini-intel/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2011/01/31/installing-centos-5-5-on-mac-mini-intel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Splint on Mac OSX</title>
		<link>http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/</link>
		<comments>http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 12:50:42 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[programing]]></category>

		<guid isPermaLink="false">http://www.tillett.info/?p=92</guid>
		<description><![CDATA[Splint is a really useful utility to check your source code, but it doesn&#8217;t seem to be installed by default on os x. It is not too difficult to download the source and install except for the minor issue that it doesn&#8217;t build. The good news is it doesn&#8217;t take much to fix the build [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>Splint is a really useful utility to check your source code, but it doesn&#8217;t seem to be installed by default on os x. It is not too difficult to download the source and install except for the minor issue that it doesn&#8217;t build. The good news is it doesn&#8217;t take much to fix the build problem. Here are the instructions.</p>
<ol>
<li>Download the source from <a href="http://www.splint.org/downloads/splint-3.1.2.src.tgz">http://www.splint.org/downloads/splint-3.1.2.src.tgz</a></li>
<li>Open the .tgz file by double clicking.</li>
<li>Open a terminal window and <strong>cd</strong> to the <strong>splint-3.1.2</strong> folder</li>
<li>Configure by using <strong>./configure</strong></li>
<li>Open the osd.c file using <strong>nano src/osd.c</strong></li>
<li>Scroll down to around line 500 and change the line <strong>__pid_t pid = getpid ();</strong> to <strong>pid_t pid = getpid ();</strong> then save the file (control-x).</li>
<li>Type <strong>make install</strong> to install splint</li>
</ol>
<p>You should now be able to use splint (eg <em>splint foo.c</em>) and have a look at how many little issues are in your code :)</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing large numbers of duplicate emails from Mac OSX Mail</title>
		<link>http://www.tillett.info/2010/03/29/removing-large-numbers-of-duplicate-emails-from-mac-osx-mail/</link>
		<comments>http://www.tillett.info/2010/03/29/removing-large-numbers-of-duplicate-emails-from-mac-osx-mail/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 00:27:56 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.tillett.info/?p=77</guid>
		<description><![CDATA[I was faced with the problem of having duplicate emails in some of my very large folders in Mail (some of my mail boxes have over 80,000 messages). There are applescripts for finding and removing duplicate messages, but they are very slow (~100 messages a minute) and so are not really viable on very large [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I was faced with the problem of having duplicate emails in some of my very large folders in <em>Mail</em> (some of my mail boxes have over 80,000 messages). There are applescripts for finding and removing duplicate messages, but they are very slow (~100 messages a minute) and so are not really viable on very large mail boxes  &#8211; at this rate it would take more than 5 days to process one of my large email folders. </p>
<p>One simple solution is to archive the mailbox and then use <code>formail</code> to strip out the duplicate messages, then importing the cleaned mbox back into <em>Mail</em>. This approach retains all the meta information like flags and attachments and is actually quite fast. The basic procedure is:</p>
<p>1. <strong>Rebuild the mail box.</strong> This is probably a good idea anyway.<br />
2. <strong>Archive the mail box.</strong> This will save a copy of your mailbox in standard mbox format which then formail can process.<br />
3. <strong>Open a terminal window</strong> and <code>cd</code> to the folder containing the new mbox archive.<br />
4 <strong>. Run the following formail command.</strong> This will create a copy of the mbox (mbox_new) with the duplicate messages removed. This will take around 5 minutes to process 80,000 messages.<br />
<code>formail -D 100000000 idcache < mbox -s > mbox_new</code><br />
5. <strong>Open <em>Mail</em> and <em>Import Mailboxes</em>.</strong> Select the mbox_new mbox. Once it finishes importing you will now have a new folder under <em>Import</em> with all the non-duplicate messages. It is a good idea to rebuild the folder before moving it back to where you want.<br />
6. <strong>Delete the archive.</strong> </p>
<p>This approach is much,much faster and has the advantage of working on a copy of your email data so if anything goes wrong you won&#8217;t mess up your current mailboxes.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2010/03/29/removing-large-numbers-of-duplicate-emails-from-mac-osx-mail/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2010/03/29/removing-large-numbers-of-duplicate-emails-from-mac-osx-mail/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2010/03/29/removing-large-numbers-of-duplicate-emails-from-mac-osx-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X compatible external web camera</title>
		<link>http://www.tillett.info/2010/02/16/mac-os-x-compatible-external-web-camera/</link>
		<comments>http://www.tillett.info/2010/02/16/mac-os-x-compatible-external-web-camera/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 03:32:56 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.tillett.info/?p=59</guid>
		<description><![CDATA[I use my macbook with an Apple 23 inch monitor at work and so I can&#8217;t use the inbuilt iSight camera. Since Apple stopped selling the external iSight camera there is not much choice for Apple compatible web cams since most of the web cameras on the market don&#8217;t come with Mac OS X drivers. [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I use my macbook with an Apple 23 inch monitor at work and so I can&#8217;t use the inbuilt iSight camera. Since Apple stopped selling the external iSight camera there is not much choice for Apple compatible web cams since most of the web cameras on the market don&#8217;t come with Mac OS X drivers. </p>
<p>One surprisingly option is the xbox360 web cam. This external usb camera works without any drivers and just plugs straight in and works. I managed to pick up a brand new one on eBay for A$35. The quality is pretty good and it sits without any problems on top of my monitor. Nice work microsoft.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2010/02/16/mac-os-x-compatible-external-web-camera/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2010/02/16/mac-os-x-compatible-external-web-camera/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2010/02/16/mac-os-x-compatible-external-web-camera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Bootcamp 2.1 and Windows XP SP3</title>
		<link>http://www.tillett.info/2009/08/26/apple-bootcamp-2-1-and-windows-xp-sp3/</link>
		<comments>http://www.tillett.info/2009/08/26/apple-bootcamp-2-1-and-windows-xp-sp3/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 07:17:07 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.tillett.info/?p=46</guid>
		<description><![CDATA[There is a problem with Bootcamp 2.1 in that you can&#8217;t install the Apple drivers under Windows XP SP3. I recently bought a new MacBook Pro and installed Windows XP SP3 from an image and then tried to update the XP hardware drivers using bootcamp 2.1. This didn&#8217;t work an instead gave a nice cryptic [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>There is a problem with Bootcamp 2.1 in that you can&#8217;t install the Apple drivers under Windows XP SP3. I recently bought a new MacBook Pro and installed Windows XP SP3 from an image and then tried to update the XP hardware drivers using bootcamp 2.1. This didn&#8217;t work an instead gave a nice cryptic error 2762. It seems it is not possible to install the drivers manually either as windows can&#8217;t install the drivers for the wireless network, iSight camera, and trackpad.</p>
<p>The solution is to install XP from a SP2 image (luckily I had kept one), then install the drivers, and then upgrade to SP3. I hope this saves someone a bit of time.</p>
<p>Update. This has apparently been fixed in snow leopard. I guess another reason to update.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2009/08/26/apple-bootcamp-2-1-and-windows-xp-sp3/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2009/08/26/apple-bootcamp-2-1-and-windows-xp-sp3/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2009/08/26/apple-bootcamp-2-1-and-windows-xp-sp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

