Posts

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 start.sh 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

Script to delete Dovecot files in MagicMail

August 19, 2018
3 minute read

Every once in a while, Dovecot goofs itself up when customers are using multiple devices at the same time to check their mail, and we need to delete some files to get it to allow customers to view their emails again. This is partially a manual process until we’re able to get it more automated, but the script below has made it a bit easier to deal with needing to delete them. ... Read more…
Tags: dovecot linux script
Category: magicmail

Import Exchange photos script

August 2, 2018
2 minute read

This script is useful for setting multiple Exchange photos at once. In our still on-prem deployment, this is probably the quickest way for us to set pictures in batches when we have new hires. This script is an amalgamation of a few different scripts I use in production, but mostly based off of a script from user Richard Diphoorn at powershell.org forums. My specific iteration of the task that works for our environment is copying the photo to the local user’s pictures directory, and then running this script to pull those files in. ... Read more…
Tags: powershell exchange script
Category: microsoft