Create an app here: https://www.reddit.com/prefs/apps
The information can be anything. Make sure to set it to web app
and redirect uri to http://localhost:8080
Copy the client ID and client secret tokens.
# mostly made with ai because I am lazy | |
import os | |
import requests | |
from urllib.parse import urlparse | |
json_url = 'https://storage.googleapis.com/panels-api/data/20240916/media-1a-i-p~s' | |
output_folder = 'output' | |
if not os.path.exists(output_folder): | |
os.makedirs(output_folder) |
Create an app here: https://www.reddit.com/prefs/apps
The information can be anything. Make sure to set it to web app
and redirect uri to http://localhost:8080
Copy the client ID and client secret tokens.
I used a service called Censys Search to find them. There's some queries you can do:
services.http.response.html_title: "cobalt"
services.http.response.body_hash="sha1:bf53b9ab96065ed263df9ebcd2b3b0c4d88242b5"
After I collected the list, I checked /api/serverInfo
on the API instances to see if it has a url
set. This can either be a subdomain or an IP. If it had a domain set, I tried to find the web instance by checking common subdomains (like co, cobalt, etc). If there were no connecting domains, I tried a look up the IP on SecurityTrails. Otherwise, it simply got listed as the IP.
-- Define the addon name and version | |
local ADDON_NAME, ADDON_VERSION = "AutoAFKMessage", "1.0" | |
-- Create a frame to handle events | |
local frame = CreateFrame("Frame") | |
-- Register for events | |
frame:RegisterEvent("CHAT_MSG_WHISPER") | |
-- Set the away message |
^k::Send %clipboard% |
{ | |
"banner": "this is a test banner!", | |
"open": true | |
} |
Bukkit.getScheduler().runTaskAsynchronously(this, this::checkForUpdates);
public void checkForUpdates() {
GitHubReleaseAPI api;
try {
api = new GitHubReleaseAPI("repo", "hyperdefined");
} catch (IOException e) {
logger.warning("Unable to check updates!");
---- Minecraft Crash Report ---- | |
// Everything's going to plan. No, really, that was supposed to happen. | |
Time: 10/30/21, 4:37 PM | |
Description: Watching Server | |
java.lang.Error: Watchdog | |
at net.minecraft.class_3178.run(class_3178.java:52) | |
at java.base/java.lang.Thread.run(Thread.java:831) |
---- Minecraft Crash Report ---- | |
// There are four lights! | |
Time: 10/9/21, 9:35 PM | |
Description: Initializing game | |
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered | |
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) | |
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) | |
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) |
mv ^(.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.++)$^