<?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>eTechTips &#187; Utilities</title>
	<atom:link href="http://www.etechtips.com/articles/software/utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.etechtips.com</link>
	<description>Your Technical resource</description>
	<lastBuildDate>Thu, 29 Jul 2010 04:01:44 +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>How to address perl arguments</title>
		<link>http://www.etechtips.com/2010/07/28/how-to-address-perl-arguments/</link>
		<comments>http://www.etechtips.com/2010/07/28/how-to-address-perl-arguments/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 05:04:19 +0000</pubDate>
		<dc:creator>ecdown</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.etechtips.com/?p=124</guid>
		<description><![CDATA[If you are using perl, you may find it necessary to take some command line arguments to your scripts.  When that time comes, there is a very handy variable ARGV that contains the passed in arguments.
To get the total number of arguments passed into the script you will need to use the following:
$totcommandargs = #$ARGV [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using perl, you may find it necessary to take some command line arguments to your scripts.  When that time comes, there is a very handy variable ARGV that contains the passed in arguments.</p>
<p>To get the total number of arguments passed into the script you will need to use the following:</p>
<p>$totcommandargs = #$ARGV + 1</p>
<p>is equal to the number of arguments passed in to the Perl script.</p>
<p>Note: you need to add one to the count to get the correct number of variables.</p>
<p>To address the variables you use the following to address the first argument: $ARGV[0]</p>
<p>will address the first argument</p>
<p>Since arrays are addressed by n-1, to get the first element you use 0 {zero}, for the second 1, for the third {2}, and so on.</p>
<p>$0 will give the name of the currently executing script.</p>
<pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"><code>
#!/usr/bin/perl

$argcount =  $#ARGV +1;
print "The script $0 has $argcount arguments\n";

for( $i = 0; $i &lt; $argcount;$i++)
{
print $ARGV[$i] . "\n";
}

</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.etechtips.com/2010/07/28/how-to-address-perl-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passing JVM options to Maven</title>
		<link>http://www.etechtips.com/2010/06/30/passing-jvm-options-to-maven/</link>
		<comments>http://www.etechtips.com/2010/06/30/passing-jvm-options-to-maven/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:55:05 +0000</pubDate>
		<dc:creator>ecdown</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.etechtips.com/?p=120</guid>
		<description><![CDATA[If you are using maven to build your projects , then you might have found an out of memory condition in your tests.  Well, setting the MAVEN_OPTS variable with JVM specific options will help with this.
Example:
MAVEN_OPTS=-Xmx1024
Depending on what environment you are in, you will need to set this variable.
This will give the JVM more 1024 [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using maven to build your projects , then you might have found an out of memory condition in your tests.  Well, setting the MAVEN_OPTS variable with JVM specific options will help with this.</p>
<p>Example:</p>
<p>MAVEN_OPTS=-Xmx1024</p>
<p>Depending on what environment you are in, you will need to set this variable.</p>
<p>This will give the JVM more 1024 megs to work with and you can customize the number to fit your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etechtips.com/2010/06/30/passing-jvm-options-to-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capturing the screen in Windows</title>
		<link>http://www.etechtips.com/2009/11/13/capturing-the-screen-in-windows/</link>
		<comments>http://www.etechtips.com/2009/11/13/capturing-the-screen-in-windows/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 17:19:59 +0000</pubDate>
		<dc:creator>techtipse</dc:creator>
				<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.etechtips.com/?p=74</guid>
		<description><![CDATA[For the longest time, I thought the &#8220;Print Screen&#8221; or &#8220;PrtScr&#8221; Key on my keyboard was a throw back to much older computers with sheet fed dot matrix printers and would just print out the current Dos command shell.
Once I figured out how to use it in windows, it has become an invaluable tool.
I used [...]]]></description>
			<content:encoded><![CDATA[<p>For the longest time, I thought the &#8220;Print Screen&#8221; or &#8220;PrtScr&#8221; Key on my keyboard was a throw back to much older computers with sheet fed dot matrix printers and would just print out the current Dos command shell.</p>
<p>Once I figured out how to use it in windows, it has become an invaluable tool.</p>
<p>I used to create presentations of source code issues.  It was a great help to be able to grab a copy of the screen and place it in a Powerpoint slide or Word Doc.</p>
<p>If you need a complete screen capture or even just the current window, here is what you can do.</p>
<p>If you need to capture the complete screen, press the &#8220;Print Screen&#8221; button located near the top of the keyboard with the scroll lock or Pause key.    It may seem like nothing has happened, but the complete image of your current desktop has been saved into the clipboard in windows.</p>
<p>If you want to just capture the current window, make sure the window you want is active and press the  Alt and &#8220;Print Screen&#8221; keys together.</p>
<p>Now open Paint, MS Word or any other program capable of handling images, and type Ctrl-V.  This will take the image that has been captured into memory and place it in the program.  Now you can manipulate the image to crop it or use it in your document.</p>
<p>This is a built in function of the MS Windows Operating system.</p>
<p>If you need more control there are other applications that can let you capture portions of the screen at any time and create a file with a simple keystroke, such as <a href="http://www.techsmith.com/screen-capture.asp">SnagIt!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.etechtips.com/2009/11/13/capturing-the-screen-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable 30 second skip with Comcast DVR</title>
		<link>http://www.etechtips.com/2009/07/15/enable-30-second-skip-with-comcast-dvr/</link>
		<comments>http://www.etechtips.com/2009/07/15/enable-30-second-skip-with-comcast-dvr/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 18:40:33 +0000</pubDate>
		<dc:creator>ecdown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.etechtips.com/?p=50</guid>
		<description><![CDATA[  Motorola DCT6412 (Comcast DVR) 30-second skip
I have a Tivo and missed the 30 second skip that was available and I found that the same was available with the Comcast Cable remote.
1) Press the  button at the top of the remote to put it into Cable Box control mode.
2) Press and hold the [...]]]></description>
			<content:encoded><![CDATA[<p>  Motorola DCT6412 (Comcast DVR) 30-second skip</p>
<p>I have a Tivo and missed the 30 second skip that was available and I found that the same was available with the Comcast Cable remote.</p>
<p>1) Press the <Cable> button at the top of the remote to put it into Cable Box control mode.</p>
<p>2) Press and hold the <Setup> button until the <Cable> button blinks twice.</p>
<p>3) Type in the code 994. The <Cable> button will blink twice.</p>
<p>4) Press (do not hold) the <Setup> button</p>
<p>5) Type in the code 00173 (for 30 second Skip).</p>
<p>6) Press whatever button you want to map the skip, I used the help button as I have never used it myself.</p>
<p>Welcome to 30 second skipping.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etechtips.com/2009/07/15/enable-30-second-skip-with-comcast-dvr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to split large files for emailing</title>
		<link>http://www.etechtips.com/2009/06/08/how-to-split-large-files-for-emailing/</link>
		<comments>http://www.etechtips.com/2009/06/08/how-to-split-large-files-for-emailing/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 04:02:20 +0000</pubDate>
		<dc:creator>techtipse</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://etechtips.com/?p=38</guid>
		<description><![CDATA[I had to send a large file (about 100MB) to a client for analysis.  They did not have an anonymous ftp server so I had to figure a way to e-mail the file to them and then have a way to put it back together.
I found the split command very useful.  I use Linux when [...]]]></description>
			<content:encoded><![CDATA[<p>I had to send a large file (about 100MB) to a client for analysis.  They did not have an anonymous ftp server so I had to figure a way to e-mail the file to them and then have a way to put it back together.</p>
<p>I found the split command very useful.  I use Linux when I can but have installed <a href="http://www.cygwin.com">Cygwin</a> on my Windows PC to get the same functionality.</p>
<p>Here is a way to break the file into 5 megabyte chunks:</p>
<pre># split -b 8m veryLargeInputFile</pre>
<p>This instance splits veryLargeInputFile 8MB segments named xaa xab xac&#8230;xap.</p>
<p>Now put the file back together  at the distant end:</p>
<pre># cat xaa xab xac xad xae xaf xag xah xai xaj &gt; veryLargeInputFile</pre>
<p>or</p>
<pre># cat * &gt;veryLargeInputFile</pre>
<p><strong>Note: </strong>ensure xa* are the only files in the directory when using the wildcard<br />
For ASCII files: Split lines &#8212; This example splits a document into 1000 line segments.</p>
<pre># split -l 1000 veryLargeTextFile</pre>
<p>Use the same process to put the file back together again.</p>
<p><strong>Note: </strong>For larger files, find a ftp server or make your filesize increments bigger.</p>
<p>Split options</p>
<p>-b ##   &#8212; replace ## with the number of bytes you want in a file</p>
<p>-C ##   &#8212; replace ## with the number of SIZE bytes of lines per output file</p>
<p>-l ##     &#8212; replace ## with the number of lines per file.</p>
<p>-d          &#8212; use numeric suffixes for output files instead of alphabetic</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etechtips.com/2009/06/08/how-to-split-large-files-for-emailing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
