<?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"
	>

<channel>
	<title>John Blade's Homepage</title>
	<atom:link href="http://blade.lansmash.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blade.lansmash.com</link>
	<description>One man on one island.</description>
	<pubDate>Tue, 30 Sep 2008 00:40:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Drupal - &#8220;Content (missing)&#8221;</title>
		<link>http://blade.lansmash.com/2008/09/30/drupal-content-missing/</link>
		<comments>http://blade.lansmash.com/2008/09/30/drupal-content-missing/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:40:16 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
		
		<category><![CDATA[LanSmash]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Technical]]></category>

		<category><![CDATA[Drupal]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/09/30/drupal-content-missing/</guid>
		<description><![CDATA[I&#8217;ve started playing with Drupal and looking at moving a few sites over to it. In a late night session of bolting things together I ran into a bit of a snag with a few modules trying to create thumbnails on teaser articles.
Unfortunately when I installed the imagefield CCK module I ran into a snag [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started playing with Drupal and looking at moving a few sites over to it. In a late night session of bolting things together I ran into a bit of a snag with a few modules trying to <a href="http://drupal.org/node/101748">create thumbnails on teaser articles</a>.</p>
<p>Unfortunately when I installed the imagefield CCK module I ran into a snag where it wouldn&#8217;t allow me to continue without the &#8216;content&#8217; module which was missing.</p>
<p>I attempted to search for this missing module in the drupal module downloads section with no luck&#8230; <a href="http://drupal.org/search/node/type%3Aproject_project+content">http://drupal.org/search/node/type%3Aproject_project+content</a> gave me no joy at all.</p>
<p>Luckily, the a nice Drupal IRC user slapped me with a quick &#8216;CCK = content&#8217; line after I pleaded where this magical &#8216;Content&#8217; module is and of course after I installed the <a href="http://drupal.org/project/cck">CCK</a> module everything worked like a charm. I had thought I had already installed this module and was probably too tired to have checked this first&#8230;</p>
<p>So for any newbie Drupal users out there I hope you find this helpful tip on Google before you harass some poor sod on IRC&#8230; that way you might actually appear somewhat knowledgeable.</p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/09/30/drupal-content-missing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Splendour 2008</title>
		<link>http://blade.lansmash.com/2008/09/01/splendour-2008/</link>
		<comments>http://blade.lansmash.com/2008/09/01/splendour-2008/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 02:52:55 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
		
		<category><![CDATA[Diary]]></category>

		<category><![CDATA[Festival]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/09/01/splendour-2008/</guid>
		<description><![CDATA[Back for our Splendour bendour adventures Cara and I arrived in Byron ready to party!
Splendour was supposed to be in the new Yelgun venue, but due to some locals pissed off it doesn&#8217;t look it they&#8217;ll be able move it there for a few more years to come. Good news for us, because I&#8217;m not [...]]]></description>
			<content:encoded><![CDATA[<p>Back for our Splendour bendour adventures Cara and I arrived in Byron ready to party!</p>
<p>Splendour was supposed to be in the new Yelgun venue, but due to some <a href="http://www.finda.com.au/story/2008/07/16/note-of-discord-over-splendour-land-at-yelgun/">locals pissed off</a> it doesn&#8217;t look it they&#8217;ll be able move it there for a few more years to come. Good news for us, because I&#8217;m not the camper type and like warm showers after those long splendour days. My mate Steve managed to rent a house within walking distance to Belongil fields, so props to him for sorting that out. The typical LS crew came to Splendour this year (Myself, Cara, Steve, Nils, Katrina, Franger, Weberist, Kent, L. Barnard, and Stacky).</p>
<p>The new layout was excellent, a bit more space for restaurants since they&#8217;ve extended Splendour into the old camping grounds. Also means better toilets! No doubt the best place for a meal is the Spaghetti restaurant; hand made Spaghetti made on-site to fuel you through the days.</p>
<p><img src="http://blade.lansmash.com/wp-content/uploads/2008/09/200808081043.jpg" width="480" height="359" alt="200808081043.jpg" /></p>
<p>Pnau were full of energy and balloons! This was the first time I have seen them live and whilst their lead singer was shirtless and looked like a starved Ethiopian it was a lot of fun. Cara was disappointed her favourite song &#8220;Shock to My System&#8221; wasn&#8217;t played, but I guess they didn&#8217;t have the time to play it. Still I&#8217;d be happy to see them live again, was a good dance off!</p>
<div style="left;">
  <img src="http://blade.lansmash.com/wp-content/uploads/2008/09/ironmansayshadokuen.jpg" width="442" height="333" alt="Ironman says HADUKEN" />
</div>
<div style="left;">
  Even IronMan made an appearance seen here throwing a HADOUKEN!
</div>
<p>The finale capping it off for Splendour was none other then The Presets, who <strong>never</strong> disappoint&#8230; unless of course they cancel their tour. <img src='http://blade.lansmash.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> For me The Preset&#8217;s are the best live band I&#8217;ve seen (bar Daft Punk), they always have the people pumping and in good spirits. Lot&#8217;s of love The Presets.</p>
<p>Police dogs were in a big way this year. The main entrance funnelled the crowds through a choke point were there were police pups eager to sniff. I&#8217;ve heard it costs $40,000 a year to train these pooches and I guess this is where they make themselves justified.<br />
I spoke to a random girl waiting for a bus who had been processed by the police after her friend was sniffed and caught with ecstasy tablets. She told me that she wasn&#8217;t a drug user and didn&#8217;t have anything on her but was quite drunk. She had an option at the beginning to sign a form stating she was carrying illegal substances and therefore a criminal. Opting not to have a criminal record she was then put in a line to be processed; about half an hour later she was strip searched by a female officer and found to have nothing.<br />
Not exactly something I&#8217;d like to experience.</p>
<p>I suspect this will be my last Splendour for years to come; the old bodies just aren&#8217;t up to it these days&#8230; and what&#8217;s worse is Cara has been sick for a week after with the Splendid Virus&#8230; since so many people are sick we&#8217;re calling it &#8216;Splendour Aids&#8217;&#8230;</p>
<p>update: after 3 weeks I finally succumbed to the deadly virus and was horribly ill for a week. damn you Splendour! <img src='http://blade.lansmash.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/09/01/splendour-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Macbook Pro 320GB upgrade</title>
		<link>http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/</link>
		<comments>http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 00:00:27 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
		
		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/</guid>
		<description><![CDATA[Seeing my partner&#8217;s brand new MacBook Pro came with a spanking new 200GB harddisk I thought my measly 120GB disk was just not enough.
I found a nice Western Digital 320GB harddisk that was quite cheap, and set about taking my Macbook Pro apart. Note to self, not a good idea to start such projects on [...]]]></description>
			<content:encoded><![CDATA[<p>Seeing my partner&#8217;s brand new MacBook Pro came with a spanking new 200GB harddisk I thought my measly 120GB disk was just not enough.</p>
<p>I found a nice <a href="http://www.wdc.com/en/products/Products.asp?DriveID=377">Western Digital 320GB harddisk</a> that was quite cheap, and set about taking my <a href="http://www.ifixit.com/Guide/Mac/MacBook-Pro/Hard-Drive/">Macbook Pro apart</a>. Note to self, not a good idea to start such projects on the coffee table when drunk. The procedure went fairly smoothly since I had my Torx screwdrivers handy.</p>
<p>With the old harddisk out and the new one in I started installing a new copy of Mac OS X. I had my trusty USB <a href="http://www.anyware.com.au/Browse/d2e033c8ee284bc4a622161a74af4943001ItemDetail.aspx">harddisk recovery tool</a> handy so I was able to plug the old 120GB disk into the Mac&#8217;s USB port and use the <a href="http://www.apple.com/pro/tips/migration.html">Migration Assistant</a> to copy over my profile to the new drive.</p>
<p>I just love the Migration Assistant, without it this job would have been a longer more painful process&#8230;.</p>
<p>Anyhow, after two weeks of using the new drive I&#8217;ve had a minor catastrophe.</p>
<p>Coming home one afternoon I took out my bag and found Macbook to find it red hot. The machine had been running inside the bag and with no air circulation&#8230;. Yikes! I thought at first it might be something to do with the Sudden Motion Shock detection systems messing with the auto startup, but no it was the lid sensor.</p>
<p>I put the machine to sleep and held it up; pinching the closed lid made the machine start back up. Obviously the magnetic sensor that detects the position of the lid was slightly out of alignment. I&#8217;m sure an apple technician could re-align it, but instead I just changed the lidwake behaviour.</p>
<pre style="initial initial;">
<span style="2px;">$ <b>sudo pmset -a lidwake 0</b></span>
</pre>
<p>Typing this command sets the computer to not automagically start up when I open the lid, instead it starts when I hit a key or touch the mouse.</p>
<p>It&#8217;s not a bug, it&#8217;s a feature. <img src='http://blade.lansmash.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JB is on Google Maps</title>
		<link>http://blade.lansmash.com/2008/08/05/jb-is-on-google-maps/</link>
		<comments>http://blade.lansmash.com/2008/08/05/jb-is-on-google-maps/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 08:09:30 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
		
		<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/08/05/jb-is-on-google-maps/</guid>
		<description><![CDATA[Google has unveiled their street view support for Australia today and looky looky who is at the front of my unit complex!

Looks like I was unpacking gear from LanSmash on a Sunday. Yikes!

]]></description>
			<content:encoded><![CDATA[<p>Google has unveiled their street view support for Australia today and looky looky who is at the front of my unit complex!</p>
<p><img src="http://blade.lansmash.com/wp-content/uploads/2008/08/200808051803.jpg" width="480" height="283" alt="200808051803.jpg" /></p>
<p>Looks like I was unpacking gear from LanSmash on a Sunday. Yikes!</p>
<p><img src="http://blade.lansmash.com/wp-content/uploads/2008/08/200808051802.jpg" width="480" height="283" alt="200808051802.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/08/05/jb-is-on-google-maps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone get</title>
		<link>http://blade.lansmash.com/2008/07/25/iphone-get/</link>
		<comments>http://blade.lansmash.com/2008/07/25/iphone-get/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 08:12:04 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
		
		<category><![CDATA[Diary]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/08/05/iphone-get/</guid>
		<description><![CDATA[After a week of waiting after Launch, I gots my iPhone!
I&#8217;ve opted to switch to Optus as their plans are by far the best of any of the other Carriers. Telstra&#8217;s plans were a joke, and I&#8217;ve got no love for Telstra. Now, to make back the money spent by making squillions developing cool apps! [...]]]></description>
			<content:encoded><![CDATA[<p>After a week of waiting after Launch, I gots my iPhone!<img src="http://blade.lansmash.com/wp-content/uploads/2008/08/img-2281.jpg" alt="IMG_2281.jpg" width="360" height="480" /></p>
<p>I&#8217;ve opted to switch to <a href="http://personal.optus.com.au/web/ocaportal.portal?_nfpb=true&amp;_pageLabel=Template_wRHS&amp;FP=/personal/mobile/iphone3G&amp;site=personal">Optus</a> as their plans are by far the best of any of the other Carriers. Telstra&#8217;s plans were a joke, and I&#8217;ve got no love for Telstra. Now, to make back the money spent by making squillions developing cool apps! <img src='http://blade.lansmash.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/07/25/iphone-get/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MyBook backups with Rsnapshot and some bash trickey</title>
		<link>http://blade.lansmash.com/2008/06/20/mybook-backups-with-rsnapshot-and-some-bash-trickey/</link>
		<comments>http://blade.lansmash.com/2008/06/20/mybook-backups-with-rsnapshot-and-some-bash-trickey/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 02:13:11 +0000</pubDate>
		<dc:creator>JB Hewitt</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/06/20/mybook-backups-with-rsnapshot-and-some-bash-trickey/</guid>
		<description><![CDATA[I had a client accidentally purchase half a dozen 500GB MyBook&#8217;s instead of the simpler cheaper USB models.
Since this site is remote from me it took a little while to deduce what was going on since the MyBook&#8217;s don&#8217;t act as USB drives and hence don&#8217;t appear as a USB device to linux.

User: &#8216;Yes, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>I had a client accidentally purchase half a dozen 500GB MyBook&#8217;s instead of the simpler cheaper USB models.</p>
<p>Since this site is remote from me it took a little while to deduce what was going on since the MyBook&#8217;s don&#8217;t act as USB drives and hence don&#8217;t appear as a USB device to linux.</p>
<blockquote>
<p>User: &#8216;Yes, I&#8217;ve plugged it in! Yes it&#8217;s using the white cable!&#8217;<br />
  Me: &#8216;So&#8230; what exactly does it say on the box what drive it is&#8230;&#8217;</p>
</blockquote>
<p>Anyhow, after figuring out that is was a MyBook I implemented ssh access using <a href="http://martin.hinner.info/mybook/sshaccess.php">Martin Hinner&#8217;s clever hack</a> and found a nice website of various <a href="http://mybookworld.wikidot.com/hacks-and-howto">MyBook Hack&#8217;s</a>.</p>
<p>I was originally using the venerable Rdiff-backup, but alas couldn&#8217;t see it in the Optware packages. So I implemented a Rsnapshot solution, the only problem was I wanted some notifications from the MyBook devices to check that the backups were working, and so a simple bash script was in order&#8230;</p>
<pre>
#!/bin/bash
mailto=my@emailaddress.com,clients@theclientsdomain.com
time=$1
</pre>
<pre>
if /opt/bin/rsnapshot $time &gt; /tmp/rsnapshot.log 2&gt; /tmp/rsnapshot.logthen   subject='Backup success'else   subject='Backup FAILURE'ficat /tmp/rsnapshot.log | /opt/bin/nail -r admin@theclientsdomain.com -s "$subject" $mailto
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/06/20/mybook-backups-with-rsnapshot-and-some-bash-trickey/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
