Last stuff

Add a Comodo SSL certificate to NGINX

The comodo SSL certs via are very cheap. Install instructions for a Nginx based webstack: Create signing request: cd /etc/nginx/ssl mkdir cd openssl req -nodes -newkey rsa:2048 -keyout -out Copy paste the content of the csr on, choose webserver other. Fill out the next page with info about your […]

Send mail via Gmail from a local postfix server on Ubuntu

If you want to use Gmail for sending mails from postfix follow this guide. First, install all necessary packages: sudo apt-get install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules If you do not have postfix installed before, postfix configuration wizard will ask you some questions. Just select your server as Internet Site and for FQDN use something […]

Rebuilding the nvidia kernel module for Ubuntu

I recently bought a GTX 750Ti which isn’t supported by Ubuntu’s drivers yet. So I installed the drivers from Nvidia itself. They work great, the card is very quiet and operates without getting hot at all. One problem: after running an Ubuntu update that updates your kernel it won’t work anymore. sudo su cd /usr/src […]

Install Weasyprint on Ubuntu 12.04 64 bit

I had to tweak some stuff to get a running Weasyprint on one of our Ubuntu servers; just following the install instructions from the docs didn’t work: sudo apt-get install python-dev python-pip python-lxml libcairo2 libpango1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info apt-get install libxml2 libxml2-dev apt-get install libxslt libxslt-dev pip install WeasyPrint pip install html5lib –upgrade Make sure […]

Installing Odoo/OpenERP 8 on Ubuntu 12.04 LTS

What is Odoo? Recently OpenERP is re-branded to Odoo. OpenERP was primarily an Open Source Enterprise Resource (ERP) software suite of business applications that includes Sales Management, Manufacturing, Purchase Management, E-commerce, POS, Accounting & Finance, CRM, and Project Management, to name just a few. However, having recently released a range of new and diverse applications, […]

Trust a self signed SSL certificate in Chrome

I’ve been using Google Chrome as my primary browser for the last few years. Sorry, Firefox, but with all the stuff I need to work installed, it’s to slow and almost unusable. Let’s say you have a server with a self-signed HTTP SSL certificate. Every time you hit a page, you get a nasty error […]

Determine sqlite table size on disk

I took me a while to find out that it’s not very easy to find out how big a sqlite table is on disk. But luckily the sqlite creators have a simple tool for that. It’s called sqlite3_analyzer and is available in precompiled format for Linux, Windows and OSX on SQLite’s Download section Confusing: There […]

Install Qt and compile Capybara webkit on Linux and mac OSX

To automate browser style testing in Ruby you can use Qt webkit caompatible browser with CapyBara. When you try to install it you’ll get this error when qmake isn’t found: An error occurred while installing capybara-webkit (1.1.0), and Bundler cannot continue. Make sure that `gem install capybara-webkit -v ‘1.1.0’` succeeds before bundling. To solve this […]