<?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 Lewis</title>
	<atom:link href="http://www.pjlewis.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pjlewis.org</link>
	<description>Paul&#039;s space on the web</description>
	<lastBuildDate>Tue, 24 Apr 2012 09:02:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Max&#8217;s First Birthday</title>
		<link>http://www.pjlewis.org/maxs-first-birthday/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=maxs-first-birthday</link>
		<comments>http://www.pjlewis.org/maxs-first-birthday/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 13:19:21 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://wp.pjlewis.org/?p=126</guid>
		<description><![CDATA[As some of you may know, my girlfriend and I have a Bengal Cat called Max. It just so happens that today, February 19th, is Max&#8217;s first birthday. I thought it would be good to show his first year in photos, so here it is: Max at 7 weeks, before we brought him home Max [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pjlewis.org/wp-content/uploads/2012/02/photo.jpg"><br />
</a>As some of you may know, my girlfriend and I have a Bengal Cat called Max. It just so happens that today, February 19th, is Max&#8217;s first birthday. I thought it would be good to show his first year in photos, so here it is:</p>
<h3>Max at 7 weeks, before we brought him home</h3>
<p style="text-align: center;"><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00104.jpg"><img class="aligncenter  wp-image-129" title="DSC00104" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00104-577x1024.jpg" alt="" /></a></p>
<p style="text-align: center;"><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00116.jpg"><img class="aligncenter  wp-image-130" title="DSC00116" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00116-577x1024.jpg" alt="" /></a></p>
<h3>Max at 9 weeks, a few minutes after he arrived in our home:</h3>
<p style="text-align: center;"><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00135.jpg"><img class="aligncenter  wp-image-141" title="DSC00135" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00135-577x1024.jpg" alt="" /></a></p>
<h3>Still at 9 weeks, now settled in:</h3>
<p style="text-align: center;"><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00170.jpg"><img class="aligncenter  wp-image-131" title="DSC00170" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00170-577x1024.jpg" alt="" /></a></p>
<h3 style="text-align: center;"><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00194.jpg"><img class="aligncenter  wp-image-132" title="DSC00194" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00194-1024x577.jpg" alt="" /></a></h3>
<h3 style="text-align: left;">Sunbathing after a hard day&#8217;s play:</h3>
<p><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00227.jpg"><img class="aligncenter size-large wp-image-133" title="DSC00227" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00227-1024x577.jpg" alt="" width="650" height="366" /></a></p>
<h3>Figuring out computers:</h3>
<h3><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00232.jpg"><img class="aligncenter size-large wp-image-134" title="DSC00232" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00232-1024x577.jpg" alt="" width="650" height="366" /></a></h3>
<h3>Contortionist!</h3>
<p><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00250.jpg"><img class="aligncenter size-large wp-image-135" title="DSC00250" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00250-1024x577.jpg" alt="" width="650" height="366" /></a></p>
<h3>Wonder what&#8217;s out there&#8230;</h3>
<p><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00311.jpg"><img class="aligncenter size-large wp-image-136" title="DSC00311" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00311-577x1024.jpg" alt="" width="577" height="1024" /></a></p>
<h3>Ever since he was small, he&#8217;s always sat with such good posture!</h3>
<p><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00769.jpg"><img class="aligncenter size-large wp-image-137" title="DSC00769" src="http://www.pjlewis.org/wp-content/uploads/2011/12/DSC00769-577x1024.jpg" alt="" width="577" height="1024" /></a></p>
<h3>Hungreeeee!</h3>
<p><a href="http://www.pjlewis.org/wp-content/uploads/2011/12/IMG_4464.jpg"><img class="aligncenter size-large wp-image-138" title="IMG_4464" src="http://www.pjlewis.org/wp-content/uploads/2011/12/IMG_4464-1024x682.jpg" alt="" width="650" height="432" /></a></p>
<h3>At one year old, Max is now a 7kg monster!</h3>
<p><a href="http://www.pjlewis.org/wp-content/uploads/2012/02/photo-e1329657477557.jpg"><img class="aligncenter size-large wp-image-185" title="Max in the Bathroom" src="http://www.pjlewis.org/wp-content/uploads/2012/02/photo-e1329657477557-1024x768.jpg" alt="" width="650" height="487" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pjlewis.org/maxs-first-birthday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First stumbling block</title>
		<link>http://www.pjlewis.org/first-stumbling-block/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=first-stumbling-block</link>
		<comments>http://www.pjlewis.org/first-stumbling-block/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 10:29:49 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[mandarin]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.pjlewis.org/?p=158</guid>
		<description><![CDATA[So, my girlfriend and her family have popped out for the afternoon, and I&#8217;m home alone. I figured now would be a good time to start working on one of those resolutions &#8211; learning Mandarin. But lo and behold, technical difficulties strike almost immediately! I guess I haven&#8217;t actually used Rosetta Stone since switching to [...]]]></description>
			<content:encoded><![CDATA[<p>So, my girlfriend and her family have popped out for the afternoon, and I&#8217;m home alone. I figured now would be a good time to start working on one of those resolutions &#8211; learning Mandarin. But lo and behold, technical difficulties strike almost immediately!</p>
<p>I guess I haven&#8217;t actually used Rosetta Stone since switching to my MacBook Air (but I did do a full installation as preparation). When I launched the app, the first thing I went to do was configure the microphone &#8211; but there are no microphones listed inside the application. That&#8217;s not right! At the time I had my (new <img src='http://www.pjlewis.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ) Bose headphones with in-line mic and volume controls &#8211; the Mac recognised the mic, and I was getting audio feedback through the headphones, so everything seemed to be working correctly. So it looks like it might just be Rosetta Stone that doesn&#8217;t like this setup.</p>
<p>A quick bit of Googling shows that this seems to be a common issue on the 2011 MacBook Air, albeit one without a definitive answer. For now, I&#8217;m trying to update the application from v3.4.5 to v3.4.7. Unfortunately, downloads take forever in China, so it&#8217;ll be a while before I find out whether this works or not.</p>
<p>I&#8217;ll post back once I&#8217;ve got something more to tell <img src='http://www.pjlewis.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pjlewis.org/first-stumbling-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year&#8217;s Resolutions</title>
		<link>http://www.pjlewis.org/new-years-resolutions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-years-resolutions</link>
		<comments>http://www.pjlewis.org/new-years-resolutions/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 08:07:50 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://wp.pjlewis.org/?p=119</guid>
		<description><![CDATA[I&#8217;m not sure I really believe in New Year&#8217;s resolutions, but it seems like a good time every year to reflect on the previous year, and see what I can change in my life for the better. Unfortunately, I seem to be pretty bad at keeping resolutions I make, so my New Year&#8217;s resolutions this [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure I really believe in New Year&#8217;s resolutions, but it seems like a good time every year to reflect on the previous year, and see what I can change in my life for the better.</p>
<p>Unfortunately, I seem to be pretty bad at keeping resolutions I make, so my New Year&#8217;s resolutions this year will be very similar to those I made last year. And the year before that. And maybe even the same as 2009. They would be:</p>
<ul>
<li>Get in shape/lose weight/eat healthier/exercise more</li>
<li>Learn Mandarin Chinese (my girlfriend is Chinese, so this is important for the longevity of our relationship)</li>
<li>Write a blog</li>
</ul>
<p>Unfortunately, I&#8217;ve failed at all three of these things the past three years. Every year I start a blog, hit the gym, and start learning Chinese; all with a vengeance. But then it peters out.</p>
<p>I figure this year, I&#8217;ll use the blog to keep track of the other two activities. Hopefully at least one of them will give me something interesting to write about on a regular basis!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pjlewis.org/new-years-resolutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summing up 2011, looking forward to 2012</title>
		<link>http://www.pjlewis.org/summing-up-2011-looking-forward-to-2012/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=summing-up-2011-looking-forward-to-2012</link>
		<comments>http://www.pjlewis.org/summing-up-2011-looking-forward-to-2012/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 15:59:59 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://wp.pjlewis.org/?p=100</guid>
		<description><![CDATA[Looking back on 2011, it&#8217;s been an interesting year. It&#8217;s no wonder I sit here at the end of the year feeling shattered, and wondering why I was so busy all year! Here&#8217;s some of the stuff that kept me busy this year: Saw the New Year in in Shanghai with my girlfriend&#8217;s parents Watched [...]]]></description>
			<content:encoded><![CDATA[<p>Looking back on 2011, it&#8217;s been an interesting year. It&#8217;s no wonder I sit here at the end of the year feeling shattered, and wondering why I was so busy all year! Here&#8217;s some of the stuff that kept me busy this year:</p>
<ul>
<li>Saw the New Year in in Shanghai with my girlfriend&#8217;s parents</li>
<li>Watched 100 Rolls Royces parade through London to celebrate 100 years of the Rolls Royce motor company</li>
<li>Bought a cat (his name is Max, and he&#8217;s a Bengal Cat, in case you&#8217;re interested)</li>
<li>Watched the Royal Wedding (and enjoyed the additional holiday)</li>
<li>Played host to a number of family visits from abroad</li>
<li>Visited Windsor</li>
<li>Visited (Republic of) Ireland</li>
<li>Visited Chicago for some company training</li>
<li>Visited New York for leisure (and some hurricane spotting)</li>
<li>Went to the Chelsea Auto Legends car show</li>
<li>Visited Mexico (and consumed far too much Tequila!)</li>
<li>Visited Edinburgh</li>
<li>Returned to China for the Christmas break; visited Shanghai, Hainan and Hong Kong; saw the New Year in in Shanghai again</li>
</ul>
<p>I&#8217;m sure there are many more things that happened this year that I&#8217;ve simply forgotten about, but were no less deserving of being on the list. Looking forward, there are a number of things I&#8217;m looking forward to in 2012:</p>
<ul>
<li>Visiting India for work</li>
<li>The start of the Chinese Year of the Dragon</li>
<li>Celebrating my girlfriend&#8217;s dad&#8217;s 60th birthday</li>
<li>Visiting Indonesia for a friend&#8217;s wedding</li>
<li>The launch of the <a title="YouView TV Ltd." href="http://www.youview.com" target="_blank">YouView</a> set-top box</li>
<li>The Queen&#8217;s Diamond Jubilee</li>
<li>The London Olympics</li>
</ul>
<p>I hope everyone reading this has enjoyed 2011, and that they have a prosperous new year in 2012!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pjlewis.org/summing-up-2011-looking-forward-to-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up WebSVN</title>
		<link>http://www.pjlewis.org/setting-up-websvn/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-websvn</link>
		<comments>http://www.pjlewis.org/setting-up-websvn/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 11:32:46 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.pjlewis.org/?p=480</guid>
		<description><![CDATA[Install subversion (and all dependencies): yum install subversion Create a new directory for WebSVN to live in, e.g. /var/www/websvn. Check out the latest version of WebSVN from the repository: svn checkout http://websvn.tigris.org/svn/websvn/trunk websvn --username guest Change the ownership of the websvn folder to apache: chown apache:apache -R /var/ww/websvn Change the permissions on the /var/ww/websvn/cache directory [...]]]></description>
			<content:encoded><![CDATA[<p>Install subversion (and all dependencies):</p>
<pre>yum install subversion</pre>
<p>Create a new directory for WebSVN to live in, e.g. /var/www/websvn. Check out the latest version of WebSVN from the repository:</p>
<pre>svn checkout http://websvn.tigris.org/svn/websvn/trunk websvn --username guest</pre>
<p>Change the ownership of the websvn folder to apache:</p>
<pre>chown apache:apache -R /var/ww/websvn</pre>
<p>Change the permissions on the /var/ww/websvn/cache directory to 777</p>
<pre>chmod 777 -R /var/www/websvn/cache</pre>
<p>Move /var/www/websvn/include/distconfig.php to /var/www/websvn/include/config.php. Edit the following lines in /var/www/websvn/include/config.php:</p>
<pre>$config-&gt;parentPath('/home/svn');
$config-&gt;useMultiViews();
$config-&gt;useEnscript();
// $config-&gt;setTemplatePath("$locwebsvnreal/templates/calm/");
$config-&gt;setTemplatePath("$locwebsvnreal/templates/BlueGrey/");</pre>
<p>Copy /var/www/websvn/wsvn.php to /var/www/&lt;html_root&gt;, and edit the following lines:</p>
<pre>$locwebsvnhttp = "/websvn";
$locwebsvnreal = "/var/www/websvn"</pre>
<p>Create the root directory for your SVN repositories to live in (e.g. /home/svn). At the same time, check that the htpasswd directory (/var/www/passwd) exists, and create a new htpasswd for websvn:</p>
<pre>htpasswd -cm /var/www/passwd/svn-auth-file &lt;username&gt;</pre>
<p>Install the DAV SVN Apache module (and all it&#8217;s dependencies):</p>
<pre>yum install mod_dav_svn</pre>
<p>Create a new configuration file: /etc/httpd/conf.d/subversion.conf:</p>
<pre>LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

&lt;Location /svn/&gt;
    DAV svn
    SVNParentPath /home/svn
    AuthType Basic
    AuthName "PJLewis.org Subversion Repository"
    AuthUserFile /var/www/passwd/svn-auth-file
    Require valid-user
&lt;/Location&gt;</pre>
<p>Create another new configuration file: /etc/httpd/conf.d/wsvn.conf:</p>
<pre>Alias /websvn/templates/ "/var/www/websvn/templates/"

&lt;Location /wsvn/&gt;
    DAV svn
    SVNParentPath /home/svn
    AuthType Basic
    AuthName "PJLewis.org Subversion Repository"
    AuthUserFile /var/www/passwd/svn-auth-file
    Require valid-user
&lt;/Location&gt;

&lt;Directory "/var/www/websvn/templates/"&gt;
    Options FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
&lt;/Directory&gt;</pre>
<p>Restart Apache, and browse to http://&lt;domain.com&gt;/wsvn/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pjlewis.org/setting-up-websvn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Apache to redirect domain.com to www.domain.com</title>
		<link>http://www.pjlewis.org/configuring-apache-to-redirect-domain-com-to-www-domain-com/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configuring-apache-to-redirect-domain-com-to-www-domain-com</link>
		<comments>http://www.pjlewis.org/configuring-apache-to-redirect-domain-com-to-www-domain-com/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 14:47:40 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.pjlewis.org/?p=478</guid>
		<description><![CDATA[Create two files in /etc/httpd/conf.d; domain.com.conf and www.domain.conf.com. The contents of domain.com.conf should look like this: NameVirtualHost *:80 &#60;VirtualHost *:80&#62; ServerName domain.com redirect Permanent / http://www.domain.com/ &#60;/VirtualHost&#62; And the contents of www.domain.com.conf should look like this: &#60;VirtualHost *:80&#62; DocumentRoot /var/www/html ServerName www.domain.com ServerAlias *.domain.com ErrorDocument 403 /error/noindex.html &#60;/VirtualHost&#62; Restart the webserver (service httpd restart), and [...]]]></description>
			<content:encoded><![CDATA[<p>Create two files in /etc/httpd/conf.d; domain.com.conf and www.domain.conf.com.</p>
<p>The contents of domain.com.conf should look like this:</p>
<pre>NameVirtualHost *:80</pre>
<pre>&lt;VirtualHost *:80&gt;</pre>
<pre>ServerName domain.com</pre>
<pre>redirect Permanent / http://www.domain.com/</pre>
<pre>&lt;/VirtualHost&gt;</pre>
<p>And the contents of www.domain.com.conf should look like this:</p>
<pre>&lt;VirtualHost *:80&gt;</pre>
<pre>DocumentRoot /var/www/html</pre>
<pre>ServerName www.domain.com</pre>
<pre>ServerAlias *.domain.com</pre>
<pre>ErrorDocument 403 /error/noindex.html</pre>
<pre>&lt;/VirtualHost&gt;</pre>
<p>Restart the webserver (service httpd restart), and your new settings will take effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pjlewis.org/configuring-apache-to-redirect-domain-com-to-www-domain-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

