Skip to content

Instantly share code, notes, and snippets.

View officer47p's full-sized avatar
🗿

Parsa Hosseini officer47p

🗿
View GitHub Profile
@officer47p
officer47p / hello_world.ino
Created December 14, 2024 00:21 — forked from buzzkillb/hello_world.ino
ESP32 TTGO button 1 and 2 masher with screen and serial example display
//simple button masher esp32 ttgo
#include <TFT_eSPI.h>
#include <SPI.h>
#define BUTTON1PIN 35
#define BUTTON2PIN 0
TFT_eSPI tft = TFT_eSPI();
void IRAM_ATTR toggleButton1() {
@officer47p
officer47p / bitcoin_address_generator.py
Created March 6, 2022 21:14
A minimal script for creating bitcoin addresses.
from ecdsa import ellipticcurve
import hashlib
import base58
# Compressed Public Key Config
compressed_public_key = True
_a = 0x0000000000000000000000000000000000000000000000000000000000000000
_b = 0x0000000000000000000000000000000000000000000000000000000000000007