Python Virtual Environment

A very quick overview of how you can use Python virtual environments. https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/ Install the Virtual Environment First install the virtual environment. Create the Virtual Environment Let’s say I have a project called “python-static-site”, so we’ll create the virtual environment within this project directory along with all the source files. The second argument is the […]

More...

Using Gitlab CI/CD to Manage Configuration (e.g. Apache2) – Part 2

Assuming you’ve read and followed part 1, now on part 2 we’ll get our SSH keys created, and the gitlab-runner registered with gitlab as a “runner” so we can create our pipeline. Configuring the SSH Keys for Gitlab-Runner To make the local gitlab-runner on your machine have the correct keys, you need to generate them […]

More...

Using Gitlab CI/CD to Manage Configuration (e.g. Apache2) – Part 1

Infrastructure as Code (IaC) is a useful way to maintain the configuration of your infrastructure components. It provides a way that you can store your infrastructure or application’s configuration in a versioned location and then coupled with CI/CD brings you the benefits of being able to enforce gatekeeping on any changes to the configuration, automate […]

More...

Cheeky VMware ESXi iSCSI Storage Test Script (HPE Nimble Storage)

When building a new VMware ESXi host or when troubleshooting any storage issues, it can be quite laborious to test each possible path, especially when you have multiple storage arrays. The script below makes this easy, just add the HPE Nimble Storage iSCSI Discovery IP Address(es) and then the iSCSI Storage Port IP Addresses as […]

More...

Starting a Nodejs Gatsby Local Development Server, but Listening on All IP Addresses

If you start a Gatsby development server using “gatsby develop” it will by default only listen on the localhost (127.0.0.1), but what if your development server is remote. In that case all you need to do is start the development server as follows: Now when started you’ll see something like:

More...