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
# root access and sqlite3 required | |
su -c 'sqlite3 /data/*/*/*/gservices.db "select * from main where name = \"android_id\";"' |
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 random | |
import disnake | |
from disnake.ext import commands | |
class Dice(commands.Cog): | |
def __init__(self, bot): | |
self.bot = bot | |
@commands.slash_command(description="Rolls a dice.") | |
@commands.cooldown(1, 15, commands.BucketType.user) |
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
#==========================================================# | |
# You need to install micropython to use this code # | |
# To upload the code to the board, you can use Thonny IDE # | |
#----------------------------------------------------------# | |
# Setting up an IDE to connect to the board # | |
# Tools>Options...>Interpreter>Change LocalPython on # | |
# MicroPython (ESP8266) or your other microcontroller> # | |
# Bellow select PORT or leave as is # | |
#----------------------------------------------------------# | |
# Screen connection pinout to Node MCU v3 ESP8266 # |