Skip to content

Instantly share code, notes, and snippets.

Tim Akinbo takinbo

View GitHub Profile
@takinbo
takinbo / nbxplorer.env
Created Mar 23, 2019
nbxplorer environment file
View nbxplorer.env
NBXPLORER_NETWORK=mainnet
NBXPLORER_BIND=127.0.0.1:24444
NBXPLORER_NOAUTH=1
NBXPLORER_CHAINS=btc
NBXPLORER_BTCRPCURL=http://127.0.0.1:8332/
NBXPLORER_BTCNODEENDPOINT=127.0.0.1:8333
NBXPLORER_BTCRPCAUTH=rpcuser:rpcpassword
@takinbo
takinbo / docker-compose.yml
Created Mar 23, 2019
docker-compose.yml file for NBXplorer
View docker-compose.yml
version: "3"
services:
nbxplorer:
restart: always
build:
context: https://github.com/dgarage/NBXplorer.git#v2.0.0.21
dockerfile: Dockerfile.linuxamd64
env_file: nbxplorer.env
network_mode: host
@takinbo
takinbo / 70-hwrng.rules
Created May 31, 2018
udev rules for the ElectroDoodle TRNG-N1
View 70-hwrng.rules
# ElectroDoodle TRNG-N1 │ rgb_bitdist| 2| 100000| 100|0.25684952| PASSED
SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", SYMLINK+="hwrng", RUN+="/usr/bin/stty -F /dev/%k 115200 raw", T│ rgb_bitdist| 3| 100000| 100|0.39832547| PASSED
AG+="uaccess"
@takinbo
takinbo / stream.js
Created Feb 20, 2017
stream trading events from Luno.com
View stream.js
var WebsocketClient = require('websocket').client,
colors = require('colors'),
sprintf = require('sprintf-js').sprintf;
var ws = new WebsocketClient();
var asks = bids = {};
var now = function () {
var date = new Date();
return sprintf("%02d:%02d:%02d", date.getHours(), date.getMinutes(), date.getSeconds());
@takinbo
takinbo / lnd-python-client.md
Created Jan 29, 2017
Writing a Python gRPC client for the Lightning Network Daemon
View lnd-python-client.md

How to write a Python gRPC client for the Lightning Network Daemon

  • Create a virtual environment for your project
$ virtualenv lnd
  • Activate the virtual environment
$ source lnd/bin/activate
View onename.io
Verifying that +takinbo is my blockchain ID. https://onename.com/takinbo
View crawler_stats.txt
{'downloader/exception_count': 1801,
'downloader/exception_type_count/twisted.internet.error.ConnectionRefusedError': 4,
'downloader/exception_type_count/twisted.internet.error.TimeoutError': 5,
'downloader/exception_type_count/twisted.web._newclient.ResponseNeverReceived': 1792,
'downloader/request_bytes': 8780679,
'downloader/request_count': 10100,
'downloader/request_method_count/GET': 2,
'downloader/request_method_count/POST': 10098,
'downloader/response_bytes': 12366649,
'downloader/response_count': 8299,
@takinbo
takinbo / kannel.conf
Created Mar 11, 2015
sample kannel.conf for docker image
View kannel.conf
group = core
admin-port = 13000
admin-password = ***
admin-allow-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
smsbox-port = 13001
group = smsbox
bearerbox-host = bearerbox
sendsms-port = 13013
View onename.io
Verifying that +takinbo is my Bitcoin username. You can send me #bitcoin here: https://onename.io/takinbo
View keybase.md

Keybase proof

I hereby claim:

  • I am takinbo on github.
  • I am takinbo (https://keybase.io/takinbo) on keybase.
  • I have a public key whose fingerprint is DF7F B883 8949 37A9 ABAA 27F5 AB3B B959 BC3F 6CED

To claim this, I am signing this object:

You can’t perform that action at this time.