<?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>njcrawford.com</title>
	<atom:link href="http://www.njcrawford.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.njcrawford.com</link>
	<description>Freeware and other stuff</description>
	<lastBuildDate>Mon, 27 Feb 2012 22:17:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Delayed SSH login on CentOS 6</title>
		<link>http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/</link>
		<comments>http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 15:01:59 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux ssh slow]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=228</guid>
		<description><![CDATA[I&#8217;ve setup several CentOS 6 virtual machines recently and they all have the same delayed SSH login problem. I&#8217;ve found a solution to this problem and I&#8217;m documenting it here so I can find it next time! I originally found &#8230; <a href="http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve setup several CentOS 6 virtual machines recently and they all have the same delayed SSH login problem. I&#8217;ve found a solution to this problem and I&#8217;m documenting it here so I can find it next time!</p>
<p>I originally found this fix at http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/ and it&#8217;s not specific to CentOS 6, but I&#8217;ve only observed this delay problem on CentOS 6.</p>
<p>Now, on to the problem. SSH logins to these CentOS 6 servers were delayed by about 30 seconds. (I never timed it exactly, but it was long enough to be very frustrating when you&#8217;re trying to get work done) When logging in using ssh -vvv user@hostname the debug output shows the delay happens at these lines:<br />
<code><br />
debug3: authmethod_is_enabled gssapi-with-mic<br />
debug1: Next authentication method: gssapi-with-mic<br />
debug1: An invalid name was supplied<br />
Cannot determine realm for numeric host address</code><br />
<code><br />
debug1: An invalid name was supplied<br />
Cannot determine realm for numeric host address</code><br />
<code><br />
debug1: An invalid name was supplied<br />
</code></p>
<p>The solution appears to be disabling the GSS API authentication method on the SSH server.</p>
<p>To disable GSS API, first open/etc/ssh/sshd_config in your favorite editor<br />
<code>vim /etc/ssh/sshd_config</code><br />
Then find the line that says<br />
<code>GSSAPIAuthentication yes</code><br />
Change it to<br />
<code>GSSAPIAuthentication no</code><br />
and save the file. Finally, restart the sshd service.<br />
<code>service sshd restart</code></p>
<p>SSH logins should now be quick as usual!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New project: IniFile</title>
		<link>http://www.njcrawford.com/2011/03/06/new-project-inifile/</link>
		<comments>http://www.njcrawford.com/2011/03/06/new-project-inifile/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 20:06:32 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=222</guid>
		<description><![CDATA[I&#8217;ve added a new project that I&#8217;ve been using and improving for a while. IniFile is a helper DLL that makes it easy to read and write .ini files from .Net applications. See the IniFile download page to get it.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve added a new project that I&#8217;ve been using and improving for a while. IniFile is a helper DLL that makes it easy to read and write .ini files from .Net applications. <br />
See the <a href="http://www.njcrawford.com/programs/inifile">IniFile download page</a> to get it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2011/03/06/new-project-inifile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embroidery Reader 1.5.0 Released</title>
		<link>http://www.njcrawford.com/2011/02/13/embroidery-reader-1-5-0-released/</link>
		<comments>http://www.njcrawford.com/2011/02/13/embroidery-reader-1-5-0-released/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 21:49:40 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Embroidery Reader]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=210</guid>
		<description><![CDATA[I have released a new version of Embroidery Reader. Version 1.5.0 includes a collection of small updates I&#8217;ve made over the last year, but no significant functional changes. (Edit: Actually, this version remembers it&#8217;s window size when it closes, so &#8230; <a href="http://www.njcrawford.com/2011/02/13/embroidery-reader-1-5-0-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have released a new version of Embroidery Reader. Version 1.5.0 includes a collection of small updates I&#8217;ve made over the last year, but no significant functional changes. (Edit: Actually, this version remembers it&#8217;s window size when it closes, so it will re-open the same size you closed it)<br />
Head over to the <a href="http://www.njcrawford.com/programs/embroidery-reader/">Embroidery Reader download page</a> to get it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2011/02/13/embroidery-reader-1-5-0-released/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Embroidery Reader 1.4.0 released</title>
		<link>http://www.njcrawford.com/2010/02/15/embroidery-reader-1-4-0-released/</link>
		<comments>http://www.njcrawford.com/2010/02/15/embroidery-reader-1-4-0-released/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 06:23:29 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Embroidery Reader]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=169</guid>
		<description><![CDATA[I&#8217;ve released version 1.4.0 of Embroidery Reader which fixes a crash on Windows 7. The crash was caused by saving the settings file in the installation folder which is a no-no on Windows 7. I suspect that the crash could &#8230; <a href="http://www.njcrawford.com/2010/02/15/embroidery-reader-1-4-0-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve released version 1.4.0 of Embroidery Reader which fixes a crash on Windows 7.<br />
The crash was caused by saving the settings file in the installation folder which is a no-no on Windows 7. I suspect that the crash could occur on Windows Vista, but I&#8217;ve never seen it happen.<br />
This version also includes a number of changes under the hood, so to speak, but the majority of them won&#8217;t be visible unless you look at the code. Please report any bugs using the <a href="http://www.njcrawford.com/contact/">contact form</a>.</p>
<p>Visit the <a href="http://www.njcrawford.com/programs/embroidery-reader/">Embroidery Reader page</a> to get the update.</p>
<p>I would like to say thanks to Bob Spradlin for sending me a detailed bug report so that I could find and fix this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2010/02/15/embroidery-reader-1-4-0-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Old Embroidery Reader update history</title>
		<link>http://www.njcrawford.com/2010/01/22/old-embroidery-reader-update-history/</link>
		<comments>http://www.njcrawford.com/2010/01/22/old-embroidery-reader-update-history/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 04:52:15 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Embroidery Reader]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=155</guid>
		<description><![CDATA[Trying to clean up the Embroidery Reader page a bit here&#8230; so I&#8217;m moving the previous version history stuff to posts. I suppose I could just remove it but I&#8217;m a pack rat. Changes from 1.3.0-1.3.1: Fixed color number 15 &#8230; <a href="http://www.njcrawford.com/2010/01/22/old-embroidery-reader-update-history/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Trying to clean up the Embroidery Reader page a bit here&#8230; so I&#8217;m moving the previous version history stuff to posts. I suppose I could just remove it but I&#8217;m a pack rat.</p>
<blockquote><p>
Changes from 1.3.0-1.3.1:</p>
<ul>
<li>Fixed color number 15 &#8211; was lilac, it&#8217;s now brown/brass. Thanks to Ryan Lovett and Robert Heel for reporting this one.</li>
</ul>
<p>Changes from 1.2.2-1.3.0:</p>
<ul>
<li>Changed code to use PEC section instead of PES data. It seems to be able to read all file types now. A big thanks goes to Michel Veerman for his help on this one.</li>
<li>Added an option in the settings to &#8216;filter&#8217; stitches based on length. Some designs look much better with it, others end up missing parts.</li>
<li>Probably lots of small fixes, but I can&#8217;t think of them right now.</li>
</ul>
<p>Changes from 1.2.1-1.2.2:</p>
<ul>
<li>This version fixes a crash caused by saving empty values in the settings file. It is otherwise the same as the previous version. (1.2.1)</li>
</ul>
<p>Changes from older versions:</p>
<ul>
<li>Basic support for printing designs. Thanks to majorsnazz for the suggestion.</li>
<li>Ability to copy design images to the clipboard, so you can paste the image into any image editor.</li>
<li>A number of cosmetic bugfixes.</li>
<li>A simple icon. (I got tired of the default one)</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2010/01/22/old-embroidery-reader-update-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Growing a KVM raw hard drive image file</title>
		<link>http://www.njcrawford.com/2010/01/21/growing-a-kvm-raw-hard-drive-image-file/</link>
		<comments>http://www.njcrawford.com/2010/01/21/growing-a-kvm-raw-hard-drive-image-file/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 17:41:36 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[hard drive image]]></category>
		<category><![CDATA[kvm]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=147</guid>
		<description><![CDATA[I&#8217;m posting this as a reminder to myself the next time I need to make a raw KVM hard drive image bigger. &#60;disclaimer&#62; This worked for me &#8211; it may not for you. Make sure you have a backup of &#8230; <a href="http://www.njcrawford.com/2010/01/21/growing-a-kvm-raw-hard-drive-image-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m posting this as a reminder to myself the next time I need to make a raw KVM hard drive image bigger.</p>
<p>&lt;disclaimer&gt;<br />
This worked for me &#8211; it may not for you. Make sure you have a backup of the image file before starting. I believe this will only work for raw type images&#8230; using it on qcow2, vmdk or any other type will probably cause a corrupted file. You have been warned&#8230;<br />
&lt;/disclaimer&gt;</p>
<p>You&#8217;ll need to know how big you want the final image to be in bytes. This command will grow the file to the size you want without actually allocating the full size.</p>
<p><span style="text-decoration: line-through;"><code>dd if=/dev/zero of=file-to-grow.img bs=1 seek=(number of bytes - 1) count=1</code></span><br />
Update, this command is more concise and does the same thing:<br />
<code>dd of=file-to-grow.img bs=1 seek=(number of bytes) count=0</code></p>
<p>You can also use shorthand values like 20G or 512M or 2T for number of bytes. Mind your abbreviations &#8211; dd sees G as 1024*1024*1024, but sees GB as 1000*1000*1000.</p>
<p>The file will then be allocated as the VM writes to it. You can check the allocated size of a file with <code>ls -lsh</code>. (the first column is the allocated size)<br />
Note that this command does not expand the partition(s) or file system(s) on the hard drive image &#8211; you&#8217;ll need to use another tool like Gparted (available on the Ubuntu live CD) for this task.<br />
You may need to use sudo in front of the command, depending on your setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2010/01/21/growing-a-kvm-raw-hard-drive-image-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embroidery Reader gets a mention from Linus Torvalds</title>
		<link>http://www.njcrawford.com/2010/01/19/embroidery-reader-gets-a-mention-from-linus-torvalds/</link>
		<comments>http://www.njcrawford.com/2010/01/19/embroidery-reader-gets-a-mention-from-linus-torvalds/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 06:26:56 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Embroidery Reader]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=145</guid>
		<description><![CDATA[I guess I&#8217;m not the only one out there helping a loved one with an embroidery machine. According to Linus&#8217; blog, his wife Tove received a Brother embroidery machine for Christmas and they went through the same thing I did &#8230; <a href="http://www.njcrawford.com/2010/01/19/embroidery-reader-gets-a-mention-from-linus-torvalds/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I guess I&#8217;m not the only one out there helping a loved one with an embroidery machine. According to Linus&#8217; blog, his wife Tove received a Brother embroidery machine for Christmas and they went through the same thing I did trying to find decent software, or at least documentation, for PES files.<br />
While Linus didn&#8217;t say he used it directly, he did gave a <a href="http://torvalds-family.blogspot.com/2010/01/embroidery-gaah.html">mention of Embroidery Reader</a> and a link to my site. Sweet!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2010/01/19/embroidery-reader-gets-a-mention-from-linus-torvalds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugsim bugfix 0.6.1</title>
		<link>http://www.njcrawford.com/2009/08/06/bugsim-bugfix-0-6-1/</link>
		<comments>http://www.njcrawford.com/2009/08/06/bugsim-bugfix-0-6-1/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 22:03:36 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Bugsim]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=77</guid>
		<description><![CDATA[Bugsim had a bug (go figure!) that caused it to show errors when lots of bugs were on the field at once. I&#8217;ve uploaded a new version that fixes this. Thanks go to John Bobay for reporting this bug. I &#8230; <a href="http://www.njcrawford.com/2009/08/06/bugsim-bugfix-0-6-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Bugsim had a bug (go figure!) that caused it to show errors when lots of bugs were on the field at once. I&#8217;ve uploaded a new version that fixes this.</p>
<p>Thanks go to John Bobay for reporting this bug. I think he was the first person to play long enough to find it. <img src='https://njcrawfo-www63.ssl.supercp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Visit the <a href="http://www.njcrawford.com/bugsim/">Bugsim page</a> to download it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2009/08/06/bugsim-bugfix-0-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Program: Bugsim</title>
		<link>http://www.njcrawford.com/2009/07/16/new-program-bugsim/</link>
		<comments>http://www.njcrawford.com/2009/07/16/new-program-bugsim/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 15:11:34 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Bugsim]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=67</guid>
		<description><![CDATA[Bugsim is a very simple resource gathering game with bugs that gather fruit from trees. For those who have been testing it already, this version removes the separate windows and merges them into one and adds an image for the &#8230; <a href="http://www.njcrawford.com/2009/07/16/new-program-bugsim/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Bugsim is a very simple resource gathering game with bugs that gather fruit from trees.</p>
<p>For those who have been testing it already, this version removes the separate windows and merges them into one and adds an image for the medium size bin.</p>
<p>Download it from the <a href="http://www.njcrawford.com/bugsim/">Bugsim page</a> and then tell me what you think on the <a href="http://www.njcrawford.com/contact/">Contact page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2009/07/16/new-program-bugsim/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Back on my normal server</title>
		<link>http://www.njcrawford.com/2009/06/19/back-on-my-normal-server/</link>
		<comments>http://www.njcrawford.com/2009/06/19/back-on-my-normal-server/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 00:58:23 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=62</guid>
		<description><![CDATA[I&#8217;m back on my normal server again. I had complete data loss and my backups weren&#8217;t as thorough as they should have been so I had to rebuild my configuration. Moral of this story: if in doubt, back it up.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m back on my normal server again. I had complete data loss and my backups weren&#8217;t as thorough as they should have been so I had to rebuild my configuration.</p>
<p>Moral of this story: if in doubt, back it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2009/06/19/back-on-my-normal-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

