This file contains hidden or 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
#!/bin/bash | |
echo "Starting Docker installation on Deepin Linux..." | |
# Define a mapping from Deepin version to Debian version | |
map_deepin_to_debian() { | |
case "$1" in | |
20*) echo "buster" ;; # Replace with the correct mapping for Deepin 20 | |
15*) echo "stretch" ;; # Replace with the correct mapping for Deepin 15 | |
*) echo "buster";; |
This file contains hidden or 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 telebot | |
import sqlite3 | |
import time | |
# DATABASE CONFIGURATION | |
conn = sqlite3.connect('sacs_db.db', check_same_thread=False) | |
cursor = conn.cursor() | |
def db_wallet(user_id: int, wallet_a: str): | |
cursor.execute('INSERT INTO user_db (user_id, wallet) VALUES (?, ?)', |