Blog ›


How to delete all the lines of text files with vim
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'.


How to install GitLab CE with Vagrant on macOS
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.


Setup a localhost subdomain using MAMP
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.


301 Redirect urls using htaccess
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.


Firefox issue with spaces in excel download file name
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.


Changing default error pages with htaccess
Nice little trick for replacing the default error pages that can appear on your server. Just add this code to your .htaccess file.


Free Javascript WYSIWYG Editors
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.


Helpful htaccess creation
I have been told about a website which has a nice little tool for helping in the creation of htaccess files. Very... very handy.