<?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>ianneubert.com &#187; Computers</title>
	<atom:link href="http://www.ianneubert.com/wp/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ianneubert.com/wp</link>
	<description>the official &#60;b&#62;blog&#60;/b&#62; for &#60;i&#62;everything&#60;/i&#62; ian</description>
	<lastBuildDate>Wed, 14 Jul 2010 20:25:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Use SSH to get tail of log file</title>
		<link>http://www.ianneubert.com/wp/2010/07/14/use-ssh-to-get-tail-of-log-file/</link>
		<comments>http://www.ianneubert.com/wp/2010/07/14/use-ssh-to-get-tail-of-log-file/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 17:40:33 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=474</guid>
		<description><![CDATA[Ever wanted to take the last 1000 lines of a log file from your remote server and then copy that to your local machine to use in a nicer text editor? Now you can! This single command will grab the last X lines from a remote file, remove any ANSI color codes, and then compress [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to take the last 1000 lines of a log file from your remote server and then copy that to your local machine to use in a nicer text editor?</p>
<p>Now you can! This single command will grab the last X lines from a remote file, remove any ANSI color codes, and then compress the output right on to your local computer.</p>
<p>Just replace the green text with your information and you&#8217;re all set.</p>
<p><code>ssh <span style="color: #008000;">username</span>@<span style="color: #008000;">my.server.com</span> "tail -n <span style="color: #008000;">3000</span> <span style="color: #008000;">/var/log/mylogfile.log</span> | sed -r 's/\x1B\[([0-9]{1,3}((;[0-9]{1,3})*)?)?[m|K]//g' | bzip2" &gt; <span style="color: #008000;">/my/local/file.log.bz2</span></code></p>
<p>The log will be trimmed, cleaned, and compressed all on the remote server before transport.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2010/07/14/use-ssh-to-get-tail-of-log-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby RVM Rocks!</title>
		<link>http://www.ianneubert.com/wp/2010/04/23/ruby-rvm-rocks/</link>
		<comments>http://www.ianneubert.com/wp/2010/04/23/ruby-rvm-rocks/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 15:14:03 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=465</guid>
		<description><![CDATA[I just now got around to installing RVM on my Mac. I wish I had done it a lot sooner! RVM let&#8217;s you install multiple Ruby versions side by side. You can easily install a new ruby version just by typing: rvm install ruby-1.8.7-p160 or rvm install 1.9.2-preview1 And you can quickly switch between versions [...]]]></description>
			<content:encoded><![CDATA[<p>I just now got around to installing <a href="http://rvm.beginrescueend.com/">RVM</a> on my Mac. I wish I had done it a lot sooner!</p>
<p>RVM let&#8217;s you install multiple Ruby versions side by side. You can easily install a new ruby version just by typing:</p>
<pre><code>rvm install ruby-1.8.7-p160</code></pre>
<p>or</p>
<pre><code>rvm install 1.9.2-preview1</code></pre>
<p>And you can quickly switch between versions by typing this:</p>
<pre><code>rvm ruby-1.8.7-p249</code></pre>
<p>Note that you will need to install gems independantly in each of your ruby environments. But they make it easy with <a href="http://rvm.beginrescueend.com/gemsets/basics/">gemsets</a>. Also note, that if you want to preserve your custom ENV settings on your Mac, you should place the bash source line into your .profile file and not to .bashrc as it notes.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2010/04/23/ruby-rvm-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Holy Optimizations Batman!</title>
		<link>http://www.ianneubert.com/wp/2010/02/20/holy-optimizations-batman/</link>
		<comments>http://www.ianneubert.com/wp/2010/02/20/holy-optimizations-batman/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 20:09:27 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=461</guid>
		<description><![CDATA[I previously published a Ruby script that essentially duplicates an Amazon S3 bucket. I use it to copy my production bucket into a testing bucket that I can then use in my staging environment, without fear of killing off something important. Hydra, the multithreaded fire breather Anyway, this script used to take around 18 minutes [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://www.ianneubert.com/wp/2009/02/03/s3-ruby-tools/">previously published</a> a <a href="http://github.com/ianneub/aws_ruby_tools/blob/master/duplicate_bucket.rb">Ruby script</a> that essentially duplicates an Amazon S3 bucket. I use it to copy my production bucket into a testing bucket that I can then use in my staging environment, without fear of killing off something important.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_462" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.ianneubert.com/wp/wp-content/uploads/2010/02/Hydra.jpg"><img class="size-medium wp-image-462" title="Hydra" src="http://www.ianneubert.com/wp/wp-content/uploads/2010/02/Hydra-300x199.jpg" alt="Hydra, the multithreaded fire breather" width="300" height="199" /></a></dt>
<dd class="wp-caption-dd">Hydra, the multithreaded  fire breather</dd>
</dl>
</div>
<p>Anyway, this script used to take around 18 minutes to complete a full copy of a bucket with about 2,000 keys. What a pain when I had to run this script multiple times for some testing!</p>
<p>So I finally got around to rewriting it today, and wow, what an improvement!</p>
<p>I upgraded the delete and copy operations to run multithreaded, and boy does it fly.</p>
<p>On my main bucket (with about 2,000 keys) it now only takes about <strong>1.5 minutes</strong> to complete! That&#8217;s <strong>12x faster</strong> than it used to be!</p>
<p>So if you are looking for a multithreaded Amazon S3 bucket copier or duplicator, <a href="http://github.com/ianneub/aws_ruby_tools/blob/master/duplicate_bucket.rb">check it out</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2010/02/20/holy-optimizations-batman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New rubygem: ianneub-right_aws</title>
		<link>http://www.ianneubert.com/wp/2009/04/07/new-rubygem-ianneub-right_aws/</link>
		<comments>http://www.ianneubert.com/wp/2009/04/07/new-rubygem-ianneub-right_aws/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:52:10 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=420</guid>
		<description><![CDATA[Continuing my new trend of publishing code that I use, I&#8217;ve released a new fork of RightScale&#8217;s right_aws ruby gem. This gem makes accessing Amazon&#8217;s S3, EC2, and other web services a piece of cake through ruby. One problem with (at least) the latest release of right_aws is that it tries to connect to the [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing my new trend of publishing code that I use, I&#8217;ve released a new fork of <a href="http://www.rightscale.com">RightScale&#8217;s</a> <a href="http://rightscale.rubyforge.org/">right_aws</a> ruby gem. This gem makes accessing Amazon&#8217;s S3, EC2, and other web services a piece of cake through ruby.</p>
<p>One problem with (at least) the latest release of right_aws is that it tries to connect to the Amazon API at the bucket_name.s3.amazonaws.com. This causes the connections to the API to thrash when you are working with more than one bucket. I&#8217;ve taken out the code that makes that connection so that it will now only connect to s3.amazonaws.com/bucket_name by default.</p>
<p>You can find the code on <a href="http://github.com/ianneub/right_aws/tree">GitHub</a>. And see extra documentaion <a href="http://wiki.github.com/ianneub/right_aws">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2009/04/07/new-rubygem-ianneub-right_aws/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>S3 Ruby Tools</title>
		<link>http://www.ianneubert.com/wp/2009/02/03/s3-ruby-tools/</link>
		<comments>http://www.ianneubert.com/wp/2009/02/03/s3-ruby-tools/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 22:03:07 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=409</guid>
		<description><![CDATA[I just published some more code on github today. This new repo contains some ruby code that I use to manipulate my Amazon S3 buckets. Right now there are just two simple scripts, one deletes a whole bucket, the other copies everything from one bucket to another, with an optional prefix to limit what is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I just published some more <a href="http://github.com/ianneub/s3_ruby_tools/tree/master">code on github</a> today. This new repo contains some ruby code that I use to manipulate my <a href="http://aws.amazon.com/s3/">Amazon S3</a> buckets.</p>
<p>Right now there are just two simple scripts, one deletes a whole bucket, the other copies everything from one bucket to another, with an optional prefix to limit what is copied.</p>
<p>I&#8217;ve been using these scripts for a few months now, they are very stable and do some basic error handling.</p>
<p>Here is the <a href="http://github.com/ianneub/s3_ruby_tools/blob/master/README.markdown">README file</a>.<img class="size-medium wp-image-414 aligncenter" title="AWS Logo" src="http://www.ianneubert.com/wp/wp-content/uploads/2009/02/pbaws_logo_300px.jpg" alt="AWS Logo" width="300" height="122" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2009/02/03/s3-ruby-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the timezone on Ubuntu from the command line</title>
		<link>http://www.ianneubert.com/wp/2008/07/30/how-to-change-the-timezone-on-ubuntu-from-the-command-line/</link>
		<comments>http://www.ianneubert.com/wp/2008/07/30/how-to-change-the-timezone-on-ubuntu-from-the-command-line/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 03:13:13 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=323</guid>
		<description><![CDATA[I just thought I&#8217;d post this quick tidbit on how to change the timezone on a Ubuntu server after is has been installed. Simply rerun the timezone configuration: sudo dpkg-reconfigure tzdata]]></description>
			<content:encoded><![CDATA[<p>I just thought I&#8217;d post this quick tidbit on how to change the timezone on a Ubuntu server after is has been installed. Simply rerun the timezone configuration:</p>
<blockquote><pre>sudo dpkg-reconfigure tzdata</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2008/07/30/how-to-change-the-timezone-on-ubuntu-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpBackupS3</title>
		<link>http://www.ianneubert.com/wp/2008/07/28/php_backup_s3/</link>
		<comments>http://www.ianneubert.com/wp/2008/07/28/php_backup_s3/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 03:18:39 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=310</guid>
		<description><![CDATA[I&#8217;ve just published my PHP backup script to github.com. If you are looking for an easy to use, PHP based backup script to send things to S3, check it out. Download the source at github. It&#8217;s been in production for over a year at various sites. Works fine for me. Here is the feature list: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just <a href="http://github.com/ianneub/php_backup_s3">published my PHP backup script</a> to <a href="http://github.com">github.com</a>. If you are looking for an easy to use, PHP based backup script to send things to S3, check it out.</p>
<p><a href="http://github.com/ianneub/php_backup_s3">Download the source at github.</a></p>
<p>It&#8217;s been in production for over a year at various sites. Works fine for me.</p>
<p>Here is the feature list:</p>
<ul>
<li>Simple to use</li>
<li>Backups all databases on a MySQL server</li>
<li>Backups and compresses (using bzip2) directories and files</li>
<li>Uses URL type storage keys, so it&#8217;s easy to browse the backup bucket</li>
<li>(optionally) Removes old backups according to a <a href="://en.wikipedia.org/wiki/Grandfather-Father-Son_Backup">grandfather-father-son</a> based schedule</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2008/07/28/php_backup_s3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Time Synchronization in VMware Fusion</title>
		<link>http://www.ianneubert.com/wp/2008/06/17/disabling-time-synchronization-in-vmware-fusion/</link>
		<comments>http://www.ianneubert.com/wp/2008/06/17/disabling-time-synchronization-in-vmware-fusion/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 22:13:36 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=292</guid>
		<description><![CDATA[I&#8217;ve been trying to figure out how to disable time/clock synchronization in a VMware Fusion guest for the past few months, and I finally stumbled upon the answer! This will prevent the VMware Fusion guest from getting the correct time from the host OS on boot or restore. The following lines need to be added [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to figure out how to disable time/clock synchronization in a VMware Fusion guest for the past few months, and I finally stumbled upon the answer! This will prevent the VMware Fusion guest from getting the correct time from the host OS on boot or restore.</p>
<p>The following lines need to be added to the .vmx file inside the virtual machine package:</p>
<blockquote><pre>tools.syncTime = "FALSE"
time.synchronize.continue = "FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.shrink = "FALSE"
time.synchronize.tools.startup = "FALSE"</pre>
</blockquote>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1189">VMware KB #1189</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2008/06/17/disabling-time-synchronization-in-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3G iPhone let down</title>
		<link>http://www.ianneubert.com/wp/2008/06/09/3g-iphone-let-down/</link>
		<comments>http://www.ianneubert.com/wp/2008/06/09/3g-iphone-let-down/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 19:35:00 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=289</guid>
		<description><![CDATA[Apple announced the 3G iPhone today. It&#8217;s a pretty small feature enhancement, only three new things: 3g Network GPS built in $200 for 8gb, $300 for 16gb I think the best upgrade is the price. I was hoping for a lot more I guess, because that just doesn&#8217;t seem all that exciting. There are still [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ianneubert.com/wp/wp-content/uploads/2008/06/apple-iphone.jpg"><img class="aligncenter size-full wp-image-290" title="apple-iphone-3g" src="http://www.ianneubert.com/wp/wp-content/uploads/2008/06/apple-iphone.jpg" alt="" width="375" height="176" /></a>Apple announced the <a href="http://www.apple.com/iphone/">3G iPhone</a> today. It&#8217;s a pretty small feature enhancement, only three new things:</p>
<ul>
<li>3g Network</li>
<li>GPS built in</li>
<li>$200 for 8gb, $300 for 16gb</li>
</ul>
<p>I think the best upgrade is the price. I was hoping for a lot more I guess, because that just doesn&#8217;t seem all that exciting. There are still a bunch of holes:</p>
<ul>
<li>No MMS support</li>
<li>No stereo Bluetooth</li>
<li>No video recording support</li>
</ul>
<p>They basically just changed the chipset inside and called it a day. Whoopie.</p>
<p>UPDATE: The price is not cheaper in the long run, it&#8217;s a lot more expensive. The new iPhone 3G plan will cost me $75/mo, compared to $60/mo for the original. That means I would end up spending $160 more for the new iPhone over 2 years, versus the original.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2008/06/09/3g-iphone-let-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is twitter ever working?</title>
		<link>http://www.ianneubert.com/wp/2008/05/30/is-twitter-ever-working/</link>
		<comments>http://www.ianneubert.com/wp/2008/05/30/is-twitter-ever-working/#comments</comments>
		<pubDate>Fri, 30 May 2008 20:07:15 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.ianneubert.com/wp/?p=285</guid>
		<description><![CDATA[After noticing some trouble with the twitter feed on ianneubert.com, I checked the site: istwitterdown.com and guess what it said? I&#8217;m really tired of twitter being down all the time. I probably won&#8217;t be using it much longer.]]></description>
			<content:encoded><![CDATA[<p>After noticing some trouble with the <a href="http://www.twitter.com/">twitter</a> feed on <a href="http://ianneubert.com/">ianneubert.com</a>, I checked the site: <a href="http://www.istwitterdown.com/">istwitterdown.com</a> and guess what it said?</p>
<p><a href="http://www.istwitterdown.com/"><img class="aligncenter size-full wp-image-287" title="is-twitter-down" src="http://www.ianneubert.com/wp/wp-content/uploads/2008/05/is-twitter-down.jpg" alt="" width="267" height="72" /></a></p>
<p>I&#8217;m really tired of twitter being down all the time. I probably won&#8217;t be using it much longer. <img src='http://www.ianneubert.com/wp/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianneubert.com/wp/2008/05/30/is-twitter-ever-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
