Mac Terminal – Calculating SHA-256 in OSX

By default, doing a shasum in mac terminal gives you the shasum using algorithm 1.…

Add sudo user on Ubuntu

As root, add a user and fill in the prompts, or leave blank: adduser alice…

Remove the Drupal 8 Generator Meta Tag

Apart from removing the generator meta tag in Drupal 8, tags such as MobileOptimized and HandheldFriendly are not…

Stretch Child Div Height to Fit Parent 100%

css
CSS3 is amazing – and thanks to this, we can achieve 100% child height on…

git autocomplete on mac osx – el capitan

Sometimes, git autocomplete on mac does not work as expected. This guide assumes you have…

Changing Default Timezone on Ubuntu Server

To update the default timezone on an ubuntu box (at least, 14.04 LTS) – you…

Setup apache2 vhosts

Setting up apache2 vhosts is a continuation from setting up a lamp stack on ubuntu…

Setting up a LAMP Stack on Ubuntu 14.04 LTS

This quick tutorial shows how to set up a LAMP stack on a clean Ubuntu…

Password Protect with htpasswd without htaccess (apache)

In this post, we’ll quickly go over password protecting your site with htpasswd and apache2,…

How to: Run php in interactive mode directly in console window terminal on Linux

To run PHP directly in the console window terminal (in linux), run the following: php…