<?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>Codelab Blog &#187; Uncategorized</title>
	<atom:link href="http://blog.codelab.co.nz/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codelab.co.nz</link>
	<description>Technical Articles and News from Codelab Ltd</description>
	<lastBuildDate>Tue, 17 Jan 2012 13:10:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Techxplosion.net is live!</title>
		<link>http://blog.codelab.co.nz/2010/06/24/techxplosion-net-is-live/</link>
		<comments>http://blog.codelab.co.nz/2010/06/24/techxplosion-net-is-live/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 21:14:43 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=256</guid>
		<description><![CDATA[A group of us have been working on creating a new tech, geek, gadget site which includes news on the latest trends of all types of technology including mobile devices, smart phones, computers and a whole lot more!   A special thanks to Andy at GT Solutions (www.ghozali.net), Seruni at Madcow Solutions and all the guys [...]]]></description>
			<content:encoded><![CDATA[<p>A group of us have been working on creating a new tech, geek, gadget site which includes news on the latest trends of all types of technology including mobile devices, smart phones, computers and a whole lot more!   A special thanks to Andy at GT Solutions (<a href="http://www.ghozali.net">www.ghozali.net</a>), Seruni at <a href="http://www.madcowsolutions.co.nz">Madcow Solutions</a> and all the guys who put the effort into making this site great!</p>
<p><a href="http://www.techxplosion.net">Check it out today!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/06/24/techxplosion-net-is-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spot the IT Guy!</title>
		<link>http://blog.codelab.co.nz/2010/06/02/spot-the-it-guy/</link>
		<comments>http://blog.codelab.co.nz/2010/06/02/spot-the-it-guy/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 22:01:49 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=242</guid>
		<description><![CDATA[This is soo funny but soo true? http://www.deansproperty.com.au/Home/Profiles]]></description>
			<content:encoded><![CDATA[<p>This is soo funny but soo true?</p>
<p>http://www.deansproperty.com.au/Home/Profiles</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/06/02/spot-the-it-guy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A way around page refreshes/back button problems with a simple concept</title>
		<link>http://blog.codelab.co.nz/2010/05/17/a-way-around-page-refreshesback-button-problems-with-a-simple-concept/</link>
		<comments>http://blog.codelab.co.nz/2010/05/17/a-way-around-page-refreshesback-button-problems-with-a-simple-concept/#comments</comments>
		<pubDate>Mon, 17 May 2010 09:58:24 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Coding Practices]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=231</guid>
		<description><![CDATA[The problem: You have a form in which the user fills out and clicks a &#8220;submit&#8221; button that validates their input, does some processing and output&#8217;s some results. The problem being the application needs to cater for page refreshes, back buttons and the case of the page being submitted more than once (latency/slow internet connection). [...]]]></description>
			<content:encoded><![CDATA[<p><em>The problem:</em></p>
<p>You have a form in which the user fills out and clicks a &#8220;submit&#8221; button that validates their input, does some processing and output&#8217;s some results. The problem being the application needs to cater for page refreshes, back buttons and the case of the page being submitted more than once (latency/slow internet connection).</p>
<p><em>The Solution:</em></p>
<p>Possible solutions can be (<em>this assumes not using Ajax as a solution</em>), once the user clicks the submit button the server validates the user&#8217;s input and has processed the information. Store a unique id in session and redirect to a &#8220;complete&#8221; page. If the user clicks the back button and resubmits the page, you can build logic to check if a unique id exists in session and if it does, redirect to the complete page without having to re-process the information.</p>
<p>If the user is on the complete page and refreshes the page, because its on a page which has used a GET, there is no processing done and hence no duplication of data.</p>
<p><strong><em>References:</em></strong></p>
<p><a href="http://en.wikipedia.org/wiki/Post/Redirect/Get">http://en.wikipedia.org/wiki/Post/Redirect/Get</a></p>
<p><a href="http://stackoverflow.com/questions/665399/how-do-i-stop-the-back-and-refresh-buttons-from-resubmitting-my-form">http://stackoverflow.com/questions/665399/how-do-i-stop-the-back-and-refresh-buttons-from-resubmitting-my-form</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/05/17/a-way-around-page-refreshesback-button-problems-with-a-simple-concept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook &#8220;like&#8221; button API rocks!</title>
		<link>http://blog.codelab.co.nz/2010/04/29/facebook-like-button-api-rocks/</link>
		<comments>http://blog.codelab.co.nz/2010/04/29/facebook-like-button-api-rocks/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 22:36:41 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=226</guid>
		<description><![CDATA[You can now add the &#8220;like&#8221; button on to your own webpage by using either their iframe html markup or using the new Javascript SDK which is more flexible than the iframe solution. You can see a live example of this on http://www.medicsafe.co.nz which uses the like button on each product listed on the website. [...]]]></description>
			<content:encoded><![CDATA[<p>You can now add the &#8220;like&#8221; button on to your own webpage by using either their iframe html markup or using the new Javascript SDK which is more flexible than the iframe solution.</p>
<p>You can see a live example of this on<a href="http://www.medicsafe.co.nz"> http://www.medicsafe.co.nz</a> which uses the like button on each product listed on the website.</p>
<p>Or you can test it out here</p>
<p><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.codelab.co.nz%2F2010%2F04%2F29%2Ffacebook-like-button-api-rocks%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:50px"></iframe></p>
<p>Just make sure that you set the height css as by default it&#8217;s not set which is annoying!</p>
<p><em><strong>References:</strong></em></p>
<p><a href="http://developers.facebook.com/docs/reference/plugins/like">http://developers.facebook.com/docs/reference/plugins/like</a></p>
<p><a href="http://www.medicsafe.co.nz">http://www.medicsafe.co.nz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/04/29/facebook-like-button-api-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timaru District Council is on Youtube!</title>
		<link>http://blog.codelab.co.nz/2010/04/06/timaru-district-council-is-on-youtube/</link>
		<comments>http://blog.codelab.co.nz/2010/04/06/timaru-district-council-is-on-youtube/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 08:26:53 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=219</guid>
		<description><![CDATA[You can view the photos taken as a time lapse video from the Timaru District Council&#8217;s web cam here.    I implemented the software and web cam back in the days when I was apart from the IT team, and they since have extended it further to make good use of it.  Well done!]]></description>
			<content:encoded><![CDATA[<p>You can view the photos taken as a time lapse video from the Timaru District Council&#8217;s web cam <a href="http://www.youtube.com/user/TimaruDC">here</a>.    I implemented the software and web cam back in the days when I was apart from the IT team, and they since have extended it further to make good use of it.  Well done!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/04/06/timaru-district-council-is-on-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quotes from Clients/Project Managers</title>
		<link>http://blog.codelab.co.nz/2010/04/01/quotes-from-clients-project-managers/</link>
		<comments>http://blog.codelab.co.nz/2010/04/01/quotes-from-clients-project-managers/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 01:47:26 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Quotes]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=212</guid>
		<description><![CDATA[Here are some quotes that clients/project managers have asked me while working in the web development industry: Can you do me a wee favour? Can you do this 10 minute job for me? I have this small problem I need you to fix This job should only take an hour! The website is broken Yes, [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some quotes that clients/project managers have asked me while working in the web development industry:</p>
<blockquote><p>Can you do me a wee favour?</p></blockquote>
<blockquote><p>Can you do this 10 minute job for me?</p></blockquote>
<blockquote><p>I have this small problem I need you to fix</p></blockquote>
<blockquote><p>This job should only take an hour!</p></blockquote>
<blockquote><p>The website is broken</p>
<p>Yes, all of the functionality meets our requirements..but can we just do this instead?</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/04/01/quotes-from-clients-project-managers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CheckoutChristchurch has a new photo!</title>
		<link>http://blog.codelab.co.nz/2010/02/06/checkoutchristchurch-has-a-new-photo/</link>
		<comments>http://blog.codelab.co.nz/2010/02/06/checkoutchristchurch-has-a-new-photo/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 04:20:51 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Christchurch]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=183</guid>
		<description><![CDATA[http://www.checkoutchristchurch.co.nz has a new photo from the Botanical Gardens by the Workshop! CheckoutChristchurch is managed by Codelab Ltd. References http://www.checkoutchristchurch.co.nz]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.checkoutchristchurch.co.nz">http://www.checkoutchristchurch.co.nz</a> has a new photo from the Botanical Gardens by the Workshop!   CheckoutChristchurch is managed by Codelab Ltd.</p>
<p><em><strong>References</strong></em></p>
<p><a href="http://www.checkoutchristchurch.co.nz">http://www.checkoutchristchurch.co.nz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/02/06/checkoutchristchurch-has-a-new-photo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is cool!</title>
		<link>http://blog.codelab.co.nz/2010/02/02/this-is-cool/</link>
		<comments>http://blog.codelab.co.nz/2010/02/02/this-is-cool/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:40:14 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/2010/02/02/this-is-cool/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><script src="http://campaign.verbatim.jp/senshuken/db/gadget.js" type="text/javascript"></script><script type="text/javascript">// <![CDATA[
 putvchamp(6351794,0); 
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/02/02/this-is-cool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML/XSD Validator</title>
		<link>http://blog.codelab.co.nz/2010/01/26/xmlxsd-validator/</link>
		<comments>http://blog.codelab.co.nz/2010/01/26/xmlxsd-validator/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 01:27:38 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSL]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=177</guid>
		<description><![CDATA[A very useful tool for validating XML against a XSD schema. http://tools.decisionsoft.com/schemaValidate/]]></description>
			<content:encoded><![CDATA[<p>A very useful tool for validating XML against a XSD schema.</p>
<p><a href="http://tools.decisionsoft.com/schemaValidate/">http://tools.decisionsoft.com/schemaValidate/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2010/01/26/xmlxsd-validator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking IP Addresses on Linux Server</title>
		<link>http://blog.codelab.co.nz/2009/11/04/blocking-ip-addresses-on-linux-server/</link>
		<comments>http://blog.codelab.co.nz/2009/11/04/blocking-ip-addresses-on-linux-server/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 07:57:17 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.codelab.co.nz/?p=144</guid>
		<description><![CDATA[Had some suspect IP addresses trying to attempt to login via the admin user in Moodle. Best thing to do is block the IP address to the server or even better the IP range (after doing a IP lookup to see where the IP address came from). References: http://www.cyberciti.biz/faq/how-do-i-block-an-ip-on-my-linux-server/]]></description>
			<content:encoded><![CDATA[<p>Had some suspect IP addresses trying to attempt to login via the admin user in Moodle.   Best thing to do is block the IP address to the server or even better the IP range (after doing a IP lookup to see where the IP address came from).</p>
<p><strong><em>References: </em></strong></p>
<p><a href="http://www.cyberciti.biz/faq/how-do-i-block-an-ip-on-my-linux-server/">http://www.cyberciti.biz/faq/how-do-i-block-an-ip-on-my-linux-server/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codelab.co.nz/2009/11/04/blocking-ip-addresses-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

