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
wget http://peak.telecommunity.com/dist/ez_setup.py
sudo python ez_setup.py
sudo easy_install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz
or
sudo apt-get install closure-linter

xfce4-screenshooter keyboard shortcut

sh -c 'xfce4-screenshooter --fullscreen --save "$HOME/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S).png"' s...