Last stuff

Install virtualenv on OSX

Choose whether you want OSX python or home brew version. When you choose home brew run: brew install python Then install virtualenv: pip install virtualenv pip install virtualenvwrapper mkdir -p .virtualenvs Add some conf stuff to your .bash_profile or .bash_rc ### Virtual envs export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/GIT source /usr/local/bin/

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 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, […]