<?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>Matt Shelton &#187; how-to</title>
	<atom:link href="http://www.mattshelton.net/tags/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattshelton.net</link>
	<description>scribbling geekery, things and stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:38:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing the Cisco VPN Client on Windows 7</title>
		<link>http://www.mattshelton.net/2009/05/27/installing-the-cisco-vpn-client-on-windows-7/</link>
		<comments>http://www.mattshelton.net/2009/05/27/installing-the-cisco-vpn-client-on-windows-7/#comments</comments>
		<pubDate>Wed, 27 May 2009 17:35:05 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[software notes]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/?p=413</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/how-to/" title="how-to">how-to</a><a href="http://www.mattshelton.net/topics/software/" title="software notes">software notes</a><a href="http://www.mattshelton.net/topics/windows/" title="windows">windows</a></p>This set of instructions exists more or less on more than one site, usually completed by a few follow-up comments. For my own sanity and future reference, these are the 100% reproducible set of installation instructions, which prevent a nasty &#8230; <a href="http://www.mattshelton.net/2009/05/27/installing-the-cisco-vpn-client-on-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This set of instructions exists more or less on <a href="http://social.technet.microsoft.com/Forums/en-US/w7itproappcompat/thread/d880dfe5-7f44-4955-8620-2a9355d8ea8b">more</a> <a href="http://weblogs.asp.net/bhouse/archive/2009/01/15/how-to-successfully-install-cisco-vpn-client-on-windows-7.aspx">than</a> <a href="http://blog.crowe.co.nz/archive/2009/01/16/How-to-prevent-Cisco-VPN-client-blue-screening-Windows-7.aspx">one</a> site, usually completed by a few follow-up comments. For my own sanity and future reference, these are the 100% reproducible set of installation instructions, which prevent a nasty BSOD when trying to use the Cisco VPN Client:</p>
<ol>
<li><em>If you tried previously to install the Cisco VPN client, uninstall it and reboot.</em></li>
<li>Run the Citrix Deterministic Networks Update (<a href="http://www.citrix.com/lang/English/lp/lp_1680845.asp" title="Citrix DNE Support">DNEUpdate</a>) that is appropriate for your architecture.</li>
<li>Reboot.</li>
<li>Take Ownership of and then delete <code>c:\Windows\System32\drivers\ndis.sys</code></li>
<li>Take Ownership of and then delete <code>c:\Windows\System32\drivers\en-us\ndis.sys.mui</code></li>
<li>Install the VPN Client. I used version <code>5.0.05.0290</code>, but I have heard that <code>5.0.04.0300</code> works as well.</li>
<li>Reboot. Allow Windows to repair itself. <em>This takes about 30 seconds.</em></li>
<li>Your PC will complete a final reboot itself.</li>
</ol>
<p>This worked like a charm for me and, from what the rest of the interwebs are saying, works for most everyone else.</p>
<p><strong>Update:</strong> As noted in the comments below, this only works for <strong>32-bit</strong> installations of Windows 7.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2009/05/27/installing-the-cisco-vpn-client-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Inserting video content into a LiveJournal comment</title>
		<link>http://www.mattshelton.net/2009/01/16/inserting-video-content-into-a-livejournal-comment/</link>
		<comments>http://www.mattshelton.net/2009/01/16/inserting-video-content-into-a-livejournal-comment/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 13:39:33 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[geek life]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[LiveJournal]]></category>
		<category><![CDATA[photobucket]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/?p=180</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/blogging/" title="blogging">blogging</a><a href="http://www.mattshelton.net/topics/code/" title="code">code</a><a href="http://www.mattshelton.net/topics/geek-life/" title="geek life">geek life</a><a href="http://www.mattshelton.net/topics/how-to/" title="how-to">how-to</a></p>Yesterday I was looking for good instructions on inserting video content into a LiveJournal comment (for someone else) and couldn&#8217;t find any. So, after being successful, I felt it my geek duty to write up my directions in case, some &#8230; <a href="http://www.mattshelton.net/2009/01/16/inserting-video-content-into-a-livejournal-comment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was looking for good instructions on inserting video content into a <a href="http://www.livejournal.com/">LiveJournal</a> comment (for someone else) and couldn&#8217;t find any. So, after being successful, I felt it my geek duty to write up my directions in case, some day someone else needs them. It&#8217;s a calling, I guess?</p>
<p><a rel="lightbox['20090116_ljvid']" href="http://www.mattshelton.net/wp-content/2009/01/lj-post-embed.png"><img class="alignright size-full wp-image-189" title="lj-post-embed" src="http://www.mattshelton.net/wp-content/2009/01/lj-post-embed.png" alt="lj-post-embed" width="235" height="83" /></a>LiveJournal&#8217;s post editor very easily supports inserting media content into posts. There&#8217;s a <a rel="lightbox['20090116_ljvid']" href="http://www.mattshelton.net/wp-content/2009/01/lj-post-embed-dialog.png">semi-friendly GUI</a> which lets you insert an <code>&lt;embed&gt;</code> block from any major video hosting site (e.g. youtube, photobucket, vimeo, etc.) quickly and easily. The comment editor, however, is just a textarea, so if you want any formatting you&#8217;re left to write the HTML yourself. This is no big deal for some, but even most HTML novices only know the basic five html 4.01 tags (a, img, b, i, u), which are fine for 99% of such situations.</p>
<p><em>As an aside, I would love to rid the world of the non-xhtml-compliant formatting tags, but perhaps that&#8217;s just me.</em></p>
<p><a title="Youtube object embedding dialog" rel="lightbox['20090116_ljvid']" href="http://www.mattshelton.net/wp-content/2009/01/youtube-embed.png"><img class="size-full wp-image-181 alignleft" title="youtube-embed" src="http://www.mattshelton.net/wp-content/2009/01/youtube-embed.png" alt="Youtube object embedding dialog" width="281" height="52" /></a>Posting video is a tad more work, though youtube, for instance, makes it painfully easy. They provide a handy dialog to the right of any video with all of the necessary <code>&lt;object&gt;</code> code. You can even customize the background, size, inclusion of related videos, etc. I have to hand it to the folks at <span style="text-decoration: line-through;">youtube</span>google for understanding that their videos should be able to be seen from anywhere, not just their main site.</p>
<p>Well, anyway, youtube wasn&#8217;t my problem. Photobucket was. They provide you with an <code>&lt;embed&gt;</code> link only, and while that&#8217;s fine for the LJ post editor, it&#8217;s incomplete. Here&#8217;s a few quick steps to add the code necessary to adapt what Photobucket gives you to what is needed for a video to show up in a LiveJournal comment.</p>
<p><strong>Photobucket</strong></p>
<pre class="brush: xml; title: ; notranslate">&lt;embed width=&quot;448&quot; height=&quot;361&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; src=&quot;http://i32.photobucket.com/player.swf?file=http://vid12.photobucket.com/albums/abc/UserName/Video/fileName.flv&quot;&gt;</pre>
<p><strong>Youtube</strong></p>
<pre class="brush: xml; title: ; notranslate">&lt;object width=&quot;480&quot; height=&quot;295&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/9hIQjrMHTv4&amp;amp;hl=en&amp;amp;fs=1&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/9hIQjrMHTv4&amp;amp;hl=en&amp;amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;480&quot; height=&quot;295&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;</pre>
<p>Using the Youtube code as a reference, you only have to make a couple of changes:</p>
<p><strong>1.</strong> Replace the <code>&lt;embed src=""&gt;</code> code with what Photobucket provides:</p>
<pre class="brush: xml; title: ; notranslate">&lt;object width=&quot;480&quot; height=&quot;295&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/9hIQjrMHTv4&amp;amp;hl=en&amp;amp;fs=1&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://i32.photobucket.com/player.swf?file=http://vid12.photobucket.com/albums/abc/UserName/Video/fileName.flv&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;480&quot; height=&quot;295&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;</pre>
<p><strong>2.</strong> Your photobucket video dimensions may be different, so you&#8217;ll need to fix the height and width in both locations: the <code>&lt;object&gt;</code> tag and the <code>&lt;embed&gt;</code> tag.</p>
<pre class="brush: xml; title: ; notranslate">&lt;object width=&quot;448&quot; height=&quot;361&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/9hIQjrMHTv4&amp;amp;hl=en&amp;amp;fs=1&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://i32.photobucket.com/player.swf?file=http://vid12.photobucket.com/albums/abc/UserName/Video/fileName.flv&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;448&quot; height=&quot;361&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;</pre>
<p>&#8230;and that&#8217;s it. It&#8217;s not at all difficult, but if you&#8217;re someone (else) that doesn&#8217;t need or want to know the difference between an <code>&lt;object&gt;</code> tag and an <code>&lt;embed&gt;</code> tag and why you need both to properly display inline video, a couple of simple steps to make your online life easier can make all the difference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2009/01/16/inserting-video-content-into-a-livejournal-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Up WebDAV for iCal Sharing on ubuntu 8.04</title>
		<link>http://www.mattshelton.net/2008/05/31/set-up-webdav-for-ical-sharing-on-ubuntu-804/</link>
		<comments>http://www.mattshelton.net/2008/05/31/set-up-webdav-for-ical-sharing-on-ubuntu-804/#comments</comments>
		<pubDate>Sat, 31 May 2008 21:14:20 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[geek life]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/?p=116</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/nix/" title="*nix">*nix</a><a href="http://www.mattshelton.net/topics/geek-life/" title="geek life">geek life</a><a href="http://www.mattshelton.net/topics/productivity/" title="productivity">productivity</a></p>Enabling WebDAV for iCal publishing/sharing is fairly straightforward: 0. Install apache2 (if it&#8217;s not already installed): sudo apt-get install apache2 1. Create a WebDAV directory in your DocumentRoot with the proper permissions: mkdir -p /var/www/webdav chmod -R 777 /var/www/webdav 2. &#8230; <a href="http://www.mattshelton.net/2008/05/31/set-up-webdav-for-ical-sharing-on-ubuntu-804/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Enabling WebDAV for iCal publishing/sharing is fairly straightforward:</p>
<p><strong>0. Install apache2 (if it&#8217;s not already installed):</strong></p>
<p><code>sudo apt-get install apache2</code></p>
<p><strong>1. Create a WebDAV directory in your DocumentRoot with the proper permissions:</strong></p>
<p><code>mkdir -p /var/www/webdav</code><br />
<code>chmod -R 777 /var/www/webdav</code></p>
<p><strong>2. Edit Apache2&#8242;s dav_fs.conf file:</strong></p>
<p><code>cd /etc/apache2/mods-available</code><br />
<code>sudo vi dav_fs.conf</code></p>
<p>DAVLockDB /var/lock/apache2/DAVLock</p>
<p><Directory "/var/www/webdav"><br />
DAV On<br />
DAVMinTimeout 600<br />
DAVDepthInfinity On</p>
<p>AllowOverride AuthConfig<br />
AuthName &#8220;DAV Restricted&#8221;<br />
AuthType Basic<br />
AuthUserFile /etc/apache2/.htaccess</p>
<p>Require valid-user<br />
</Directory></p>
<p><strong>3. Create symlinks to the proper DAV module files:</strong><br />
<em>(Some of these will already exist. Leave them alone.)</em></p>
<p><code>cd ../mods-enabled</code><br />
<code>sudo ln -s ../mods-available/dav.load</code><br />
<code>sudo ln -s ../mods-available/dav_fs.conf</code><br />
<code>sudo ln -s ../mods-available/dav_fs.load</code></p>
<p><strong>4. Create the &#8216;AuthUserFile&#8217; indicated in step 2:</strong></p>
<p><code>sudo htpasswd -m -c /etc/httpd/.htaccess webcal</code></p>
<p><strong>5. Restart apache:</strong></p>
<p><code>sudo /etc/init.d/apache2 restart</code></p>
<p><strong>6. Publish your iCal!</strong></p>
<p>Your url for publishing should now look like <em>http://mywebhost/webdav/iCal/</em>. Enjoy!</p>
<p><small>Based on a <a href="http://www.millan.info/blog/2005/02/setup-fedora-linux-webdav-server-for.php">guide for Fedora at millan.info</a>.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2008/05/31/set-up-webdav-for-ical-sharing-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cygwin Prompt Here (for tcsh)</title>
		<link>http://www.mattshelton.net/2008/05/17/cygwin-prompt-here-for-tcsh/</link>
		<comments>http://www.mattshelton.net/2008/05/17/cygwin-prompt-here-for-tcsh/#comments</comments>
		<pubDate>Sat, 17 May 2008 10:23:04 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[lifehacks]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[software notes]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[shortcut]]></category>
		<category><![CDATA[tcsh]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/?p=106</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/nix/" title="*nix">*nix</a><a href="http://www.mattshelton.net/topics/code/" title="code">code</a><a href="http://www.mattshelton.net/topics/how-to/" title="how-to">how-to</a><a href="http://www.mattshelton.net/topics/lifehacks/" title="lifehacks">lifehacks</a><a href="http://www.mattshelton.net/topics/productivity/" title="productivity">productivity</a><a href="http://www.mattshelton.net/topics/software/" title="software notes">software notes</a><a href="http://www.mattshelton.net/topics/windows/" title="windows">windows</a></p>In a post I can no longer find, Scott Hanselman blogged about a registry entry to add a &#8220;Command Prompt Here&#8221; item to Windows&#8217; right-click context menu. This has, many times, saved me almost 30 seconds of opening cmd.exe and &#8230; <a href="http://www.mattshelton.net/2008/05/17/cygwin-prompt-here-for-tcsh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.mattshelton.net/wp-content/2008/05/prompt.png' rel='lightbox'><img src="http://www.mattshelton.net/wp-content/2008/05/prompt.png" alt="" title="prompt" width="204" height="279" class="alignright size-full wp-image-108" /></a>In a post I can no longer find, <a href="http://www.hanselman.com/blog/">Scott Hanselman</a> blogged about a registry entry to add a &#8220;Command Prompt Here&#8221; item to Windows&#8217; right-click context menu. This has, many times, saved me almost 30 seconds of opening cmd.exe and typing out a ridiculous CD statement. Since then, however, I&#8217;ve found myself using Cygwin a lot more than cmd as it gives me a lot more power in an environment with which I&#8217;m much more familiar. (Some things are kinda wonky [pathnames, for instance] but it&#8217;s more user-friendly to me, and I can&#8217;t quite get into PowerShell like some of my more Windows-oriented friends.)</p>
<p>Because of my Cygwin-love, I&#8217;ve found myself using the Command Prompt Here context-menu item, and then immediately entering tcsh and doing what needs to be done. I can&#8217;, then, double Ctrl-D my way out of the window since cmd has no clue what Ctrl-D is. It&#8217;s annoying, but it means I have to take the extra two seconds to type &#8216;exit&#8217;. So, throwing any concept of cost/benefit out the window [though, those four seconds probably add up to like... 30 minutes of lost productivity a year], I investigated how to do the same thing for Cygwin.</p>
<p><a href="http://www.mindview.net/Etc/Cygwin/BashHere">Somebody</a> figured this out already, so all that was left was for me to have it run tcsh instead of bash, and I was all set. This was painfully simple. Here&#8217;s the <a href="http://www.mattshelton.net/wp-content/2008/05/cygwin_here.reg">registry script</a> I&#8217;m using:</p>
<pre class="brush: vb; title: ; notranslate">REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\TcshHere]
@=&quot;&amp;Cygwin Prompt Here&quot;

[HKEY_CLASSES_ROOT\Directory\shell\TcshHere\command]
@=&quot;c:\cygwin\bin\bash.exe --login -c \&quot;cd '%1' ; exec /bin/tcsh\&quot;&quot;

[HKEY_CLASSES_ROOT\Drive\shell\TcshHere]
@=&quot;&amp;Cygwin Prompt Here&quot;

[HKEY_CLASSES_ROOT\Drive\shell\TcshHere\command]
@=&quot;c:\cygwin\bin\bash.exe --login -c \&quot;cd '%1' ; exec /bin/tcsh\&quot;&quot;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2008/05/17/cygwin-prompt-here-for-tcsh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Newseum: Today&#8217;s Front Pages</title>
		<link>http://www.mattshelton.net/2008/04/20/newseum-todays-front-pages/</link>
		<comments>http://www.mattshelton.net/2008/04/20/newseum-todays-front-pages/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 21:42:31 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[lifehacks]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/?p=89</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/apple/" title="apple">apple</a><a href="http://www.mattshelton.net/topics/code/" title="code">code</a><a href="http://www.mattshelton.net/topics/lifehacks/" title="lifehacks">lifehacks</a></p>The other day, I caught a post on Signal Vs. Noise about using Automator in OS X to grab your favorite newspaper&#8217;s front pages from Newseum as PDFs and join them. This sounded like a great idea, so I set &#8230; <a href="http://www.mattshelton.net/2008/04/20/newseum-todays-front-pages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The other day, I caught a <a href="http://www.37signals.com/svn/posts/970-newseum-todays-front-pages">post</a> on <a href="http://blogcabin.37signals.com/svn/">Signal Vs. Noise</a> about using <a href="http://www.apple.com/downloads/macosx/automator/">Automator</a> in OS X to grab your favorite newspaper&#8217;s front pages from <a href="http://www.newseum.org/todaysfrontpages/">Newseum</a> as PDFs and join them. This sounded like a great idea, so I set out to do just that.</p>
<p>Unfortunately for me, this particular workflow only works in OS X 10.5, and I have yet to upgrade my iMac past 10.4.11.</p>
<p>Undaunted, I replicated the same thing in perl. It turns out that the &#8220;Combine PDF Pages&#8221; automator action is a simple Python script. It looked semi-useful on its own, so I copied it from its normal home (<code>/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/</code>) to my personal bin directory for good measure. Perl source follows&#8230; please note that the &gt;&#8217;s are rendering as literal &amp;gt;&#8217;s. Silly Code Highlighter!</p>
<pre class="brush: perl; title: ; notranslate">#! /usr/bin/perl -w

use locale;
use strict;
use warnings;

#############################
#  [01-31]      [yyyy-mm-dd]
my ($day,       $date,      $tmpdir,              $tojoin) =
(`date +%d`, `date +%F`, '/Users/shelton/tmp', '');
chomp($day); chomp($date);

my ($join) =
(&quot;python /Users/shelton/bin/join.py -o '/Users/shelton/Desktop/$date.pdf'&quot;);

########################
# Define PDF Links Here
#
my (%papers) = (
# Boston Globe
0=&gt;&quot;http://www.newseum.org/media/dfp/pdf$day/MA_BG.pdf&quot;,
# Chicago Tribune
1=&gt;&quot;http://www.newseum.org/media/dfp/pdf$day/IL_CT.pdf&quot;,
# Buffalo News
2=&gt;&quot;http://www.newseum.org/media/dfp/pdf$day/NY_BN.pdf&quot;,
# NY Times
3=&gt;&quot;http://www.newseum.org/media/dfp/pdf$day/NY_NYT.pdf&quot;,
# Wall Street Journal
4=&gt;&quot;http://www.newseum.org/media/dfp/pdf$day/WSJ.pdf&quot;
);

######################################
# Loop through %papers
#  -&gt; Determine tmp output file
#  -&gt; Download the File
#  -&gt; Add file to string for join cmd
#
foreach my $page (sort(keys %papers)) {
my $output = &quot;&quot; . $tmpdir . &quot;/&quot; . $page . &quot;.pdf&quot;;
`wget -q -O $output $papers{$page}`;
$tojoin .= &quot;'&quot; . $output . &quot;' &quot;;
}

##################
# Join The Files!
#
`$join $tojoin`;

#############################
# Delete All Downloaded PDFs
#
foreach my $file (sort(keys %papers)) {
my $rm = &quot;&quot; . $tmpdir . &quot;/&quot; . $file . &quot;.pdf&quot;;
`rm -f $rm`;
}</pre>
<p>I suppose I could have picked more interesting papers (like, for instance, the <a href="http://www.newseum.org/todaysfrontpages/hr.asp?fpVname=BRA^PA_AH">Amazônia Hoje</a> from Belém, Brazil). I stuck to papers from my current and previous home towns (and the NYC area, because they have interesting papers). Boring? I know&#8230;</p>
<p>I run this daily from cron at about 7am. Of note, I also redirect all output of the script to /dev/null because the python script throws a ton of meaningless errors that don&#8217;t mar the output.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2008/04/20/newseum-todays-front-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floppy Disk Pen Holder</title>
		<link>http://www.mattshelton.net/2008/02/21/floppy-disk-pen-holder/</link>
		<comments>http://www.mattshelton.net/2008/02/21/floppy-disk-pen-holder/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 17:37:33 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[geek life]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[recycling]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/2008/02/21/floppy-disk-pen-holder/</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/geek-life/" title="geek life">geek life</a><a href="http://www.mattshelton.net/topics/how-to/" title="how-to">how-to</a></p>Quite a while ago, my wife left me alone at home for an evening with nothing to do. Arguably, I could have cleaned or something, but I was feeling crafty, and had happened upon a tutorial on Instructables for creating &#8230; <a href="http://www.mattshelton.net/2008/02/21/floppy-disk-pen-holder/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://farm3.static.flickr.com/2037/2282305524_abb414ce68_o.jpg" title="2/20/2008 by matthew.shelton, on Flickr" rel="lightbox"><img src="http://farm3.static.flickr.com/2037/2282305524_2e4344ebf7_m.jpg" width="240" height="180" alt="2/20/2008" style="float:left;margin-right:5px;margin-bottom:5px;" /></a>Quite a while ago, my wife left me alone at home for an evening with nothing to do. Arguably, I could have cleaned or something, but I was feeling crafty, and had happened upon a tutorial on <a href="http://www.instructables.com/">Instructables</a> for creating a <a href="http://www.instructables.com/id/Floppy-Disk-Pen-Holder/">Floppy Disk Pen Holder</a>. I looked at the first page, totally grokked the idea, and whipped up two of these utilitarian beasts of burden.</p>
<p>I must admit that this is an almost perfect re-purposing of &#8220;things I was going to throw away some day&#8221;. I&#8217;ve seen nifty uses for discarded recordable CDs and DVDs, as well as spindle containers. I usually recycle the latter and shred the former, but were I to ever actually require a <a href="http://lifehacker.com/software/food/macgyver-tip-cd-spindle-bagel-tote-249965.php">bagel carrier</a>, I know where I&#8217;d get one!</p>
<p>Speaking of re-use, I think I have five more floppies lying around somewhere, and should be able to construct a third pen cup at some point. It would have to be a gift since I have, at this point, max&#8217;d out my ratio of floppy-disk-pen-cups to desks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2008/02/21/floppy-disk-pen-holder/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Keeping SSH connections open (in PuTTY)</title>
		<link>http://www.mattshelton.net/2008/02/20/keeping-ssh-connections-open-in-putty/</link>
		<comments>http://www.mattshelton.net/2008/02/20/keeping-ssh-connections-open-in-putty/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 15:50:24 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[software notes]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.mattshelton.net/2008/02/20/keeping-ssh-connections-open-in-putty/</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.mattshelton.net/topics/how-to/" title="how-to">how-to</a><a href="http://www.mattshelton.net/topics/software/" title="software notes">software notes</a></p>Lifehacker posted an article this morning about keeping SSH connections open in Linux (which was just a re-posting of an article on FOSSwire). This is helpful for all of those Linux users out there, but for those of us who &#8230; <a href="http://www.mattshelton.net/2008/02/20/keeping-ssh-connections-open-in-putty/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.mattshelton.net/wp-content/2008/02/putty-keepalive.png' title='putty tcp keepalive' rel='lightbox'><img src='http://www.mattshelton.net/wp-content/2008/02/putty-keepalive.thumbnail.png' alt='putty tcp keepalive' align='right' vspace='10' hspace='10' /></a><a href="http://lifehacker.com/">Lifehacker</a> posted an article this morning about <a href="http://lifehacker.com/358610/keep-ssh-connections-open-in-linux">keeping SSH connections open in Linux</a> (which was just a re-posting of an <a href="http://fosswire.com/2008/02/19/keep-your-ssh-connection-open/">article</a> on <a href="http://fosswire.com/">FOSSwire</a>).</p>
<p>This is helpful for all of those Linux users out there, but for those of us who have a Windows desktop with the same needs, the solution is a bit different. If you use <a href="http://www.putty.org/">PuTTY</a> (or <a href="http://www.xs4all.nl/~whaa/putty/">PuTTY Tray</a>, like me), there&#8217;s a field for <em>Seconds between keepalives</em> on the <em>Connection</em> configuration pane. Check out the image at right for the rockin&#8217; detail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattshelton.net/2008/02/20/keeping-ssh-connections-open-in-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

