<?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>This is my blog &#187; ubuntu</title>
	<atom:link href="http://www.ronniealleva.org/index.php/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ronniealleva.org</link>
	<description>There are many like it but this one is mine</description>
	<lastBuildDate>Mon, 10 May 2010 07:06:51 +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>Script-fu: cat directly to X clipboard</title>
		<link>http://www.ronniealleva.org/index.php/2009/04/10/script-fucat-directly-to-x-clipboard/</link>
		<comments>http://www.ronniealleva.org/index.php/2009/04/10/script-fucat-directly-to-x-clipboard/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 18:48:52 +0000</pubDate>
		<dc:creator>Ronnie</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ronniealleva.org/?p=44</guid>
		<description><![CDATA[Have you ever wanted to &#8216;cat&#8217; a file directly to the clipboard? OF COURSE, why else would you be reading this sentence?
Simply install &#8216;xclip&#8217;, which is simple also, if you are on ubuntu:

sudo apt-get install xclip

Anything that you pipe to it goes to the X11 clipboard.  Once there, you can just hit the middle [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to &#8216;cat&#8217; a file directly to the clipboard? OF COURSE, why else would you be reading this sentence?</p>
<p>Simply install &#8216;xclip&#8217;, which is simple also, if you are on ubuntu:</p>
<pre>
sudo apt-get install xclip
</pre>
<p>Anything that you pipe to it goes to the X11 clipboard.  Once there, you can just hit the middle mouse button to paste it where you want, just as if you had highlighted it.  So you can do things like this:</p>
<pre>
$ cat some.file | xclip
$ nslookup somehost | xclip
$ ./runsomeawesomescriptthatyouwanttheoutputintheclipboard.sh | xclip
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ronniealleva.org/index.php/2009/04/10/script-fucat-directly-to-x-clipboard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to create a tar of files you have updated in SVN</title>
		<link>http://www.ronniealleva.org/index.php/2008/07/29/how-to-create-a-tar-of-files-you-have-updated-in-svn/</link>
		<comments>http://www.ronniealleva.org/index.php/2008/07/29/how-to-create-a-tar-of-files-you-have-updated-in-svn/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 23:35:32 +0000</pubDate>
		<dc:creator>Ronnie</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ronniealleva.org/index.php/2008/07/29/how-to-create-a-tar-of-files-you-have-updated-in-svn/</guid>
		<description><![CDATA[I had to recently send some modified files to someone so that they could take a look at what I was doing.  OH NOES!  How do I gather them all up at once?

tar cvzf somefile.tar.gz `svn stat &#124; awk '{print &#34;test -f &#34; $2 &#34; &#38;&#38; echo &#34; $2}' &#124; bash`

Word.
To break it down:
The svn [...]]]></description>
			<content:encoded><![CDATA[<p>I had to recently send some modified files to someone so that they could take a look at what I was doing.  OH NOES!  How do I gather them all up at once?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> cvzf somefile.tar.gz <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">stat</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print &quot;test -f &quot; $2 &quot; &amp;&amp; echo &quot; $2}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

<p><strong>Word.</strong></p>
<p>To break it down:</p>
<p>The svn stat command is getting all the files that have changed obviously.</p>
<p>The awk command its piped to is the real part that&#8217;s doing the work.  The awk command prints</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-f</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #c20cb9; font-weight: bold;">file</span></pre></div></div>

<p>Pipe that through bash, and you have commands, which essentially will echo the file if the file is a file.  Simple?  No?  I mean, it will not print it out if it&#8217;s a directory, so you don&#8217;t have to worry about it adding entire directories.</p>
<p>Surround that whole thing in backquotes (that&#8217;s the one with the tilde (that&#8217;s the one next to the &#8216;1&#8242; key ( I&#8217;m not telling you where the &#8216;1&#8242; key is)))  and give it as the argument to the tar command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronniealleva.org/index.php/2008/07/29/how-to-create-a-tar-of-files-you-have-updated-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My adventures with Hardy</title>
		<link>http://www.ronniealleva.org/index.php/2008/05/11/my-adventures-with-hardy/</link>
		<comments>http://www.ronniealleva.org/index.php/2008/05/11/my-adventures-with-hardy/#comments</comments>
		<pubDate>Mon, 12 May 2008 04:14:12 +0000</pubDate>
		<dc:creator>Ronnie</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ronniealleva.org/index.php/2008/05/11/my-adventures-with-hardy/</guid>
		<description><![CDATA[I finally upgraded my computer to Ubuntu 8.04, but unfortunately my VMWare server didn&#8217;t work any more.  That led me into a whole bunch of things that I noticed wrong with my upgrade.  Allow me to explain the idiocity.
First, for some reason, even after upgrading, I was still booting into the old 7.10 kernel(2.6.22-14). A [...]]]></description>
			<content:encoded><![CDATA[<p>I finally upgraded my computer to Ubuntu 8.04, but unfortunately my VMWare server didn&#8217;t work any more.  That led me into a whole bunch of things that I noticed wrong with my upgrade.  Allow me to explain the idiocity.</p>
<p>First, for some reason, even after upgrading, I was still booting into the old 7.10 kernel(2.6.22-14). A quick change to the /boot/grub/menu.lst file cleared that up.  I just copied one of the other entries and then modified it so that it pointed to the new kernel (2.6.24-16).</p>
<p>Great.  I booted up and then&#8230;had no wireless.  I had forgotten how I set it up before, until I came across <a href="https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff#head-bc33832c0547766a33c3a84f13f971ca757b2851">this page.</a> For some reason, Hardy breaks newer Broadcom wireless cards (BCM4312, rev. 02 to be exact).  But that page has pretty direct instructions on how to fix your po&#8217; computer&#8230;that is, if you have internet&#8230;which you probably do, if you&#8217;re looking at this page.</p>
<p>Great.  Ok now I can install VMWare.   I had it installed before, but something made it get all scared and I suppose it scurried away to /dev/null for eternity.  Suicide must have been more appealing to the VMWare.</p>
<p>Apparently there are issues with VMWare on Hardy, but following this page seemed simple enough.  Except when I ran:</p>
<pre>
sudo ./runme.pl</pre>
<p>It gave me this error:</p>
<pre>
A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Error: Unable to execute "/usr/bin/vmware-uninstall.pl.</pre>
<p>So great, it left pieces of itself behind, except without a shovel to clean them up with.  This was easily cleared up by removing the /etc/init.d/vmware directory.</p>
<p>After that, everything worked great.  I was able to open up my old XP instance perfectly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronniealleva.org/index.php/2008/05/11/my-adventures-with-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
