Blog Posts

2024

Welcome to My Technical Blog

less than 1 minute read

Welcome to my technical blog! I’m Xavier Lopez, a Senior Platform Engineer with over 10 years of experience in DevOps, cloud architecture, and platform devel...

Back to Top ↑

2023

Network Concepts

1 minute read

Layer 2 and 3 of the Open Systems Interconnection (OSI) Model. An explainer. Data Link Layer (Layer 2): Functionality: This ...

Virtualization - Server

2 minute read

The Fundamentals of Server Virtualization: Benefits Efficiency: Scaling by creating new VMs from templates. Scaling by cloning VM...

Virtualization - Network

less than 1 minute read

Network Virtualization Virtual Switches Virtual Firewalls Virtual NICs These map back to physical network adapte...

Virtualization - CPU

2 minute read

Device mapper: A virtual block device driver framework provided by the Linux kernel, which provides an infrastructure to filter I/O for block devices (BIO...

Useful Commands

less than 1 minute read

Top provides a dynamic real-time view of a running system. PID (Process ID): The unique identifier for each process. USER: The user or ow...

Python

2 minute read

Programming Concepts Instance methods: methods that can be called on instances of a class. They must accept a reference to the actual instance on which it...

Network Troubleshooting

1 minute read

Methodology Identify the problem Gather information Identify symptoms Question users Change ma...

Host Storage Management

1 minute read

Linux Modules: Code segments that can be dynamically loaded and unloaded into the kernel. They can be removed when they are no longer needed. Modules exte...

Host Memory and CPU Troubleshooting

less than 1 minute read

Install and enable sysstat systemctl enable --now sysstat systemctl status sysstat Enable sysstat data collection su...

Ansible

2 minute read

Concepts Modules Discrete units of code that can be used from the command line or in a playbook task. Ansible executes each module, usually on the remote ...

Welcome to Jekyll!

less than 1 minute read

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different wa...

Kubernetes Cluster Configuration

1 minute read

I was in the process of installing Prometheus and needed to have a couple of features enabled in an on-premises cluster, but didn’t know where to get and set...

Back to Top ↑

2022

Three useful FZF commands

less than 1 minute read

If you haven’t yet discovered fzf, you should take a few minutes of each day to get it under your control. It’s a tool that could add substantial time saving...

AWS tag filtering using Terraform data source

less than 1 minute read

This is how you filter an AWS resource, by tag. I needed to do this in order to add a route through a vpc peering connection, for each route table. I wanted ...

Fetch the latest Gitlab repo signing key

less than 1 minute read

This is something I had to track down recently. If you haven’t seen it yet, you will. I know I’m going to need to refer back to it, before all my servers ar...

VIM Cheatsheet

less than 1 minute read

Everyone is already familiar with the basic stuff. If not, you can find it anywhere on the web. I’m going to list some of the hard-to-remember stuff that acc...

Docker Cheatsheet

less than 1 minute read

Yet another cheatsheet! This is coming in handy, isn’t it? Let’s start this off with one that is relatively new to me, and wonderfully useful.

Kubernetes Cheatsheet

less than 1 minute read

You know how we do it. We do a hundred things a day, but we don’t try to memorize it all. For this, we have cheatsheets. Here’s another one.

Display verbose output during ‘vagrant up’

less than 1 minute read

Today, I was running the ‘curl’ command, as part of the provisioning of a Vagrant vm. It was failing, and I couldn’t tell why, because there wasn’t enough in...

RVM Cheatsheet

1 minute read

Let’s create a handy little list of my most commonly used rvm commands. RVM, for those who might be wondering, is a ruby version manager. It does a great job...

Order ls command output by date

less than 1 minute read

The other day I needed to manipulate some files I’d just downloaded from an s3 bucket. Listing the contents of the downloads directory revealed a huge chall...

See Git Log in Glorious Detail

less than 1 minute read

The Git subcommand that I’m about to share with you is so esoteric and its output so detailed, that it inspires developers to build entire user interfaces. ...

Run a Rails App Without a Database

1 minute read

Haven’t you ever wanted to create a Rails application without a database? Installing the default SQLite database, or choosing a different one, and installing...

Shrink SQL DB log file

less than 1 minute read

Before copying a database to another server, it’s a good idea to shrink the log file for transport. Open SQL Server Management Studio and run the following c...

systemd cheatnotes

less than 1 minute read

systemd is a system and service manager that’s on its way to becoming the default initialization program across linux distributions. The command line starts ...

Save file in VIM without sudo

less than 1 minute read

I cringe every time vim notifies me that I won’t be able to save the file I’ve just edited, after I’ve already changed it in 10 different places.

Unicorn Restart

1 minute read

Every now and then you have to restart your Rails applications. Something happens somewhere along the chain and you start getting screenshots from your coll...

Skip the pipeline when pushing to Git

less than 1 minute read

Sometimes you don’t want to trigger an entire pipeline run, right? Maybe you’ve only changed the name of some files in the repo, or perhaps you deleted some ...

This is it!

less than 1 minute read

Hello there. This is the first post of the new zavestudios. You have no idea how many times this idea has false started. This time, though, is for real. Firs...

Back to Top ↑

2021

Back to Top ↑