<?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>Paul Turner</title>
	<atom:link href="http://paulturner.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulturner.me</link>
	<description>What was that again?</description>
	<lastBuildDate>Wed, 24 Mar 2010 13:49:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress code highlighting</title>
		<link>http://paulturner.me/2009/08/wordpress-code-highlighting/</link>
		<comments>http://paulturner.me/2009/08/wordpress-code-highlighting/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 14:45:43 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulturner.me/?p=158</guid>
		<description><![CDATA[I finally found a code highlighting plugin for WordPress that I like; CodeColorer. This works on the server side, so there is no need for JavaScript support on the client browser. The side effect of this is that I&#8217;ve had to re-visit all my previous posts to remove all the formatting I had manually applied.]]></description>
			<content:encoded><![CDATA[<p>I finally found a code highlighting plugin for WordPress that I like; <a href="http://kpumuk.info/projects/wordpress-plugins/codecolorer/">CodeColorer</a>.</p>
<p>This works on the server side, so there is no need for JavaScript support on the client browser.</p>
<p>The side effect of this is that I&#8217;ve had to re-visit all my previous posts to remove all the formatting I had manually applied.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/08/wordpress-code-highlighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iñtërnâtiônàlizætiøn</title>
		<link>http://paulturner.me/2009/08/internationaliz%c3%a6ti%c3%b8n/</link>
		<comments>http://paulturner.me/2009/08/internationaliz%c3%a6ti%c3%b8n/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 14:39:28 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulturner.me/?p=140</guid>
		<description><![CDATA[Iñtërnâtiônàlizætiøn &#8211; This is string I found some time back which is very useful for testing internationalization issues. I can&#8217;t remember the original source of this. Please let me know if you know!]]></description>
			<content:encoded><![CDATA[<p>Iñtërnâtiônàlizætiøn &#8211; This is string I found some time back which is very useful for testing internationalization issues.  I can&#8217;t remember the original source of this.  Please let me know if you know! </p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/08/internationaliz%c3%a6ti%c3%b8n/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading HTTP POST data using BASH</title>
		<link>http://paulturner.me/2009/07/reading-http-post-data-using-bash/</link>
		<comments>http://paulturner.me/2009/07/reading-http-post-data-using-bash/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 15:40:43 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulturner.me/?p=121</guid>
		<description><![CDATA[I recently needed to read the HTTP POST data using a BASH cgi script. When using BASH this way most of the HTTP variables are set as environment variables, and can be accessed simply. The exception is the HTTP POST data, this goes to the stdin stream. There were some examples of reading stdin like: [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to read the HTTP POST data using a BASH cgi script.  </p>
<p>When using BASH this way most of the HTTP variables are set as environment variables, and can be accessed simply.  The exception is the HTTP POST data, this goes to the stdin stream.</p>
<p>There were some examples of reading stdin like:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">POST_DATA</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&lt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>stdin<span style="color: #7a0874; font-weight: bold;">&#41;</span></div></div>
<p>and</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">POST_DATA</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>stdin<span style="color: #000000; font-weight: bold;">`</span></div></div>
<p>However I found that these intermittently failed.  I believe this is because at the point of execution you can not guarantee that all the data has been sent.</p>
<p>The solution to this is to use the CONTENT_LENGTH environment variable to read the correct number of bytes:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$REQUEST_METHOD</span>&quot;</span> = <span style="color: #ff0000;">&quot;POST&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$CONTENT_LENGTH</span>&quot;</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-n</span> <span style="color: #007800;">$CONTENT_LENGTH</span> POST_DATA <span style="color: #000000; font-weight: bold;">&lt;&amp;</span><span style="color: #000000;">0</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #000000; font-weight: bold;">fi</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/07/reading-http-post-data-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook / Google Calendar synchronization</title>
		<link>http://paulturner.me/2009/03/outlook-and-google-calendar-synchronization/</link>
		<comments>http://paulturner.me/2009/03/outlook-and-google-calendar-synchronization/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 16:45:22 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulturner.me/?p=99</guid>
		<description><![CDATA[I&#8217;ve been using Google Calendar Sync for several weeks now and it has removed the headaches of having calendars in two places. Google Calendar Sync can be configured to do a 2-way synchronization, or a 1-way synchronization (in either direction). It is very quick to setup, and has very few options that need configuring. The [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.google.com/support/calendar/bin/answer.py?hl=en&#038;answer=89955">Google Calendar Sync</a> for several weeks now and it has removed the headaches of having calendars in two places.</p>
<p><a href="http://www.google.com/support/calendar/bin/answer.py?hl=en&#038;answer=89955">Google Calendar Sync</a> can be configured to do a 2-way synchronization, or a 1-way synchronization (in either direction).  It is very quick to setup, and has very few options that need configuring.<br />
<a href="http://paulturner.me/blog/wp-content/uploads/2009/03/googlecalendarsync.png"><img src="http://paulturner.me/blog/wp-content/uploads/2009/03/googlecalendarsync.png" alt="Google Calendar Sync" title="Google Calendar Sync" width="494" height="526" class="size-full wp-image-100" /></a><br />
The only improvement I would like is support for multiple calendars.  I would like 2-way synchronization for my work calendar, and 1-way synchronization from my other Google Calendars to my Outlook Calendar.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/03/outlook-and-google-calendar-synchronization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordTwit WordPress Plugin Installed</title>
		<link>http://paulturner.me/2009/02/wordtwit-wordpress-plugin-installed/</link>
		<comments>http://paulturner.me/2009/02/wordtwit-wordpress-plugin-installed/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 12:53:29 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulturner.me/?p=96</guid>
		<description><![CDATA[I have just installed the WordTwit WordPress Plugin. This post is primarily a test to check that it is all working.]]></description>
			<content:encoded><![CDATA[<p>I have just installed the <a href="http://www.bravenewcode.com/wordtwit/">WordTwit</a> WordPress Plugin.  This post is primarily a test to check that it is all working.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/02/wordtwit-wordpress-plugin-installed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The domain switch</title>
		<link>http://paulturner.me/2009/01/the-domain-switch/</link>
		<comments>http://paulturner.me/2009/01/the-domain-switch/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 15:04:12 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulturner.me/?p=87</guid>
		<description><![CDATA[After much procrastination I have finally made the domain switch over to paulturner.me. All requests to the original domain paul-turner.net are automatically redirected to the correct page on the new domain with a &#8220;301 Moved Permanently&#8221; HTTP header. This means that all search engine traffic should be preserved, and the links updated over time. This [...]]]></description>
			<content:encoded><![CDATA[<p>After much procrastination I have finally made the domain switch over to <a href="http://paulturner.me/">paulturner.me</a>.</p>
<p>All requests to the original domain <a href="http://paul-turner.net/">paul-turner.net</a> are automatically redirected to the correct page on the new domain with a &#8220;301 Moved Permanently&#8221; HTTP header.</p>
<p>This means that all search engine traffic should be preserved, and the links updated over time.</p>
<p>This was achieved simply with mod_rewrite and a single index.php page:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: http://paulturner.me'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">301</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p>Please update your links.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/01/the-domain-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>paulturner.me</title>
		<link>http://paulturner.me/2009/01/paulturnerme/</link>
		<comments>http://paulturner.me/2009/01/paulturnerme/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 14:02:46 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paul-turner.net/?p=79</guid>
		<description><![CDATA[A while ago I registered the domain paulturner.me for a few reasons: I don&#8217;t really like the hyphen in paul-turner.net. It&#8217;s a little more personal. I currently don&#8217;t own paul-turner.net.  (It&#8217;s owned by my web hosting company, although I have the option to purchase it) Currently http://paulturner.me/ redirects back to http://paul-turner.net/ although I have been [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I registered the domain <a href="http://paulturner.me/">paulturner.me</a> for<br />
a few reasons:</p>
<ol>
<li>I don&#8217;t really like the hyphen in <a href="http://paul-turner.net/">paul-turner.net</a>.</li>
<li>It&#8217;s a little more personal.</li>
<li>I currently don&#8217;t own <a href="http://paul-turner.net/">paul-turner.net</a>.  (It&#8217;s owned by my web hosting company, although I have the option to purchase it)</li>
</ol>
<p>Currently <a href="http://paulturner.me/">http://paulturner.me/</a> redirects back to <a href="http://paul-turner.net/">http://paul-turner.net/</a> although I have been considering a swap over for some time now.</p>
<p>If I do this my thoughts are to use mod_rewrite with a single PHP program that accepts all the requests from <a href="http://paul-turner.net/">http://paul-turner.net/</a> and responds with a permanent redirect to the same page on <a href="http://paulturner.me/">http://paulturner.me/</a>.</p>
<p>Are there any implications in doing this?  I would think that this approach would update all the search engines over time.</p>
<p>What do you think?  Leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2009/01/paulturnerme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Time-lapse tilt-shift photography</title>
		<link>http://paulturner.me/2008/12/time-lapse-tilt-shift-photography/</link>
		<comments>http://paulturner.me/2008/12/time-lapse-tilt-shift-photography/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 13:32:26 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://paul-turner.net/?p=73</guid>
		<description><![CDATA[Time-lapse photography is a technique where each frame is captured at a much slower rate than it is played back.  When it is replayed everything appears to be moving faster. Tilt-shift photography is a technique of distorting the plane of focus of an image by tilting the camera lens and distorting the perspective by shifting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Time-lapse">Time-lapse photography</a> is a technique where each frame is captured at a much slower rate than it is played back.  When it is replayed everything appears to be moving faster.</p>
<p><a href="http://en.wikipedia.org/wiki/Tilt-shift">Tilt-shift photography</a> is a technique of distorting the plane of focus of an image by tilting the camera lens and distorting the perspective by shifting the lens.  This leads to images which appear to be of miniture worlds.</p>
<p>Combining these two techiniques creates some interesting videos, such as the one below by <a href="http://keithloutit.com/">Keith loutit</a>.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="225" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1785993&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="225" src="http://vimeo.com/moogaloop.swf?clip_id=1785993&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://vimeo.com/1785993">Beached</a> from <a href="http://vimeo.com/keithloutit">Keith Loutit</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>I found this video <a href="http://weburbanist.com/2008/12/01/tilt-shift-photos-life-size-miniature-photography/">here</a> at Web Urbanist.  They have a couple more examples by Keith Loutit, along with several examples of tilt-shit photography.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2008/12/time-lapse-tilt-shift-photography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 Day Shop</title>
		<link>http://paulturner.me/2008/11/7-day-shop/</link>
		<comments>http://paulturner.me/2008/11/7-day-shop/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 21:03:59 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paul-turner.net/?p=7</guid>
		<description><![CDATA[7 Day Shop have always provided good value photographic products, computer &#38; digital accessories (and more as well). I have used them several times in the past and they have always been reliable and efficient. They have recently announced that they are no longer charging for postage in the UK. This is great news!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.7dayshop.com/">7 Day Shop</a> have always provided good value photographic products, computer &amp; digital accessories (and more as well).</p>
<p>I have used them several times in the past and they have always been reliable and efficient.  They have recently announced that they are no longer charging for postage in the UK.</p>
<p>This is great news!</p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2008/11/7-day-shop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to a Windows remote desktop using Linux</title>
		<link>http://paulturner.me/2008/10/connect-to-a-windows-remote-desktop-using-linux/</link>
		<comments>http://paulturner.me/2008/10/connect-to-a-windows-remote-desktop-using-linux/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 22:46:15 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://paul-turner.net/?p=69</guid>
		<description><![CDATA[Whilst browsing I found this article of 10 tips when making the switch to Ubuntu Linux.  One of the tips is Remote desktop to a Windows desktop/server. There is a program called rdesktop that allows you to connect to a windows remote desktop sesson on an IP address (over RDP): rdesktop [server]:[port] The remote desktop [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst browsing I found <a href="http://www.mattiasgeniar.be/linux/making-the-switch-to-linux-keep-in-mind-10-ubuntu-tips/">this article</a> of 10 tips when making the switch to Ubuntu Linux.  One of the tips is <em><strong>Remote desktop to a Windows desktop/server.</strong></em></p>
<p>There is a program called rdesktop that allows you to connect to a windows remote desktop sesson on an IP address (over RDP):</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rdesktop [server]:[port]</div></div>
<p>The remote desktop I tried this on was using a VPN tunnel using this command:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rdesktop localhost:52893</div></div>
<p>The article also linked to the <a href="http://en.wikipedia.org/wiki/Rdesktop">Wikipedia rDesktop article</a> which linked to information for other RDP clients.</p>
<p>The only downside I found so far is that the screen resolution was restricted to 800*600 with 16 colours.  Not a big problem for occasional use, but I may investigate some of the other solutions.</p>
<p>Does anyone else know of a better alternative? </p>
]]></content:encoded>
			<wfw:commentRss>http://paulturner.me/2008/10/connect-to-a-windows-remote-desktop-using-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
