You have exactly one life in which to do everything you’ll ever do.– Colin Wright
Taxes are due today. Its the year in review: how much did I make? how much did I save? how much did I spend? It’s a good time to make resolutions about the coming year.
In the spirit of the minimalists and traveling light Slicksta is going to simply his life by owning fewer things. He will discard at least one item each and every day. For every item bought one will be donated or thrown away.
Sometimes error.log gets really big and does not seem to rotate properly. Here’s how to quickly empty it’s contents without deleting it.
sudo truncate -s0 file
Slicksta had to use this command when cat and /dev/null > both failed because of permission denied.
Slicksta needed to do some standard deviation stuff. There is a math package for PHP but it is not installed by default.
sudo apt-get install
php-pear sudo pecl install stats
Next, edit /etc/php5/apache2/php.ini and add the following under the Dynamic Extensions section:
Restart apache and you should see a “Stats” section listing the version number when you view php_info.
ls | wc -l
We don’t quit, we don’t cower, we don’t run. We endure and we conquer.– Kobe Bryant, on “Mamba Mentality”