<?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>Paul Rossman</title>
	<atom:link href="http://paulrossman.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulrossman.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 05:04:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>oracle log regex</title>
		<link>http://paulrossman.com/blog/2011/08/25/oracle-log-regex/</link>
		<comments>http://paulrossman.com/blog/2011/08/25/oracle-log-regex/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 01:29:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2009/08/25/oracle-log-regex/</guid>
		<description><![CDATA[grep HOST= &#124; perl -ne '/^(.*?)*/; print $1; while (/((HOST=.*?))/g) { print &#34;$1&#34;;}; print &#34;n&#34;; ']]></description>
			<content:encoded><![CDATA[<pre>grep HOST= | perl -ne '/^(.*?)*/; print $1;
while (/((HOST=.*?))/g) { print &quot;$1&quot;;}; print &quot;n&quot;; '</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2011/08/25/oracle-log-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>list all cms site names</title>
		<link>http://paulrossman.com/blog/2011/06/23/list-all-cms-site-names/</link>
		<comments>http://paulrossman.com/blog/2011/06/23/list-all-cms-site-names/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 17:27:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[sitedb]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2009/06/23/list-all-cms-site-names/</guid>
		<description><![CDATA[curl -sk https://cmsweb.cern.ch/sitedb/reports/showXMLReport/?reportid=phedex_cmsname_map.ini &#124; grep cms_name &#124; sed 's@&#60;([^&#60;&#62;][^&#60;&#62;]*)&#62;([^&#60;&#62;]*)@2@g' &#124; sed 's/^[ t]*//;s/[ t]*$//' &#124; sort &#124; uniq &#62;&#62; sites]]></description>
			<content:encoded><![CDATA[<p><code>curl -sk https://cmsweb.cern.ch/sitedb/reports/showXMLReport/?reportid=phedex_cmsname_map.ini |<br />
grep cms_name | sed 's@&lt;([^&lt;&gt;][^&lt;&gt;]*)&gt;([^&lt;&gt;]*)@2@g' |<br />
sed 's/^[ t]*//;s/[ t]*$//' | sort | uniq &gt;&gt; sites</code></p>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2011/06/23/list-all-cms-site-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>curl xmllint</title>
		<link>http://paulrossman.com/blog/2011/04/06/curl-xmllint/</link>
		<comments>http://paulrossman.com/blog/2011/04/06/curl-xmllint/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 03:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2011/04/06/curl-xmllint/</guid>
		<description><![CDATA[curl -sk 'https://some.ulr/xml' &#124; xmllint --format --recover -]]></description>
			<content:encoded><![CDATA[<pre>curl -sk 'https://some.ulr/xml' | xmllint --format --recover -</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2011/04/06/curl-xmllint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uninstalling Mac OS X packages</title>
		<link>http://paulrossman.com/blog/2011/03/21/uninstalling-mac-os-x-packages/</link>
		<comments>http://paulrossman.com/blog/2011/03/21/uninstalling-mac-os-x-packages/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 10:07:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2011/03/21/uninstalling-mac-os-x-packages/</guid>
		<description><![CDATA[pkgutil --pkgs &#124; grep [some package] pkgutil --unlink [your ID] pkgutil --files [your ID] pkgutil --forget [your ID]]]></description>
			<content:encoded><![CDATA[<div class="CodeRay">
<div class="code">
<pre>pkgutil --pkgs | grep [some package]</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>pkgutil --unlink [your ID]</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>pkgutil --files [your ID]</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>pkgutil --forget [your ID]</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2011/03/21/uninstalling-mac-os-x-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>programmatically secure erase free space</title>
		<link>http://paulrossman.com/blog/2010/09/02/programmatically-secure-erase-free-space/</link>
		<comments>http://paulrossman.com/blog/2010/09/02/programmatically-secure-erase-free-space/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 22:52:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2010/09/02/programmatically-secure-erase-free-space/</guid>
		<description><![CDATA[diskutil secureErase freespace 0 /Volumes/Disk1 &#62; /var/log/secureeraselog.tmp Usage: diskutil secureErase [freespace] level MountPoint&#124;DiskIdentifier&#124;DeviceNode Securely erases either a whole-disk or a volume's freespace. Level should be one of the following: 0 - Single-pass zeros. 1 - Single-pass random numbers. 2 - &#8230; <a href="http://paulrossman.com/blog/2010/09/02/programmatically-secure-erase-free-space/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="CodeRay">
<div class="code">
<pre>diskutil secureErase freespace 0 /Volumes/Disk1 &gt; /var/log/secureeraselog.tmp</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>Usage:  diskutil secureErase [freespace] level MountPoint|DiskIdentifier|DeviceNode
Securely erases either a whole-disk or a volume's freespace.
Level should be one of the following:
        0 - Single-pass zeros.
        1 - Single-pass random numbers.
        2 - US DoD 7-pass secure erase.
        3 - Gutmann algorithm 35-pass secure erase.
        4 - US DoE 3-pass secure erase.
Ownership of the affected disk is required.
Note: Level 2, 3, or 4 secure erases can take an extremely long time.</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2010/09/02/programmatically-secure-erase-free-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>create movie from images</title>
		<link>http://paulrossman.com/blog/2010/02/06/create-movie-from-images/</link>
		<comments>http://paulrossman.com/blog/2010/02/06/create-movie-from-images/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 06:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[mp4]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2010/02/06/create-movie-from-images/</guid>
		<description><![CDATA[ffmpeg -qscale 1 -r 8 -b 9600 -i w%d.png movie.avi ffmpeg -sameq %04d.jpg output.mp4]]></description>
			<content:encoded><![CDATA[<div class="CodeRay">
<div class="code">
<pre>ffmpeg -qscale 1 -r 8 -b 9600 -i w%d.png movie.avi</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>ffmpeg -sameq %04d.jpg output.mp4</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2010/02/06/create-movie-from-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>for loops with counting</title>
		<link>http://paulrossman.com/blog/2010/01/26/for-loops-with-counting/</link>
		<comments>http://paulrossman.com/blog/2010/01/26/for-loops-with-counting/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 03:25:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2010/01/26/for-loops-with-counting/</guid>
		<description><![CDATA[#!/bin/bash for ((a=1; a &#60;= 429 ; a++)) do echo $a done #!/bin/bash counter=0 x=0 cat somefile &#124; while read LINE do echo $LINE let x=$x+1 echo $x done]]></description>
			<content:encoded><![CDATA[<div class="CodeRay">
<div class="code">
<pre>#!/bin/bash
for ((a=1; a &lt;= 429 ; a++))
do
 echo $a
done</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>#!/bin/bash
counter=0
x=0
cat somefile | while read LINE
do
 echo $LINE
 let x=$x+1
 echo $x
done</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2010/01/26/for-loops-with-counting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>script for standard deviation, arithmetic mean and median</title>
		<link>http://paulrossman.com/blog/2009/12/15/script-for-standard-deviation-arithmetic-mean-and-median/</link>
		<comments>http://paulrossman.com/blog/2009/12/15/script-for-standard-deviation-arithmetic-mean-and-median/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 06:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2009/12/15/script-for-standard-deviation-arithmetic-mean-and-median/</guid>
		<description><![CDATA[awk '{ sum += $1; sumsq += $1*$1 } END { printf &#34;Mean: %f, Std: %fn&#34;, sum/NR, sqrt(sumsq/NR-(sum/NR)^2) }' /tmp/bbb #!/usr/bin/env perl use strict; use warnings; use Math::NumberCruncher; my @data; open (IN, “&#60;”, “$ARGV[0]“) or die (“Cannot open $ARGV[0]: $!n”); &#8230; <a href="http://paulrossman.com/blog/2009/12/15/script-for-standard-deviation-arithmetic-mean-and-median/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="CodeRay">
<div class="code">
<pre>awk '{ sum += $1; sumsq += $1*$1 } END { printf &quot;Mean: %f, Std: %fn&quot;, sum/NR, sqrt(sumsq/NR-(sum/NR)^2) }' /tmp/bbb</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>#!/usr/bin/env perl
use strict;
use warnings;
use Math::NumberCruncher;
my @data;
open (IN, “&lt;”, “$ARGV[0]“) or die (“Cannot open $ARGV[0]: $!n”);
while () {
    push @data, $1 if (/(d+)/);
}
close (IN);
printf(“Mean: %ftMedian: %ftStdDev: %fn”,</pre>
</div>
</div>
<div class="CodeRay">
<div class="code">
<pre>Math::NumberCruncher::Mean(@data),
Math::NumberCruncher::Median(@data),
Math::NumberCruncher::StandardDeviation(@data));</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2009/12/15/script-for-standard-deviation-arithmetic-mean-and-median/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>extract files from rpm</title>
		<link>http://paulrossman.com/blog/2009/12/01/extract-files-from-rpm/</link>
		<comments>http://paulrossman.com/blog/2009/12/01/extract-files-from-rpm/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 04:25:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2009/12/01/extract-files-from-rpm/</guid>
		<description><![CDATA[rpm2cpio myrpmfile.rpm rpm2cpio - &#60; myrpmfile.rpm rpm2cpio myrpmfile.rpm &#124; cpio -idmv]]></description>
			<content:encoded><![CDATA[<pre>rpm2cpio myrpmfile.rpm
rpm2cpio - &lt; myrpmfile.rpm
rpm2cpio myrpmfile.rpm | cpio -idmv</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2009/12/01/extract-files-from-rpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>reading arguments in perl script</title>
		<link>http://paulrossman.com/blog/2009/11/25/reading-arguments-in-perl-script/</link>
		<comments>http://paulrossman.com/blog/2009/11/25/reading-arguments-in-perl-script/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 03:05:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://paulrossman.com/blog/2009/11/25/reading-arguments-in-perl-script/</guid>
		<description><![CDATA[#!/usr/bin/env perl use strict; use warnings; use File::Path; use File::Basename; use LWP::Simple qw(get $ua); use Data::Dumper; foreach my $a (0 .. $#ARGV) { # do some work $ARGV[$a]; }]]></description>
			<content:encoded><![CDATA[<pre>#!/usr/bin/env perl

use strict;
use warnings;

use File::Path;
use File::Basename;
use LWP::Simple qw(get $ua);
use Data::Dumper;

foreach my $a (0 .. $#ARGV) {
    # do some work $ARGV[$a];
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulrossman.com/blog/2009/11/25/reading-arguments-in-perl-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

