Skip to content

Instantly share code, notes, and snippets.

View drakantas's full-sized avatar

Vladimir Ibazeta drakantas

View GitHub Profile
@drakantas
drakantas / chat.css
Last active June 18, 2024 02:34
Streamlabs Chatbox with avatars
@import url('https://fonts.googleapis.com/css?family=Orbitron&display=swap');
* {
display;
box-sizing: border-box;
}
html, body {
height: 100%;
overflow: hidden;
@drakantas
drakantas / genesis-instance.conf
Last active October 11, 2018 03:57
Genesis instance server config
server {
listen 80;
server_name localhost;
root D:\Genesis-client\public;
location / {
index index.html;
try_files index.html /index.html =500;
}
@drakantas
drakantas / check_discord_invite.py
Last active May 26, 2022 17:28
Get Discord invite links from a message using regex
from __future__ import print_function
import re
DISCORD_INVITE = r'discord(?:\.com|app\.com|\.gg)[\/invite\/]?(?:[a-zA-Z0-9\-]{2,32})'
messages = (
"Hey, join my guild and get awesome prizes. https://discord.gg/0cDvIgU2voWn4BaD",
"Yo. Don't join that dude's guild, these guilds are even more awesome https://discord.gg/discord-api "
"https://discord.gg/discord-developers",
"There's no invites in this message."