<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="/css/rss-browser.css" ?>
<rss version="2.0">
	<channel>
		<title>Perturg.org - Scott's Geek Stuff</title>
		<link>http://www.perturb.org/</link>
		<description>Just Geek Stuff</description>

		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/932/</guid>
			<title>Javascript CapsLock check</title>
			<link>http://www.perturb.org/display/entry/932/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		Ever need to check the status of the CapsLock key for a form? Don't want a user to accidentally enter their password with the CapsLock key on and get frustrated when it doesn't work.&lt;br /&gt;
		&lt;br /&gt;
		I wrote a quick &lt;a href=&quot;http://www.perturb.org/content/js_capslock_check.html&quot;&gt;mockup&lt;/a&gt; to show an alert on a form when the capslock key is turned on when entering form data.
		</description>
			<pubDate>Wed, 01 Jul 2009 16:17:46 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/931/</guid>
			<title>Linux bridging ethernet interface</title>
			<link>http://www.perturb.org/display/entry/931/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		I needed to make a bridging interface for some KVM work I was working on. Here's how to make a bridge interface in Fedora. First you have to turn your raw eth0 interface into a bridge with a new interface (br0) that you create. Then you assign IP information to the new bridge interface either statically or via DHCP.&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;#/etc/sysconfig/network-scripts/ifcfg-eth0
		DEVICE=eth0
		ONBOOT=yes
		DELAY=0
		BRIDGE=br0&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;#/etc/sysconfig/network-scripts/ifcfg-br0
		DEVICE=br0
		BOOTPROTO=none
		ONBOOT=yes
		TYPE=Bridge
		IPADDR=1.2.3.4
		NETMASK=255.255.255.192
		DNS2=65.182.224.50
		GATEWAY=1.2.3.255
		DNS1=65.182.224.40
		IPV6INIT=no
		USERCTL=no
		PREFIX=26&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		&lt;br /&gt;
		&lt;b&gt;Note:&lt;/b&gt; you will need to disable Network Manger for this to work properly.
		</description>
			<pubDate>Tue, 30 Jun 2009 13:48:00 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/930/</guid>
			<title>Browser + Ogg Theora support </title>
			<link>http://www.perturb.org/display/entry/930/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		The following browsers support the HTML5 &amp;lt;video&amp;gt; tag with Ogg Theora video support. In other words, every modern browser except Internet Explorer.&lt;br /&gt;
		&lt;br /&gt;
		Firefox 3.5&lt;br /&gt;
		Opera 9.52&lt;br /&gt;
		Google Chrome 3&lt;br /&gt;
		Safari 3.4
		</description>
			<pubDate>Mon, 29 Jun 2009 09:24:00 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/929/</guid>
			<title>Internet Explorer 8</title>
			<link>http://www.perturb.org/display/entry/929/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		Keeping the web safe for everyone.&lt;br /&gt;
		&lt;br /&gt;
		&lt;object width=&quot;560&quot; height=&quot;340&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/8-9Mjm-Hohc&amp;hl=en&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/8-9Mjm-Hohc&amp;hl=en&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;560&quot; height=&quot;340&quot;&gt;&lt;/embed&gt;&lt;/object&gt;
		</description>
			<pubDate>Thu, 25 Jun 2009 08:56:33 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/928/</guid>
			<title>Advertising During The Simpsons More Expensive on Hulu than TV</title>
			<link>http://www.perturb.org/display/entry/928/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		It costs &lt;a href=&quot;http://gizmodo.com/5302448/advertising-during-the-simpsons-more-expensive-on-hulu-than-tv&quot;&gt;more&lt;/a&gt; per second to advertise on Hulu than it does on brodcast TV now. That's a pretty serious change.
		</description>
			<pubDate>Thu, 25 Jun 2009 08:52:02 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/927/</guid>
			<title>YouTube h.264 vs Theora</title>
			<link>http://www.perturb.org/display/entry/927/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		Software philosophies aside this &lt;a href=&quot;http://people.xiph.org/~greg/video/ytcompare/comparison.html&quot;&gt;comparison&lt;/a&gt; seems like a pretty good argument in favor of Theora on YouTube.
		</description>
			<pubDate>Tue, 16 Jun 2009 14:14:29 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/926/</guid>
			<title>Linux + Quad Nic</title>
			<link>http://www.perturb.org/display/entry/926/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		Just setup Fedora 10 with an Adaptec ANA62044 network card. It worked flawlessly out of the box. I now have 7 ethernet ports in that machine.&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;07:04.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
		07:05.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
		07:06.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)
		07:07.0 Ethernet controller: Adaptec ANA620xx/ANA69011A (rev 03)&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		</description>
			<pubDate>Tue, 12 May 2009 15:58:24 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/925/</guid>
			<title>Linux + 8 Port Serial Devices</title>
			<link>http://www.perturb.org/display/entry/925/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		We purchased an Edgeport 8 port serial to USB adapter. We'll use these to console into various network gear from one central location. I wasn't sure how well they'd work in Linux but they work flawlessly. My Fedora 10 box detected it right away, and created the /dev/ttyUSBX adapter instantly. Pretty simple to setup and use.&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;May 11 16:23:21 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 4
		May 11 16:23:21 localhost kernel: usb 1-1: configuration #1 chosen from 1 choice
		May 11 16:23:21 localhost kernel: io_edgeport 1-1:1.0: Edgeport 8 port adapter converter detected
		May 11 16:23:21 localhost kernel: usb 1-1: Inside Out Networks Edgeport/8 detected
		May 11 16:23:21 localhost kernel: firmware: requesting edgeport/down.fw
		May 11 16:23:22 localhost kernel: firmware: requesting edgeport/boot.fw
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB0
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB1
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB2
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB3
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB4
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB5
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB6
		May 11 16:23:22 localhost kernel: usb 1-1: Edgeport 8 port adapter converter now attached to ttyUSB7
		May 11 16:23:22 localhost kernel: usb 1-1: New USB device found, idVendor=1608, idProduct=000f
		May 11 16:23:22 localhost kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
		May 11 16:23:22 localhost kernel: usb 1-1: Product: Edgeport/8
		May 11 16:23:22 localhost kernel: usb 1-1: Manufacturer: Inside Out Networks
		May 11 16:23:22 localhost kernel: usb 1-1: SerialNumber: V13621972&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		</description>
			<pubDate>Mon, 11 May 2009 16:26:00 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/924/</guid>
			<title>JQuery parsing XML</title>
			<link>http://www.perturb.org/display/entry/924/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		JQuery &lt;a href=&quot;http://dev.jquery.com/ticket/3143&quot;&gt;doesn't support&lt;/a&gt; parsing XML with it's selector engine, even though it works &lt;i&gt;most&lt;/i&gt; of the time. Apparently every browser except IE does a passable job of parsing XML using their built in parsers. IE requires an Active-X control to parse XML which is unreliable as Active-X is often disabled in corporate environments. I wrote up a quick &lt;a href=&quot;/content/jquery-parse-xml.html&quot;&gt;test case&lt;/a&gt; to show this flaw. I never found a work around for parsing XML from a string, but with AJAX you just have to make sure your XML is served with &lt;b&gt;content-type: text/xml&lt;/b&gt; and you get an XML object instead of a string. This JQuery &lt;b&gt;can&lt;/b&gt; parse, even in IE.
		</description>
			<pubDate>Fri, 08 May 2009 15:07:47 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/923/</guid>
			<title>List the open files of a certain process</title>
			<link>http://www.perturb.org/display/entry/923/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		If you want to list the files that are opened by a specific process:&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;lsof -p 12345&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		</description>
			<pubDate>Wed, 22 Apr 2009 14:30:19 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/922/</guid>
			<title>Oregon Narwhals</title>
			<link>http://www.perturb.org/display/entry/922/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		As a joke Dan posted the following text on Wikipedia, it was removed within 10 minutes.&lt;br /&gt;
		&lt;br /&gt;
		&lt;br /&gt;&lt;br /&gt;
		&lt;br /&gt;
		&lt;blockquote&gt;&lt;i&gt;A very rare breed of Narwhal has been spotted off the coast of Canby Oregon.  Once thought to only be native to the saltwater of the arctic regions, these creatures have mutated and learned to adapt to freshwater climates.  Scientists believe that the reason for these new mutations is due to the heavy pollutants of the Willamette River.  It has caused them to become larger and much more in touch with the &quot;Force&quot; than their saltwater cousins.  Due to the recent siting of these rare creatures, Canby has established &quot;Narwhal Awareness Week&quot; in order to educate the town about these magnificent creatures.  Oceanographers strongly caution that if anyone encounters an Oregon Narwhal, do not approach it.  They are known to be very aggressive and can take a polar bear in a fight.  If attacked by an Oregon Narwhal, then it would be best to cover the genital region since that is what they usually attack. If they touch your balls then seek medical attention immediately.&lt;/i&gt;&lt;/blockquote&gt;
		</description>
			<pubDate>Wed, 15 Apr 2009 15:57:00 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/921/</guid>
			<title>SQLite index usage</title>
			<link>http://www.perturb.org/display/entry/921/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		To check if your SQLite query is using an index or not do:&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;EXPLAIN QUERY PLAN SELECT * FROM Table WHERE ID = 12;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		&lt;br /&gt;
		and look for USING [IndexName]
		</description>
			<pubDate>Mon, 06 Apr 2009 13:43:00 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/920/</guid>
			<title>Cisco transfer protocols?</title>
			<link>http://www.perturb.org/display/entry/920/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		How long has Cisco supported new transfer methods? scp? https? That along with USB ports on modern routers makes getting images on to routers easier than ever.&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;Router#copy ?
		  /erase          Erase destination file system.
		  /noverify       Don't verify image signature before reload.
		  /verify         Verify image signature before reload.
		  archive:        Copy from archive: file system
		  bootflash:      Copy from bootflash: file system
		  cns:            Copy from cns: file system
		  disk2:          Copy from disk2: file system
		  ftp:            Copy from ftp: file system
		  http:           Copy from http: file system
		  https:          Copy from https: file system
		  ips-sdf         Copy from current IPS signature configuration
		  null:           Copy from null: file system
		  nvram:          Copy from nvram: file system
		  pram:           Copy from pram: file system
		  rcp:            Copy from rcp: file system
		  running-config  Copy from current system configuration
		  scp:            Copy from scp: file system
		  startup-config  Copy from startup configuration
		  system:         Copy from system: file system
		  tar:            Copy from tar: file system
		  tftp:           Copy from tftp: file system&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		
		</description>
			<pubDate>Wed, 25 Mar 2009 10:27:02 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/919/</guid>
			<title>50% percent randomness</title>
			<link>http://www.perturb.org/display/entry/919/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		Needed a quick random bit in Perl.&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;my $rand = int(rand() * 2);&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		</description>
			<pubDate>Tue, 17 Mar 2009 09:46:20 -0700</pubDate>
		</item>
		
		<item>
			<guid isPermaLink="true">http://www.perturb.org/display/entry/918/</guid>
			<title>Deleting all the Postfix queue mail</title>
			<link>http://www.perturb.org/display/entry/918/</link>
			<description>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;/css/rss-feed.css&quot; title=&quot;Default&quot; /&gt;
		I had a server that Postfix wasn't running on, but had 8500 old emails in the queue. I needed to remove them since they weren't relevant anymore.&lt;br /&gt;
		&lt;br /&gt;
		&lt;h4 class=&quot;code_header&quot;&gt;Code:&lt;/h4&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;pre class=&quot;code&quot;&gt;postsuper -d ALL&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		</description>
			<pubDate>Fri, 20 Feb 2009 13:16:52 -0800</pubDate>
		</item>
		
	</channel>
</rss>
