Posts
Scripting LanCache DNS updates with Pi-hole
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
Relaxed Theme for Windows Terminal
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…
WireGuard performance with a Pi 3 A+
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.
WireGuard performance with a Pi Zero
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.
Hosting a cURLable script with GitHub Gists
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…
Quick BASH function for adding WireGuard peers
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…
Relaxed Theme for Cmder
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…
Relaxed Theme for Royal TS
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…
Dexit (Docker EXIT) alias for Docker Toolbox!
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 start.sh that runs when opening the BASH prompt uses it to configure everything inside of VirtualBox on startup. ... Read more…
My Diceware method
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…