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 / ldn-contributor-github.md
Last active April 3, 2018 12:13
How to fork, clone and submit pull requests for changes, to LND

1. Fork the original code in github

Open https://github.com/lightningnetwork/lnd and while logged in, select the "Fork" option and follow any prompts.

Fork the original

2. Clone your fork to a local directory

Open terminal and type

@bretton
bretton / contribute-lightning-dev.md
Last active October 9, 2018 20:58
Become a contributor to the Lightning Dev Site
@bretton
bretton / lightning-pi-odroid-articles.md
Last active January 1, 2020 05:52
Collection of tutorials for running Lightning on low cost hardware
@bretton
bretton / improved-lnd-bitcoind-mainnet.md
Last active November 15, 2022 18:53
Detailed guide to installing LND and Bitcoind on Ubuntu 16.04 LTS for Mainnet

Intro

This guide is specific to getting LND 0.5-beta and Bitcoind running on Ubuntu 16.04 LTS for mainnet. It is aging rapidly and includes steps not necessary on newer versions of LND. As of April 2021 it is very out of date for bitcoind. As of December 2021 it is outdated for LND too.

Original installation guide:

This guide is broken into the following sections:

  • Install bitcoind and set to start automatically
  • Install development tools and dependancies
@bretton
bretton / crypto-tracks.md
Last active August 6, 2022 19:53
Crypto tracks
@bretton
bretton / forex-scrape.md
Last active March 19, 2024 19:36
Scraping Forex Data

Scraping Forex Data

I was looking for ways to scrape forex data after fixer.io switched to a subscription model with rate-limiting, making their API useless for lots of queries.

1. Use an alternative API

One alternative API which is still free is https://exchangeratesapi.io/

It's basically a drop-in replacement for fixer.io and can be used to get all forex rates in json format at

@bretton
bretton / bech32-lnd.md
Last active July 13, 2018 15:45
Convert pubkey from lightning node into Bech32 format for (proposed) Bolt-12 DNS SRV record usage
@bretton
bretton / lnd-backup-restore-migrate.md
Last active July 27, 2021 04:34
LND Backup, Restore, Migrate
@bretton
bretton / sarb-crypto-regs-execise.md
Last active January 24, 2019 17:45
Class exercise: Re-write the "Proposal for regulatory actions for crypto assets"