This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |