Hello, my name is John Flynn. I am a tech enthusiast, maker and tinkerer. This is my blog where I write about stuff.

tags
I spent the past weekend messing around with Python and a couple of libraries to automate the deployment of droplets to Digital Ocean. The two libraries that I used are python digitalocean and fabric. Python digitalocean opens up the Digital Ocean API to python developers with easy to use functions. Fabric provides a way of connecting to a remote server and issuing various commands, so the combination of the two make for a great automation framework.
Edit: 7/28/2018 - Evolve OS is now known as Solus Project, links to the site have been updated. I have been trying out a new linux desktop environment known as Budgie. It has been written as a desktop for a new linux distribution called Evolve OS. What is amazing about this project is that it is being developed by one person, and for a desktop environment that is less than a year old, it is already pretty stable and customizeable.

Autodeploy your Gitlab projects

I have a gitlab instance set up to host my own git repositories. It is a pretty handy app, you get the features of github, but without having someone else holding your code. I keep the theme for this website as a git repository and wanted to automatically deploy new changes once they are pushed to the master branch. Luckily, gitlab has a webhooks feature, it will call any URL you specify and send a JSON request after every receive.

Serving Ghost with Apache

Ghost is a great blogging platform built with node.js. It is what I use to run this blog. Most of the instructions online deal with using NGINX to proxy requests to and from the running node instance. I needed to use Apache, since the server I installed on already has Apache. This guide will show you how to set up proxy pass on Apache. Getting Started You should already have these prerequisites installed: