Home
BinaryPatrick
Cancel

Creating QR Codes for WiFi

Here’s an easy way to create a QR code image you can print out and display so people can quickly join your WiFi network. In Debian, install qrencode. apt install qrencode Once it’s installed you...

Running SQL Server using Docker Compose

This was much easier than I thought. Using the following docker compose file, you can run SQL Server locally in docker. It is critical to use a volume for the mssql directory, otherwise you will lo...

Configuring Traefik to work over Tailscale

This is a bit of an extention to this tailscale blog post. I would start there to get an idea of setting up tags and auth, as well as just information about exactly what this does in more detail. ...

Docker Prune Cron Job

This is a helpful way to keep your containers from running out of space. Create a auto-prune cron job and put it in etc/cron.daily. cat <<EOF | sudo tee /etc/cron.daily/docker-prune #!/bin/b...

Using curl with SNI

This is a short little reminder for myself, when using curl to make requests to local things and spoofing SNI, use the following command. curl -vik --resolve google.com:443:127.0.0.1 https://googl...

Adding a Figurine Login Message

I saw a very interesting video by Alex Kretzschmar about how to add a nice colorful login banner using Figurine that displays the hostname. I thought this would be helpful when working with several...

Troubleshooting LXC Boot Hang

Recently I was troubleshooting slow bootup times with an LXC container I’d created. The container previously was running well, but after an update seemed to be running slowly. I restored it from a ...

Using Prune to Manage Archives

Often times when using a tool like rsync to make backups you end up with lots of archives, and no way to keep them managed over time without a manual process. Prune is a simple tool that lets you r...

Bitwarden Automated Backup

Introduction The purpose of this backup process arose from a moment when I broke my phone. My phone was my lone source of MFA/2FA codes via the authenticator app, and I genuinely felt terror tha...

Configuring Postfix with Gmail

Email is often a critical component notification for jobs and other things in linux. This is how I set up Postfix on most of my instances. This guide is geared towards Debian based distros but can ...