Skip to content

Instantly share code, notes, and snippets.

View LeeMartin77's full-sized avatar

Lee Martin LeeMartin77

View GitHub Profile

THE IDIOT’S GUIDE TO VERIFIED COMMITS GitHub wants your commits to be signed so it knows you really made them. To fix this, you need to: Generate a GPG key Tell GitHub about it Tell Git to use it Here’s exactly how:

🧩 STEP 1 — Install GPG macOS:

@LeeMartin77
LeeMartin77 / googledyndns_cronjob.yml
Created November 10, 2022 19:03
k8s Helm CronJob for updating Dynamic DNS Records in Google
# Wrote this for updating domains for my homelab cluster
# Uses a simple bash script to get the current IP, then send it to Google Domains
# You could update the env variables to read from a secret, but I use this with a values file
# in this format:
# domains:
# domainone:
# domainName: "sub.domain.com"
# domainUsername: USERNAME
# domainPassword: PASSWORD
@LeeMartin77
LeeMartin77 / N64ArduinoUSB.ino
Created June 5, 2020 20:42
N64 to USB GamepadConverter with a ATmega32U4 board
// using the fantastic https://github.com/MHeironimus/ArduinoJoystickLibrary
// Based on the soulders of giants:
// Gamecube controller to Nintendo 64 adapter by Andrew Brown
// http://www.cs.duke.edu/~brownan/n642gc.html
// N64 to HID by Peter Den Hartog:
// https://www.instructables.com/id/Use-an-Arduino-with-an-N64-controller/
// N64 Controller Tester by sanni
// https://github.com/sanni/controllertest
#include <pins_arduino.h>