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 / 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
#
@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
View studio-monitors.md
@bretton
bretton / ln-dashboard-list.md
Last active Aug 1, 2019
Dashboard tools for Lightning servers
View ln-dashboard-list.md

Lightning dashboards

clightning

NodeMonitor

NodeMonitor is a simple Python Django website that makes calls to Bitcoin (bitcoind) and Lightning Network (c-lightning lightningd) nodes and displays the results on a simple 'dashboard' style status page.

Zabbix clightning

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 / serverless-macos-aws.md
Last active Aug 20, 2019
Setting up serverless on a mac and updating to latest version
View serverless-macos-aws.md

The following is specific to MacOS users, however similar guides may exist for Linux, or this can be adapted accordingly.

How to setup a serverless dev environment on a mac

In order to facilitate easier management of a local copy of a website, private github repository, and S3 bucket with Lambda functions as a website we will make use of the serverless framework.

Install XCode

You may need to check you have the latest XCode dev environment installed. You can install it via the App Store.

@bretton
bretton / ln-woocommerce.md
Last active Feb 13, 2019
WooCommerce Plugins for LN
View ln-woocommerce.md
@bretton
bretton / inbound-liquidity-ln.md
Last active Sep 8, 2019
How to get Inbound Liquidity on LN
View inbound-liquidity-ln.md

How to get Inbound Liquidity on LN

There are several ways you can find inbound liquidity on LN.

1. Wait

If your node is up 24x7 and you have some outgoing channels, the network will connect to you if you simply wait.

However, it might take a couple of weeks to get a significant amount of incoming liquidity, and ideally you want your outgoing liquidity to match too.

@bretton
bretton / merge-ant-network-theory.md
Last active Feb 3, 2019
Merging Actor-Network Theory with Network Graph Theory for the purposes of Regulatory engagement
View merge-ant-network-theory.md

Merging Actor-Network Theory with Network Graph Theory for the purposes of Regulatory engagement

Actor-Network Theory

ANT holds that social forces do not exist in themselves, and therefore cannot
be used to explain social phenomena. Instead, strictly empirical analysis
should be undertaken to "describe" rather than "explain" social activity.
Only after this can one introduce the concept of social forces, and only as
an abstract theoretical concept, not something which genuinely exists in the
world. The fundamental aim of ANT is to explore how networks are built or
assembled and maintained to achieve a specific objective.
@bretton
bretton / sarb-crypto-regs-execise.md
Last active Jan 24, 2019
Class exercise: Re-write the "Proposal for regulatory actions for crypto assets"
View sarb-crypto-regs-execise.md
You can’t perform that action at this time.