<?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"
	>

<channel>
	<title>Knowledge Base - .NET, C#, SQL Server 2005, PHP and Actionscript 2.0 / 3.0 etc</title>
	<atom:link href="http://knowledge.jamiehinton.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://knowledge.jamiehinton.co.uk</link>
	<description>Everthing I have found that might be useful in .NET, C#, SQL Server 2005, PHP and Actionscript 2.0 / 3.0 etc</description>
	<pubDate>Tue, 18 Nov 2008 14:47:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Google Bot meta tags - unavailable_after</title>
		<link>http://knowledge.jamiehinton.co.uk/google-bot-meta-tags-unavailable_after/</link>
		<comments>http://knowledge.jamiehinton.co.uk/google-bot-meta-tags-unavailable_after/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 14:47:02 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[General Web]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=408</guid>
		<description><![CDATA[This is really useful for campaigns or time specific content:

We also want to make sure you&#8217;ve heard about the new unavailable_after META
tag announced by Dan Crow on the Official Google Blog a few weeks ago. This allows for a more dynamic relationship between your site and Googlebot. Just think, with www.example.com, any time you have [...]]]></description>
			<content:encoded><![CDATA[<p>This is really useful for campaigns or time specific content:</p>
<blockquote>
<p>We also want to make sure you&#8217;ve heard about the new unavailable_after META<br />
tag announced by Dan Crow on the <span style="color: #3333ff;"><a title="Official Google Blog" href="http://googleblog.blogspot.com/2007/07/robots-exclusion-protocol-now-with-even.html">Official Google Blog</a></span> a few weeks ago. This allows for a more dynamic relationship between your site and Googlebot. Just think, with<strong><span id="HA_secretSpan_4 www.example.com" class="HA_secretSpan"> www.example.com</span></strong>, any time you have a temporarily available news story or limited offer sale or promotion page, you can specify the exact date and time you want specific<br />
pages to stop being crawled and indexed.</p>
<p>Let&#8217;s assume you are running a promotion that expires at the end of 2007. In the headers of page<strong><span id="HA_secretSpan_5 www.example.com" class="HA_secretSpan"> www.example.com/2007promotion.html</span></strong>, you would use the following:</p>
<p><span style="font-family: courier new;">&lt;META NAME=&#8221;GOOGLEBOT&#8221;<br />
CONTENT=&#8221;unavailable_after: 31-Dec-2007 23:59:59 EST&#8221;&gt;</span></p>
<p>The second exciting news: the new X-Robots-Tag directive, which adds <a title="Robots Exclusion Protocol" href="http://googleblog.blogspot.com/2007/02/robots-exclusion-protocol.html">Robots Exclusion Protocol</a> (REP) META tag support for non-HTML pages! Finally, you can have the same control over your videos, spreadsheets, and other indexed file types. Using the example above, let&#8217;s say your promotion page is in PDF format. For<strong><span id="HA_secretSpan_6 www.example.com" class="HA_secretSpan"> www.example.com/2007promotion.pdf</span></strong>, you would use the following:</p>
<p><span style="font-family: Courier New;">X-Robots-Tag: unavailable_after: 31 Dec<br />
2007 23:59:59 EST</span></p>
<p>Remember, REP META tags can be useful for implementing noarchive, nosnippet, and now unavailable_after tags for page-level instruction, as opposed to robots.txt, which is controlled at the domain root. We get requests from bloggers and webmasters for these features, so enjoy. If you have other suggestions, keep them coming. Any questions? Please ask them in the <a title="Webmaster Help Group" href="http://groups.google.com/group/Google_Webmaster_Help">Webmaster Help Group</a>.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/google-bot-meta-tags-unavailable_after/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Intelisense for jQuery in Visual Studio</title>
		<link>http://knowledge.jamiehinton.co.uk/intelisense-for-jquery-in-visual-studio/</link>
		<comments>http://knowledge.jamiehinton.co.uk/intelisense-for-jquery-in-visual-studio/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 12:19:47 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=396</guid>
		<description><![CDATA[As jQuery is being shipped with the MVC framework I suppose I will have to move away from Prototype -oh well I am sure what I learnt won&#8217;t be wasted.
It would be so useful if Visual Studio provided some intelisense for JavaScript (more than it does actually give) so after a small amout of Googling [...]]]></description>
			<content:encoded><![CDATA[<p>As jQuery is being shipped with the MVC framework I suppose I will have to move away from Prototype -oh well I am sure what I learnt won&#8217;t be wasted.</p>
<p>It would be so useful if Visual Studio provided some intelisense for JavaScript (more than it does actually give) so after a small amout of Googling I found this post:</p>
<blockquote><p><a href="http://brennan.offwhite.net/blog/2008/02/01/intellisense-for-jquery-in-visual-studio-2008/" target="_blank">http://brennan.offwhite.net/blog/2008/02/01/intellisense-for-jquery-in-visual-studio-2008/</a></p>
<p>Bit of an update:</p>
<p><a href="http://weblogs.asp.net/bleroy/archive/2008/11/07/visual-studio-patched-for-better-jquery-intellisense.aspx" target="_blank">http://weblogs.asp.net/bleroy/archive/2008/11/07/visual-studio-patched-for-better-jquery-intellisense.aspx</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/intelisense-for-jquery-in-visual-studio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>.NET Videos</title>
		<link>http://knowledge.jamiehinton.co.uk/watch-castle-windsor-dependency-injection/</link>
		<comments>http://knowledge.jamiehinton.co.uk/watch-castle-windsor-dependency-injection/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 10:25:28 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[Castle Windsor]]></category>

		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=394</guid>
		<description><![CDATA[﻿Castle Windsor IOC:
http://gojko.net/2008/11/04/dependency-injection-with-castle-windsor-video/
MVC ScottGu:
http://www.hanselman.com/silverlight/ScottGuAtAltNetConf/
]]></description>
			<content:encoded><![CDATA[<blockquote><p>﻿Castle Windsor IOC:</p>
<p><span style="font-size: small;"><a href="http://gojko.net/2008/11/04/dependency-injection-with-castle-windsor-video/" target="_blank"><span style="color: #000000;"><span style="font-family: MS Sans Serif;">http://gojko.net/2008/11/04/dependency-injection-with-castle-windsor-video/</span></span></a></span></p></blockquote>
<blockquote><p>MVC ScottGu:</p>
<p><a href="http://www.hanselman.com/silverlight/ScottGuAtAltNetConf/" target="_blank">http://www.hanselman.com/silverlight/ScottGuAtAltNetConf/</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/watch-castle-windsor-dependency-injection/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MSBuild-ification doing it from command line - some reference</title>
		<link>http://knowledge.jamiehinton.co.uk/msbuild-ification-doing-it-from-command-line-some-reference/</link>
		<comments>http://knowledge.jamiehinton.co.uk/msbuild-ification-doing-it-from-command-line-some-reference/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 20:25:35 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[MSBuild]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=390</guid>
		<description><![CDATA[http://msdn.microsoft.com/en-us/library/ms164311.aspx
/p:Configuration=Debug
]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://msdn.microsoft.com/en-us/library/ms164311.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms164311.aspx</a></p>
<p><span class="code">/p:Configuration=Debug</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/msbuild-ification-doing-it-from-command-line-some-reference/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET MVC Framework</title>
		<link>http://knowledge.jamiehinton.co.uk/aspnet-mvc-framework/</link>
		<comments>http://knowledge.jamiehinton.co.uk/aspnet-mvc-framework/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 19:52:45 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=388</guid>
		<description><![CDATA[Something that I have been looking forward to having a go with - and soon all being well.
Things to watch and read:
http://www.hanselman.com/blog/ScottGuMVCPresentationAndScottHaScreencastFromALTNETConference.aspx
http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx
]]></description>
			<content:encoded><![CDATA[<p>Something that I have been looking forward to having a go with - and soon all being well.</p>
<p>Things to watch and read:</p>
<blockquote><p><a href="http://www.hanselman.com/blog/ScottGuMVCPresentationAndScottHaScreencastFromALTNETConference.aspx" target="_blank">http://www.hanselman.com/blog/ScottGuMVCPresentationAndScottHaScreencastFromALTNETConference.aspx</a></p>
<p><a href="http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx" target="_blank">http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/aspnet-mvc-framework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bed time reading&#8230;.</title>
		<link>http://knowledge.jamiehinton.co.uk/bed-time-reading/</link>
		<comments>http://knowledge.jamiehinton.co.uk/bed-time-reading/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 09:23:53 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[computing]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=381</guid>
		<description><![CDATA[http://en.wikipedia.org/wiki/Lambda_calculus
http://en.wikipedia.org/wiki/Church%E2%80%93Turing_thesis
http://c2.com/ppr/checks.html
]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://en.wikipedia.org/wiki/Lambda_calculus" target="_blank">http://en.wikipedia.org/wiki/Lambda_calculus</a></p>
<p><a href="http://en.wikipedia.org/wiki/Church%E2%80%93Turing_thesis" target="_blank">http://en.wikipedia.org/wiki/Church%E2%80%93Turing_thesis</a></p>
<p><a href="http://c2.com/ppr/checks.html" target="_blank">http://c2.com/ppr/checks.html</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/bed-time-reading/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fisher Yates Shuffle - very useful</title>
		<link>http://knowledge.jamiehinton.co.uk/fisher-yates-shuffle-very-useful/</link>
		<comments>http://knowledge.jamiehinton.co.uk/fisher-yates-shuffle-very-useful/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 20:12:25 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=377</guid>
		<description><![CDATA[Useful for random stuff:
int[] array = new int[6] {1,2,3,4,5,6};
Console.WriteLine(&#8221;BEFORE&#8221;);
foreach (int i in array)
{
Console.WriteLine(i.ToString());
}
Random rng = new Random();
int n = array.Length;
while (n &#62; 1)
{
int k = rng.Next(n);
n&#8211;;
int temp = array[n];
array[n] = array[k];
array[k] = temp;
}
Console.WriteLine(&#8221;AFTER&#8221;);
foreach (int i in array)
{
Console.WriteLine(i.ToString());
}
Console.ReadLine();
]]></description>
			<content:encoded><![CDATA[<p>Useful for random stuff:</p>
<blockquote><p>int[] array = new int[6] {1,2,3,4,5,6};<br />
Console.WriteLine(&#8221;BEFORE&#8221;);<br />
foreach (int i in array)<br />
{<br />
Console.WriteLine(i.ToString());<br />
}</p>
<p>Random rng = new Random();<br />
int n = array.Length;<br />
while (n &gt; 1)<br />
{<br />
int k = rng.Next(n);<br />
n&#8211;;<br />
int temp = array[n];<br />
array[n] = array[k];<br />
array[k] = temp;<br />
}</p>
<p>Console.WriteLine(&#8221;AFTER&#8221;);<br />
foreach (int i in array)<br />
{<br />
Console.WriteLine(i.ToString());<br />
}</p>
<p>Console.ReadLine();</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/fisher-yates-shuffle-very-useful/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tips and tricks from Scott Gu</title>
		<link>http://knowledge.jamiehinton.co.uk/tips-and-tricks-from-scott-gu/</link>
		<comments>http://knowledge.jamiehinton.co.uk/tips-and-tricks-from-scott-gu/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 19:54:47 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=374</guid>
		<description><![CDATA[I like reading Scott Gu&#8217;s blog there is usually some really good stuff on there including a large list of tips and tricks:
http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx
]]></description>
			<content:encoded><![CDATA[<p>I like reading Scott Gu&#8217;s blog there is usually some really good stuff on there including a large list of tips and tricks:</p>
<blockquote><p><a href="http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx" target="_blank">http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/tips-and-tricks-from-scott-gu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>App_Code directory assembly</title>
		<link>http://knowledge.jamiehinton.co.uk/app_code-directory-assembly/</link>
		<comments>http://knowledge.jamiehinton.co.uk/app_code-directory-assembly/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 19:52:24 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=372</guid>
		<description><![CDATA[If you are just testing something you might pop a class in the App_Code directory (I was messing with extending web controls) you may need to the reference the assembly for that class. You can by using &#8220;__code&#8221;.
Here is what I did:
&#60;%@ Register TagPrefix=&#8221;ExtendedAnchor&#8221; Assembly=&#8221;__code&#8221; Namespace=&#8221;WhatEver.Namespace&#8221;%&#62;
Jobs a good&#8217;en!
]]></description>
			<content:encoded><![CDATA[<p>If you are just testing something you might pop a class in the App_Code directory (I was messing with extending web controls) you may need to the reference the assembly for that class. You can by using &#8220;__code&#8221;.</p>
<p>Here is what I did:</p>
<blockquote><p>&lt;%@ Register TagPrefix=&#8221;ExtendedAnchor&#8221; Assembly=&#8221;__code&#8221; Namespace=&#8221;WhatEver.Namespace&#8221;%&gt;</p></blockquote>
<p>Jobs a good&#8217;en!</p>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/app_code-directory-assembly/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hiding and showing initial content with JavaScript</title>
		<link>http://knowledge.jamiehinton.co.uk/hiding-and-showing-initial-content-with-javascript/</link>
		<comments>http://knowledge.jamiehinton.co.uk/hiding-and-showing-initial-content-with-javascript/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 16:18:31 +0000</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://knowledge.jamiehinton.co.uk/?p=367</guid>
		<description><![CDATA[http://www.robertnyman.com/2008/05/13/how-to-hide-and-show-initial-content-depending-on-whether-javascript-support-is-available/
]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://www.robertnyman.com/2008/05/13/how-to-hide-and-show-initial-content-depending-on-whether-javascript-support-is-available/" target="_blank"><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: arial;">http://www.robertnyman.com/2008/05/13/how-to-hide-and-show-initial-content-depending-on-whether-javascript-support-is-available/</span></span></span></a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowledge.jamiehinton.co.uk/hiding-and-showing-initial-content-with-javascript/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
