vim: automatically highlight long lines

This .vimrc snippet highlights lines when you exceed 77 columns - this is especially useful if you are trying to adhere to PEP8 with Python development. The if statement makes this work for older vims as well as more recent versions which is handy if you put your .vimrc on…

Running VMware images under VirtualBox

I use the excellent VirtualBox on Ubuntu but I had a specific Debian dev environment VM that I'd previously run under VMware Fusion on my work mac when it used to have OSX on it ;-). The current versions of VirtualBox (2.2.4 in my case) support running vmdk…

Ubuntu: Turn off changing workspace with mouse wheel

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System → Preferences → CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck "Viewport Switcher" which is under the "Desktop" heading.…

Simple Switching of VirtualEnv Environments

If you're using Python for any kind of serious development virtualenv is highly recommended as a way to sandbox dependencies and allow you to run different libraries and or python versions for different projects. For more on Virtualenv and how to use it see VirutalEnv on PyPi I wanted a…

Vim: Setting the colorscheme Doesn't Work

If you've found a fancy colorscheme for vim and you want to try it out, once you've saved the colorscheme file to ~/.vim/colors you can enable the theme with the following in a vim session's command mode: :colorscheme fruity If you want the colorscheme to be permanent then you…

From OSX to Ubuntu

I've recently switched to using Ubuntu full-time as my primary operating system having previously used Macs for the last 4+ years. Moving over to ubuntu has been easy enough, I bought a lenovo R61 which has extremely good compatibility with Ubuntu out of the box. I've had very few issues…

Mac OSX: Visor Development on Github

I've been using Visor (the drop-down Quake style terminal) for a little while and recently discovered the development of the project has moved to github from it's original home at blacktree. The latest versions of the app fix a lot of the annoying niggles with the last blacktree versions. Well…