<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>

<feed xmlns="http://purl.org/atom/ns#" version="0.3" xml:lang="en-US">
<link href="https://www.blogger.com/atom/5793246" rel="service.post" title="N8's Nerd Blog" type="application/atom+xml"/>
<link href="https://www.blogger.com/atom/5793246" rel="service.feed" title="N8's Nerd Blog" type="application/atom+xml"/>
<title mode="escaped" type="text/html">N8's Nerd Blog</title>
<tagline mode="escaped" type="text/html">Nerdy stuff that I do.  Yay.</tagline>
<link href="http://www.mybrainhurts.com/nerdblog" rel="alternate" title="N8's Nerd Blog" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246</id>
<modified>2006-04-07T06:33:43Z</modified>
<generator url="http://www.blogger.com/" version="6.72">Blogger</generator>
<info mode="xml" type="text/html">
<div xmlns="http://www.w3.org/1999/xhtml">This is an Atom formatted XML site feed. It is intended to be viewed in a Newsreader or syndicated to another site. Please visit the <a href="http://help.blogger.com/bin/answer.py?answer=697">Blogger Help</a> for more info.</div>
</info>
<convertLineBreaks xmlns="http://www.blogger.com/atom/ns#">true</convertLineBreaks>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/111343759662220761" rel="service.edit" title="cat nerdblog &gt;&gt; blog" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2005-04-13T17:11:00-07:00</issued>
<modified>2005-04-14T11:04:15Z</modified>
<created>2005-04-14T00:13:16Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2005/04/cat-nerdblog-blog.html" rel="alternate" title="cat nerdblog &gt;&gt; blog" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-111343759662220761</id>
<title mode="escaped" type="text/html">cat nerdblog &gt;&gt; blog</title>
<content mode="escaped" type="text/html" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">Decided to merge the nerdblog with my regular &lt;a href=http://www.mybrainhurts.com/blog&gt;blog&lt;/a&gt;.  No need to seperate my nerdiness from my regular-ness.  If anyone knows how to merge blogs with blogger, let me know.</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/110902157317189315" rel="service.edit" title="Killing Referer Spam" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2005-02-21T13:21:00-08:00</issued>
<modified>2005-02-21T21:35:28Z</modified>
<created>2005-02-21T21:32:53Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2005/02/killing-referer-spam.html" rel="alternate" title="Killing Referer Spam" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-110902157317189315</id>
<title mode="escaped" type="text/html">Killing Referer Spam</title>
<content mode="escaped" type="text/html" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">Apparently spammers have taken to hitting up web servers and flooding them with REFERER spam.  Stuff like this:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;219.235.236.225 - - [07/Feb/2005:14:34:23 -0800] "GET /pictures/index.cgi?mode=album&amp;album=/cars/misc/rally HTTP/1.1"&lt;br /&gt;200 11108 "http://texas-holdem.crescentarian.net/"&lt;br /&gt;"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; iRider 2.21.1108; FDM)"&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;Notice the texas-holdem stuff. So that appears in my log analysis software, flooding it with this junk. I figure it's either bots that do this on purpose or people who have downloaded spyware/adware. Either way, it's annoying. This is my solution:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;SetEnvIfNoCase Referer "(holdem|hole-em|casino|viagra|chatt-nett|diet-pills|poker|mortgage|roulette|valium|phentermine|loans)" referer_spam&lt;br /&gt;  &lt;files&gt;&lt;br /&gt;    order deny,allow&lt;br /&gt;    deny from env=referer_spam&lt;br /&gt;  CustomLog /home/nathan/logs/www.mybrainhurts.com-access.log combined env=!referer_spam&lt;br /&gt;  CustomLog /home/nathan/logs/www.mybrainhurts.com-spam.log combined env=referer_spam&lt;br /&gt;&lt;/files&gt;&lt;/tt&gt;&lt;br /&gt;So, the first line sets an environment variable "referer_spam" if it encounters any of the regex in the Referer. The next section &lt;files&gt; disallows them to access files on the server and tosses a 403. Heh, bastards. The next 2 lines define different log files for the stuff tagged as "referer_spam". Easy.&lt;/files&gt;</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/110569694858939829" rel="service.edit" title="Nerd Level" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2005-01-14T02:00:28-08:00</issued>
<modified>2005-01-14T10:02:28Z</modified>
<created>2005-01-14T10:02:28Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2005/01/nerd-level.html" rel="alternate" title="Nerd Level" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-110569694858939829</id>
<title mode="escaped" type="text/html">Nerd Level</title>
<content mode="escaped" type="text/html" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">&lt;a href="http://www.wxplotter.com/funtests.php?imn"&gt;&#13;&lt;br /&gt;&lt;img src="http://www.wxplotter.com/images/ft/nq.php?val=8747" alt="I am nerdier than 82% of all people. Are you nerdier? Click here to find out!"&gt; &lt;/a&gt;&#13;&lt;br /&gt;&#13;&lt;br /&gt;&lt;pre&gt;&#13;&lt;br /&gt;18% scored higher,&#13;&lt;br /&gt;1% scored the same, and&#13;&lt;br /&gt;82% scored lower.&#13;&lt;br /&gt;&#13;&lt;br /&gt;What does this mean? Your nerdiness is:&#13;&lt;br /&gt;&#13;&lt;br /&gt;High-Level Nerd. You are definitely MIT material, apply now!!!.&#13;&lt;br /&gt;&lt;/pre&gt;&#13;&lt;br /&gt;&#13;&lt;br /&gt;Haha.  Well, at least I know I should have applied to MIT when I could have gone. &#13;&lt;br /&gt;&lt;pre&gt;&#13;&lt;br /&gt;&#13;&lt;br /&gt;&#13;&lt;br /&gt;Unix command of the day: netstat -p (must run as root)&#13;&lt;br /&gt;&lt;/pre&gt;</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/109786800939189544" rel="service.edit" title="Google Desktop" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-10-15T13:20:08-07:00</issued>
<modified>2005-01-14T10:04:08Z</modified>
<created>2004-10-15T19:20:09Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/10/google-desktop.html" rel="alternate" title="Google Desktop" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-109786800939189544</id>
<title mode="escaped" type="text/html">Google Desktop</title>
<content type="application/xhtml+xml" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="http://desktop.google.com/">Google Desktop Search Download</a>  
<br/>
<br/>It doesn't work with GAIM, Firefox/Mozilla, Thunderbird etc, but it's still an awesome idea and useful for searching my desktop files.  
<br/>
<br/>Update:  I unintalled this.  Apparently it 1) runs as a service and uses RAM 2) indexes everything including my https URL's 3) Doesn't work with enough stuff for me to keep it.  
<br/>
<br/>Maybe when v2.0 is out.</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/109714419642775512" rel="service.edit" title="PHP/Flash charts" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-09-07T15:16:47-07:00</issued>
<modified>2004-10-08T00:44:47Z</modified>
<created>2004-10-07T10:16:36Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/09/phpflash-charts.html" rel="alternate" title="PHP/Flash charts" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-109714419642775512</id>
<title mode="escaped" type="text/html">PHP/Flash charts</title>
<content type="application/xhtml+xml" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Whoah, now that's neat!  I might have to use this next time I write a graphing web app.
<br/>
<br/>http://www.maani.us/charts
<br/>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/108691818372639639" rel="service.edit" title="SonyStyle USA - KV-34HS510" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-06-10T18:43:46-07:00</issued>
<modified>2004-10-08T00:48:46Z</modified>
<created>2004-06-11T01:43:03Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/06/sonystyle-usa-kv-34hs510.html" rel="alternate" title="SonyStyle USA - KV-34HS510" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-108691818372639639</id>
<title mode="escaped" type="text/html">SonyStyle USA - KV-34HS510</title>
<content mode="escaped" type="text/html" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">&lt;a href="http://www.sonystyle.com/is-bin/INTERSHOP.enfinity/eCS/Store/en/-/USD/SY_DisplayProductInformation-Start;sid=pDfdOB7_ocbdM143Q_nXM1Hva0JZfQe3odY=?CategoryName=tv_HDTVCapable&amp;ProductSKU=KV34HS510&amp;amp;Dept=tv"&gt;Arne's TV&lt;/a&gt;.   I want this TV.&#13;&lt;br /&gt;</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/108607287863827935" rel="service.edit" title="blogrouter" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-05-31T23:54:50-07:00</issued>
<modified>2004-06-01T07:40:50Z</modified>
<created>2004-06-01T06:54:38Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/05/blogrouter.html" rel="alternate" title="blogrouter" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-108607287863827935</id>
<title mode="escaped" type="text/html">blogrouter</title>
<content mode="escaped" type="text/html" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">Aha!  So you're wondering how to post pictures directly from your camera phone or other e-mail enabled device.  This is what I used:  &lt;a href=http://hipme.com/software/blogrouter/&gt;http://hipme.com/software/blogrouter/&lt;/a&gt;.  A very well written (however sparsely documented) bit of code that will register your device and store it in a database (dbm), process e-mails, extract pictures from them and save them to disk and then post to your Blogger XML RPC enabled blog.  I'm using it with the blogger.com service.  I had to modify it a tiny bit to get it to do what I want, and I think that since the author is requesting development help, I'll do just that.  It's a good bit of code anyhow, I learned quite a bit just from reading thru it.  I didn't know you could do this in perl:&#13;&lt;br /&gt;&#13;&lt;br /&gt;@{$var-&gt;thing}&#13;&lt;br /&gt;&#13;&lt;br /&gt;Sweet!&#13;&lt;br /&gt;&#13;&lt;br /&gt;I don't like MovableType.  The licensing sucks and the interface blows.  I tried it for the 2nd time this week, dunno what makes me think that I'd like it the 2nd time around.  I am gonna check out some of the other Blogger XML RPC based *open source* packages and see what they offer. I'll post my findings.</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/108552102516482399" rel="service.edit" title="Unix Family Tree" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-05-25T14:36:49-07:00</issued>
<modified>2004-05-29T21:52:49Z</modified>
<created>2004-05-25T21:37:05Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/05/unix-family-tree.html" rel="alternate" title="Unix Family Tree" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-108552102516482399</id>
<title mode="escaped" type="text/html">Unix Family Tree</title>
<content mode="escaped" type="text/html" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">&lt;a href=http://www.levenez.com/unix&gt;http://www.levenez.com/unix&lt;/a&gt;.&#13;&lt;br /&gt;&#13;&lt;br /&gt;Neato.&#13;&lt;br /&gt;</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/108519099817634387" rel="service.edit" title="saving your mail headers" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-05-21T18:55:09-07:00</issued>
<modified>2004-05-22T01:57:09Z</modified>
<created>2004-05-22T01:56:38Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/05/saving-your-mail-headers.html" rel="alternate" title="saving your mail headers" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-108519099817634387</id>
<title mode="escaped" type="text/html">saving your mail headers</title>
<content type="application/xhtml+xml" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">One of the neater ways to save your mail headers on a UNIX box is to use procmail:
<br/>
<pre>
<br/>:0 hwc: headers.lock
<br/>* !^FROM_MAILER
<br/>| /usr/local/bin/gzip &gt;&gt; ~/headers.gz
<br/>
</pre>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/5793246/108199740848888171" rel="service.edit" title="Keyboard Cleaning" type="application/atom+xml"/>
<author>
<name>Nathan</name>
</author>
<issued>2004-04-14T19:50:08-07:00</issued>
<modified>2004-04-15T02:53:40Z</modified>
<created>2004-04-15T02:52:59Z</created>
<link href="http://www.mybrainhurts.com/nerdblog/2004/04/keyboard-cleaning.html" rel="alternate" title="Keyboard Cleaning" type="text/html"/>
<id>tag:blogger.com,1999:blog-5793246.post-108199740848888171</id>
<title mode="escaped" type="text/html">Keyboard Cleaning</title>
<content type="application/xhtml+xml" xml:base="http://www.mybrainhurts.com/nerdblog" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Looks like this:
<br/>
<br/>
<tt>
<br/>B/7845210845120-+
<br/>t741852963.0
<br/>79+865    dxcxccvbvvbbvbnnmnm,m,m,.,.././;';'[;plklkjjuhkghfgfrddfsaas          
<br/>`12qww2qewer5rtt5y67y7yui8uio[-p=p[]=[]]\-=\-=0-90890789678567456345e342123`1   
<br/>qAZ     QA32wezsd4erxdf5rtfg    3QWEZSDX5RTDFG76TYUGH7YUHJB6TYFGHUOM,. =P[];'./
<br/>j
<br/>o
<br/>M
<br/> DGJKL; ]01     `Q32wqaszdx fgthb jhlo9ik]
<br/>
<br/>ki,gthdfaq      Q1      `e3wxszrfcv yjbnhikm;pl.]
<br/>['ol,i8ujmtgvbdfcedsxqaz        QZARDFCYHGBIJKMP;L.]
<br/>=[]'P0OL8UJ6TGB5RFC 3ESX34WS1`ewszxr5f cv7yh 89ijkm plo,.-[;'/][p';0opo ki uy6 tr5e23wqqawszdf cghyguhjkij;p/
<br/>",. ./ m                      f czzfrcv hb  n.l, l. 
<br/>
</tt>
</div>
</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
</feed>
