Christiaan Kras

Prevent indentation when pasting from an external source in Vim

Occasionally when I copy and paste something from an external source into Vim every line gets indented, which is probably not something you want when pasting a code snippet. The solution to this problem is an easy one. Before pasting, first execute :set paste, then paste your content and to return the setting to its […]

Prevent indentation when pasting from an external source in Vim Read More »

Keeping VirtualBox Guest Additions in sync with Vagrant

Whenever you’re upgrading the software packages on your VirtualBox machine, managed by Vagrant, you risk VirtualBox Guest Additions render unusable and thus your shared folders don’t work anymore. This usually happens whenever a kernel upgrade is being done which requires the VirtualBox drivers to be recompiled. Thanks to a Vagrant plugin called vbguest you can

Keeping VirtualBox Guest Additions in sync with Vagrant Read More »

Convert HTML to PDF with HTML2PDF Web Service

Recently I launched my new product HTML2PDF Web Service — a web service for converting HTML to PDF. In this post I’d like to talk about HTML2PDF Web Service. Why to choose it, how to use it and what technologies were used to create it. Why Choose HTML2PDF Web Service? Programmatically generating PDF documents is

Convert HTML to PDF with HTML2PDF Web Service Read More »

VirtualBox virtual machine not starting because of missing VT-X support

Today I ran into an issue where VirtualBox wouldn’t start my virtual machines anymore because of missing VT-X support. Which was strange as my CPU (Intel i7) does support this and it did work just a day ago. After some searching and trying the latest version of VirtualBox it turns out that Microsoft’s Hyper-V (Hyper

VirtualBox virtual machine not starting because of missing VT-X support Read More »

Using rsnapshot for daily PostgreSQL backups

Having done backups for MySQL using rsnapshot before I recently had to do the same thing for PostgreSQL. Turns out PostgreSQL has similar tools to do this and it’s actually quite easy to set it up. First, assuming rsnapshot will run under the root user you’ll need to create a .pgpass file at /root/.pgpass that

Using rsnapshot for daily PostgreSQL backups Read More »

Scroll to Top