Scripting LanCache DNS updates with Pi-hole

October 24, 2021
9 minute read

As I was setting up uklan’s LanCache, I found myself wanting to figure out how I could keep handing out my Pi-hole to clients on multiple VLANs, yet still use my LanCache setup ... Read more…
Tags: raspberry pi linux pihole networking
Category: software

Relaxed Theme for Windows Terminal

May 25, 2021
2 minute read

Much like how I’ve set up Relaxed Theme for Royal TS and for Cmder, I’ve started using Windows Terminal in Windows instead of Cmder, so I wanted to figure out how to make my own theme for WSL so it looks how I like it. After downloading Windows Terminal, you can edit your settings JSON file by going to settings (hotkey of CTRL + ,) and clicking the “Open JSON file” in the bottom left. ... Read more…
Tags: relaxed theme windows terminal
Category: software

WireGuard performance with a Pi 3 A+

May 21, 2019
3 minute read

After running the WireGuard benchmarks on a Pi Zero, I thought I'd get out my Raspberry Pi 3A+ and try it out just for fun. ... Read more…
Tags: wireguard linux raspberry pi
Category: wireguard

WireGuard performance with a Pi Zero

May 20, 2019
4 minute read

I had a spare Pi Zero (version 1.3 used for these tests) laying around, and I thought I’d try and check out what some basic performance marks were when running the Pi Zero as a WireGuard server. I haven’t been able to find a whole lot of other benchmarks for running WireGuard on a Pi Zero, so I thought I’d try some out. ... Read more…
Tags: wireguard linux raspberry pi
Category: wireguard

Hosting a cURLable script with GitHub Gists

March 18, 2019
4 minute read

After making some entirely too long BASH scripts, I like to host them somewhere online to make it easier to get the script to whatever device I’m using. This is especially true when I want to run a long script on a brand new machine, a machine that I might not have enabled secure SSH access on yet, but one where I still have access to a tty. This is where the handy GitHub Gists comes in to play. ... Read more…
Tags: github linux curl bash
Category: software

Quick BASH function for adding WireGuard peers

February 15, 2019
1 minute read

If you’re like me and diving into WireGuard as it picks up more attention, you might be adding lots of WireGuard peers to a server as you’re figuring it out and playing around with it. On my server box, I added a function to my .bashrc to make it a bit easier to add peers. If you’d like, copy the following (three, and simple at that) lines into your .bashrc: ... Read more…
Tags: wireguard bashrc function
Category: wireguard

Relaxed Theme for Cmder

January 10, 2019
2 minute read

Just as I translated the Relaxed Theme to Royal TS, I’ve also made a color scheme in Cmder. I absolutely love Cmder, it’s become my replacement on my work laptop for the default CMD, PowerShell, Git for Windows, WSL Docker Toolbox, and basically any CLI available on Windows. Anyway, head on over to your Cmder XML file (check the top of your Cmder settings screen), CTRL + F search for “Palette”, and append the following text to the end of the XML file: ... Read more…
Tags: relaxed theme cmder
Category: software

Relaxed Theme for Royal TS

January 8, 2019
1 minute read

In my conquest to make everything have the fantastic Relaxed Theme, I have translated the colors into Royal TS 4 and 5 (They are the same colors and layouts for both versions). Below are screenshots and pastes of the hex codes: Colors Hex code Default foreground #D9D9D9 Cursor Text #D9D9D9 Black #353A44 Green #909D63 Blue #6A8799 Cyan #C9DFFF Default background #353A44 Cursor color #D9D9D9 Red #BC5653 Yellow #EBDA7A Magenta #B06698 White #F7F7F7 ... Read more…
Tags: relaxed theme royal ts
Category: software

Dexit (Docker EXIT) alias for Docker Toolbox!

January 7, 2019
1 minute read

If you use Docker Toolbox for Windows, there’s an easier way to get everything shut down than going into the VirtualBox GUI and shutting down the Docker VM (if that’s how you’ve been doing it). There is a command called docker-machine that’s available when in the Docker BASH prompt that can control a lot of the host VM’s functions. In fact, Docker’s that runs when opening the BASH prompt uses it to configure everything inside of VirtualBox on startup. ... Read more…
Tags: docker linux bash
Category: docker toolbox

My Diceware method

November 25, 2018
4 minute read

In my journey down the rabbit hole of security, at some point I came across Diceware, probably in some discussion about xkcd #936. If this is the first time you’re hearing of Diceware, I will summarize it as a way of using the natural random entropy generated by rolling five dice to generate a secure passphrase for keeping your most valuable digital items secure. I just thought it was the coolest thing, and it made so much sense to create a long passphrase that is easy to remember, but hard to crack. ... Read more…
Tags: diceware passphrases
Category: security