I hereby claim:
- I am cobaltgit on github.
- I am cobaltkb (https://keybase.io/cobaltkb) on keybase.
- I have a public key ASDrC7N86wG8hJF8WtmDvMOCQjzPfjcWMrcV9FmbIIOuDgo
To claim this, I am signing this object:
import os | |
import re | |
CHD_DIR = "/path/to/chds" | |
chds = [*filter(lambda i: i.endswith(".chd"), os.listdir(CHD_DIR))] | |
games = set(name[:name.find("(")] for name in chds) | |
for game in games: | |
m3u_list = [chd + "\n" for chd in chds if game in chd] |
I hereby claim:
To claim this, I am signing this object:
diff --git "a/.\\Portal Still Alive Beta/32_584109600002000100010001.PNG" "b/.\\Portal Still Alive Retail/32_584109600002000100010001.PNG" | |
index 5ed7564..7163f8a 100644 | |
Binary files "a/.\\Portal Still Alive Beta/32_584109600002000100010001.PNG" and "b/.\\Portal Still Alive Retail/32_584109600002000100010001.PNG" differ | |
diff --git "a/.\\Portal Still Alive Beta/32_584109600002000100020001.PNG" "b/.\\Portal Still Alive Beta/32_584109600002000100020001.PNG" | |
deleted file mode 100644 | |
index 42d6e1a..0000000 | |
Binary files "a/.\\Portal Still Alive Beta/32_584109600002000100020001.PNG" and /dev/null differ | |
diff --git "a/.\\Portal Still Alive Beta/32_584109600002000100030001.PNG" "b/.\\Portal Still Alive Beta/32_584109600002000100030001.PNG" | |
deleted file mode 100644 | |
index d9ae228..0000000 |
--> Run this program on an (advanced) wireless pocket computer in your off-hand for best results | |
--> Replace 'id' with the id of the turtle - run the 'id' command in the turtle's shell | |
rednet.CHANNEL_BROADCAST = 8000 | |
rednet.open("back") | |
print("Controller open on port "..rednet.CHANNEL_BROADCAST) | |
while true do | |
rednet.send(id, io.read()) |
Here is a guide to help you what Discord bot host to pick. This was originally a tag on the discord.py server, but was moved to this GitHub gist as it eventually rolled over the 2000 character limit.
I recommend a cheap VPS server as the best way to host your bot online for 24/7. Here are some good picks, credit to the discord.py server for this
from sanic import Sanic | |
from sanic.response import json | |
from sanic.exceptions import InvalidUsage | |
app = Sanic(__name__) | |
def webhook_actions(): | |
"""Actions to perform when webhook receives POST request""" | |
pass |