Skip to content

Instantly share code, notes, and snippets.

View bliotti's full-sized avatar
public key cryptography is pretty neat 🔑 🔐

Brian Liotti bliotti

public key cryptography is pretty neat 🔑 🔐
View GitHub Profile
@bliotti
bliotti / QR Codes on LND.md
Created July 7, 2021 01:01
QR codes on LND.md

create QR codes on LND

sudo apt-get install qrencode jq
lncli newaddress np2wkh | jq -c -r .address |qrencode -t ASCII -m 5
@bliotti
bliotti / alias-list.md
Last active August 14, 2021 17:32
alias list for bitcoind, bitcoin-cli, lnd, lncli

These can be added to your .bashrc or .zshrc

some cmd's require jq tool.
  • linux - sudo apt-get install jq
  • mac - brew install jq
alias btcinfo='bitcoin-cli getwalletinfo | egrep "\"balance\""; bitcoin-cli getnetworkinfo | egrep "\"version\"|connections"; bitcoin-cli getmininginfo | egrep "\"blocks\"|errors"'
@bliotti
bliotti / copy-ssd.sh
Last active February 6, 2023 08:58
copy ssd raspibolt
sudo systemctl stop btcrpcexplorer
sudo systemctl stop bos-telegram.service
sudo systemctl stop rtl
sudo systemctl stop thunderhub
sudo systemctl stop electrs
sudo systemctl stop lnd
sudo systemctl stop bitcoind
sudo systemctl disable btcrpcexplorer.service
sudo systemctl disable bos-telegram.service