Skip to content

Instantly share code, notes, and snippets.

View brandoncurtis's full-sized avatar
🔄

Brandon Curtis brandoncurtis

🔄
View GitHub Profile
@brandoncurtis
brandoncurtis / AnalogReadSerial.ino
Last active January 29, 2024 20:47
Realtime Data Acquisition and Plotting with Arduino and Python
/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
Upload this to the Arduino using the Arduino IDE!
*/

Preamble

I really love Lyn Alden for her great write-ups. Her tireless and relentless pursuit of Bitcoin truths, and naturally the fact that she came to almost the same conclusions about Bitcoin as are most compatible with ancient Bitcoiner understanding is very rare: either she is a goddess in terms of digging up high-quality information (my current assumption,) or someone with an ancient Bitcoin understanding is very carefully supplying otherwise heavily obscured information to her over time. Typically new people are bombarded by the lies and massive self-referential echo chambers that Bitcoin attackers have been building for 8 years or more and based on experience it's difficult even for extremely intelligent and capable people to avoid mistakenly integrating at least a few of these lies over time.

Also, it's been very helpful for Lyn to make Bitcoin truths stick in other peoples' heads: I no longer need to repeat so many things ad nauseum, because her charisma is significant and people believe her.

@brandoncurtis
brandoncurtis / neutrino-sync-20190319.md
Created March 20, 2019 01:29
Syncing Neutrino With Pre-#1319 and Post-#1319 BTCD

Setup

We have two BTCD nodes:

  • testnet1-btcd.zaphq.io, running BTCD commit before the #1319 filter fix
  • btcd-testnet.ion.radar.tech, running BTCD commit after the #1319 filter fix

We're running the version of LND packaged with the v0.4.4 release of Lightning-App:

  • Version: 0.5.2-99-beta commit=queue/v1.0.1-17-g09059eacf06068aefe6e5b23a0276fdcd8021d86
@brandoncurtis
brandoncurtis / venus.md
Last active January 31, 2018 13:32
Setting up the Venus testnet on Ethermint (a Tendermint EVM chain, part of the Cosmos project)

All of this is prefaced on having Go installed: https://golang.org/doc/install Go is properly installed if echo $GOPATH returns something that makes sense.

Ethermint

First, install Ethermint. Normally I'd do this:

$ go get -u -d github.com/tendermint/ethermint
$ cd $GOPATH/src/github.com/tendermint/ethermint
0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba
0x37E92d4d950A58112D007c15223e549fffb4F86E
0x7D780B53F813fc43fAa04c86771A03aB9e184776
0x1465636758D4779837b3e9D8023Fd5254D6ab6B0
0x6Ecbe1DB9EF729CBe972C83Fb886247691Fb6beb
0x5409ED021D9299bf6814279A6A1411A7e866A631