calibre css file

Motivation

Calibre viewer can be configured with a custom css style. This is done in

Calibre -> Preferences -> Styles

Which presents you with a css file to edit using the calibre file editor. The editor is plain and limiting. It is much more convenient to use a proper editor to edit …

Category: w3m, url, dmenu, fzf

The problem of url routing.

Motivation

One eventually stumbles into the problem of routing a url to it's intended program. The operating system configures some defaults, but they are often inadequate. The typical solution is to copy the url into the system clipboard and then paste it into the desired program. This is better but …

Category: w3m, url, dmenu, fzf

Comparing awk, R and python

Motivation.

Now and then one wants to know the amount of RAM used by a particular program. With multiprocessing this is harder than it looks. There's even a cli tool smem. It's a nice tool written in Python. Making it painfully slow for interactive cli use. The proper way to …

Category: awk, R, python