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