Resolve Spotify’s libssl 0.9.8 dependency in Debian Squeeze Read more →
Resolve GLIBC errors when upgrading Spotify in Debian Linux by downgrading to the previous version Read more →
I’ve not mentioned this previously, but I bought a Macbook Air a few months back and it’s one of the greatest purchases I have ever made. I love this thing! It is so damned sexy (observing both its hardware and software), and so damned fast. I picked-up the baller, 13″ model with the Core i7 processor and 256 GB solid-state… Read more →
Below are my current .vimrc settings which, I find, are particularly pleasant for hacking Python.
filetype indent plugin on
" a useful addition to Python source files is the following:
" vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
" this requires the 'set modeline' option in vimrc
" abbreviated commands -- :set ts=8 et sw=4 sts=4
" Python configuration below
" Thanks to http://www.vex.net/~x/python_and_vim.html
" Configure vim to smart indent based on the following Python keywords
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
" Configure vim to trim trailing white space
autocmd BufWritePre *.py normal m':%s/\s\+$//e''