Skip to content

Instantly share code, notes, and snippets.

View thecatontheflat's full-sized avatar
🇺🇦

Vitalii Zurian thecatontheflat

🇺🇦
View GitHub Profile

Resize a Hard Disk for a Virtual Machine

Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.

Some assumptions

The following steps assume you've got a set-up like mine, where:

@thecatontheflat
thecatontheflat / nginxproxy.md
Created May 19, 2016 08:14 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@thecatontheflat
thecatontheflat / .docker-private-registry-with-read-write-control.md
Created June 10, 2019 15:19
Run docker private registry with read/write access control