Skip to content

Instantly share code, notes, and snippets.

View ChadThomsonPSC's full-sized avatar

Chad Thomson ChadThomsonPSC

  • Progress Software, Inc.
  • United States
  • 01:22 (UTC -05:00)
View GitHub Profile
@ChadThomsonPSC
ChadThomsonPSC / tmux_local_install.sh
Created October 17, 2025 16:36 — forked from rothgar/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
TMUX_VERSION="2.1"
LIBEVENT_VERSION="2.0.20"
NCURSES_VERSION="6.0"
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
@ChadThomsonPSC
ChadThomsonPSC / keybase.md
Created August 19, 2025 18:08
keybase.md

Keybase proof

I hereby claim:

  • I am chadthomsonpsc on github.
  • I am chadthomsonpsc (https://keybase.io/chadthomsonpsc) on keybase.
  • I have a public key ASCShV5Ep9QFmyvHTQs6wTw2x5IvyWxTSogwX0h5d0MV9Qo

To claim this, I am signing this object:

@ChadThomsonPSC
ChadThomsonPSC / osx-for-hackers.sh
Created December 4, 2024 15:23 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx

Forward GnuPG agent from macOS to Linux

On the remote machine

Run gpg once as your to create the directory structure

gpg --list-keys

For headless systemd based hosts

@ChadThomsonPSC
ChadThomsonPSC / split-nginx-log.sh
Created October 22, 2024 13:49 — forked from codingtiger/split-nginx-log.sh
AWK split nginx log
#!/bin/sh
awk 'BEGIN {
split("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ", months, " ")
for (i = 1; i <= 12; i++)
m[months[i]] = i
}{
split($4,array,/\[|:|\//)
year = array[4]
month = sprintf("%02d", m[array[3]])
@ChadThomsonPSC
ChadThomsonPSC / linux-vms-on-apple-m1-with-networking.md
Created October 16, 2024 13:36 — forked from max-i-mil/linux-vms-on-apple-m1-with-networking.md
Short summary to run Linux VMs on an Apple M1 host using QEMU, libvirt and HVF with a working network setup

Linux Virtual Machines with Private Network on an Apple M1 Device

Background

The aim was to be able to:

  1. Run multiple Linux VMs on an Apple M1/ARM device
  2. Use Apple's HVF for native performance speeds
  3. Configure VMs to allow network access to each other
  4. Configure VMs to allow access to the internet
  5. Not rely on custom modifications of software
@ChadThomsonPSC
ChadThomsonPSC / keytool-self-signed-certificate.md
Created September 27, 2024 17:22 — forked from elton-alves/keytool-self-signed-certificate.md
Self signed certificates with keytool
@ChadThomsonPSC
ChadThomsonPSC / keytool-self-signed-certificate.md
Created September 27, 2024 17:22 — forked from elton-alves/keytool-self-signed-certificate.md
Self signed certificates with keytool
@ChadThomsonPSC
ChadThomsonPSC / RaspberryPi4-qemu.md
Created March 14, 2024 18:44 — forked from cGandom/RaspberryPi4-qemu.md
Emulating Raspberry Pi 4 with Qemu

Emulating Raspberry Pi 4 with Qemu

Just a quick update before we dive in: what we're actually doing here is running Raspberry Pi OS (64-bit) on a QEMU virtual ARM setup. This isn't full-blown hardware emulation of the Raspberry Pi 4, but more about creating a virtual environment for the OS. It doesn't mimic all the specific hardware features of the Pi 4, but it's pretty useful and great for general testing. I turned to this solution mainly to extract a modified sysroot from the Raspberry Pi OS, something not readily available in other resources. For those looking into detailed emulation of the actual Raspberry Pi 4's hardware in QEMU, check out this link for the latest updates: https://gitlab.com/qemu-project/qemu/-/issues/1208.

Hope it helps! :D

Shortcomings: No GUI yet, only console.

Steps

@ChadThomsonPSC
ChadThomsonPSC / README.md
Created March 7, 2024 19:38 — forked from devorbitus/README.md
Akeyless Custom Dynamic Secret Producer Sequence

Akeyless Custom Dynamic Secret Producer Sequence

Sequence diagrams for custom dynamic secret producers

Local Gateway

Sequence flow when client is communicating to the local gateway cluster who is responsible for sepaking with the custom dynamic secret producer webhook.

sequenceDiagram