<?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>TeamBurns</title>
	<atom:link href="http://www.teamburns.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.teamburns.com/blog</link>
	<description>Bayesian Arguments</description>
	<lastBuildDate>Tue, 07 Sep 2010 12:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>For Lease &#8211; Apartment in Melbourne Australia</title>
		<link>http://www.teamburns.com/blog/?p=101</link>
		<comments>http://www.teamburns.com/blog/?p=101#comments</comments>
		<pubDate>Tue, 07 Sep 2010 12:19:02 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=101</guid>
		<description><![CDATA[If you are interested in a short term lease in one of Melbourne&#8217;s best water front locations visit http://www.teamburns.com/apartment/]]></description>
			<content:encoded><![CDATA[<p>If you are interested in a short term lease in one of Melbourne&#8217;s best water front locations visit <a href="http://www.teamburns.com/apartment/" target="_self">http://www.teamburns.com/apartment/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=101</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lara&#8217;s Blog</title>
		<link>http://www.teamburns.com/blog/?p=99</link>
		<comments>http://www.teamburns.com/blog/?p=99#comments</comments>
		<pubDate>Fri, 03 Sep 2010 05:18:56 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=99</guid>
		<description><![CDATA[Just adding some google love for my 6 year old&#8217;s blog lara.teamburns.com]]></description>
			<content:encoded><![CDATA[<p>Just adding some google love for my 6 year old&#8217;s blog <a title="lara.teamburns.com" href="http://lara.teamburns.com/" target="_self">lara.teamburns.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=99</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New BlackDog Service</title>
		<link>http://www.teamburns.com/blog/?p=95</link>
		<comments>http://www.teamburns.com/blog/?p=95#comments</comments>
		<pubDate>Sat, 17 Jul 2010 22:51:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=95</guid>
		<description><![CDATA[I thought I&#8217;d mention a new product that we&#8217;ve been working on in our spare time. It is a service that allows iphone and android developers to keep data on the phones in sync with a master database. It is very easy to use, is free to use, and is hosted on the BlackDog Foundry. [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I&#8217;d mention a new product that we&#8217;ve been working on in our spare time.  It is a service that allows iphone and android developers to keep data on the phones in sync with a master database.</p>
<p>It is very easy to use, is free to use, and is hosted on the <a href="http://www.blackdogfoundry.com">BlackDog Foundry</a>.  The basic gist is that you log on to the BlackDog website and save the baseline data for your database.  You then link in some iphone or android libraries on the device, and make a simple one-line call that will fetch new or changed records.  It handles both incremental and full replications.</p>
<p>Check out our latest <a href="http://www.blackdogfoundry.com/blog/?p=3">sqlite replication</a> blog post for an example of how to use it.</p>
<p>BTW, the service also has preliminary support for Push Notifications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=95</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Boot Your Mac Into 64-bit Mode</title>
		<link>http://www.teamburns.com/blog/?p=67</link>
		<comments>http://www.teamburns.com/blog/?p=67#comments</comments>
		<pubDate>Fri, 22 Jan 2010 12:26:51 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=67</guid>
		<description><![CDATA[For those of you that are running the new version of MacOS &#8211; Snow Leopard, it may come as a surprise that by default, the kernal boots into 32-bit mode. However, you can change the OS to boot the kernal into 64-bit mode by running the following: 1. Run: ioreg -l -p IODeviceTree &#124; awk [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you that are running the new version of MacOS &#8211; Snow Leopard, it may come as a surprise that by default, the kernal boots into 32-bit mode. However, you can change the OS to boot the kernal into 64-bit mode by running the following:</p>
<p>1.  Run:</p>
<pre>ioreg -l -p IODeviceTree | awk -F'"' '/firmware-abi/{print $4}'</pre>
<p>and make sure it returns <strong>EFI64</strong></p>
<p>2. If the above command returns <strong>EFI64</strong> then edit the following file:</p>
<p><em>sudo vi /Library/Preferences/SystemConfiguration/com.apple.Boot.plist</em></p>
<p>and replace the contents with:</p>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
&lt;key&gt;Kernel&lt;/key&gt;
&lt;string&gt;mach_kernel&lt;/string&gt;
&lt;key&gt;Kernel Flags&lt;/key&gt;
&lt;string&gt;<span class="warning">arch=x86_64</span>&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;</pre>
<p>3. Save and reboot</p>
<p><a href="http://macperformanceguide.com/SnowLeopard-64bit.html">Citation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=67</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Change Account Order in Thunderbird</title>
		<link>http://www.teamburns.com/blog/?p=61</link>
		<comments>http://www.teamburns.com/blog/?p=61#comments</comments>
		<pubDate>Sun, 03 Jan 2010 23:28:46 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=61</guid>
		<description><![CDATA[To change the order of the accounts in Thunderbird: Shutdown Thunderbird Edit ~/.thunderbird//prefs.js in GNU/Linux, C:\Documents and Settings\\Application Data\Thunderbird\Profiles\****.default\prefs.js in Microsoft Windows XP, and C:\Users\\App Data\Roaming\Thunderbird\Profiles\****.default\prefs.js in Microsoft Windows Vista and 7. Edit those the following 2 lines to change the order of the accounts. The default account is always first one. user_pref("mail.accountmanager.accounts", "account5,account3,account2"); user_pref("mail.accountmanager.defaultaccount", [...]]]></description>
			<content:encoded><![CDATA[<p>To change the order of the accounts in Thunderbird:</p>
<ol>
<li>Shutdown Thunderbird</li>
<li>Edit <em>~/.thunderbird/<your profile>/prefs.js</em> in <strong>GNU/Linux</strong>, <em>C:\Documents and Settings\<your profile>\Application Data\Thunderbird\Profiles\****.default\prefs.js</em> in <strong>Microsoft Windows XP</strong>, and <em>C:\Users\<your profile>\App Data\Roaming\Thunderbird\Profiles\****.default\prefs.js</em> in <strong>Microsoft Windows Vista and 7</strong>.</li>
<li>Edit those the following 2 lines to change the order of the accounts. The default account is always first one.</li>
</ol>
<p><code>
<pre>user_pref("mail.accountmanager.accounts", "account5,account3,account2");
user_pref("mail.accountmanager.defaultaccount", "account5");</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=61</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xbox 360 &#8211; HDMI Audio Problems</title>
		<link>http://www.teamburns.com/blog/?p=51</link>
		<comments>http://www.teamburns.com/blog/?p=51#comments</comments>
		<pubDate>Mon, 21 Dec 2009 05:33:28 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Xbox360]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[hdmi]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=51</guid>
		<description><![CDATA[I had an issue the first time I turned on my new Xbox 360 where I was unable to get audio working via HDMI. After many hours of experimentation I discovered that if you go into the Display settings there is an option called &#8220;Display Discovery&#8221; which is turned on by default. If you&#8217;re running [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue the first time I turned on my new Xbox 360 where I was unable to get audio working via HDMI. After many hours of experimentation I discovered that if you go into the Display settings there is an option called &#8220;<strong>Display Discovery</strong>&#8221; which is turned on by default. If you&#8217;re running your Xbox through an Audio Receiver or similar device it appears that the auto discovery mechanism built in to the Xbox occasionally results in Xbox being set to &#8220;DVI Mode&#8221; i.e. video only.</p>
<p>The way to resolve this problem is to just turn&#8221;<strong>Display Discovery</strong>&#8221; off and restart the Xbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Window 7 &#8211; No Internet Access</title>
		<link>http://www.teamburns.com/blog/?p=43</link>
		<comments>http://www.teamburns.com/blog/?p=43#comments</comments>
		<pubDate>Tue, 17 Nov 2009 10:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=43</guid>
		<description><![CDATA[For the last few days I have occasionally encountered the problem whereby my local network access worked fine. However, my Internet access was &#8220;unavailable&#8221;. In my case, the problem was due to a race condition between the Apple Bonjour service and the DHCP lookup. The easy way to check if you have the same problem [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few days I have occasionally encountered the problem whereby my local network access worked fine. However, my Internet access was &#8220;unavailable&#8221;.</p>
<p>In my case, the problem was due to a race condition between the Apple Bonjour service and the DHCP lookup. The easy way to check if you have the same problem is to start a Windows command and run:</p>
<pre><code>C:\>ipconfig</code></pre>
<p>If your <strong>Default Gateway</strong> has a 0.0.0.0 listed then the is a fair chance that you may have the same problem e.g.</p>
<pre><code>Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : domain.local
   IPv4 Address. . . . . . . . . . . : 192.168.0.166
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : <strong>0.0.0.0</strong>
                                       192.168.0.1</code></pre>
<p>The solution is to change the Bonjour service &#8220;Startup type&#8221; from <strong>Automatic</strong> to <strong>Automatic (Delayed Start)</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 &#8211; The Peer Name Resolution Protocol</title>
		<link>http://www.teamburns.com/blog/?p=40</link>
		<comments>http://www.teamburns.com/blog/?p=40#comments</comments>
		<pubDate>Tue, 17 Nov 2009 09:49:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=40</guid>
		<description><![CDATA[After many ours of googling I finally found the solution to the problem where the &#8220;The Peer Name Resolution Protocol&#8221; service fails to start. The error displayed in the Windows event viewer is: The Peer Name Resolution Protocol cloud did not start because the creation of the default identity failed with error code : 0x80630801 [...]]]></description>
			<content:encoded><![CDATA[<p>After many ours of googling I finally found the solution to the problem where the &#8220;<em>The Peer Name Resolution Protocol</em>&#8221; service fails to start. The error displayed in the Windows event viewer is:</p>
<p><code>
<pre>The Peer Name Resolution Protocol cloud did not start because the creation of the default identity failed with error code
: 0x80630801</pre>
<p> </code></p>
<p>The solution is to delete a corrupt file:</p>
<p><code>C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\PeerNetworking\idstore.sst</code></p>
<p><a href="http://www.sevenforums.com/network-sharing/29060-cant-start-peer-name-resolution-protocol.html">Solution Reference</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=40</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Flash Erase a Dreambox using Telnet</title>
		<link>http://www.teamburns.com/blog/?p=32</link>
		<comments>http://www.teamburns.com/blog/?p=32#comments</comments>
		<pubDate>Fri, 16 Oct 2009 12:17:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dreambox]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=32</guid>
		<description><![CDATA[Should you ever need to flash erase your Dreambox from the command prompt: Telnet into your Dreambox If you have a DM500, DM56xx or DM7000&#8230;.issue the following command: eraseall /dev/mtd/1 &#38;&#38; reboot If you have a DM600-PVR, DM500+ or DM7020&#8230;issue the following command: rm -R /etc/enigma &#38;&#38; killall -9 enigma]]></description>
			<content:encoded><![CDATA[<p>Should you ever need to flash erase your Dreambox from the command prompt:</p>
<ol>
<li>Telnet into your Dreambox</li>
<li>If you have a DM500, DM56xx or DM7000&#8230;.issue the following command:</li>
<pre><code>eraseall /dev/mtd/1 &amp;&amp; reboot</code></pre>
<li>If you have a DM600-PVR, DM500+ or DM7020&#8230;issue the following command:</li>
<pre><code>rm -R /etc/enigma &amp;&amp; killall -9 enigma</code></pre>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=32</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPU Monitoring Script</title>
		<link>http://www.teamburns.com/blog/?p=25</link>
		<comments>http://www.teamburns.com/blog/?p=25#comments</comments>
		<pubDate>Sat, 27 Jun 2009 02:32:01 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[monitoring]]></category>

		<guid isPermaLink="false">http://www.teamburns.com/blog/?p=25</guid>
		<description><![CDATA[Have you ever had a rogue process chew up all the CPU on your Linux server for a days and nobody notice? This happens to me quite a lot so I decided to write a bash script that looks for these processes and send an alert email. #!/bin/bash # # cpumon - monitors CPU usage [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had a rogue process chew up all the CPU on your Linux server for a days and nobody notice?</p>
<p>This happens to me quite a lot so I decided to write a bash script that looks for these processes and send an alert email.</p>
<pre><code>#!/bin/bash

#
# cpumon - monitors CPU usage and sends an alert email if limit is exceeded
#
# 2009 - martin [at] teamburns [dot] com
#

host=`hostname`
file="/tmp/cpumon.txt"

rm $file > /dev/null 2>&#038;1

function sendEmail() {
   subject="High CPU on $host"
   /usr/bin/mail -s "$subject" user@domain.com < $file
}

while read a b c
do
   pid="$a"
   cmd="$b"
   cpu_percentage="$c"

   if [[ -z "$cpu_percentage" ]]
   then
      echo "process $pid $cmd is using less than zero percent of the cpu!"
      continue
   else
      cpu_percentage_integer=$(echo "$cpu_percentage"|sed 's/^\([^\.]*\)\..*$/\1/')
   fi

   if [[ $cpu_percentage_integer -gt 10 ]]
   then
      echo "$pid $cmd is using $cpu_percentage_integer percent of our CPU" >> $file
   fi
done <<< "`ps --no-heading -eo pid,comm,pcpu`"

if [[ -f $file ]]
then
   sendEmail
fi
</code></pre>
<p>This script can be scheduled to run periodically by placing an entry in the crontab file. Make sure use replace <b>username</b> with a valid name:</p>
<pre><code>*/30 *  * * *   username    /home/username/cpumon &gt;/dev/null 2&gt;&amp;1
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.teamburns.com/blog/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
