<?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>Stuff and things</title>
	<atom:link href="http://www.paulferrett.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulferrett.com</link>
	<description>...coding in (mainly) PHP and MySQL</description>
	<lastBuildDate>Tue, 13 Dec 2011 10:40:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The fastest way to buy Ink Cartridges and Toner Online</title>
		<link>http://www.paulferrett.com/2011/fastest-way-to-buy-ink-cartridges-and-toner-online/</link>
		<comments>http://www.paulferrett.com/2011/fastest-way-to-buy-ink-cartridges-and-toner-online/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 10:40:33 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=159</guid>
		<description><![CDATA[I am very happy to announce the launch of  fastsupplies.com.au &#8211; the fast, easy way to order Ink Cartridges and Toner online in Australia! A huge selection of genuine and compatible ink and toner, an easy to use website, and our next day delivery policy means buying print supplies online got a whole lot easier.
]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2011/fastest-way-to-buy-ink-cartridges-and-toner-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extending Prototype&#8217;s Template class to allow default values</title>
		<link>http://www.paulferrett.com/2011/prototype-template-with-default-values/</link>
		<comments>http://www.paulferrett.com/2011/prototype-template-with-default-values/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 11:33:28 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=156</guid>
		<description><![CDATA[I&#8217;ve often wanted to extend Prototype&#8217;s Template class to allow setting default values for template fields if the user doesn&#8217;t pass them, so I wrote a simple wrapper class that does just that.

This allows you to create a javascript template, but gives you one extra parameter where you can define default values for anything not [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2011/prototype-template-with-default-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fit text string to cell in FPDF</title>
		<link>http://www.paulferrett.com/2011/fit-text-to-cell-in-fpdf/</link>
		<comments>http://www.paulferrett.com/2011/fit-text-to-cell-in-fpdf/#comments</comments>
		<pubDate>Thu, 19 May 2011 05:17:12 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=151</guid>
		<description><![CDATA[Something I really hate (and am not very good at thoroughly testing) is ensuring that a layout I&#8217;ve designed will nicely fit user data of any length. Of course you can easily wrap all text outputting on a webpage or a dynamically generated PDF in a truncate() method, however this crude method isn&#8217;t always sufficient.
Today, [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2011/fit-text-to-cell-in-fpdf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Win an iPad2</title>
		<link>http://www.paulferrett.com/2011/win-an-ipad2/</link>
		<comments>http://www.paulferrett.com/2011/win-an-ipad2/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 03:22:49 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[competitions]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[service-central]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=147</guid>
		<description><![CDATA[Service Central (where I work) is the best way to find a tradie, and we&#8217;ve helped thousands of Australians to find certified businesses for all sorts of work. We&#8217;re about to get our quarter of a millionth job posted and to celebrate we&#8217;re holding a competition to win an iPad2! Simply guess the date and [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2011/win-an-ipad2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios return code of 255 is out of bounds for disk check</title>
		<link>http://www.paulferrett.com/2011/nagios-return-code-of-255-is-out-of-bounds-for-disk-check/</link>
		<comments>http://www.paulferrett.com/2011/nagios-return-code-of-255-is-out-of-bounds-for-disk-check/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 01:12:42 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=145</guid>
		<description><![CDATA[When trying to setup disk checks in nagios for a new VPS, I came across the error &#8220;(Return code of 255 is out of bounds)&#8221;. Searching around a few forums I wasn&#8217;t able to figure out why Nagios was giving me this error&#8230;
As it turns out it was quite a simple problem! Having never actually [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2011/nagios-return-code-of-255-is-out-of-bounds-for-disk-check/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triple J Hottest 100 2010 Song Previews</title>
		<link>http://www.paulferrett.com/2011/triple-j-hottest-100-2010-song-previews/</link>
		<comments>http://www.paulferrett.com/2011/triple-j-hottest-100-2010-song-previews/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 05:50:22 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hottest-100]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/2011/triple-j-hottest-100-2010-song-previews/</guid>
		<description><![CDATA[Here&#8217;s a list of all songs that you can vote for in Triple J&#8217;s Hottest 100 for 2010.
It shows a YouTube preview of each song to help choose your own top 10.
http://www.paulferrett.com/triple-j-hottest-100/2010/
]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2011/triple-j-hottest-100-2010-song-previews/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pad a number with leading zeros in PHP</title>
		<link>http://www.paulferrett.com/2010/pad-a-number-with-leading-zeros-in-php/</link>
		<comments>http://www.paulferrett.com/2010/pad-a-number-with-leading-zeros-in-php/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 23:55:52 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Useful]]></category>
		<category><![CDATA[numbers]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=136</guid>
		<description><![CDATA[Just a quick one to share a couple of ways to pad a number with leading zeros&#8230; I&#8217;ve seen a lot of really poor examples of how to do this so I thought I&#8217;d share the two ways I might add leading zeros to a number in PHP.


function number_pad&#40;$n, $pad_len&#41; &#123;
     [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2010/pad-a-number-with-leading-zeros-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatic backup all SVN repositories</title>
		<link>http://www.paulferrett.com/2010/automatic-backup-all-svn-repositories/</link>
		<comments>http://www.paulferrett.com/2010/automatic-backup-all-svn-repositories/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 05:20:16 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[backups]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=132</guid>
		<description><![CDATA[Here&#8217;s a shell script I use to automatically backup all of my subversion (svn) repositories.
I use Dropbox to put my backups in &#8211; it gives you easy to manage backups in the cloud for free (Free account gives you up to 2GB of storage) and pushing all backups to any machines on which you have [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2010/automatic-backup-all-svn-repositories/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hosting ga.js locally (google analytics tracking code)</title>
		<link>http://www.paulferrett.com/2010/hosting-ga-js-locally-google-analytics-tracking-code/</link>
		<comments>http://www.paulferrett.com/2010/hosting-ga-js-locally-google-analytics-tracking-code/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 02:26:26 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[optimisations]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/?p=128</guid>
		<description><![CDATA[Hosting ga.js locally has two main benefits &#8211; fewer DNS lookups for the client&#8217;s browser (you could even combine it with your site&#8217;s java script to reduce HTTP reqs as well), and you might be able to get it to your users faster than Google can. Whilst the second point isn&#8217;t likely true for many, [...]]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2010/hosting-ga-js-locally-google-analytics-tracking-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Compare Transport Routes with Transportle!</title>
		<link>http://www.paulferrett.com/2010/compare-transport-routes-with-transportle/</link>
		<comments>http://www.paulferrett.com/2010/compare-transport-routes-with-transportle/#comments</comments>
		<pubDate>Fri, 21 May 2010 05:03:21 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.paulferrett.com/2010/compare-transport-routes-with-transportle/</guid>
		<description><![CDATA[Transportle is a website myself and two friends made for the Victorian Government&#8217;s App My State competition.
It allows you to compare different transport routes in terms of not only time and money, but exercise value and environmental impact.
Check out out and let me know what you think! feedback@transportle.com
]]></description>
		<wfw:commentRss>http://www.paulferrett.com/2010/compare-transport-routes-with-transportle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

