<?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>BrockWoolf.com</title>
	<atom:link href="http://brockwoolf.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://brockwoolf.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 08:19:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Undo a Commit in TortoiseSVN</title>
		<link>http://brockwoolf.com/blog/undo-a-commit-in-tortoisesvn</link>
		<comments>http://brockwoolf.com/blog/undo-a-commit-in-tortoisesvn#comments</comments>
		<pubDate>Wed, 28 Jul 2010 08:19:24 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/?p=972</guid>
		<description><![CDATA[Go to Show Log Screen, select the revision that you want to undo, right click it and select Revert changes from this revision, this will do a reverse-merge. Source: http://stackoverflow.com/questions/248821/undoing-a-commit-in-tortoisesvn]]></description>
			<content:encoded><![CDATA[<p>Go to Show Log Screen, select the revision that you want to undo, right click it and select Revert changes from this revision, this will do a reverse-merge.</p>
<p>Source: http://stackoverflow.com/questions/248821/undoing-a-commit-in-tortoisesvn</p>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/undo-a-commit-in-tortoisesvn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Mac Clipboard to iPad/iPhone (Using Automator + Dropbox)</title>
		<link>http://brockwoolf.com/blog/copy-mac-clipboard-to-ipad</link>
		<comments>http://brockwoolf.com/blog/copy-mac-clipboard-to-ipad#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:51:11 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[Automator]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/955</guid>
		<description><![CDATA[I came  up with a super useful way to copy the clipboard from OS X straight to your iPad or iPhone! Everything you need is free. Only pre-reqs are Dropbox and Automator. I've only tried this on Snow Leopard and I'm not sure if it works on Leopard. I use this to get URLs onto [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.dropbox.com"><img class="size-full wp-image-958  aligncenter" title="Dropbox-Logo" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/06/Dropbox-Logo.png" alt="" width="241" height="79" /></a></p>
<p>I came  up with a super useful way to copy the clipboard from OS X straight to your iPad or iPhone!<br />
Everything you need is free. Only pre-reqs are Dropbox and Automator. I've only tried this on Snow Leopard and I'm not sure if it works on Leopard. I use this to get URLs onto the iPad, notes and it even works pretty well if you need to copy a Wifi password without syncing to iTunes. Best thing about it is that the copy process is near instantaneous!</p>
<p>It's pretty simple and works like this:</p>
<ol>
<li>Select text</li>
<li>Right click -&gt; <strong>Copy to iPad (Dropbox)</strong></li>
</ol>
<p>See it in action:</p>
<p><img class="alignnone size-full wp-image-952" title="Copy-To-iPad" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/06/Copy-To-iPad.png" alt="" width="402" height="259" /></p>
<p>Wooo! Now first, make sure you have <a href="http://www.google.com.au/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBgQFjAA&amp;url=http%3A%2F%2Fwww.dropbox.com%2F&amp;ei=lU4aTIS2OpOinQeZ4tSeCg&amp;usg=AFQjCNGLRmWLy_c8ebbz09BgsukcLpmnwQ&amp;sig2=qCB3DLfhArgolsQkVOWCDw">Dropbox</a> installed on both your Mac and iPad (Free)<br />
Then we need to make a simple to make Automator service:</p>
<ol>
<li>Open Automator.</li>
<li>Choose "Service".</li>
<li>Search for "Run Shell Script".</li>
<li>You want the <strong>/bin/bash</strong> shell (should be default option).</li>
<li>Type in the following:</li>
<blockquote><p>cat &gt; ~/Dropbox/Mac-Clipboard.txt</p></blockquote>
<li>Save the Service.</li>
<li>Make sure it looks like this:</li>
<p><img class="alignnone size-full wp-image-953" title="Automator-Action-iPad" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/06/Automator-Action-iPad.png" alt="" width="504" height="252" /></p>
<li>You're done!</li>
</ol>
<p>Now all you ever need to do is right click on some text, pretty much anywhere, choose it from the menu we created. Since the clipboard's contents are normally very small (say less than 500kb) your upload to Dropbox should be pretty much instantaneous! When you open DropBox on your iPad, the copied text will be waiting. <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_hot.png' alt='8)' class='wp-smiley' />  <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_hot.png' alt='8)' class='wp-smiley' />  <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_hot.png' alt='8)' class='wp-smiley' /> </p>
<p>After some more thinking about making this better I thought it would be good to do something like this for images using an RTF file format and a Python script. I abandoned the idea since Python doesn't have an RTF writer built-in so you would have to download it separately, make it, blah... blah... it was just getting too complicated. It's best to keep it simple and if you really want images, just copy them to  your Dropbox <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_wink.gif' alt=':wink:' class='wp-smiley' /> </p>
<p>If you liked this tip or think you can improve it in someway, be sure to leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/copy-mac-clipboard-to-ipad/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Shell Scripts for QNAP TS-410</title>
		<link>http://brockwoolf.com/blog/shell-scripts-for-qnap-ts-410</link>
		<comments>http://brockwoolf.com/blog/shell-scripts-for-qnap-ts-410#comments</comments>
		<pubDate>Thu, 03 Jun 2010 20:34:41 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[QNAP]]></category>
		<category><![CDATA[Shell Scripting]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/?p=922</guid>
		<description><![CDATA[This post follows setting up a QNAP TS-410. Scripts Transmission:]]></description>
			<content:encoded><![CDATA[<p>This post follows setting up a QNAP TS-410.</p>
<h3>Scripts</h3>
<ol>
<li><strong>Transmission</strong>: <a class="downloadlink" href="http://brockwoolf.com/blog/wordpress/wp-content/plugins/download-monitor/download.php?id=1" title=" downloaded 38 times" >Transmission-NotifyCompletedTorrents (38)</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/shell-scripts-for-qnap-ts-410/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Copying Files with SCP</title>
		<link>http://brockwoolf.com/blog/copying-files-with-scp</link>
		<comments>http://brockwoolf.com/blog/copying-files-with-scp#comments</comments>
		<pubDate>Tue, 25 May 2010 14:39:56 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/?p=910</guid>
		<description><![CDATA[When you want to copy files from one server to another, or remote to local copying. SCP is your tool. A typical scenario is I'm SSH'ed into a remote server and I want to copy a file on my Mac, to the Remote machine I'm sshed into. You can copy the "remote" file with this [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to copy files from one server to another, or remote to local copying.<br />
SCP is your tool.</p>
<p>A typical scenario is I'm SSH'ed into a remote server and I want to copy a file on my Mac, to the Remote machine I'm sshed into.</p>
<p>You can copy the "remote" file with this command:</p>
<blockquote><p>scp -r brock@192.168.1.6:/remoteDirectory /localDirectory</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/copying-files-with-scp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rsync for Local Directory Mirroring</title>
		<link>http://brockwoolf.com/blog/rsync-for-local-directory-mirroring</link>
		<comments>http://brockwoolf.com/blog/rsync-for-local-directory-mirroring#comments</comments>
		<pubDate>Mon, 24 May 2010 21:56:03 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/rsync-for-local-copying</guid>
		<description><![CDATA[Just a quick post on using the amazing rsync. Copy a local directory's contents /Volumes/src/ note the trailing slash, then place those contains inside /Volumes/des. rsync -Pva /Volumes/src/ /Volumes/des Key rsync Options Option Description -P shows progress during the transfer -v Turn on verbose mode -a This turns on archive mode. Bascially this causes rsync to [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick post on using the amazing rsync.</p>
<p>Copy a local directory's contents <code>/Volumes/src<strong>/</strong></code> note the trailing slash, then place those contains inside <code>/Volumes/des</code>.</p>
<blockquote><p>rsync -Pva /Volumes/src/ /Volumes/des</p></blockquote>
<table border="1">
<caption><strong>Key rsync Options</strong></caption>
<tbody>
<tr>
<th>Option</th>
<th>Description</th>
</tr>
<tr>
<td>-P</td>
<td>shows progress during the transfer</td>
</tr>
<tr>
<td>-v</td>
<td>Turn on verbose mode</td>
</tr>
<tr>
<td>-a</td>
<td>This turns on archive mode. Bascially this causes <code>rsync</code> to recurse the directory copying all the files and directories and perserving things like case, permissions, and ownership on the target. (Note: Ownership may not be preserved if you are not logged in as the root user.)</td>
</tr>
<tr>
<td>-z</td>
<td>Turns on compression during the transfer. This option compresses the data as it is copied over the network.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/rsync-for-local-directory-mirroring/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a QNAP TS-410 Raid NAS</title>
		<link>http://brockwoolf.com/blog/building-a-qnap-ts410-raid-nas</link>
		<comments>http://brockwoolf.com/blog/building-a-qnap-ts410-raid-nas#comments</comments>
		<pubDate>Sat, 22 May 2010 06:41:33 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[QNAP]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/?p=855</guid>
		<description><![CDATA[Update: Shell Scripts for QNAP BusyBox Linux I recently acquired a QNAP TS-410 and thus far has been time consuming to setup. These things are great, but you can't just buy them, plug your drives in and have it working in 5 mins like an external drive... The problem is not with the NAS itself, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<p style="text-align: center;"><img class="size-full wp-image-856 aligncenter" title="Screen shot 2010-05-22  at 2.37.05 PM" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/Screen-shot-2010-05-22-at-2.37.05-PM.png" alt="" width="458" height="56" /></p>
<p><strong>Update</strong>: <a href="http://brockwoolf.com/blog/shell-scripts-for-qnap-ts-410"><strong>Shell Scripts for QNAP BusyBox Linux</strong></a></p>
<p>I recently acquired a <a class="aligncenter" href="http://www.qnap.com/pro_detail_feature.asp?p_id=134">QNAP TS-410</a> and thus far has been time consuming to setup. These things are great, but you can't just buy them, plug your drives in and have it working in 5 mins like an external drive...</p>
<p>The problem is not with the NAS itself, which with it's little low powered Marvell 800mhz Arm (FTW) processor, has been working great. Rather the unreliable nature of spinning mechanical hard drives *cough* *western digital* *cough* <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_smiley.png' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-855"></span></p>
<p>The QNAP is setup as a RAID-5, because RAID-6 is just too much storage overhead and I would hate to build a raid 6 on an 800Mhz processor. The reported build time for a RAID-6 can be as much as 2.5 times longer than to build a RAID-5. Considering the ~25 hours to do the current setup, I think 75 hours would be totally unacceptable.</p>
<p>I bought three of those <a href="http://www.wdc.com/en/products/products.asp?driveid=773">Western Digital 2TB Green Power</a> drives (WD20EARS) primarily because they are low power, like the NAS. It took me about 5 hours to build the RAID, then another ~20 hours to syncronise the RAID, during which I could use the raid, but very slowly (~2MB write/sec). Drive bays 1 and 3 were running fine after the RAID finished, but the raid reported a "degraded state" and an issue with drive 2.</p>
<p>While rebuilding the RAID I found out you can actually <a href="http://forum.qnap.com/viewtopic.php?f=11&amp;t=10268">increase the RAID build time</a>, by giving more priority to the bild process with these commands to get the build speeds:</p>
<blockquote><p>cat /proc/sys/dev/raid/speed_limit_max<br />
200000<br />
cat  /proc/sys/dev/raid/speed_limit_min<br />
1000</p></blockquote>
<p>Changing the minimum build speed (in MB) can be achieved like so:</p>
<blockquote><p>echo 50000 &gt;/proc/sys/dev/raid/speed_limit_min</p></blockquote>
<p>My advice is to run at max (makes the build and sync so much faster):</p>
<blockquote><p>echo 200000 &gt;/proc/sys/dev/raid/speed_limit_min</p></blockquote>
<p>I soon discovered that the misbehaving drive had infact, 331 bad sectors. Yet the "smart" technology reported "Good". Yikes! ...and it was only 2 days old.</p>
<p><a href="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/Bad-Drive.png"><img class="aligncenter size-medium wp-image-872" title="Bad Drive" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/Bad-Drive-500x340.png" alt="" width="500" height="340" /></a></p>
<p>Still, i wasn't that surprised, I've bought many drives before that have died on me immediately or within the first six months of owning them (Samsung, Western Digital, Maxtor). I've never owned Seagate drives so I can't comment. I've heard others report bad Seagates, but in my experience I've never had as many go bad as those Maxtor 40-60GB Fireball drives, back in the day.</p>
<p style="text-align: left;">I got the WD drive replaced from the guys at PLE straight away with no questions asked. The RAID is now rebuilding and we shall see if all goes well.</p>
<p style="text-align: left;">Even with the issues so far, I am glad that I bought the QNAP (and not the Drobo) as I have the full power of Linux (without the hassle of setting it up). It's very cool being able to SSH into my NAS and configure things like RAID rebuild speed, renice processes (AFPD &gt; SMBD) and it can even run BitTorrent and download stuff straight into itself. Drobo can't do that. Linux is very cool.</p>
<blockquote>
<p style="text-align: left;">uname -a<br />
Linux Axiom 2.6.30.6 #1 Tue Apr 27 02:45:06 CST 2010 armv5tel</p>
</blockquote>
<p style="text-align: left;">
<p style="text-align: center;">
<div id="attachment_879" class="wp-caption aligncenter" style="width: 160px"><a href="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/TS-410_08.jpg"><img class="size-thumbnail wp-image-879  " title="TS-410" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/TS-410_08-150x150.jpg" alt="" width="150" height="150" /></a><p class="wp-caption-text">Picture of my NAS (just warning you the file is big ~1MB</p></div>
<p>Update: I had the problem with the WD EARS sector 4k alignment:</p>
<blockquote><p>fdisk -lu</p>
<div id="_mcePaste">Device Boot      Start         End      Blocks   Id  System</div>
<div id="_mcePaste">/dev/sda1   *          63     1060289      530113+  83  Linux</div>
<div id="_mcePaste">/dev/sda2         1060290     2120579      530145   82  Linux swap / Solaris</div>
<div id="_mcePaste">/dev/sda3         2120580  3906011969  1951945695   83  Linux</div>
<div id="_mcePaste">/dev/sda4      3906011970  3907007999      498015   83  Linux<br />
Device Boot      Start         End      Blocks   Id  System/dev/sda1   *          63     1060289      530113+  83  Linux/dev/sda2         1060290     2120579      530145   82  Linux swap / Solaris/dev/sda3      2120580  3906011969  1951945695   83  Linux/dev/sda4      3906011970  3907007999      498015   83  Linux</div>
</blockquote>
<p>Now have to do a <a href="http://wiki.qnap.com/wiki/Complete_Reinitialization">complete reinitialisation</a>. See <a href="http://forum.qnap.com/viewtopic.php?f=182&amp;t=25484&amp;start=50">here</a> for more info.</p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/building-a-qnap-ts410-raid-nas/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Interfaces Available in Wireshark on Mac OSX</title>
		<link>http://brockwoolf.com/blog/no-interfaces-available-in-wireshark-on-mac-osx</link>
		<comments>http://brockwoolf.com/blog/no-interfaces-available-in-wireshark-on-mac-osx#comments</comments>
		<pubDate>Wed, 12 May 2010 11:04:52 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/?p=842</guid>
		<description><![CDATA[Easy fix. You need to give Wireshark permission to access the network devices. sudo chown {your account name} /dev/bpf*]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<p><a href="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/Screen-shot-2010-05-12-at-7.10.06-PM.jpg"><img class="aligncenter size-full wp-image-850" title="Wireshark" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/05/Screen-shot-2010-05-12-at-7.10.06-PM.jpg" alt="Wireshark in Quicksilver" width="368" height="218" /></a></p>
<p>Easy fix. You need to give Wireshark permission to access the network devices.</p>
<p><code>sudo chown {your account name} /dev/bpf*</code></p>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/no-interfaces-available-in-wireshark-on-mac-osx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion Server on Mac OS X Leopard Server</title>
		<link>http://brockwoolf.com/blog/subversion-server-on-mac-os-x-leopard-server</link>
		<comments>http://brockwoolf.com/blog/subversion-server-on-mac-os-x-leopard-server#comments</comments>
		<pubDate>Sun, 07 Mar 2010 04:13:02 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS X Server]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/blog/?p=742</guid>
		<description><![CDATA[Nayan Hajratwala over at Agile Shrugged managed to write a really great article describing how he got Subversion repos running on Mac OS X Server. I got mine working on Mac OS X 10.5.8 but had to make a few different changes in order to get things working. His doesn't deal with multiple SVN repositories, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-799" title="Screen shot 2010-03-07 at 3.21.56 PM" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/03/Screen-shot-2010-03-07-at-3.21.56-PM.png" alt="Subversion and Mac OS X Server image" width="384" height="187" /></p>
<p>Nayan Hajratwala over at <a href="http://agileshrugged.com/blog/?p=14">Agile Shrugged</a> managed to write a really great article describing how he got Subversion repos running on Mac OS X Server.</p>
<p>I got mine working on Mac OS X 10.5.8 but had to make a few different changes in order to get things working. His doesn't deal with multiple SVN repositories, only with a single one. This isn't ideal and I highly doubt anyone would go to the trouble of installing a SVN server<span id="more-742"></span> and only ever need ONE svn repository.</p>
<p>I would suggest using <code>/opt/repos/svn</code> as the master path as the Open.collab.net developers <a href="http://blogs.open.collab.net/svn/subversion_server/">recommend doing it</a> this way on Mac OS X. </p>
<p>I'd be interested to know if you could make that an alias to an external drive with <code>svn</code> being a symbolic link inside the <code>/opt/repos</code> folder, which points to a location on an external volume like: <code>/Volumes/External HD/svn</code>. I will try this some day but if anyone knows if this actually works, please leave a comment.</p>
<h3>Step 1 - Create a root SVN folder</h3>
<p>Open <strong>Terminal.app</strong>:</p>
<blockquote><p>sudo mkdir -p /opt/repos/svn</p></blockquote>
<h3>Step 2 - Create your SVN repository</h3>
<blockquote><p>sudo svnadmin create /opt/repos/svn/test<br />
sudo chown -R www:www /opt/repos/svn</p></blockquote>
<p>The second line makes Apache own this path and everything inside it including your new repo.</p>
<h3>Step 3 – Configure the Apache web server via Server Admin</h3>
<p>Server Admin is located in <strong>/Applications/Server/Server Admin</strong>.</p>
<p>1. Click <strong>Web</strong> in the Sidebar</p>
<p>2. Click <strong>Settings</strong> in the top bar</p>
<p>3. Select the <strong>Modules</strong> tab</p>
<p>4. Check the following modules:</p>
<blockquote><p>authz_svn_module<br />
dav_module<br />
dav_fs_module<br />
dav_svn_module</p></blockquote>
<h3>Step 4 – Enable WebDAV on your site</h3>
<p>Reading comments, it seems that some people don't think you need this step. However for my configuration I'm pretty sure you do need to do this.</p>
<p>1. Click <strong>Sites</strong> in the top bar</p>
<p>2. Select your site</p>
<p>3. Click the <em>WebDAV</em> checkbox</p>
<h3>Step 5 - Create a Realm</h3>
<p>This will set up the OpenDirectory based security. We will be using <em>Basic</em> authentication only.</p>
<p>1. Select the <em>Realms</em> tab</p>
<p>2. Click “<strong>+</strong>” under the Realms box and enter the following:</p>
<ol> Realm Name: <strong>svn_realm</strong><br />
Authentication: <strong>Basic</strong><br />
Location: <strong>/svn</strong> (Note: You have to change the dropdown to 'Location', <strong>not</strong> 'Folder').</ol>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-770" title="osxserver-realmconfig" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/03/osxserver-realmconfig.png" alt="" width="503" height="260" /></p>
<p>3. Click “<strong>+</strong>” under the Users &amp; Groups box, and drag/drop the users/groups that you want to give access to. Also be sure to give them read/write privileges...then press the Save button.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-773" title="Picture 3" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/03/Picture-3.png" alt="" width="431" height="65" /></p>
<h3>Step 6 – Tweak the Apache config file</h3>
<p>There is no graphical UI to do this. So you need to use Terminal.app.</p>
<p>Edit the file under <code>/etc/apache2/sites</code> that corresponds to your site.</p>
<p>This should be a file starting with <code>000x</code>.</p>
<p>In the <code>&lt;location "/svn"&gt;</code> section, add the following three lines:</p>
<blockquote><p>DAV svn<br />
SVNParentPath /opt/repos/svn<br />
SVNListParentPath On</p></blockquote>
<p>This is what mine looks like:</p>
<p><img class="size-full wp-image-785 alignleft" title="Screen shot 2010-03-07 at 12.26.59 PM" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2010/03/Screen-shot-2010-03-07-at-12.26.59-PM.png" alt="" width="272" height="144" /></p>
<h3>Step 7 – Restart the web server</h3>
<p>You can do this from Server Admin ('Stop Web', then 'Start Web').</p>
<p>You should be able to access your repository at  <code>http://myserver/svn</code> or locally at: <code>http://localhost/svn</code></p>
<p>Be careful not to change any other settings in the Web portion of Server admin.</p>
<p>If you do it will change <code>DAV svn</code> to <code>DAV Off</code> again.</p>
<p>Free free to leave any comments and suggestions <img src='http://brockwoolf.com/blog/wordpress/wp-content/plugins/smilies-themer/MSN-Messenger/msn_smiley.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/subversion-server-on-mac-os-x-leopard-server/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Compile ODE 0.11.0 on Mac OS X 10.6</title>
		<link>http://brockwoolf.com/blog/compile-ode-0-11-0-on-mac-os-x-10-6</link>
		<comments>http://brockwoolf.com/blog/compile-ode-0-11-0-on-mac-os-x-10-6#comments</comments>
		<pubDate>Wed, 30 Dec 2009 02:54:43 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Physics Engines]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/?p=724</guid>
		<description><![CDATA[The Official ODE instructions for compiling on Mac OS (even Linux) are pretty useless. Their wiki and instruction files included with the source code contains 'generic' instrcutions that list at what worked years ago. It frustrates me that their entire project becauses useless on one platform because it takes an inner knowledge of ODE's development [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://opende.sourceforge.net/wiki/index.php/Manual_%28All%29#Before_You_Build">Official ODE instructions</a> for compiling on Mac OS (even Linux) are pretty useless. Their wiki and instruction files included with the source code contains 'generic' instrcutions that list at what worked years ago. It frustrates me that their entire project becauses useless on one platform because it takes an inner knowledge of ODE's development process in order to get the damn thing to build.</p>
<p>Macports doesn't install ODE correctly either. Macports installs a PPC binary on your system (even if you have an Intel Mac). So here is the correct way to compile ODE on a Mac.</p>
<p>Download the ODE Source Code from <a href="http://sourceforge.net/projects/opende/">Sourceforge</a>.</p>
<p>Extract the source <span id="more-724"></span>to a directory of your choosing (I use: <strong>/lib/ode-0.11.1</strong>)</p>
<p>Open a Terminal:</p>
<blockquote><p>cd build<br />
premake4 gmake --platform=universal32<br />
cd gmake<br />
make</p></blockquote>
<p>At this point you need to add in some flags to the makefile in order to get this to build on Intel correctly. So open <strong>ode.make</strong> and change the following 2 lines:</p>
<blockquote><p>cd ode-0.11.1/build/gmake<br />
vim ode.make</p></blockquote>
<p>You need to add <strong>-m32</strong> to the CXXFLAGS, which you can do by adding it to the CPPFLAGS (which uses CXXFLAGS. Find the line starting with <strong>CPPFLAGS </strong>and change it to this:</p>
<blockquote><p>CPPFLAGS  += -MMD -m32 $(DEFINES) $(INCLUDES)</p></blockquote>
<p>You also need to add <strong>-m32</strong> to LDFLAGS:</p>
<blockquote><p>LDFLAGS   += -m32 -dynamiclib -flat_namespace -framework Carbon</p></blockquote>
<p>Save and quit.</p>
<p>Build <strong>Release Libraries</strong>:</p>
<blockquote><p>make config=releasesingledll</p></blockquote>
<p>Build <strong>Debug Libraries</strong>:</p>
<blockquote><p>make config=debugsingledll</p></blockquote>
<p>This will build the libraries to here:</p>
<blockquote><p>ode-0.11.1/lib/ReleaseSingleDLL/libode_single.dylib<br />
ode-0.11.1/lib/DebugSingleDLL/libode_singled.dylib</p></blockquote>
<p>So there you go. Enjoy using ODE!</p>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/compile-ode-0-11-0-on-mac-os-x-10-6/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Compiling PAL with Bullet Physics 2.75 (Linux)</title>
		<link>http://brockwoolf.com/blog/compiling-pal-with-bullet-physics-2-75-linux</link>
		<comments>http://brockwoolf.com/blog/compiling-pal-with-bullet-physics-2-75-linux#comments</comments>
		<pubDate>Mon, 21 Dec 2009 16:52:46 +0000</pubDate>
		<dc:creator>Brock Woolf</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Physics Engines]]></category>

		<guid isPermaLink="false">http://brockwoolf.com/?p=698</guid>
		<description><![CDATA[Install Bullet (Download Link): cd bullet-2.75/ cmake . -G "Unix Makefiles" -DBUILD_EXTRAS=on -DBUILD_DEMOS=on -DCMAKE_BUILD_TYPE=Debug make Pretty simple. The demos will be built to bullet-2.75/demos/ and the Bullet libs are built to bullet-2.75/src/]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="bullet_logo-210-86" src="http://brockwoolf.com/blog/wordpress/wp-content/uploads/2009/12/bullet_logo-210-86.png" alt="bullet_logo-210-86" width="210" height="86" /></p>
<p><strong>Install Bullet (<a href="http://code.google.com/p/bullet/downloads/list" target="_blank">Download Link</a>):</strong></p>
<blockquote><p>cd bullet-2.75/<br />
cmake . -G "Unix Makefiles" -DBUILD_EXTRAS=on -DBUILD_DEMOS=on -DCMAKE_BUILD_TYPE=Debug<br />
make</p></blockquote>
<p>Pretty simple. The demos will be built to <strong>bullet-2.75/demos/</strong> and the Bullet libs are built to <strong>bullet-2.75/src/</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://brockwoolf.com/blog/compiling-pal-with-bullet-physics-2-75-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
