Skip to content

Instantly share code, notes, and snippets.

@gandrewstone
gandrewstone / justgivemeabutton.ino
Created March 19, 2022 20:24
Simple ESP32 web page motor control
#include <Arduino_DebugUtils.h>
#include <EEPROM.h>
#define WIFI 1
const char compileDate[] = __DATE__ " " __TIME__;
/*
Andrew Stone 2021
A simple web server that lets you blink an LED via the web.
This sketch will print the IP address of your WiFi Shield (once connected)

Keybase proof

I hereby claim:

  • I am gandrewstone on github.
  • I am andrewstone (https://keybase.io/andrewstone) on keybase.
  • I have a public key ASAedm_BYilWo0PU_cuqoByjxmdWg-qm3tz8XYghXyOLugo

To claim this, I am signing this object:

@gandrewstone
gandrewstone / quickPerf.py
Created December 8, 2016 21:28
run performance on 1-to-many and many-to-1 transactions
#!/usr/bin/env python2
# Copyright (c) 2015-2016 The Bitcoin Unlimited developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Test re-org scenarios with a mempool that contains transactions
# that spend (directly or indirectly) coinbase transactions.
#
import pdb
Verifying myself: My Bitcoin username is +stone. https://onename.io/stone