Skip to content

Instantly share code, notes, and snippets.

View Woovie's full-sized avatar
™️

Jordan Banasik Woovie

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