Git - Move Recent Commits To A Branch

Today I will show you how to perform the following change to your git repository: AABBCCDDMasterMasterNew BranchNew BranchAfter[Not supported by viewer]AABBCCDDMasterMasterBefore<h2><b>Before</b></h2> You may need to do this if you created a new branch, but forgot…

Read this article

Ubuntu 16.04 - Upgrade Kernel

Ubuntu 16.04.2 came out recently, and if you're still running the 4.4 kernel and want to upgrade to 4.8, then all you need to do is run the following command: sudo apt-get install --install-recommends \ xserver-xorg-hwe-16.04 -y References Ubuntu Wiki - LTSEnablementStack…

Read this article

Getting Started with Node + Typescript

The steps below will get you started with creating a new NodeJS application that you program using Typescript. The content is mostly straight out of this gitbook if you prefer to read from the original source. Steps Create and use an area for a new project mkdir my-project cd my-project…

Read this article

Debian/Ubuntu - Install Bower

Bower is a package management service that you can use to install specific versions (or just latest) of web components including HTML, CSS, and javascript. For example you could use the command bower install bootstrap to install the latest version of bootstrap. Steps First Install NodeJS. Then use npm to…

Read this article

Free SSL Certificates with SSL For Free

Since Chrome (in version 57) and Firefox are starting to distrust Startcom for SSL, you may need to switch to another certificate authority. In this case we are going to use the LetsEncrypt CA through the sslforfree.com website. Steps Go to www.sslforfree.com and enter the url you…

Read this article

Dig - DNS Querying

Dig is a DNS lookup utility that can be useful for checking your DNS is answering queries correctly. Install Dig One can install the dig tool with the following command sudo apt-get install dnsutils Query DNS If you want to query your current default DNS for a hostname, then simply…

Read this article

NGINX CLI Cheatsheet

This cheatsheet is just for the commands you can run for Nginx and is nothing to do with the configuration files. Test The Configuration If you make a change to your configuration and want to check that everything is okay before having the changes take effect, then use this command.…

Read this article

GlusterFS - Distributed Volumes With Different Size Bricks

Since the 3.6 release of GlusterFS, it has apparently supported bricks of heterogeneous (different) sizes. I was keen to test this out, because it resolves the biggest reason I had for not using GlusterFS. For this tutorial, I am going to be setting up a GlusterFS cluster on Debian…

Read this article

Debian8 - Install GlusterFS 3.8

If you install GlusterFS from the Debian repositories, then you will get version 3.5.2. The scripts below will install the latest version of GlusterFS 3.8.x so that you can make use of later features like better support for heterogeneous bricks. This tutorial is only for showing…

Read this article

Ubuntu 16.04 - Install Mailtrain

Mailtrain is a "clone" of Mailchimp, but is free and opensource. It also integrates with multiple email sending services, such as Amazon SES and SendGrid. Below is a BASH script you can run to deploy Mailtrain 1.2 to your Ubuntu 16.04 server. Unfortunately it must be run as…

Read this article