Skip to content

Instantly share code, notes, and snippets.

View bretton's full-sized avatar

bretton bretton

  • Cape Town, South Africa
View GitHub Profile
@bretton
bretton / ai-platforms-image-creation.md
Last active August 30, 2022 06:14
AI platforms for content and image generation
@bretton
bretton / crypto-tracks.md
Last active August 6, 2022 19:53
Crypto tracks
@bretton
bretton / notakey-ubuntu-qemu-kvm.md
Last active July 13, 2022 15:14
Notakey Authentication Appliance on Ubuntu QEMU-KVM (unsupported by vendor)

Introduction

Setup of an instance of the Notakey Authentication appliance running on Ubuntu with QEMU-KVM.

Update July 2022: this is out of date and needs an update for the newer version of the appliance

Sign up for license

Sign up for an evaluation license at https://www.notakey.com/

Download the legacy appliance

After you've signed up you will receive an email with download links for:

@bretton
bretton / hedged-ln-node.md
Last active June 21, 2022 21:07
Getting a 2:1 or greater risk-reward ratio on LN node and channels

Getting a 2:1 or greater risk-reward ratio on LN node and channels

WIP

Lets say a user wants to spin up a node with 0.1 btc, open a few channels, and generate routing fees.

How do they calculate a risk/reward ratio (RR) that makes economic sense?

What else can they do to improve the calculation, such as compartmentalising risk into discrete chunks which can be evaluated independently?

@bretton
bretton / lndhub-providers.md
Last active June 5, 2022 21:10
List of lndhub providers
@bretton
bretton / improved-lnd-bitcoind-install.md
Last active January 25, 2022 14:07
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet

2018-03-18: Updating of this guide is taking a backseat to the mainnet version at

Intro

This guide is specific to getting LND and bitcoind running on ubuntu 16.04 LTS for testnet.

It does not address mainnet, or using btcd, or neutrino.

Original installation guide:

@bretton
bretton / washingtons-nft.md
Last active September 20, 2021 20:29
Washingtons NFT

Washingtons, NFT with staking.

Mint a Washington

  • Limit of 2 minted per wallet. Transfer out to mint more.
  • No limit to number that can be staked afaik.
  • Staked Washingtons get unstable dollars per day.

WIP, been a slow minting after launch. Seems like most high volume NFT launches involve buying their own tokens and artificial hype.

Rare traits

@bretton
bretton / ln-woocommerce.md
Last active September 13, 2021 01:56
WooCommerce Plugins for LN
@bretton
bretton / lnd-backup-restore-migrate.md
Last active July 27, 2021 04:34
LND Backup, Restore, Migrate
@bretton
bretton / random-lightning-qrcodes.md
Last active July 7, 2021 01:00
Random stuff for testing with Lightning, QRCodes

Random stuff on using QRCodes for testing Lightning between Mac, Linux and Android

generate a QR code on the command line for LND

sudo apt-get install qrencode
lncli newaddress np2wkh |jq -c -r .address |qrencode -t ASCII -m 5

MacOS: copy-paste an address or lightning payment request from command line into QREncoder and then scan with Eclair