Deploy Nextcloud Through Docker

This tutorial will aim to get you set up with a nextcloud server on Ubuntu 16.04 in 5 minutes or less. It is split into two parts, one for setting up the database, and one for deploying the application layer (nextcloud), because the database and the application layer may,…

Read this article

Copy To Clipboard

You've probably noticed by now that this blog has lots of snippets that you want to copy into a script before executing. It would be convenient if you didn't have to manually select all of the text to copy it into your clipboard. Up until now I've ignored adding this…

Read this article

PHP - Using Traits

Introduction Traits, which were introduced in PHP 5.4, are defined as: Traits are a mechanism for code reuse in single inheritance languages such as PHP. A Trait is intended to reduce some limitations of single inheritance by enabling a developer to reuse sets of methods freely in several independent…

Read this article

Why Are There So Many Javascript Charting Libraries?

Javascript charting libraries are pretty much an extreme example of below: Below is a a video of Dan ManĂ© explaining this problem before introducing their new tool, Plottable. I decided to create this tutorial indexing the points in the video for self reference because he makes a lot of great…

Read this article

Restore Missing Window Decoration - Compiz Replace

Every now and then the window decoration on thunderbird, firefox etc will disappear when I restore the window from minimized. Luckily, there is an easy workaround for this which is to run the following command:# DISPLAY=:0 compiz --replace & I would recommend putting this as a script in your path…

Read this article

Terminator - Terminal Emulator

Terminator is currently my favorite terminal emulator because its split window functionality is perfect for getting the most out of my vertically rotated monitors. As you can see from the screen-shot above, terminator can be split both vertically and horizontally, in any matter that you want. You can drag the…

Read this article

Open Source Tool List

Below is a list of open source tools and their "equivalents" that I have tutorials for (usually with the ability to deploy easily through docker). Be sure to check to see if there is anything you might find useful. As I add more tools, I'll be sure to update this…

Read this article

Deploy Mailtrain With Docker

The steps below show you how to deploy a minimal Mailtrain server (an open source Mailchimp alternative) on Ubuntu 16.04 LTS. This will not be using a dockerized Redis or MySQL server so you can get by with just a 512MB RAM instance. Steps Make sure you are running…

Read this article

SSH Key Cheatsheet

As with all cheatsheets, this will be added to over time. Add Passphrase If you were given an unencrypted SSH key, such as from AWS, then you probably want to add a passphrase to it with the following command: ssh-keygen -p -f my-private-key.pem References Stack Overflow - How do…

Read this article

OpenVPN - Create A User With A Static IP

Having a VPN can be a great way to securely run services/servers from your home network, and be able to access them from anywhere in the world. You can think of this as a "dark net" because unless you open up your router, they should only be accessible through…

Read this article