<?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>onidle(...) &#187; Mac OS X</title>
	<atom:link href="http://journal.onidle.com/category/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://journal.onidle.com</link>
	<description>Ruby, Rails, Macs, baked beans...</description>
	<lastBuildDate>Fri, 01 Feb 2008 01:30:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;Fixing&#8221; The Leopard Dock</title>
		<link>http://journal.onidle.com/2007/10/fixing-the-leopard-dock/</link>
		<comments>http://journal.onidle.com/2007/10/fixing-the-leopard-dock/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 18:04:55 +0000</pubDate>
		<dc:creator>Tom Brice</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://journal.onidle.com/2007/10/fixing-the-leopard-dock/</guid>
		<description><![CDATA[	The questionable Leopard dock &#8220;shelf&#8221; has been on a few mac users minds of late.  Personally, I&#8217;m not a fan of the 3D glass shelf so I was quite relieved to see that there is a plist hack to fix it
	Cut to the chase, here is a quick Applescript to toggle the dock from [...]]]></description>
			<content:encoded><![CDATA[	<p>The questionable <a href="http://apple.com/macosx/">Leopard</a> dock &#8220;shelf&#8221; has been on a few mac users minds of late.  Personally, I&#8217;m not a fan of the 3D glass shelf so I was quite relieved to see that there is a <a href="http://lime.quickshareit.com/share/picture1d2a37.png">plist hack to fix it</a></p>
	<p>Cut to the chase, here is a quick <a href="http://www.apple.com/applescript/">Applescript</a> to toggle the dock from &#8220;shelf&#8221; to traditional bar and back:<br />
<a href='http://journal.onidle.com/wp-content/uploads/2007/10/toggle-dock-appearance.txt' title='Toggle Dock Appearance code'>Toggle Dock Appearance code</a></p>
	<p>download a <a href='http://journal.onidle.com/wp-content/uploads/2007/10/toggle-dock-appearance.zip' title='Toggle Dock Appearance pre-compiled'>pre-complied Applet here</a></p>


 ]]></content:encoded>
			<wfw:commentRss>http://journal.onidle.com/2007/10/fixing-the-leopard-dock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rotating Logs on OS X</title>
		<link>http://journal.onidle.com/2007/02/rotating-logs-on-os-x/</link>
		<comments>http://journal.onidle.com/2007/02/rotating-logs-on-os-x/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 21:38:05 +0000</pubDate>
		<dc:creator>Tom Brice</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://journal.onidle.com/2007/02/rotating-logs-on-os-x/</guid>
		<description><![CDATA[	I have a couple of rails sites running on an Xserve at work.  There are ways to rotate rails logs using Logger.  While it would be nice to just let rails take care of it, it seems that that technique will fail when you&#8217;re running a cluster of mongrels.  Those puppies write [...]]]></description>
			<content:encoded><![CDATA[	<p>I have a couple of rails sites running on an <a href="http://www.apple.com/xserve/">Xserve</a> at work.  <a href="http://snippets.dzone.com/posts/show/979">There are ways to rotate rails logs</a> using <a href="http://www.ruby-doc.org/stdlib/libdoc/logger/rdoc/">Logger</a>.  While it would be nice to just let rails take care of it, it seems that that technique will fail when you&#8217;re running a cluster of <a href="http://mongrel.rubyforge.org/">mongrels</a>.  Those puppies write to the same log, so if you pull it out from under them it will surely result in dreaded 500 errors.  That&#8217;s embarrassing.</p>
	<p><a href="http://mongrel.rubyforge.org/faq.html">Mongrel FAQ</a> advises us to use something like <a href="http://packages.debian.org/unstable/admin/logrotate"><code>logrotate</code></a>.  That&#8217;s a Debian package and it does not come with OS X.  I spent way too much time looking for a binary to use.  If you&#8217;re not a sysadmin this dark art of rotating logs can be deucedly tricky to nail down.  In the end, <a href="http://trac.macports.org/projects/macports/browser/trunk/dports/sysutils/logrotate/Portfile">MacPorts</a> to the rescue (again). I <code>&lt;heart&gt;</code> <a href="http://www.macports.org/">MacPorts</a>.  <em>BONUS</em>:  I can use it to rotate my Apache logs too.</p>

 ]]></content:encoded>
			<wfw:commentRss>http://journal.onidle.com/2007/02/rotating-logs-on-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
