A Twemoji Parser written in Python
This was inspired by @twitter/twemoji-parser.
A Twemoji Parser written in Python
This was inspired by @twitter/twemoji-parser.
This is built for the sole purpose of handling multiple operations within the same time in one asyncpg pool to avoid errors, especially InterfaceError
.
This is a handy tool in load balancers with different machines with the same psql database, etc.
This API will give FREE ACCESS to ANYONE if you do not set the AUTHORIZATION
variable in your config.py
(config.AUTHORIZATION
).
import os | |
import getpass | |
from google.colab import drive | |
drive.mount('/content/gdrive/') | |
os.system("wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip") | |
os.system("unzip -qq -n ngrok-stable-linux-amd64.zip") | |
print("Get your authtoken from https://dashboard.ngrok.com/auth") |
import discord, secrets | |
class TextInput: | |
"""for storing our text input data""" | |
def __init__(self, payload): | |
self.type = payload['type'] | |
self.custom_id = payload['custom_id'] | |
self.style = payload['style'] | |
self.label = payload['label'] | |
self.min_length = payload.get('min_length') |
# How to invoke this file would be to run something like this in your terminal: | |
# python3 black_selection.py /path/to/black/executable /path/to/file LineStart LineEnd | |
# | |
# Make sure to install black with the current running python version. | |
# To enable debug/verbose, check for BLACK-SELECTION-DEBUG environment and make sure it is set to True. | |
# | |
# To get the executable path, run the following command in your terminal: | |
# - Windows: where black | |
# - Linux/macOS: which black |
<div class="hamburger-menu"> | |
<button class="burger" data-state="closed"> | |
<span></span> | |
<span></span> | |
<span></span> | |
</button> | |
</div> | |
<nav data-state="closed"> | |
<ul> | |
<li> |
testing |
lol |
lol |