XMIN = 25
YMIN = 35
XMAX = 200
import random | |
import time | |
import pprint | |
import json | |
bp = json.load(open('bp.json')) | |
def decode(i): | |
l = [] | |
[l.extend(o[1::2]) for o in i.split(':')] | |
return l |
import tkinter as tk | |
from tkinter import ttk | |
from tkinter import messagebox | |
import base64 | |
import gzip | |
import json | |
import re | |
from typing import Any, Dict, Optional |
scancode | valor | javascript_code | |
---|---|---|---|
SDL_SCANCODE_UNKNOWN | 0 | Unidentified | |
SDL_SCANCODE_A | 4 | KeyA | |
SDL_SCANCODE_B | 5 | KeyB | |
SDL_SCANCODE_C | 6 | KeyC | |
SDL_SCANCODE_D | 7 | KeyD | |
SDL_SCANCODE_E | 8 | KeyE | |
SDL_SCANCODE_F | 9 | KeyF | |
SDL_SCANCODE_G | 10 | KeyG | |
SDL_SCANCODE_H | 11 | KeyH |
import cv2 | |
import mediapipe as mp | |
import numpy as np | |
from PIL import Image, ImageDraw, ImageFont | |
import screeninfo | |
import pyautogui # Importa a biblioteca para controle do mouse | |
# Configurações do PyAutoGUI | |
pyautogui.FAILSAFE = False # Desabilita o fail-safe para evitar interrupções por movimentação do mouse para os cantos | |
pyautogui.PAUSE = 0.001 # Define um pequeno atraso entre as ações do mouse |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<application | |
android:allowBackup="true" | |
android:usesCleartextTraffic="true" | |
android:dataExtractionRules="@xml/data_extraction_rules" | |
android:fullBackupContent="@xml/backup_rules" | |
android:icon="@mipmap/ic_launcher" |
// Utility micro library "LocalStorj" | |
const LocalStorj = { | |
get: (key, defaultValue = null) => { | |
const result = localStorage.getItem(key) | |
if (result === null) { | |
return defaultValue; | |
} | |
return result; |