<?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>Somewhere out there! &#187; tip</title>
	<atom:link href="http://stateless.geek.nz/tag/tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://stateless.geek.nz</link>
	<description></description>
	<lastBuildDate>Sun, 18 Oct 2009 11:03:29 +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>vmbuilder, virtio and fstab</title>
		<link>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/</link>
		<comments>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 00:26:06 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=688</guid>
		<description><![CDATA[nic@vm-base:~$ sudo blkid /dev/vda2
/dev/vda2: UUID=&#8221;0c75b2dd-6c6f-4729-b041-0d95475dc171&#8243; TYPE=&#8221;swap&#8221;
If you install a vm with vmbuilder without virtio the swap section of /etc/fstab will use /dev/sda2 instead of /dev/vda2. You can use blkid
nic@vm-base:~$ sudo blkid
/dev/vda1: UUID="bac299c4-c545-46ca-aed3-26da4a56f6d7" TYPE="ext3"
/dev/vda2: TYPE="swap" UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"
/dev/vdb: UUID="jIkLcQ-zXUo-KIWR-zvmm-cpKP-9PpT-eE9RY3" TYPE="lvm2pv"
and then add this UUID to fstab:
nic@vm-base:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# &#60;file system&#62;    [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">nic@vm-base:~$ sudo blkid /dev/vda2</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/dev/vda2: UUID=&#8221;0c75b2dd-6c6f-4729-b041-0d95475dc171&#8243; TYPE=&#8221;swap&#8221;</div>
<p>If you install a vm with vmbuilder without virtio the swap section of /etc/fstab will use /dev/sda2 instead of /dev/vda2. You can use blkid</p>
<pre>nic@vm-base:~$ sudo blkid
/dev/vda1: UUID="bac299c4-c545-46ca-aed3-26da4a56f6d7" TYPE="ext3"
/dev/vda2: TYPE="swap" UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"
/dev/vdb: UUID="jIkLcQ-zXUo-KIWR-zvmm-cpKP-9PpT-eE9RY3" TYPE="lvm2pv"</pre>
<div>and then add this UUID to fstab:</div>
<pre style="padding-left: 30px;">nic@vm-base:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# &lt;file system&gt;                                 &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc                                            /proc           proc    defaults        0       0
/dev/sda1                                       /               ext3    defaults        0       0
UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"     swap            swap    defaults        0       0</pre>
<p>in order to get swap working with different driver types.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit zip file in vim</title>
		<link>http://stateless.geek.nz/2009/04/17/edit-zip-file-in-vim/</link>
		<comments>http://stateless.geek.nz/2009/04/17/edit-zip-file-in-vim/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:29:29 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=671</guid>
		<description><![CDATA[Clever tip for using vim on zipped files. ie Openxml or ODF.
]]></description>
			<content:encoded><![CDATA[<p>Clever <a href="http://cedric.bosdonnat.free.fr/wordpress/?p=243">tip</a> for using vim on zipped files. ie Openxml or ODF.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/04/17/edit-zip-file-in-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://stateless.geek.nz/2009/03/16/659/</link>
		<comments>http://stateless.geek.nz/2009/03/16/659/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 20:58:55 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=659</guid>
		<description><![CDATA[From Professional VMware blog, here is another method to fix your lost Ethernet device on Ubuntu.
Another method of doing this, is to edit the ‘persistent-net-generator.rules’ file to include something similar to:
# ignore VMware virtual interfaces
ATTR{address}==&#8221;00:0c:29:*&#8221;, GOTO=&#8221;persistent_net_generator_end&#8221;
]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://professionalvmware.com/2009/03/10/ubuntu-cloning-mac-address-change-mayhem/">Professional VMware</a> blog, here is another method to fix your <a href="http://stateless.geek.nz/2007/02/01/ubuntu-and-vmware-losing-your-ethernet-device-when-migrating/">lost Ethernet</a> device on Ubuntu.</p>
<p style="padding-left: 30px;"><em>Another method of doing this, is to edit the ‘persistent-net-generator.rules’ file to include something similar to:</em></p>
<p style="padding-left: 30px;"><em># ignore VMware virtual interfaces<br />
ATTR{address}==&#8221;00:0c:29:*&#8221;, GOTO=&#8221;persistent_net_generator_end&#8221;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/03/16/659/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disappearing Windows</title>
		<link>http://stateless.geek.nz/2008/08/13/disappearing-windows/</link>
		<comments>http://stateless.geek.nz/2008/08/13/disappearing-windows/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 03:11:19 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=570</guid>
		<description><![CDATA[Often when using multiple screens with a laptop then traveling away with just the single laptop screen applications my remember the second screen and disappear when windowed. Often you can &#8220;get them back&#8221; by maximizing the window.  
A better method is to:
There&#8217;s a simple trick to get around this. First make sure you&#8217;ve alt-tabbed [...]]]></description>
			<content:encoded><![CDATA[<p>Often when using multiple screens with a laptop then traveling away with just the single laptop screen applications my remember the second screen and disappear when windowed. Often you can &#8220;get them back&#8221; by maximizing the window.  </p>
<p>A <a href="http://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/">better method</a> is to:</p>
<p>There&#8217;s a simple trick to get around this. First make sure you&#8217;ve alt-tabbed to the window, or clicked on it once to bring it into focus. Then right-click on the taskbar and choose Move</p>
<blockquote><p>At this point, you should notice that your cursor changes to the &#8220;Move&#8221; cursor, but you still can&#8217;t move anything.</p>
<p>Just hit any one of the arrow keys (Left, Right, Down, Up), move your mouse, and the window should magically &#8220;pop&#8221; back onto the screen.</p>
<p>Note: For keyboard savvy people, you can just alt-tab to the window, use Alt+Space, then M, then Arrow key, and then move your mouse.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/08/13/disappearing-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
