<?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>Kestrel Blackmore</title>
	<atom:link href="http://www.kestrelblackmore.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kestrelblackmore.com</link>
	<description>my humble and simple thoughts</description>
	<lastBuildDate>Wed, 28 Mar 2012 01:03:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Validate Email Address using Regular Expressions</title>
		<link>http://www.kestrelblackmore.com/validate-email-address-using-regular-expressions/</link>
		<comments>http://www.kestrelblackmore.com/validate-email-address-using-regular-expressions/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 00:58:58 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=161</guid>
		<description><![CDATA[Here&#8217;s a very simple way to validate an email address using regex. ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,9}$]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a very simple way to validate an email address using regex.</p>
<div class="codecolorer-container text railscasts" 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">^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,9}$</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/validate-email-address-using-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails and Paypal Certificate Expiration</title>
		<link>http://www.kestrelblackmore.com/rails-paypal-certificate-expiration/</link>
		<comments>http://www.kestrelblackmore.com/rails-paypal-certificate-expiration/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 02:33:32 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[paypal]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=140</guid>
		<description><![CDATA[On railscasts.com episodes #141 to #143 Ryan went through how to setup online credit card payments via Paypal and IPN. Worked like a treat after a few late nights and some modifications. If several years down the track you find the public key you provided Paypal has expired,  do the [...]]]></description>
			<content:encoded><![CDATA[<p>On <a href="http://railscasts.com/episodes?utf8=&amp;search=paypal">railscasts.com</a> episodes #141 to #143 Ryan went through how to setup online credit card payments via Paypal and IPN. Worked like a treat after a few late nights and some modifications.</p>
<p>If several years down the track you find the public key you provided Paypal has expired,  do the following.</p>
<h4>1. Generate a new public certificate</h4>
<p>Run the following command wherever your current certificates are held. Most likely in RAILS_ROOT/certs. Change 365 to how many days you want the certificate to be valid for.</p>
<div class="codecolorer-container text railscasts" 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">RAILS_ROOT/certs$ openssl req -new -key app_key.pem -x509 -days 365 -out app_cert.pem</div></div>
<h4>2. Upload new public certificate to Paypal</h4>
<p>Login to your Paypal Account and go to the following menus: My Account -&gt; Profile -&gt; My selling tools -&gt; Encrypted payment settings. The last option will be at the bottom of the page. This will take you to a Website Payment Certificates page.</p>
<p>You should see your old expired certificate here in a list. Click the Add button. This will take you to a page where you will need to upload the certificate you generated in step 1. Remember, upload the app_cert.pem file!</p>
<p>You should go back to the Website Payment Certificates page and your new Public Certificate will be listed. Copy the Cert ID for the newly uploaded certificate. We will use this in step 3.</p>
<h4>3. Modify your config/paypal.yml file</h4>
<p>Open your RAILS_ROOT/config/paypal.yml file and find the paypal_cert_id entry under production. Replace it with the Cert ID you copied in step 2.</p>
<p>Here is an example from paypal.yml:</p>
<div class="codecolorer-container text railscasts" 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">production:<br />
paypal_email: example@blahblah.com<br />
paypal_secret: blahblahblah<br />
paypal_cert_id: [replace this]<br />
paypal_url: https://www.paypal.com/cgi-bin/webscr<br />
paypal_currency: AUD</div></div>
<h4>4. Restart rails</h4>
<p>You will need to restart rails so the modifications made in step 3 will be loaded.</p>
<p>The following command will restart Passenger:</p>
<div class="codecolorer-container text railscasts" 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">RAILS_ROOT$ touch tmp/restart.txt</div></div>
<h4>Extra notes</h4>
<p>If you are running capistrano to deploy your app into production make sure you modify the correct files so that subsequent deployments use the correct app_certs.pem and paypal.yml files. Typically you will want to modify the files in your shared/certs and shared/config directories as the latest production release will have symbolic links pointing to them.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/rails-paypal-certificate-expiration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 3 and Bundler</title>
		<link>http://www.kestrelblackmore.com/rails-3-and-bundler/</link>
		<comments>http://www.kestrelblackmore.com/rails-3-and-bundler/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 12:42:25 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[rails 3]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=134</guid>
		<description><![CDATA[Useful Bundler commands. gem install bundler # installs bundler bundle install # reads gem list from Gemfile and installs them bundle check # check gem list from Gemfile and sees if any aren't installed yet bundle help # lists available commands bundle install --without=test # like install but ignores test [...]]]></description>
			<content:encoded><![CDATA[<p>Useful Bundler commands.</p>
<div class="codecolorer-container rails railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="rails codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">gem install bundler <span style="color:#008000; font-style:italic;"># installs bundler</span><br />
bundle install <span style="color:#008000; font-style:italic;"># reads gem list from Gemfile and installs them</span><br />
bundle check <span style="color:#008000; font-style:italic;"># check gem list from Gemfile and sees if any aren't installed yet</span><br />
bundle help <span style="color:#008000; font-style:italic;"># lists available commands</span><br />
bundle install <span style="color:#006600; font-weight:bold;">--</span>without=test <span style="color:#008000; font-style:italic;"># like install but ignores test env gems</span><br />
bundle lock <span style="color:#008000; font-style:italic;"># freezes gems to current versions</span><br />
bundle install <span style="color:#006600; font-weight:bold;">--</span>relock <span style="color:#008000; font-style:italic;"># unlock gems, update and lock again</span><br />
bundle pack <span style="color:#008000; font-style:italic;"># installs gems locally to vendor/cache</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/rails-3-and-bundler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Google Chrome on Ubuntu 10.04</title>
		<link>http://www.kestrelblackmore.com/install-google-chrome-on-ubuntu-10-04/</link>
		<comments>http://www.kestrelblackmore.com/install-google-chrome-on-ubuntu-10-04/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 09:23:01 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[chrome]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=132</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/install-google-chrome-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails RESTful Routes</title>
		<link>http://www.kestrelblackmore.com/rails-restful-routes/</link>
		<comments>http://www.kestrelblackmore.com/rails-restful-routes/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 23:56:56 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[routes]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=108</guid>
		<description><![CDATA[HTTPrequest URL Action Named Route Purpose GET /users index users_path page to list all users GET /users/1 show user_path(1) page to show user with id 1 GET /users/new new new_user_path page to make a new user (signup) POST /users create users_path create a new user GET /users/1/edit edit edit_user_path(1) page [...]]]></description>
			<content:encoded><![CDATA[<table border=1 style="border: 1px solid grey;">
<tr>
<th>HTTP<br />request</th>
<th>URL</th>
<th>Action</th>
<th>Named Route</th>
<th>Purpose</th>
</tr>
<tr>
<td>GET</td>
<td>/users</td>
<td>index</td>
<td>users_path</td>
<td>page to list all users</td>
</tr>
<tr>
<td>GET</td>
<td>/users/1</td>
<td>show</td>
<td>user_path(1)</td>
<td>page to show user with id 1</td>
</tr>
<tr>
<td>GET</td>
<td>/users/new</td>
<td>new</td>
<td>new_user_path</td>
<td>page to make a new user (signup)</td>
</tr>
<tr>
<td>POST</td>
<td>/users</td>
<td>create</td>
<td>users_path</td>
<td>create a new user</td>
</tr>
<tr>
<td>GET</td>
<td>/users/1/edit</td>
<td>edit</td>
<td>edit_user_path(1)</td>
<td>page to edit user with id 1</td>
</tr>
<tr>
<td>PUT</td>
<td>/users/1</td>
<td>update</td>
<td>user_path(1)</td>
<td>update user with id 1</td>
</tr>
<tr>
<td>DELETE</td>
<td>/users/1</td>
<td>destroy</td>
<td>user_path(1)</td>
<td>delete user with id 1</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/rails-restful-routes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rubular &#8211; Ruby Regex Editor</title>
		<link>http://www.kestrelblackmore.com/rubular-regex-editor/</link>
		<comments>http://www.kestrelblackmore.com/rubular-regex-editor/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 23:37:39 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=100</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/rubular-regex-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 4-Hour Body</title>
		<link>http://www.kestrelblackmore.com/the-4-hour-body/</link>
		<comments>http://www.kestrelblackmore.com/the-4-hour-body/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 22:31:18 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=84</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe width="560" height="315" src="http://www.youtube.com/embed/LIVmsIJyj3A" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/the-4-hour-body/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax Highlighting for WordPress</title>
		<link>http://www.kestrelblackmore.com/syntax-highlighting-for-wordpress/</link>
		<comments>http://www.kestrelblackmore.com/syntax-highlighting-for-wordpress/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 22:04:52 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=68</guid>
		<description><![CDATA[I need a syntax highlighter if I am going to be placing code up on my blog. I went with CodeColorer after I noticed it supported a Railscasts theme. I&#8217;ve been reading Railscasts since the day I first started learning about RoR and it truly is awesome! class CreateUsers &#60; [...]]]></description>
			<content:encoded><![CDATA[<p>I need a syntax highlighter if I am going to be placing code up on my blog. I went with <a href="http://wordpress.org/extend/plugins/codecolorer/installation/">CodeColorer</a> after I noticed it supported a Railscasts theme. I&#8217;ve been reading Railscasts since the day I first started learning about RoR and it truly is awesome!</p>
<div class="codecolorer-container rails railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="rails codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#9966CC; font-weight:bold;">class</span> CreateUsers <span style="color:#006600; font-weight:bold;">&lt;</span> <span style="color:#CC00FF; font-weight:bold;"><span style="color:#6666ff; font-weight:bold;">ActiveRecord::Migration</span></span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">def</span> <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">up</span><br />
&nbsp; &nbsp; create_table <span style="color:#ff3333; font-weight:bold;">:users</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>t<span style="color:#006600; font-weight:bold;">|</span><br />
&nbsp; &nbsp; &nbsp; t.<span style="color:#9900CC;">string</span> <span style="color:#ff3333; font-weight:bold;">:name</span><br />
&nbsp; &nbsp; &nbsp; t.<span style="color:#9900CC;">string</span> <span style="color:#ff3333; font-weight:bold;">:email</span><br />
&nbsp; &nbsp; &nbsp; t.<span style="color:#9900CC;">timestamps</span><br />
&nbsp; &nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
<br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">def</span> <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">down</span><br />
&nbsp; &nbsp; drop_table <span style="color:#ff3333; font-weight:bold;">:users</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/syntax-highlighting-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox 4.1.6 Error &#8211; VERR_LDR_MISMATCH_NATIVE</title>
		<link>http://www.kestrelblackmore.com/virtualbox-4-1-6-error-verr_ldr_mismatch_native/</link>
		<comments>http://www.kestrelblackmore.com/virtualbox-4-1-6-error-verr_ldr_mismatch_native/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 12:10:07 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[virtual box]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=55</guid>
		<description><![CDATA[So I decided to update my Ubuntu virtual machine from 9.1 to 10.04. After the upgrade of my Ubuntu system in my virtual machine I couldn&#8217;t get fullscreen mode to work so I also upgraded from an old version of VirtualBox to version 4.1.6. Then when I went to start [...]]]></description>
			<content:encoded><![CDATA[<p>So I decided to update my Ubuntu virtual machine from 9.1 to 10.04. After the upgrade of my Ubuntu system in my virtual machine I couldn&#8217;t get fullscreen mode to work so I also upgraded from an old version of VirtualBox to version 4.1.6.</p>
<p>Then when I went to start my Virtual Machines I found they were all bricked with the following error message appearing in a popup box:</p>
<pre>Result Code: E_FAIL (0x80004005)
Component: Console
Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}</pre>
<p>Aaargh! A quick search on Google and I found the following solution was to delete the directory C:\USERS\&lt;username&gt;\AppData\Local\VirtualStore\Program Files\Oracle and all it&#8217;s subdirectories. After that my Virtual Boxes would start!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/virtualbox-4-1-6-error-verr_ldr_mismatch_native/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moodle, SCORM and Articulate Studio 09</title>
		<link>http://www.kestrelblackmore.com/moodle-scorm-and-articulate-studio-09/</link>
		<comments>http://www.kestrelblackmore.com/moodle-scorm-and-articulate-studio-09/#comments</comments>
		<pubDate>Thu, 06 May 2010 14:02:51 +0000</pubDate>
		<dc:creator>Kestrel</dc:creator>
				<category><![CDATA[Elearning]]></category>
		<category><![CDATA[articulate studio]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[scorm]]></category>

		<guid isPermaLink="false">http://www.kestrelblackmore.com/?p=47</guid>
		<description><![CDATA[I&#8217;ve been to several Moodle courses recently and whilst they have been enjoyable there doesn&#8217;t seem to be much coverage on using Moodle with SCORM.  It&#8217;s mostly been about using Moodle as a CMS to organise some type of structure for placing your course content &#8216;online&#8217;.  Now I have nothing [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been to several Moodle courses recently and whilst they have been enjoyable there doesn&#8217;t seem to be much coverage on using Moodle with SCORM.  It&#8217;s mostly been about using Moodle as a CMS to organise some type of structure for placing your course content &#8216;online&#8217;.  Now I have nothing against that but it doesn&#8217;t really seem like true elearning to me.</p>
<p>Recently I&#8217;ve been getting into scenario based elearning especially the kind that <a title="Cathy Moore's Blog" href="http://blog.cathy-moore.com/">Cathy Moore</a> advocates (here is her brilliant <a href="http://www.slideshare.net/CathyMoore/how-to-save-the-world-with-elearning-scenarios">&#8216;How to save the world with elearning scenarios&#8217;</a> presentation on slideshare).</p>
<p>We use Articulate Studio 09 as our rapid elearning authoring tool here at <a title="Australian Food Training Centre" href="http://www.australianfoodtraining.com.au">Australian Food Training Centre</a>.  It is a brilliant package which I highly recommend and I&#8217;ve pointed to some good starting tutorials on my <a href="http://www.kestrelblackmore.com/elearning/">eLearning page</a>.  It allows you to easily create the kind of scenarios that Cathy has been talking about.  This is fantastic and solves one part of the equation but the whole Moodle and SCORM.</p>
<p>So over the next few posts I&#8217;m going to dedicate some time to explaining how you can get Moodle and SCORM + Articulate Studio 09 (MaSAS) to play with each other.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kestrelblackmore.com/moodle-scorm-and-articulate-studio-09/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

