A HOWTO on Optimizing PHP

http://phplens.com/lens/php-book/optimizing-debugging-php.php PHP is a very fast programming language, but there is more to optimizing PHP than just speed of code execution. In this chapter, we explain why optimizing PHP involves many factors which are not code related, and why tuning PHP requires an understanding of how PHP performs in relation to all the other subsystems […]

Setup Let’s Encrypt With Apache on Ubuntu 16.04

https://www.vultr.com/docs/setup-lets-encrypt-with-apache-on-ubuntu-16-04 By using Let’s Encrypt for SSL, you will be able to encrypt transactions/data your site free of charge. The following tutorial will cover the entire process of installing the Let’s Encrypt client to installing your SSL certificate on Ubuntu 16.04. By the end of this Ubuntu guide you will be able to create Let’s […]

https://www.howtoforge.com/virtual-hosting-with-proftpd-and-mysql-incl-quota-on-ubuntu-14.04-lts Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address These settings might differ for you, so you have to replace them where appropriate. Make sure that you are logged in as root: sudo su   1.1 Change The Default Shell /bin/sh is a symlink to /bin/dash, however we […]

Vim Comment out a block

http://stackoverflow.com/questions/1676632/whats-a-quick-way-to-comment-uncomment-lines-in-vim To comment out blocks in vim: press Esc (to leave editing or other mode) hit ctrl+v (visual block mode) use the up/down arrow keys to select lines you want (it won’t highlight everything – it’s OK!) Shift+i (capital I) insert the text you want, i.e. ‘% ‘ press Esc Give it a second to […]