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 / docs.chain.link...samples...VRF...RandomNumberConsumer.sol
Last active October 10, 2021 05:22
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
@bliotti
bliotti / .deps...npm...@chainlink...contracts...src...v0.8...ConfirmedOwner.sol
Created October 10, 2021 04:50
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
@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 / map of bitcoin.md
Created July 10, 2021 02:44
map of bitcoin 2021

image

@bliotti
bliotti / README.md
Created July 10, 2021 02:41 — forked from omundy/README.md
Remove Sophos from a Mac with tamper protection

Sophos Anti Virus hogging your processor? Can't remove it because of tamper protection?


# change into preferences
cd /Library/Preferences

# confirm locations of sophos files
ls com.sophos.*
@bliotti
bliotti / bitcoin-map-tech-2020.jpg
Last active July 10, 2021 02:42
Map of Bitcoin 2020
![bitcoin-map-tech-2020](https://user-images.githubusercontent.com/29641364/125149146-2f533380-e105-11eb-90aa-0ccb8de1eb26.png)
����ExifMM*��C 
  $.' ",#(7),01444'9=82<.342��C  2!!22222222222222222222222222222222222222222222222222���"��
���}!1AQa"q2���#B��R��$3br�
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz���������������������������������������������������������������������������
���w!1AQaq"2�B���� #3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�������������������������������������������������������������������������� ?��(��
(��
(��
(��
(��
@bliotti
bliotti / LinkedList.js
Created July 9, 2021 04:31 — forked from BretCameron/LinkedList.js
The full LinkedList implementation from this tutorial: https://bit.ly/2mihZac
class LinkedListNode {
constructor(value, next) {
this.value = value;
this.next = next || null;
}
}
class LinkedList {
constructor(value) {
this.size = 0;
@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 / lnd.conf
Created July 3, 2021 02:14 — forked from bumi/lnd.conf
[Application Options]
lnddir=/home/bitcoin/lnd_data
maxpendingchannels=10
alias=YOURALIAS
rpclisten=0.0.0.0:10009
[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=bitcoind