Skip to content

Instantly share code, notes, and snippets.

bretton bretton

Block or report user

Report or block bretton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bretton
bretton / forex-scrape.md
Last active Sep 23, 2019
Scraping Forex Data
View forex-scrape.md

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 / fetchlunohistory.sh
Last active Aug 7, 2019
Fetch Luno trade history and save as CSV for charting purposes
View fetchlunohistory.sh
#!/bin/bash
#
# About
#
# fetchlunohistory.sh
# get date in epoch time of last trade in csv
# get trades from luno from this time
# reverse order
# append to big log of all trades
#
View smiley-frebs.md

I need a word for the people who pass by pleasantly

you see them now and then, have no beef or grit with them, nor any intimacy.

just mildly to seriously, pleased, to see a friendly face

to engage too closely with introductions is to lead to more intimate things like BBQs and hiking, even sex, which can become too much if not looking for it.

The enjoyment comes from distance and lack of baggage, a sheer pleasantness for passing by.

@bretton
bretton / lnd-backup-restore-migrate.md
Last active May 24, 2019
LND Backup, Restore, Migrate
View lnd-backup-restore-migrate.md
@bretton
bretton / change-of-heart.md
Last active Apr 26, 2019
$obbing over a change of heart
View change-of-heart.md

change-of-heart

$obbing over a change of heart

A trade indicator that flashes a warning when people publicly state positions with reasoning, and then either express doubt over earlier assessment, or panic change their minds.

Input:

  • twitter feeds
  • slack channels
  • telegram
@bretton
bretton / ln-provider-za.md
Last active Apr 24, 2019
Scenario Planning for a Lightning Provider
View ln-provider-za.md

WIP 2018-02-08

Scenario Planning for a Lightning Provider

This gist is an outline of a likely scenario within South Africa, a developing country with a strong interest in Bitcoin & blockchain technologies.

Although it is expected within the LN community that users & merchants will run their own nodes, and fund their own channels, this approach seems to require a level of familiarity with the concepts and technology beyond the comprehension of the average joe, along with a level of access to bitcoin for channel funding purposes that is outside the financial reach of most in this country.

It's far more likely that mainstream adoption will come via parallels to existing widespread usage models, such as:

  • buying and loading prepaid airtime, via cash & EFT
@bretton
bretton / testnet-stores.md
Last active Apr 14, 2019
List of Testnet Stores for Lightning
View testnet-stores.md
View studio-monitors.md
@bretton
bretton / improved-lnd-bitcoind-install.md
Last active Feb 26, 2019
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet
View improved-lnd-bitcoind-install.md

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 / ln-woocommerce.md
Last active Feb 13, 2019
WooCommerce Plugins for LN
View ln-woocommerce.md
You can’t perform that action at this time.