Skip to content

Instantly share code, notes, and snippets.

View witcheslive's full-sized avatar
🧙‍♀️
using gentoo (btw)

witches dot live home of live witches witcheslive

🧙‍♀️
using gentoo (btw)
View GitHub Profile
@witcheslive
witcheslive / hxiclamparse.py
Created December 12, 2023 00:39
hxi clamming log parser version 1.0
import json
import os
data = []
order = ["date", "item"]
counter = {}
for filename in os.listdir(os.getcwd()):
with open(os.path.join(os.getcwd(), filename), 'r') as file: # open in readonly mode
for line in file.readlines():
anna@eurekapyros ~ $ steam
/home/anna/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/anna/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on gentoo 64-bit
STEAM_RUNTIME is enabled by the user
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1552545139)
Installing breakpad exception handler for appid(steam)/version(1552545139)
Installing breakpad exception handler for appid(steam)/version(1552545139)
Installing breakpad exception handler for appid(steam)/version(1552545139)
### Keybase proof
I hereby claim:
* I am witcheslive on github.
* I am witchesliveanna (https://keybase.io/witchesliveanna) on keybase.
* I have a public key ASCdsLeCmxMj6oIdlo-FSZKC0W1DKNpg91rCBhBgXxTeBAo
To claim this, I am signing this object:
@witcheslive
witcheslive / web streaming.md
Last active April 7, 2023 21:00
GET WEB STREAMING WORKING ON YOUR MASTODON INSTANCE NOW!!!!

Do you see three dots everywhere on your Mastodon instance?

Is the console on your instance flodded with

WebSocket connection to 'wss://yourinstance.website/api/v1/streaming/?stream=public:local&access_token=blahblahblah' failed: Error during WebSocket handshake: Unexpected response code: 502

WELL FOR SOME REASON NONE OF THE MASTODON SETUP GUIDES TELL YOU HOW TO SET THIS UP EVEN THOUGH ITS SUPER EASY AND ITS OBNOXIOUS AF

You need to do two things: