Resolve Spotify’s libssl 0.9.8 dependency in Debian Squeeze Read more →

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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
syntax on filetype indent plugin on set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set autoindent set number " 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'' |
Whilst on the grind this evening, hacking on some Python code in a newly-installed Ubuntu virtual machine, I needed to install MySQL for Python. Building the package, pre-installation, requires mysql_config — which I had some difficulty locating in the repositories. After flailing about a bit, the solution is to install the libmysqlclient-dev package.
1 |
$ sudo apt-get install libmysqlclient-dev |
The package also requires setuptools,… Read more →
A quick post to capture the resolution to the past 20 minutes I have spent in frustration trying to install RExcelXML from Omegahat (The Omega Project for Statistical Computing). As this is a source package, the dependencies need to be satisfied manually (which is a bit baffling, frankly — surely there is a workaround for this using a makefile-like facility… Read more →