Monday, February 23, 2015

How to generate "bootstrap.php.cache"

If you ever need to generate the bootstrap.php.cache file for a Symfony2 Version higher or equal to 2.1, this will do the Job: 

php /vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php

Hope you save some time with this ;)

Wednesday, February 18, 2015

Friday, February 06, 2015

Install google-closure-linter on Ubuntu or closure-linter package in Ubuntu

sudo apt-get install build-essential
sudo apt-get install python-cheetah
sudo python
sudo easy_install
sudo apt-get install closure-linter

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'