Wednesday, February 4, 2015

PDF merge

Using ghostscript:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf 1.pdf 2.pdf

Sunday, March 16, 2014

And suddenly

Just Surfing

I was looking at!closed&severity=Release+blocker&order=priority to see how close the next Django release was getting. At the time of writing, one of the only three open bugs left was The reporter had written a simple sample application demonstrating the bug, hosted at github. To learn more about the author I looked at his github profile where I first found and then which I read. Unsure about what to think about the supposed problem, I followed the link to which quickly diverted me to and then back to


Monday, May 7, 2012

A Single Point Of FAILure

Apparently, frighteningly many of all important Domains out there (Google, Yahoo, Facebook, Hotmail, the list goes on) are registered through the same company, Markmonitor. Who are they? Why do so many big companies suddenly seem to trust them? Why do I smell stale cheese? Here is some text somebody wrote about this: click. The text is very sensationalist and thus should be taken with a huge grain of salt. Still, it's just one more company that we should keep an eye on, as quite a bit of our infrastructure depends on their integrity. Came across this on a certain German blog.

Thursday, May 3, 2012

virtualenv management

I use virtualenvs for just about any Python work I do. To make working with them in my shell, zsh, a bit easier, I added the following to my .zshrc:

export PYENV_ROOT=$HOME/devel/py-envs

venv-new() {
    local ledir=$PYENV_ROOT/$1
    if [[ -e $ledir ]]; then
        echo "a python environment by that name already exists :("
        return 1
    virtualenv --no-site-packages --distribute $ledir

venv-activate() {
    source $PYENV_ROOT/$1/bin/activate

_venvs() {
    _files -W $PYENV_ROOT -/

compdef _venvs venv-activate

What this does is it gives me two new functions (think "commands") in my shell. To create a new virtualenv, I do "venv-new NAME" and to activate an existing one, I do "venv-activate NAME". And because of the compdef, I get proper tab completion on venv-activate.

Sunday, December 19, 2010

Setting up a new Windows machine

The single thing that annoyed me the most when setting up a new Windows machine when compared to Linux was how I had to collect different installers for dozens of different tools from all over the net. But when setting up my new desktop machine a few days ago, a friend pointed me to ninite. It's a simple installer-builder. Just select the tools you want and it generates an installer that downloads and installs all those tools unattended. Awesome.

Monday, November 1, 2010

Fuck you,

I've been a subscriber for about two years now and I really enjoyed it. Mostly because I could listen to my loved tracks and playlists I created as custom radio stations.

Awesome feature.

Which they are about to discontinue come November 17th. (link to the announcement)

With that, they are, at least in my totally not humble opinion, killing every feature which made being a subscriber worthwhile. Obviously, they won't see any more of my money.