Slightly Ahead of Behind the Curve

Brain droppings found here.

Jul 6, 2012 - 2 minute read - Comments

RC file for your Windows Command Prompt

I had trouble today with my Windows %HOME% changing and throwing off Vagrant‘s awareness of what boxes are installed. This may be your problem if Vagrant on Windows was working happily for you and then barks about no boxes. C:\Users\you> vagrant box list There are no installed boxes! Use `vagrant box add` to add some. C:\Users\you>dir /b .vagrant.d\boxes base-i-really-exist centos-does-too C:\Users\you>echo %HOME% <somewhere not C:\Users\you> C:\Users\you>set HOME=%USERPROFILE% C:\Users\you>vagrant box list base-i-really-exist centos-does-too %HOME% was different depending on whether I logged into Windows while on my Active Directory managed network or while I was offline.

Apr 5, 2012 - 1 minute read - Comments

One Unity Launcher

T’was decided that the default behavior for Unity’s launcher will be to appear only on the primary monitor in Ubuntu 12.04. For some reason, when I upgraded to 12.04 (beta) today, my setting was for the launcher to appear on ALL desktops. Not a fan of it on all desktops. For those who want to change this setting, you’ll need to install the Compiz configuration manager. > sudo aptitude install compizconfig-settings-manager Once installed, run it.

Jul 11, 2011 - 1 minute read - Comments

Give Your Gems Some Context for SELinux

Are you deploying your Ruby app to Red Hat or CentOS? Is Passenger complaining about not having permission to load the gems you have bundled with your app–e.g. failed to map segment from shared object: Permission denied–despite all the basic filesystem permissions looking correct? Would you like to avoid the nearly ubiquitous advice to disable SELinux, thus turning off the security that comes out of the box with SELinux enabled?