Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am bugmancx on github.
* I am bugmancx (https://keybase.io/bugmancx) on keybase.
* I have a public key ASBOjWzyZa3PXlhYTqCy__6HRgsxW8jZZ_kCLKD4w1UpfQo
To claim this, I am signing this object:
@bugmancx
bugmancx / gist:0cbe4e78d5a44463c504689924064221
Created January 18, 2024 09:01
PowerView Hub Blind State
import requests
import base64
# URL of the PowerView Hub API
hub_url = "http://10.0.27.26/api/shades"
def fetch_shade_data(url):
try:
response = requests.get(url)
response.raise_for_status() # Raises an HTTPError if the response was an error
@bugmancx
bugmancx / tcm-blueprint-count.js
Created March 20, 2024 20:21
TitleCardMaker UI UserScripts
// ==UserScript==
// @name TCM: Automatically display if blueprints are available on Blueprints tab
// @version 1.0
// @description Check for available blueprints, and if so, update the counter on the tab
// @author bugmancx
// @match https://titlecardmaker:4242/series/*
// ==/UserScript==
(function() {
'use strict';