Skip to content

Instantly share code, notes, and snippets.

@laundmo
laundmo / names.txt
Created September 24, 2018 10:58
almost a million names
This file has been truncated, but you can view the full file.
Zfiujou
Tiubout
Couniokrbeu
Jeok
Taeciuquau
Vchai
Neomquvou
Xkio
Fouteuwm
Fvoum

installing modloader

if you have any other mods installed follow the uninstall explanation below

  1. close risk of rain
  2. download the newest zip file from thunderstore
  3. go in your steam
  4. right click on RoR2 -> click on properties
  5. got to local files tab and click on browse local files.
  6. open the downloaded zip file
@laundmo
laundmo / names2.txt
Created April 8, 2019 21:46
1000names
Peum
Knveugou
Quiuchae
Xcei
Zioweufaep
Kainlf
Chbiuchaul
Krqu
Tlou
@laundmo
laundmo / RoR2 real-code name mapping.txt
Created April 14, 2019 04:56
Risk of Rain 2 mappings of real items to code items
None = -1,
0. Soldier Syringe
Syringe,
1. Tougher Times
Bear,
2. Brilliant Behemoth
Behemoth,
@laundmo
laundmo / catch.py
Last active October 1, 2019 12:37
How to catch anything in python
#!/usr/bin/python3
from inspect import getframeinfo, stack
verbose = True # set to false if only the actual error should be shown, and not resulting errors
class Any():
"""
Class to be used as a stand in for anything that doesn't exist.
"""
def __init__(self, func=None, name="Unknown"):
@laundmo
laundmo / README.md
Last active February 19, 2020 09:22
Automatically /ignore people in sending discord.gg links in minecraft
@laundmo
laundmo / README.md
Created February 23, 2020 06:36
use voicemeeter to karaoke on teamspeak without delay

moved from repository to gist

use voicemeeter to sing karaoke on teamspeak

first you need to install voicemeeter banana. Download from Here

  1. in voicmeeter you first need to select you input device where "mic here" is pointing and the output

  2. (headphones) where "phones here" is pointing

  3. then in voicmeeter select the A and B buttons like shown in the image (A is physical out and B is virtual)

  4. then in th A1 selection next to the "phones" speech bubble select your output device enter image description here

@laundmo
laundmo / readme.md
Last active March 28, 2020 21:31
test for pickle

Testing whether pickling works with PySide2

spoiler: it does

@laundmo
laundmo / Detect.py
Last active August 15, 2020 20:59
How to detect APNGs sent in Discord using discord.py
import io
def is_apng(a: bytes) -> bool:
acTL = a.find(b"\x61\x63\x54\x4C")
if acTL > 0:
iDAT = a.find(b"\x49\x44\x41\x54")
if acTL < iDAT:
return True
return False
@laundmo
laundmo / main.py
Created October 28, 2020 21:52
Flask create views at runtime
from flask import Flask, request, render_template
from flask.views import View
app = Flask(__name__)
view_list = [
("/main", "main.html.jinja2", "main"), # assumes the templates exist in a ./templates subdir
("/main2", "main2.html.jinja2", "main2"),
]
class GenericView(View):