Mon, May 2, 2016

Duplicity backup: Dropbox vs Google drive back end

As many other I have been looking for a cheap encrypted offsite backup for family photos, documents and other important data. I quickly choose duplicity as it provides the encrypted part and the possibility to use many different storage solutions, but the cheap offsite part is was a bit harder to find.



Tue, Apr 12, 2016

Local PHP development with Vim/Neovim and Docker

I use Neovim for all my text editing, and as I'm a web developer I edit a lot of HTML, PHP, CSS and JavaScript. And not only do I have to switch between different programming/markup languages I also have to switch between different environments, ranging from old Drupal 6 sites on Debian squeeze to a Symfony setup on Debian Jessie to ensure that my code works in production.




Sun, Jun 8, 2014

Multiple profiles in Firefox: tips and tricks

I have two different profiles for Firefox, one for work, and one for everything else.

To start Firefox with the correct profile, I have created two different application launchers (.desktop files) in ~/.local/share/applications, one called firefox-work.desktop and the other firefox-home.desktop


Tue, Jan 7, 2014

zsh prompt/window title: trim middle of path

I run zsh in tmux, and sometimes I end up in a deep directory where the path matches that of another window in tmux (for example in my local docker development environment and on the testing/production server). When this happens just seeing the last part of the path as the window title is not enough, like this: …/sites/all/modules/somemodule.