This is a quick command line snippet for anybody wanting to delete all the lines of code of a text file when editing it in the terminal using 'vim'.
In this tutorial you will be able to install 'GitLab Community Edition' locally on your mac using an Ubuntu vagrant box. And so be able to store your repos locally.
By default when installing MAMP it will redirect you to the host url http://localhost:8888, but what if you want to use your own subdomain then this is how.
Have you ever created a new website and needed to forward old url pages to their new urls, in order to update google and the other search engines.
I did a php class to save down an excel file from a database. My client got back saying the file was the wrong format with no extension. Read the fix.
Nice little trick for replacing the default error pages that can appear on your server. Just add this code to your .htaccess file.
I had to create a custom website for a client recently who wanted to be able to edit the content on their pages and I found these WYSIWYG editors - perfect.