Skip to content

Instantly share code, notes, and snippets.

View tkuennen's full-sized avatar

Travis Kuennen tkuennen

View GitHub Profile
@tkuennen
tkuennen / cloudflare-ddns-update.sh
Created February 5, 2025 09:39 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record
# Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3
###########################################################
# Automation of Everything #
# How To Combine Argo Events, Workflows, CD, and Rollouts #
# https://youtu.be/XNXJtxkUKeY #
###########################################################
# Requirements:
# - k8s v1.19+ cluster with nginx Ingress
@tkuennen
tkuennen / DarkMode.js
Created January 18, 2019 16:00 — forked from NickCraver/DarkMode.js
A quick and dirty re-purpose of UniFi dark elements to make them global.
// A JS example that shows they're well on their way to a dark theme:
document.body.classList.add("ubnt-mod-dark");
document.querySelectorAll(".appTable").forEach(i => i.classList.add("appTable--dark"));
document.querySelectorAll(".ubntPanelContent").forEach(i => i.classList.add("appForm--dark"));
document.querySelectorAll(".appMainButtonGroup").forEach(i => i.classList.add("appMainButtonGroup--dark"));
@tkuennen
tkuennen / 1-macOS-Launchctl-limits.md
Last active May 30, 2020 05:27 — forked from tombigel/README.md
How to Change Open Files Limit on macOS (10.8 - 10.13)