<?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>LegHumped.com&#187; Uncategorized &#187; Leghumped</title>
	<atom:link href="http://www.leghumped.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leghumped.com/blog</link>
	<description>Coding snippets, tutorials and procrastinations about C#, Java and Linux.</description>
	<lastBuildDate>Sun, 30 May 2010 14:00:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Guide: Subversion with Visual Studio</title>
		<link>http://www.leghumped.com/blog/2009/05/07/guide-subversion-with-visual-studio/</link>
		<comments>http://www.leghumped.com/blog/2009/05/07/guide-subversion-with-visual-studio/#comments</comments>
		<pubDate>Thu, 07 May 2009 17:30:42 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/?p=350</guid>
		<description><![CDATA[I&#8217;ve just published a guide to source control with Visual Studio, AnkhSVN and TortoiseMerge.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just published a <a href="http://leghumped.com/blog/subversion-with-visual-studio/">guide to source control with Visual Studio, AnkhSVN and TortoiseMerge</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2009/05/07/guide-subversion-with-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Default wizard button in ASP.NET</title>
		<link>http://www.leghumped.com/blog/2009/01/05/default-wizard-button-in-aspnet/</link>
		<comments>http://www.leghumped.com/blog/2009/01/05/default-wizard-button-in-aspnet/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 12:48:48 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/?p=336</guid>
		<description><![CDATA[When you press enter/return on a wizard control in ASP.NET, the default action is to just submit the form, disregarding any buttons which were pressed. This seems pretty counter-intuitive to me &#8211; if I press enter on a form, it should be obvious I want to go &#8216;Next&#8217;. After two hours trying to debug an [...]]]></description>
			<content:encoded><![CDATA[<p>When you press enter/return on a wizard control in ASP.NET, the default action is to just submit the form, disregarding any buttons which were pressed. This seems pretty counter-intuitive to me &#8211; if I press enter on a form, it should be obvious I want to go &#8216;Next&#8217;. After two hours trying to debug an installer wondering why it seemed to work sometimes and not others I eventually tracked it down to the default button. I&#8217;m using a master page, but the principle is the same if you&#8217;re not.</p>
<p>The method I used uses the Page_Load event to set the default button for the form.</p>
<p><span id="more-336"></span></p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">if</span><span style="color: #000000;">&#40;</span><span style="color: #008000;">!</span>Page.<span style="color: #0000FF;">IsPostBack</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <span style="color: #008080; font-style: italic;">// First page, nothing clicked</span>
    Master.<span style="color: #0000FF;">Page</span>.<span style="color: #0000FF;">Form</span>.<span style="color: #0000FF;">DefaultButton</span> <span style="color: #008000;">=</span> wzdInstall.<span style="color: #0000FF;">FindControl</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;StartNavigationTemplateContainerID$StartNextButton&quot;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">UniqueID</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span> <span style="color: #0600FF;">else</span> <span style="color: #000000;">&#123;</span>
    <span style="color: #0600FF;">switch</span><span style="color: #000000;">&#40;</span>wzdInstall.<span style="color: #0000FF;">ActiveStepIndex</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <span style="color: #008080; font-style: italic;">// set the default button to next</span>
        <span style="color: #0600FF;">case</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">:</span> <span style="color: #008080; font-style: italic;">//page has posted back but is still on page one, about to load page 2</span>
        <span style="color: #0600FF;">default</span><span style="color: #008000;">:</span>
            Master.<span style="color: #0000FF;">Page</span>.<span style="color: #0000FF;">Form</span>.<span style="color: #0000FF;">DefaultButton</span> <span style="color: #008000;">=</span> wzdInstall.<span style="color: #0000FF;">FindControl</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;StepNavigationTemplateContainerID$StepNextButton&quot;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">UniqueID</span><span style="color: #008000;">;</span>
            break<span style="color: #008000;">;</span>
        <span style="color: #0600FF;">case</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">:</span> <span style="color: #008080; font-style: italic;">// my wizard only had three steps, but this should be the number of steps-1</span>
            Master.<span style="color: #0000FF;">Page</span>.<span style="color: #0000FF;">Form</span>.<span style="color: #0000FF;">DefaultButton</span> <span style="color: #008000;">=</span> wzdInstall.<span style="color: #0000FF;">FindControl</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;FinishNavigationTemplateContainerID$FinishButton&quot;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">UniqueID</span><span style="color: #008000;">;</span>
            break<span style="color: #008000;">;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2009/01/05/default-wizard-button-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Grab some Firethreads</title>
		<link>http://www.leghumped.com/blog/2007/09/14/grab-some-firethreads/</link>
		<comments>http://www.leghumped.com/blog/2007/09/14/grab-some-firethreads/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 08:35:58 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/09/14/grab-some-firethreads/</guid>
		<description><![CDATA[Mozilla has opened a new store selling all sort of Firefox goodies. It&#8217;s bordering on overly-geeky, but isn&#39;t it worth sacrificing your dignity to support open source&#63; The Mozilla Store &#91;Via&#58; UneasySilence&#93;]]></description>
			<content:encoded><![CDATA[<p>Mozilla has opened a new store selling all sort of Firefox goodies. It&#8217;s bordering on overly-geeky, but isn&#39;t it worth sacrificing your dignity to support open source&#63;</p>
<p><a href="http://store.mozilla.org/" class="nodecor"><img src="http://images.leghumped.com/mozillastore.png" alt="MozillaStore" class="centered" style="border: 1px solid #000;" /></a></p>
<p><a href="http://store.mozilla.org/" class="rmore">The Mozilla Store</a> &#91;Via&#58; <a href="http://uneasysilence.com/archive/2007/09/11994/" class="rmore">UneasySilence</a>&#93;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/09/14/grab-some-firethreads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualise site popularity with TouchGraph</title>
		<link>http://www.leghumped.com/blog/2007/09/08/visualise-site-popularity-with-touchgraph/</link>
		<comments>http://www.leghumped.com/blog/2007/09/08/visualise-site-popularity-with-touchgraph/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 18:22:37 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/09/08/visualise-site-popularity-with-touchgraph/</guid>
		<description><![CDATA[TouchGraph lets you see a visual spider diagram for any keyword or site. Interesting to see who&#8217;s linked to you and from where, and which of your pages are most popular. TouchGraph]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.touchgraph.com/TGGoogleBrowser.html">TouchGraph</a> lets you see a visual spider diagram for any keyword or site. Interesting to see who&#8217;s linked to you and from where, and which of your pages are most popular.</p>
<p><a href="http://www.touchgraph.com/TGGoogleBrowser.html" class="nodecor"><img src="http://images.leghumped.com/touchgraph.gif" class="centered" alt="TouchGraph" /></a></p>
<p><a href="http://www.touchgraph.com/TGGoogleBrowser.html" class="rmore">TouchGraph</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/09/08/visualise-site-popularity-with-touchgraph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart Windows without rebooting</title>
		<link>http://www.leghumped.com/blog/2007/08/17/restart-windows-without-rebooting/</link>
		<comments>http://www.leghumped.com/blog/2007/08/17/restart-windows-without-rebooting/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 13:51:30 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/08/17/restart-windows-without-rebooting/</guid>
		<description><![CDATA[Something I&#39;ve never known. You can restart windows without waiting 30 seconds for your BIOS to finish loading Windows Vista&#58; Select Start, then hover over the arrow to the right of the padlock icon until the pop-up menu appears. Hold down the SHIFT key while clicking &#34;Restart&#34;. Windows XP&#58; Select Start, then &#34;Shut Down…&#34;. Change [...]]]></description>
			<content:encoded><![CDATA[<p>Something I&#39;ve never known. You can restart windows without waiting 30 seconds for your BIOS to finish loading</p>
<blockquote>
<p><strong>Windows Vista&#58;</strong> Select Start, then hover over the arrow to the right of the padlock icon until the pop-up menu appears. Hold down the SHIFT key while clicking &#34;Restart&#34;.</p>
<p><strong>Windows XP&#58;</strong> Select Start, then &#34;Shut Down…&#34;. Change the drop-down box &#34;Restart&#34;. Hold down the SHIFT key while clicking OK</p>
</blockquote>
<p>You could probably do the same in Windows 3.11 by dropping to a DOS shell and typing &#34;win&#34;.</p>
<p><img src="http://mi6.nu/smilies/bandevil.gif" alt="" /></p>
<p>&#91;Via&#58; <a href="http://www.codejacked.com/restarting-windows-without-restarting-your-pc-vista-or-xp/" class="rmore">CodeJacked</a>&#93;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/08/17/restart-windows-without-rebooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnarls Barklay Theremin Cover</title>
		<link>http://www.leghumped.com/blog/2007/07/03/gnarls-barklay-theremin-cover/</link>
		<comments>http://www.leghumped.com/blog/2007/07/03/gnarls-barklay-theremin-cover/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 13:26:56 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/07/03/gnarls-barklay-theremin-cover/</guid>
		<description><![CDATA[I know my last three posts have been YouTube videos, but this is definitely worth watching. The instrument in the video is a Theremin, invented by a Russian in 1919. It uses RF oscillators to produce sound without being touched. [kml_flashembed movie="http://www.youtube.com/v/mW0B1sipLBI" height="350" width="425" /] &#91;Via&#58; BoingBoing&#93;]]></description>
			<content:encoded><![CDATA[<p>I know my last three posts have been YouTube videos, but this is definitely worth watching. The instrument in the video is a <a href="http://en.wikipedia.org/wiki/Theremin">Theremin</a>, invented by a Russian in 1919. It uses RF oscillators to produce sound without being touched.</p>
<div class="center">[kml_flashembed movie="http://www.youtube.com/v/mW0B1sipLBI" height="350" width="425" /]</div>
<p>&#91;Via&#58; <a href="http://www.boingboing.net/2007/06/23/theremin_cover_of_gn.html" class="rmore">BoingBoing</a>&#93;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/07/03/gnarls-barklay-theremin-cover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pentagon Tried to Build &#8220;Gay Bomb&#8221;</title>
		<link>http://www.leghumped.com/blog/2007/06/15/pentagon-tried-to-build-gay-bomb/</link>
		<comments>http://www.leghumped.com/blog/2007/06/15/pentagon-tried-to-build-gay-bomb/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 07:42:12 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/06/15/pentagon-tried-to-build-gay-bomb/</guid>
		<description><![CDATA[A Berkeley watchdog organization that tracks military spending said it uncovered a strange U.S. military proposal to create a hormone bomb that could purportedly turn enemy soldiers into homosexuals and make them more interested in sex than fighting. Pentagon officials on Friday confirmed to CBS 5 that military leaders had considered, and then subsquently rejected, [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
<p>A Berkeley watchdog organization that tracks military spending said it uncovered a strange U.S. military proposal to create a hormone bomb that could purportedly turn enemy soldiers into homosexuals and make them more interested in sex than fighting.</p>
<p>Pentagon officials on Friday confirmed to CBS 5 that military leaders had considered, and then subsquently rejected, building the so-called &quot;Gay Bomb.&quot;</p>
<p>Gay community leaders in California said Friday that they found the notion of a &quot;gay bomb&quot; both offensive and almost laughable at the same time.</p>
</blockquote>
<p>Interesting idea, but I can&#39;t see it catching on.</p>
<p>Source&#58; <a href="http://cbs5.com/topstories/local_story_159222541.html" class="rmore">CBS5</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/06/15/pentagon-tried-to-build-gay-bomb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LOLCode &#8211; Programming for AOL Kiddies</title>
		<link>http://www.leghumped.com/blog/2007/06/06/lolcode-programming-for-aol-kiddies/</link>
		<comments>http://www.leghumped.com/blog/2007/06/06/lolcode-programming-for-aol-kiddies/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 13:08:32 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[lolcode]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/06/06/lolcode-programming-for-aol-kiddies/</guid>
		<description><![CDATA[LOLCode is an &#34;awesome new programming language&#34; for MySpace kids everywhere. It uses familiar vocabulary and with a fast growing list of functions, could soon over-take more traditional languages like PHP. HAI CAN HAS STDIO? I HAS A VAR IM IN YR LOOP UP VAR!!1 VISIBLE VAR IZ VAR BIGGER THAN 10? KTHXBYE IM OUTTA [...]]]></description>
			<content:encoded><![CDATA[<p>LOLCode is an &#34;awesome new programming language&#34; for MySpace kids everywhere. It uses familiar vocabulary and with a fast growing list of functions, could soon over-take more traditional languages like PHP.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">HAI
CAN HAS STDIO?
I HAS A <span style="color: #000000; font-weight: bold;">VAR</span>
IM IN YR LOOP
     UP <span style="color: #000000; font-weight: bold;">VAR</span><span style="color: #339933;">!!</span><span style="color: #cc66cc;">1</span>
     VISIBLE <span style="color: #000000; font-weight: bold;">VAR</span>
     IZ <span style="color: #000000; font-weight: bold;">VAR</span> BIGGER THAN <span style="color: #cc66cc;">10</span>? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE</pre></div></div>

<p><a href="http://lolcode.com/" class="rmore">Read more at LOLCode.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/06/06/lolcode-programming-for-aol-kiddies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bubblehead Webcams</title>
		<link>http://www.leghumped.com/blog/2007/05/29/bubblehead-webcams/</link>
		<comments>http://www.leghumped.com/blog/2007/05/29/bubblehead-webcams/#comments</comments>
		<pubDate>Tue, 29 May 2007 08:28:03 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/05/29/bubblehead-webcams/</guid>
		<description><![CDATA[Bubbleheads are a prototype webcam design by Eric Zhang. The circle around the lens has LEDs which synchronise with the system time, aswell as looking good. I always end up throwing a sheet over my webcam when I&#8217;m not using it incase anyone&#8217;s watching me pick my nose, but having one of these wouldn&#8217;t be [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.leghumped.com/bubbleheads.jpg" alt="Bubbleheads webcams" class="centered" /></p>
<p>Bubbleheads are a prototype webcam design by Eric Zhang. The circle around the lens has LEDs which synchronise with the system time, aswell as looking good. I always end up throwing a sheet over my webcam when I&#8217;m not using it incase anyone&#8217;s watching me pick my nose, but having one of these wouldn&#8217;t be creepy at all.</p>
<p>&#91;Via&#58; <a href="http://www.ohgizmo.com/2007/05/01/the-bubble-head-concept-redefines-webcams/" class="rmore">OhGizmo</a>&#93;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/05/29/bubblehead-webcams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Simpsons Spoof WoW</title>
		<link>http://www.leghumped.com/blog/2007/05/26/the-simpsons-spoof-wow/</link>
		<comments>http://www.leghumped.com/blog/2007/05/26/the-simpsons-spoof-wow/#comments</comments>
		<pubDate>Sat, 26 May 2007 18:55:43 +0000</pubDate>
		<dc:creator>Harry Jennerway</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leghumped.com/blog/2007/05/26/the-simpsons-spoof-wow/</guid>
		<description><![CDATA[[kml_flashembed movie="http://www.youtube.com/v/XuIOwy65kTs" height="350" width="425" /] The creators of the Simpsons have made this spoof of World of Warcraft. It&#39;s actually pretty impressive, not like the Dominos advert they did. &#91;Via&#58; WoW Insider&#93;]]></description>
			<content:encoded><![CDATA[<div class="center">[kml_flashembed movie="http://www.youtube.com/v/XuIOwy65kTs" height="350" width="425" /]</div>
<p>The creators of the Simpsons have made this spoof of World of Warcraft. It&#39;s actually pretty impressive, not like the Dominos advert they did.</p>
<p>&#91;Via&#58; <a href="http://www.wowinsider.com/2007/05/23/wow-moviewatch-the-simpsons-spoof-wow/" class="rmore">WoW Insider</a>&#93;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leghumped.com/blog/2007/05/26/the-simpsons-spoof-wow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
