<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for JohnAllen.us</title>
	<atom:link href="http://johnallen.us/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://johnallen.us</link>
	<description>...When none of my other Blogs will do</description>
	<lastBuildDate>Wed, 30 May 2012 23:54:15 -0400</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on A Unix &#8216;Which&#8217; command for Windows by David</title>
		<link>http://johnallen.us/?p=152&#038;cpage=1#comment-317</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 30 May 2012 23:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=152#comment-317</guid>
		<description>John try this:

if RUBY_PLATFORM[&#039;win&#039;]

and you won&#039;t need an external library, &amp;&amp; basically does the same thing.

For JRuby (which is &#039;java&#039; for platform) you have to call a Java function, I think I have it on my github if not I&#039;ll put it there shortly.</description>
		<content:encoded><![CDATA[<p>John try this:</p>
<p>if RUBY_PLATFORM['win']</p>
<p>and you won&#8217;t need an external library, &amp;&amp; basically does the same thing.</p>
<p>For JRuby (which is &#8216;java&#8217; for platform) you have to call a Java function, I think I have it on my github if not I&#8217;ll put it there shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing the Watir Gem under Windows 7 by David</title>
		<link>http://johnallen.us/?p=159&#038;cpage=1#comment-316</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 30 May 2012 23:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=159#comment-316</guid>
		<description>A good option for installing Ruby w/ the dev kit headers (needed for some gems) is to use the Rails Installer from 37 labs.</description>
		<content:encoded><![CDATA[<p>A good option for installing Ruby w/ the dev kit headers (needed for some gems) is to use the Rails Installer from 37 labs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Perl Connectivity Check Script by axman</title>
		<link>http://johnallen.us/?p=332&#038;cpage=1#comment-237</link>
		<dc:creator>axman</dc:creator>
		<pubDate>Mon, 26 Dec 2011 02:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=332#comment-237</guid>
		<description>Hey John, thanks very much for this sample script. It does help me a lot in testing the connection.</description>
		<content:encoded><![CDATA[<p>Hey John, thanks very much for this sample script. It does help me a lot in testing the connection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Hexdump extension to the String class in Ruby by Hexdump for iRules &#124; JohnAllen.us</title>
		<link>http://johnallen.us/?p=111&#038;cpage=1#comment-228</link>
		<dc:creator>Hexdump for iRules &#124; JohnAllen.us</dc:creator>
		<pubDate>Thu, 01 Dec 2011 23:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=111#comment-228</guid>
		<description>[...] being sent, etc.  Personally, I&#8217;m used to using a very common hexdump format that I&#8217;ve created Ruby methods for&#8230;but I could not find anything similar for iRules, so I wrote my [...]</description>
		<content:encoded><![CDATA[<p>[...] being sent, etc.  Personally, I&#8217;m used to using a very common hexdump format that I&#8217;ve created Ruby methods for&#8230;but I could not find anything similar for iRules, so I wrote my [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding Commas to Numbers in Ruby by Andy</title>
		<link>http://johnallen.us/?p=380&#038;cpage=1#comment-214</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 11 Oct 2011 17:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=380#comment-214</guid>
		<description>Why not just:
class Numeric
  def commas
    self.to_s =~ /([^\.]*)(\..*)?/
    int, dec = $1.reverse, $2 ? $2 : &quot;&quot;
    while int.gsub!(/(,&#124;\.&#124;^)(\d{3})(\d)/, &#039;\1\2,\3&#039;)
    end
    int.reverse + dec
  end
end 

And be done with it?</description>
		<content:encoded><![CDATA[<p>Why not just:<br />
class Numeric<br />
  def commas<br />
    self.to_s =~ /([^\.]*)(\..*)?/<br />
    int, dec = $1.reverse, $2 ? $2 : &#8220;&#8221;<br />
    while int.gsub!(/(,|\.|^)(\d{3})(\d)/, &#8216;\1\2,\3&#8242;)<br />
    end<br />
    int.reverse + dec<br />
  end<br />
end </p>
<p>And be done with it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Successfully using OCRA with Watir by Scatman Dan</title>
		<link>http://johnallen.us/?p=278&#038;cpage=1#comment-109</link>
		<dc:creator>Scatman Dan</dc:creator>
		<pubDate>Mon, 02 Aug 2010 10:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=278#comment-109</guid>
		<description>Incredibly helpful post, thanks! I&#039;m not dealing with this exact same problem (although I will be later this week) but with a similar one, and your pointers set me in the right direction. Thanks!</description>
		<content:encoded><![CDATA[<p>Incredibly helpful post, thanks! I&#8217;m not dealing with this exact same problem (although I will be later this week) but with a similar one, and your pointers set me in the right direction. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Successfully using OCRA with Watir by pejte</title>
		<link>http://johnallen.us/?p=278&#038;cpage=1#comment-104</link>
		<dc:creator>pejte</dc:creator>
		<pubDate>Fri, 02 Jul 2010 12:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=278#comment-104</guid>
		<description>Excellent post, you are being really helpful.</description>
		<content:encoded><![CDATA[<p>Excellent post, you are being really helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Successfully using OCRA with Watir by Gary</title>
		<link>http://johnallen.us/?p=278&#038;cpage=1#comment-94</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Mon, 07 Jun 2010 11:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=278#comment-94</guid>
		<description>thank you, this post is very helpful to me .</description>
		<content:encoded><![CDATA[<p>thank you, this post is very helpful to me .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Textual Table class for Ruby by fport program in Ruby &#124; JohnAllen.us / KD7SEE.us</title>
		<link>http://johnallen.us/?p=347&#038;cpage=1#comment-88</link>
		<dc:creator>fport program in Ruby &#124; JohnAllen.us / KD7SEE.us</dc:creator>
		<pubDate>Thu, 03 Jun 2010 19:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=347#comment-88</guid>
		<description>[...] program uses my TextTable class from a previous post. It runs the &#8216;netstat -aon&#8217; command and then filters out the [...]</description>
		<content:encoded><![CDATA[<p>[...] program uses my TextTable class from a previous post. It runs the &#8216;netstat -aon&#8217; command and then filters out the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python Connectivity Check Script by Perl Connectivity Check Script &#124; JohnAllen.us / KD7SEE.us</title>
		<link>http://johnallen.us/?p=236&#038;cpage=1#comment-74</link>
		<dc:creator>Perl Connectivity Check Script &#124; JohnAllen.us / KD7SEE.us</dc:creator>
		<pubDate>Wed, 14 Apr 2010 15:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=236#comment-74</guid>
		<description>[...] is a follow-on to my Python Connectivity Check Script that I posted a while back. It functions the same way&#8230;its just written in Perl. I use both [...]</description>
		<content:encoded><![CDATA[<p>[...] is a follow-on to my Python Connectivity Check Script that I posted a while back. It functions the same way&#8230;its just written in Perl. I use both [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Correct file paths for WIN32OLE applications in Ruby by Automating Visio with Ruby &#124; JohnAllen.us / KD7SEE.us</title>
		<link>http://johnallen.us/?p=41&#038;cpage=1#comment-20</link>
		<dc:creator>Automating Visio with Ruby &#124; JohnAllen.us / KD7SEE.us</dc:creator>
		<pubDate>Mon, 01 Feb 2010 15:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=41#comment-20</guid>
		<description>[...] function to format the directory path to something Visio does like. I covered this function in a previous post. This file save is an &#8216;Extended&#8217; form that saves the workspace (VisSaveAsWS) and also [...]</description>
		<content:encoded><![CDATA[<p>[...] function to format the directory path to something Visio does like. I covered this function in a previous post. This file save is an &#8216;Extended&#8217; form that saves the workspace (VisSaveAsWS) and also [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Controlling Visio Windows with Ruby by Automating Visio with Ruby &#124; JohnAllen.us / KD7SEE.us</title>
		<link>http://johnallen.us/?p=198&#038;cpage=1#comment-19</link>
		<dc:creator>Automating Visio with Ruby &#124; JohnAllen.us / KD7SEE.us</dc:creator>
		<pubDate>Mon, 01 Feb 2010 15:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=198#comment-19</guid>
		<description>[...] Controlling Visio Windows with Ruby   Feb 01 [...]</description>
		<content:encoded><![CDATA[<p>[...] Controlling Visio Windows with Ruby   Feb 01 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Unix &#8216;Which&#8217; command for Windows by john</title>
		<link>http://johnallen.us/?p=152&#038;cpage=1#comment-9</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 18 Jan 2010 06:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=152#comment-9</guid>
		<description>Hi Timm :)  
its actually one of my helper libraries. Its nothing more than an extension to the &#039;String&#039; class that looks for a windows string:
Class String
  def isWindows?
    if self =~ /(:?mswin&#124;win32&#124;mingw)/
      return true
    end
    return false
  end
end</description>
		<content:encoded><![CDATA[<p>Hi Timm <img src='http://johnallen.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
its actually one of my helper libraries. Its nothing more than an extension to the &#8216;String&#8217; class that looks for a windows string:<br />
Class String<br />
  def isWindows?<br />
    if self =~ /(:?mswin|win32|mingw)/<br />
      return true<br />
    end<br />
    return false<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Unix &#8216;Which&#8217; command for Windows by Timm</title>
		<link>http://johnallen.us/?p=152&#038;cpage=1#comment-8</link>
		<dc:creator>Timm</dc:creator>
		<pubDate>Mon, 18 Jan 2010 06:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=152#comment-8</guid>
		<description>Where does is this &#039;exo/iswindows&#039; library come from?</description>
		<content:encoded><![CDATA[<p>Where does is this &#8216;exo/iswindows&#8217; library come from?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Importing Excel Constants values into Ruby by Drawing Borders in Excell using Ruby</title>
		<link>http://johnallen.us/?p=50&#038;cpage=1#comment-3</link>
		<dc:creator>Drawing Borders in Excell using Ruby</dc:creator>
		<pubDate>Sat, 28 Nov 2009 19:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://johnallen.us/?p=50#comment-3</guid>
		<description>[...] Once the values are all loaded in, its time to make the spreadsheet look pretty. Here&#8217;s how you draw a single, continuous, thin line around each cell in a range of cells. This function can be used an any number of cells&#8230;but only in one row. If you give it a range of more than one row, then it will draw a box around the rows, and add the vertical lines. As I am adding one row at a time in my applications, my function works fine for single rows. The ExcelConst:: constants were address in a previous post. [...]</description>
		<content:encoded><![CDATA[<p>[...] Once the values are all loaded in, its time to make the spreadsheet look pretty. Here&#8217;s how you draw a single, continuous, thin line around each cell in a range of cells. This function can be used an any number of cells&#8230;but only in one row. If you give it a range of more than one row, then it will draw a box around the rows, and add the vertical lines. As I am adding one row at a time in my applications, my function works fine for single rows. The ExcelConst:: constants were address in a previous post. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
