Skip to content

Instantly share code, notes, and snippets.

View ChadThomsonPSC's full-sized avatar

Chad Thomson ChadThomsonPSC

  • Progress Software, Inc.
  • United States
View GitHub Profile
@ChadThomsonPSC
ChadThomsonPSC / testJsonContentLength.p
Created December 14, 2018 03:50
OpenEdge ABL: Test Content Length of 11.7.4 Response object
/*------------------------------------------------------------------------
File : testJsonContentLength.p
Purpose :
Syntax :
Description :
Author(s) : [email protected]
@ChadThomsonPSC
ChadThomsonPSC / README.md
Created March 7, 2024 16:42 — forked from devorbitus/README.md
Docker Secure Remote Access Akeyless Bastions

Docker Secure Remote Access Akeyless SSH Proxy Bastion

@ChadThomsonPSC
ChadThomsonPSC / README.md
Created March 7, 2024 16:54 — forked from devorbitus/README.md
Simple Curl Tutorial for Akeyless Vault Platform

Simple Curl Tutorial for Akeyless Vault Platform

Objective:

Let's use curl to completely create a secret within the Akeyless Vault Platform including :

  1. Authenticate to the Akeyless Vault Platform using the admin API Key Auth Method
  2. Create a new API Key Auth Method
  3. Create a new Access Role to allow access to a secret object that WILL BE located at \env\secret
  4. Associate the new API Key Auth Method to the new Access Role
@ChadThomsonPSC
ChadThomsonPSC / README.md
Created March 7, 2024 19:16 — forked from devorbitus/README.md
GitHub Actions

GitHub Actions JWT Akeyless Workflow

JWKS URL

https://token.actions.githubusercontent.com/.well-known/jwks

Unique Identifier

@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
@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 / 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 / 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 / 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]])