Tibor's Musings

Building Vagrant Boxes with Veewee

Veewee is a useful tool helping to build Vagrant boxes for virtualised development. Here is how I build Debian, Scientific Linux, CentOS, and FreeBSD boxes.

Installing prerequisites

If you do not have Vagrant installed yet, you should start with that:

sudo apt-get install vagrant

You may also need to enable …

JSON Select Speed Test with MongoDB and PostgreSQL

MongoDB is a popular JSON database. PostgreSQL has added nice JSON capabilities lately. How do the two databases compare in terms of JSON select speed when using Python connectors? Let's find out.

The test was performed on HP EliteBook 8440p using Python 2.7, MongoDB 2.4.8 with pymongo …

SSH Tunnelling

Imagine being at home and wanting to connect to a web site sitting behind the corporate firewall. The web site is not open to the outside world; one can only use it from within the corporate IP domain range. How to quickly set up an SSH tunnel to reach it …

Chromium and PDF

Chrome displays PDF files natively inside the browser via a closed-source libpdf library. This library is naturally not included in Chromium, the open source brother of Chrome. Can one achieve the same functionality with Chromium?

If one wants to display PDFs inline with Chromium too, one technique is to extract …

Git Fetch Trouble Workaround

When fetching from a git repository such as Invenio one, you may encounter a situation where fetching a branch does not work due to missing objects, all the while cloning the same repository anew works well. Here is how to work around the fetching problem.

If fetching replies:

$ cd ~/private …