Archive for June, 2009

VirtualBox 3 Transparent Background on Ubuntu Jaunty

on Tuesday 30th June, 2009 Gabe speculated thusly…

I upgraded to VirtualBox 3 and then my windows guest went wrong.

First of all, you have make sure the latest version of compiz installed.

Go to CompizConfigs Settings Manager and look for “Windows Rules” under Windows Management category. Enable “Windows Rules” and go to “No ARGB visuals” use Window Class, click Grab and then click in virtualbox window.

Posted in Information, Linux, Operating System, Ubuntu

3 Comments »

Using APG to generate secure, pronuncable passwords.

on Friday 12th June, 2009 Gabe speculated thusly…

The following command will generate several passwords with the following properties:

  • Length of 10 characters
  • Contain a mixture of upper and lowercase characters
  • Contain at least 1 number
  • Completely random most likely not in the dictionary (expect by random luck)
  • Pronounceable

This makes these passwords easier to remember but very difficult to brute force. They are ideal as passwords for logging in to machines, servers, routers, etc.


$ apg -m 10 -x 10 -a 0 -M NCL -t

Posted in Information, Linux, Server

No Comments »

Using SSHFS with Bazaar (Bzr) or Git

on Thursday 4th June, 2009 Gabe speculated thusly…

I use SSHFS to mount remote drives locally. The remote computers don’t have Bzr installed, and it’s difficult to get them up to date enough to install the latest Bzr. Therefore, I execute Bzr on my local computer on the mounted filesystem. Using default mount options for SSHFS leads to errors in both Git and Bzr, this is because (I believe) SSHFS doesn’t directly support file renaming. It is possible to avoid these problems by using the -oworkaround=rename switch with the mount command.

As an example my mount command looks similar to this:
sshfs -oworkaround=rename user@computer1:/var/www /media/computer1

Posted in Bazaar, Git, Information, Linux, Operating System, Programming, Revision Control, Server

No Comments »