This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define CSS_COLOR_AliceBlue 0xF0F8FF | |
#define CSS_COLOR_AntiqueWhite 0xFAEBD7 | |
#define CSS_COLOR_Aqua 0x00FFFF | |
#define CSS_COLOR_Aquamarine 0x7FFFD4 | |
#define CSS_COLOR_Azure 0xF0FFFF | |
#define CSS_COLOR_Beige 0xF5F5DC | |
#define CSS_COLOR_Bisque 0xFFE4C4 | |
#define CSS_COLOR_Black 0x000000 | |
#define CSS_COLOR_BlanchedAlmond 0xFFEBCD | |
#define CSS_COLOR_Blue 0x0000FF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mysql.connector | |
# Sets env variables | |
HOST = "localhost" | |
USER = "user" | |
PASSWORD = "password" | |
# This class is for easier sql querying | |
class Database: | |
conn = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hex_reverse = "" | |
for h in [hex[i:i + 2] for i in range(0, len(hex), 2)][::-1]: | |
hex_reverse += h |