Last stuff

Install phpunit on windows

You can use composer to install phpunit, for example, inside a Symfony2 project; but it’s better to install it as a separate binary as it allows you to run unit test on all php scripts and it integrates better in phpStorm. Create folder to hold php bins I used an Applications folder in my windows […]

Add a Comodo SSL certificate to NGINX

The comodo SSL certs via https://ssls.com are very cheap. Install instructions for a Nginx based webstack: Create signing request: cd /etc/nginx/ssl mkdir example.com cd example.com openssl req -nodes -newkey rsa:2048 -keyout example.com.key -out example.com.csr Copy paste the content of the csr on ssls.com, 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 […]