<?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>Promises of Progress &#187; Hacking</title>
	<atom:link href="http://casper.warming.com/blog/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://casper.warming.com/blog</link>
	<description>Wits - or GTFO</description>
	<lastBuildDate>Wed, 19 May 2010 11:58:29 +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>Random selection</title>
		<link>http://casper.warming.com/blog/2009/01/14/random-selection/</link>
		<comments>http://casper.warming.com/blog/2009/01/14/random-selection/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 11:13:58 +0000</pubDate>
		<dc:creator>casper</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[multiple-choice]]></category>
		<category><![CDATA[populate]]></category>
		<category><![CDATA[radio]]></category>

		<guid isPermaLink="false">http://casper.warming.com/blog/?p=114</guid>
		<description><![CDATA[Having to complete an online multiple-choice personality test in a hurry, I quickly threw together a piece of javascript, that selects random radio buttons on any page. If you are in a similar hurry, feel free to bookmark it &#8211; and use it on a page with plenty of radio buttons. randomradio! Enjoy. And now [...]]]></description>
			<content:encoded><![CDATA[<p>Having to complete an online multiple-choice personality test in a hurry, I quickly threw together a piece of javascript, that selects random radio buttons on any page.<br />
If you are in a similar hurry, feel free to bookmark it &#8211; and use it on a page with plenty of radio buttons.</p>
<p><a href="javascript:function rr(o) { var e = new Object(); for (var n = 0; n &lt; o.length; n++) { if (o[n].type === 'radio') { o[n].checked = false; if (e[o[n].name]) { continue; } e[o[n].name] = document.getElementsByName(o[n].name); }} for (k in e) { var s = e[k]; s[Math.floor(Math.random() * s.length)].checked = true; }} rr(document.getElementsByTagName('input'));">randomradio!</a></p>
<p>Enjoy.</p>
<p>And now I look forward to hearing about the personality profile of the javascript random().</p>
]]></content:encoded>
			<wfw:commentRss>http://casper.warming.com/blog/2009/01/14/random-selection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Huawei E220 on FreeBSD</title>
		<link>http://casper.warming.com/blog/2008/10/03/huawei-e220-on-freebsd/</link>
		<comments>http://casper.warming.com/blog/2008/10/03/huawei-e220-on-freebsd/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 16:46:49 +0000</pubDate>
		<dc:creator>casper</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[e220]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[huawei]]></category>

		<guid isPermaLink="false">http://casper.warming.com/blog/?p=31</guid>
		<description><![CDATA[I had a Huawei E220 USB HSDPA modem laying around for when I&#8217;m on the move. Having heard about it working on Linux (from here and there), I was wondering if I could use it under FreeBSD 7. The short answer is: not without effort. It appears that the modem is two-in-one devices. A flash [...]]]></description>
			<content:encoded><![CDATA[<p>I had a Huawei E220 USB HSDPA modem laying around for when I&#8217;m on the move. Having heard about it working on Linux (from <a href="http://legart.dk/2007/04/30/3g-high-speed-data-with-a-huawei-usb-modem-and-linux/">here</a> and <a href="http://www.nerd.dk/archives/2007/05/03/index.html#e2007-05-03T10_45_28.txt">there</a>), I was wondering if I could use it under FreeBSD 7.</p>
<p>The short answer is: not without effort.</p>
<p>It appears that the modem is two-in-one devices. A flash memory stick (umass) and a modem (ubsa). Unfortunately once the umass device has been detected, FreeBSD does not look for the serial device. Thus leaving me with a 10MB memory stick.</p>
<p>The solution is apparently to create a custom kernel where umass is disabled, and then load ubsa before umass in the kernel loader.</p>
<p>It find it a bit much to create a custom kernel just for this single purpose, so I&#8217;m <a href="http://www.mavetju.org/mail/view_message.php?list=freebsd-usb&amp;id=2647345">almost</a> back to square one.</p>
]]></content:encoded>
			<wfw:commentRss>http://casper.warming.com/blog/2008/10/03/huawei-e220-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
