Skip to content

Instantly share code, notes, and snippets.

View trysdyn's full-sized avatar

Trysdyn Black trysdyn

View GitHub Profile

Keybase proof

I hereby claim:

  • I am trysdyn on github.
  • I am trysdyn (https://keybase.io/trysdyn) on keybase.
  • I have a public key whose fingerprint is A9D4 18AF 41BD 0334 E606 9D4C 001D 4993 D81B B03E

To claim this, I am signing this object:

@trysdyn
trysdyn / twitch_api.py
Created June 10, 2018 21:57
Awful Twitch v3 API CLI thingamagoop
# Create a localvar.py and define CLIENT_ID and TOKEN for API stuff
# You're on your own for getting those.
import requests
import ssl
from urllib.parse import quote_plus
from localvar import CLIENT_ID, TOKEN
@trysdyn
trysdyn / roulette-simple.py
Created September 30, 2017 23:20
A simplified version of my retro roulette script
#! /usr/bin/env python3
import os
import random
import subprocess
# The path to the emu, configured for single instance mode
# So each invocation just opens the rom in the current instance
launch = "D:/Emulators/Bizhawk/EmuHawk.exe"
@trysdyn
trysdyn / bokisplit.py
Last active March 3, 2017 00:08
This is a python (2.7) script that utilizes datafiles saved by Copy Kitty version 2.x to feed split data into LiveSplit. Requires Python 2.7, Livesplit, Livesplit Server, and Copy Kitty 2.x. 1.9 may work but is not supported.
# Copy Kitty 2.x IGT auto-splitter
# Utilizes LiveSplit and its Server component to auto-split a Copy Kitty run
# Built for version 2.1, should work on anything 2.x
### BEGIN USER-ACCESSIBLE CONFIGS ###
# Edit this to be the directory in which your saves are stored
infile = "D:\\steam\\steamapps\\common\\copy kitty\\saves + levels"
# If this is empty, the script will split every stage