Skip to content

Instantly share code, notes, and snippets.

View LeeMartin77's full-sized avatar

Lee Martin LeeMartin77

View GitHub Profile
@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>