Skip to content

Instantly share code, notes, and snippets.

View Woovie's full-sized avatar
😎
sick with it

Jordan Banasik Woovie

😎
sick with it
View GitHub Profile
{
"basics": {
"name": "Jordan Banasik",
"label": "Systems Engineer",
"email": "woovie@woovie.net",
"phone": "(425)494-9985",
"website": "https://woovie.net",
"summary": "Systems engineer with proficiency in development, administration, operation, and automation of software solutions for business needs",
"location": {
"address": "",
@Woovie
Woovie / force-gitrepo-update.sh
Last active March 28, 2025 18:02
Force Rancher Fleet GitRepo resources to update if their date is older than a day, workaround for https://github.com/rancher/fleet/issues/3138
#! /bin/bash
echo "---"
kubectl get gitrepo -A -o json |
jq -r '.items[] | [.status.lastPollingTriggered, .metadata.name, .metadata.namespace] | @tsv' |
while read datetime resource namespace; do
date=$(echo ${datetime} |
awk -F'T' '{ print $1 }');
today=$(date +"%Y-%m-%d");
echo "Working on ${resource} in ${namespace}, lastPollingTime ${datetime}";
@Woovie
Woovie / test.py
Created April 27, 2022 16:58
Simple repeated scanning of object that only can return x amount of items at once
import json
# pylint: disable-all
class ScanChannel:
def __init__(self):
self.user_history = {}
self.last_message = 0
self.channel = DiscordChannel('photos.json')# https://jsonplaceholder.typicode.com/photos
self.channel.read()
@Woovie
Woovie / plex.yml
Last active March 1, 2022 00:57
My personal Plex instance k8s config using microk8s, metallb. Based on/customized from https://github.com/timwebster9/pihole-microk8s-demo
apiVersion: v1
kind: Namespace
metadata:
name: plex
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: plex
@Woovie
Woovie / style.js
Created October 30, 2018 02:50
Rambox - Slack - Dark mode
function applycss(css){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
s.appendChild(document.createTextNode(css));
head.appendChild(s);
}
applycss(`body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
@Woovie
Woovie / keybase.md
Created September 24, 2018 14:44
Keybase Proof

Keybase proof

I hereby claim:

  • I am Woovie on github.
  • I am woovie (https://keybase.io/woovie) on keybase.
  • I have a public key whose fingerprint is 6A3F 6B7F 8EB4 E8DA F1B9 60A1 9DB2 9935 2687 0180

To claim this, I am signing this object: