<?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>TheOneAndTheOnly.com - Andrew Buckman &#187; Web Design</title>
	<atom:link href="http://www.theoneandtheonly.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theoneandtheonly.com</link>
	<description>from the mind of Andrew Buckman</description>
	<lastBuildDate>Sat, 03 Apr 2010 19:16:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SFTP and SSH Timeout</title>
		<link>http://www.theoneandtheonly.com/2009/10/27/sftp-and-ssh-timeout/</link>
		<comments>http://www.theoneandtheonly.com/2009/10/27/sftp-and-ssh-timeout/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 22:53:22 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[transmit]]></category>

		<guid isPermaLink="false">http://www.theoneandtheonly.com/?p=64</guid>
		<description><![CDATA[I bought a new router the other day, I was having some odd problems with my current one and thought it&#8217;d be nice to move to an 802.11n router.  I picked up a Netgear WNDR3700, my first foray into Netgear products.  Overall I&#8217;m pretty happy with the router except for one extremely annoying problem&#8230; it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a new router the other day, I was having some odd problems with my current one and thought it&#8217;d be nice to move to an 802.11n router.  I picked up a Netgear WNDR3700, my first foray into Netgear products.  Overall I&#8217;m pretty happy with the router except for one extremely annoying problem&#8230; it&#8217;s been timing out on my SFTP and SSH connections after just a 5-10 minutes.  I&#8217;m regularly working on a file directly off an SFTP connection and I often go more than 10 minutes between saving or interacting with the server.  Transmit gets kind of hung up with that happens and if you&#8217;re trigger happy on closing a window, you can end up losing your file altogether (not cool).  Suffice it to say, that happened yesterday and I had to quickly rewrite the code while I could remember the gist of it, and prompting me to get this annoyance straighted out.</p>
<p>I presume the problem I was having was related to the new router timing out the NAT tables more frequently than my old router and not doing anything with my requests after it timed out the connection.  Unfortunately, I could not find any settings in the router configuration to adjust this interval, however it was an extremely easy fix in Mac OS and it solved the problem for me with both SSH and Transmit.</p>
<p><strong>The Fix</strong><span id="more-64"></span><br />
To fix the SFTP and SSH timeout problem in Mac OS, go to your home folder and look for a folder with the name .ssh (note it will be hidden in Finder, I just used Terminal).  Inside the folder you probably already have a known_hosts file, and you may or may not have a config file, I did not.  Create or modify the config file, including the following code, taking care to make certain you indent the second line:<br />
<code>Host *<br />
&nbsp; &nbsp; &nbsp; &nbsp;ServerAliveInterval 240<br />
</code></p>
<p>This should tell your computer to keep the ssh connection alive every 240 seconds (4 minutes).  You can adjust this number as you see fit, as long as it&#8217;s lower than your router&#8217;s NAT timeout, it will resolve the problem.</p>
<p><strong>NOTE:</strong> You will have to do this on every computer you&#8217;re using with the router.  I was hoping to fix it on the router itself and not have to deal with it, but this is certainly better than nothing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theoneandtheonly.com/2009/10/27/sftp-and-ssh-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Double Line Stroke in Illustrator</title>
		<link>http://www.theoneandtheonly.com/2009/04/05/double-line-stroke-in-illustrator/</link>
		<comments>http://www.theoneandtheonly.com/2009/04/05/double-line-stroke-in-illustrator/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 22:23:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[illustrator]]></category>

		<guid isPermaLink="false">http://www.theoneandtheonly.com/?p=54</guid>
		<description><![CDATA[My girlfriend, the darling over at Spleen Chronicles, was lamenting the lack of line styles in Illustrator today, specifically the ability to put a double-line stroke on a path.  I being a big fat cheater, gave her a way to get the effect she was looking for at the expense of the inside area between [...]]]></description>
			<content:encoded><![CDATA[<p>My girlfriend, the darling over at <a href="http://kimberlyvlies.com/spleen_chronicles/">Spleen Chronicles</a>, was lamenting the lack of line styles in Illustrator today, specifically the ability to put a double-line stroke on a path.  I being a big fat cheater, gave her a way to get the effect she was looking for at the expense of the inside area between the two lines not being transparent.  After the break you&#8217;ll find my walkthrough for the double-line stroke, screenshots are from Illustrator CS4, but it is possible to achieve the same effect in CS3 and perhaps earlier.<br />
<span id="more-54"></span><br />
<strong>Step 1</strong></p>
<p><img class="alignnone size-full wp-image-56" title="Step 1" src="http://www.theoneandtheonly.com/wordpress/wp-content/uploads/step1.png" alt="" width="500" height="166" /></p>
<p>To start off, draw a line with the pencil tool or create a shape.</p>
<p><strong>Step 2</strong></p>
<p><img class="alignnone size-full wp-image-57" title="Step 2" src="http://www.theoneandtheonly.com/wordpress/wp-content/uploads/step2.png" alt="" width="500" height="166" /></p>
<p>Increase the width of the stroke to accomodate the width of both lines plus the gutter between them, I used 5pt.</p>
<p><strong>Step 3</strong></p>
<p><a href="http://www.theoneandtheonly.com/wordpress/wp-content/uploads/step3.png"><img class="alignnone size-full wp-image-58" title="Step 3" src="http://www.theoneandtheonly.com/wordpress/wp-content/uploads/step3.png" alt="" width="500" height="166" /></a></p>
<p>Next you need to add a second stroke to the line to serve as the gutter.  Click the Add New Stroke button (1), then change the color of the stroke to match your background (2), and set the width to the width you want the gutter (3).  You should now have the appearance of a double line stroke!</p>
<p><strong>Step 4 (optional)</strong></p>
<p><img class="alignnone size-full wp-image-59" title="Step 4" src="http://www.theoneandtheonly.com/wordpress/wp-content/uploads/step4.png" alt="" width="500" height="166" /></p>
<p>If you&#8217;re noticing and annoyed by a faint line at the end, you can change the cap on the gutter stroke to a round cap and it will disappear.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theoneandtheonly.com/2009/04/05/double-line-stroke-in-illustrator/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
