<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CkQBRX4yeCp7ImA9WhRRFEk.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566</id><updated>2011-11-27T16:32:34.090-08:00</updated><category term="linux" /><category term="alias" /><category term="sshfs" /><category term="gdm" /><category term="sql" /><category term="mysql" /><category term="food" /><category term="vmware" /><category term="sshpass" /><category term="sqlite" /><category term="mount" /><category term="perl" /><category term="keyboard" /><category term="disputes" /><category term="ssh" /><category term="root login" /><category term="burgers" /><category term="passwd" /><category term="ubuntu" /><category term="secure remote session" /><category term="cron" /><category term="hardy" /><category term="crontab" /><category term="database" /><title>Ryme or Rheason</title><subtitle type="html">Random thoughts throughout the day, with a focus on computer annoyances &amp; delights.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://rymerheason.blogspot.com/" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/RymeOrRheason" /><feedburner:info uri="rymeorrheason" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DU4DRX89fSp7ImA9WhZWF0o.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-9003771621014451325</id><published>2011-05-18T20:26:00.000-07:00</published><updated>2011-05-18T21:06:14.165-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-18T21:06:14.165-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="burgers" /><category scheme="http://www.blogger.com/atom/ns#" term="disputes" /><category scheme="http://www.blogger.com/atom/ns#" term="food" /><title>Five Guys vs. In 'N Out - once and for all...</title><content type="html">OK.  I've had enough with people arguing for one burger over the other and I'm here to settle the dispute once and for all...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The burger from Five Guys can blow away the burger from In 'N Out....on a good day.  The problem is that Five Guys is a franchise that is inconsistent, at best.  I know I shouldn't be talking about consistency when I haven't made a blog post in almost 3 years and the last one was on computer nerd-related shit, but still...I've been to four locations throughout the U.S., in Florida, New York, D.C., and California and have had drastically different experiences at each one.  I've had burgers that were awesome and some that were overcooked and flavorless.  The better ones have been better than any In 'N Out burger that I've ever had, but they've been few and far between.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;At In 'N Out, you always know what you're going to get...an insanely good burger at an insanely low price.  Absolute consistency.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It's also hard to compare the burgers because of the price discrepancy...a burger from In 'N Out will set you back around $2, while one from Five Guys is closer to $6.  For 3X the price, it is certainly not 3X as good...even on a good day.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now for the fries...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The fries from both chains each go great with their respective burgers.  Five Guys makes a nice, meaty steak fry that is very potatoey (is that a word?).  It's a true potato lover's fry with a heavy feel and flavor.  In 'N Out's fries are a bit more inspired by McDonald's.  They're thin and crisp, but still have a great potato taste.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To sum it up, Five Guys is like a box of chocolates...you never know what you're gonna get.  In 'N Out serves up a consistently good burger and fries and will never disappoint.  On any given day, a Five Guys burger may blow you out of the water, or make you wish you went to In 'N Out instead...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, stop arguing and just enjoy the burgers.  Both will help to make you fat and look like a true American.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-9003771621014451325?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hyrag2WRW9o8RSBs_VOFN-z1ImI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hyrag2WRW9o8RSBs_VOFN-z1ImI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hyrag2WRW9o8RSBs_VOFN-z1ImI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hyrag2WRW9o8RSBs_VOFN-z1ImI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/XpsNkOv_OpI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/9003771621014451325/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=9003771621014451325" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/9003771621014451325?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/9003771621014451325?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/XpsNkOv_OpI/five-guys-vs-in-n-out-once-and-for-all.html" title="Five Guys vs. In 'N Out - once and for all..." /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2011/05/five-guys-vs-in-n-out-once-and-for-all.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEASHs9fip7ImA9WxdREE4.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-5338872238402540665</id><published>2008-05-28T21:23:00.000-07:00</published><updated>2008-05-28T21:50:49.566-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-28T21:50:49.566-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sshpass" /><category scheme="http://www.blogger.com/atom/ns#" term="sshfs" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><category scheme="http://www.blogger.com/atom/ns#" term="mount" /><title>automount with sshfs and sshpass</title><content type="html">sshfs is great for mounting a remote filesystem and having it appear as a local drive.  The major drawback is that it is difficult to automatically mount with sshfs at startup without using ssh keys.  Using sshpass, I have worked out a solution.&lt;br /&gt;&lt;br /&gt;For this example, let's assume the following parameters:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; username on remote host: user&lt;br /&gt;&lt;/li&gt;&lt;li&gt; password on remote host: password&lt;br /&gt;&lt;/li&gt;&lt;li&gt; remote host: host.com&lt;br /&gt;&lt;/li&gt;&lt;li&gt; directory: /directory&lt;br /&gt;&lt;/li&gt;&lt;li&gt; mount point: /media/ssh&lt;/li&gt;&lt;/ul&gt;In order to accomplish the mount, you will need to create two files:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; A file containing just your password, followed by a newline.  In the example, I will assume this file is located at /home/user/.pwd.  If your password is "password", it should look like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;password&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;A bash script that indicates how to use sshpass.  In the example, I will assume that this file is located at /home/user/ssh.sh.  Note that the location of your .pwd file must be included after the -f option.  This file must be made executable.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;sshpass -f /home/user/.pwd ssh $*&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;To mount this from the command line, you could issue the following command:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo mount -t fuse sshfs#user@host.com:/directory /media/ssh -o ssh_command=/home/user/ssh.sh&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;However, the title of this post is automounting, so let's do that.  To automount this ssh server, you can add a line like this to your /etc/fstab:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sshfs#user@host.com:/directory /media/ssh fuse ssh_command=/home/user/ssh.sh 0 0&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;That's it.  Pretty cool.  Hope you find it as useful as I do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-5338872238402540665?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hV2XfuIQJ42LE4dTEeX00zPxrnI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hV2XfuIQJ42LE4dTEeX00zPxrnI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hV2XfuIQJ42LE4dTEeX00zPxrnI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hV2XfuIQJ42LE4dTEeX00zPxrnI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/5ML5aiaARTs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/5338872238402540665/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=5338872238402540665" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/5338872238402540665?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/5338872238402540665?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/5ML5aiaARTs/automount-with-sshfs-and-sshpass.html" title="automount with sshfs and sshpass" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/automount-with-sshfs-and-sshpass.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AMRn8_fCp7ImA9WxdSGUQ.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-4076552926241713827</id><published>2008-05-28T08:55:00.000-07:00</published><updated>2008-05-28T09:23:07.144-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-28T09:23:07.144-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="alias" /><category scheme="http://www.blogger.com/atom/ns#" term="database" /><title>Create an alias for your mysql database</title><content type="html">I administer a mysql database that is updated with new snapshots (i.e. completely overwritten) every week and have users that generally need to access the latest snapshot.  However, occasionally they will need to access an older version of the database, so all versions must be kept online.  In the past, when I received a snapshot, I would create a database with the date of the snapshot in the title and send out an email to the users with the new connection information.  However, since mysql database names are simply the name of the directory that they are stored in, it is easy to create an alias for the latest snapshot of the database simply by creating a symbolic link.  For example, on a linux system the databases are generally stored under /var/lib/mysql.  So, if you have a database named db_20080304 you can create a symbolic link to this database like:&lt;br /&gt;&lt;br /&gt;&lt;code&gt; ln -s /var/lib/mysql/db_20080304 /var/lib/mysql/db_latest&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you should have a database called db_latest.  You can repeat this process each time you receive a new snapshot of the database.  Note that mysql views this as another database so you will need to set the permissions on db_latest separately from db_20080304.  The nice thing about this is that you will only need to set permission once.  The users do not need to have permissions on the actual databases; only on db_latest.  I'm not sure how this will work on other operating systems, but would be glad to hear comments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-4076552926241713827?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7h-5TLaQixxJzHzNchSSIBBqs78/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7h-5TLaQixxJzHzNchSSIBBqs78/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7h-5TLaQixxJzHzNchSSIBBqs78/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7h-5TLaQixxJzHzNchSSIBBqs78/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/uuBlVjaeE1o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/4076552926241713827/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=4076552926241713827" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/4076552926241713827?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/4076552926241713827?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/uuBlVjaeE1o/create-alias-for-your-mysql-database.html" title="Create an alias for your mysql database" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/create-alias-for-your-mysql-database.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MHRHoyeyp7ImA9WxdTGUw.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-8512907669406614692</id><published>2008-05-15T21:00:00.000-07:00</published><updated>2008-05-15T22:23:55.493-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-15T22:23:55.493-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="cron" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="root login" /><category scheme="http://www.blogger.com/atom/ns#" term="passwd" /><category scheme="http://www.blogger.com/atom/ns#" term="crontab" /><title>Locking root account in Ubuntu 8.04 (Hardy) has nasty side effects</title><content type="html">When I installed Hardy on my machine, I enabled the root account and then decided to disable it again.  I did this by following the instructions I found on the web:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# Enabling the account&lt;br /&gt;$ sudo passwd -u root&lt;br /&gt;&lt;br /&gt;# Disabling the account&lt;br /&gt;$ sudo passwd -l root&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;However, I quickly ran into an issue where the root's cron jobs would not run because the account was locked.  After some fiddling, I fixed the problem by first  re-enabling the root account:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo passwd -u root&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;and then, disabling the account properly:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo passwd -d root&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;After this, all works as it should.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-8512907669406614692?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ti1nHMZfOhMiVemgP0unkuWxWUw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ti1nHMZfOhMiVemgP0unkuWxWUw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ti1nHMZfOhMiVemgP0unkuWxWUw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ti1nHMZfOhMiVemgP0unkuWxWUw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/_p00dPW09dA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/8512907669406614692/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=8512907669406614692" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/8512907669406614692?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/8512907669406614692?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/_p00dPW09dA/locking-root-account-in-hardy-ubuntu.html" title="Locking root account in Ubuntu 8.04 (Hardy) has nasty side effects" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/locking-root-account-in-hardy-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8GSXc_fyp7ImA9WxdSGUQ.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-5203512257327755885</id><published>2008-05-11T09:49:00.000-07:00</published><updated>2008-05-28T09:07:08.947-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-28T09:07:08.947-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="keyboard" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><category scheme="http://www.blogger.com/atom/ns#" term="perl" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="hardy" /><title>VMware keyboard annoyances on Ubuntu 8.04 (Hardy)</title><content type="html">Like &lt;a href="https://bugs.launchpad.net/ubuntu/+source/libgnomekbd/+bug/190934"&gt;several&lt;/a&gt; &lt;a href="https://bugs.launchpad.net/ubuntu/+bug/187165"&gt;other&lt;/a&gt; &lt;a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/195982"&gt;people&lt;/a&gt; I've had issues with my keyboard modifiers (shift, alt, ctrl, etc.) when switching from the guest OS (Windows) back to the host (Linux).  Apparently, the easiest fix for this is to use the gnome keyboard layout gui to briefly switch the keyboard map to something random, then back to the original layout.  So, here is a short perl script that does the same using the setxkbmap utility.  If you want to use it, make sure to change the $orig_kb_map variable to match your keyboard model.  You can create an application launcher on your Desktop or panel and simply click it regain control of your keyboard modifiers.  Until there is an official fix for this bug, this is at least bearable.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;# vmkbfix: a script to reset the keyboard layout after switching out of&lt;br /&gt;# a virtual machine.&lt;br /&gt;&lt;br /&gt;use strict;&lt;br /&gt;use warnings;&lt;br /&gt;&lt;br /&gt;my $orig_kb_model = "pc101";  # The keyboard model&lt;br /&gt;my $switch_kb_model = "pc104";  # The model to switch to briefly&lt;br /&gt;my $SETXKBMAP = "/usr/bin/setxkbmap"; # location of setxkbmap&lt;br /&gt;&lt;br /&gt;# briefly switching to a different keyboard model, then switching back&lt;br /&gt;`$SETXKBMAP -model $switch_kb_model`;&lt;br /&gt;`$SETXKBMAP -model $orig_kb_model`;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-5203512257327755885?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YZb2uPOUhywhmmg2YiXUBiez6-w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YZb2uPOUhywhmmg2YiXUBiez6-w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YZb2uPOUhywhmmg2YiXUBiez6-w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YZb2uPOUhywhmmg2YiXUBiez6-w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/kE7vi_GXugY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/5203512257327755885/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=5203512257327755885" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/5203512257327755885?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/5203512257327755885?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/kE7vi_GXugY/vmware-keyboard-annoyances-on-ubuntu.html" title="VMware keyboard annoyances on Ubuntu 8.04 (Hardy)" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/vmware-keyboard-annoyances-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIARXgzeyp7ImA9WxdTFU8.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-163118065124905299</id><published>2008-05-10T08:57:00.001-07:00</published><updated>2008-05-11T09:49:04.683-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-11T09:49:04.683-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sql" /><category scheme="http://www.blogger.com/atom/ns#" term="sqlite" /><category scheme="http://www.blogger.com/atom/ns#" term="perl" /><category scheme="http://www.blogger.com/atom/ns#" term="database" /><title>sqlite rocks!</title><content type="html">I feel like I'm late to the party on this one, but I just discovered &lt;a href="http://www.sqlite.org/"&gt;sqlite&lt;/a&gt; and the associate Perl module, &lt;a href="http://search.cpan.org/%7Emsergeant/DBD-SQLite-1.14/lib/DBD/SQLite.pm"&gt;DBD::sqlite&lt;/a&gt;.  For those that are later than me, it is an implementation of SQL that resides in a single file, with no setup of any kind involved.  I'm using it to store data that I frequently need only portions of in my Perl program.  This provides a powerful &amp;amp; elegant way of doing just that.  I hope you find it as useful as I do!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-163118065124905299?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rUxcyIU1_W3VxR4wvGXt32qQv00/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rUxcyIU1_W3VxR4wvGXt32qQv00/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rUxcyIU1_W3VxR4wvGXt32qQv00/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rUxcyIU1_W3VxR4wvGXt32qQv00/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/Hb9Xoq_QdH4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/163118065124905299/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=163118065124905299" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/163118065124905299?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/163118065124905299?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/Hb9Xoq_QdH4/sqlite-rocks.html" title="sqlite rocks!" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/sqlite-rocks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQERHY9fip7ImA9WxdTE0o.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-6606170994343227410</id><published>2008-05-09T16:31:00.000-07:00</published><updated>2008-05-09T16:38:25.866-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-09T16:38:25.866-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gdm" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><category scheme="http://www.blogger.com/atom/ns#" term="secure remote session" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="hardy" /><title>Ubuntu 8.04 (Hardy) has a gdm ssh client!</title><content type="html">Hardy apparently has an ssh client built into gdm, making it easy to login to a remote machine and see your desktop.  Seems to work pretty well at the moment, but it would be nice if you could log in to your local machine simultaneously.  Something ala &lt;a href="http://www.nomachine.com/select-package.php?os=linux&amp;amp;id=1"&gt;NoMachine NX&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-6606170994343227410?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qKrzFH0q8v54pux32cEZ5Dkvb1A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qKrzFH0q8v54pux32cEZ5Dkvb1A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qKrzFH0q8v54pux32cEZ5Dkvb1A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qKrzFH0q8v54pux32cEZ5Dkvb1A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/gEReW--WBk4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/6606170994343227410/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=6606170994343227410" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/6606170994343227410?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/6606170994343227410?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/gEReW--WBk4/ubuntu-804-hardy-has-gdm-ssh-client.html" title="Ubuntu 8.04 (Hardy) has a gdm ssh client!" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/ubuntu-804-hardy-has-gdm-ssh-client.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQDSHo7fSp7ImA9WxdTFEk.&quot;"><id>tag:blogger.com,1999:blog-4192190602938174566.post-572193351687485686</id><published>2008-05-09T16:25:00.000-07:00</published><updated>2008-05-10T12:39:39.405-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-10T12:39:39.405-07:00</app:edited><title>Hello World</title><content type="html">This is simply a place to post my random thoughts for all the world's glory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4192190602938174566-572193351687485686?l=rymerheason.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/23TYikRTknVBbGACoqNjLtNFr7E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/23TYikRTknVBbGACoqNjLtNFr7E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/23TYikRTknVBbGACoqNjLtNFr7E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/23TYikRTknVBbGACoqNjLtNFr7E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RymeOrRheason/~4/RfZl-4hnEh8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://rymerheason.blogspot.com/feeds/572193351687485686/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4192190602938174566&amp;postID=572193351687485686" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/572193351687485686?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4192190602938174566/posts/default/572193351687485686?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RymeOrRheason/~3/RfZl-4hnEh8/hello-world.html" title="Hello World" /><author><name>sperlyjinx</name><uri>http://www.blogger.com/profile/14968528114334638331</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://rymerheason.blogspot.com/2008/05/hello-world.html</feedburner:origLink></entry></feed>

