Skip to content

Instantly share code, notes, and snippets.


Jon Atack jonatack

Block or report user

Report or block jonatack

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
(pr/15943)$ test/functional/ rpc_uptime --coverage
Temporary test directory at /tmp/test_runner_₿_🏃_20190515_133545
Initializing coverage directory at /tmp/coveragehsj4pafy
Remaining jobs: []
1/1 - passed, Duration: 1 s

TEST          | STATUS    | DURATION | ✓ Passed  | 1 s
jonatack /
Last active Apr 21, 2019
Manual test of bitcoin/bitcoin PR 15750

Manual tests of master (at 66ce95a) versus (at b4338c1) compiling from source and launching src/bitcoind -deprecatedrpc=validateaddress:

(master)$ src/bitcoin-cli getaddressinfo 33wjMTPWcmF12zfQZ2ecuvQfpfZjgVQ4ag
  "address": "33wjMTPWcmF12zfQZ2ecuvQfpfZjgVQ4ag",
  "scriptPubKey": "a91418b8a89d71daba341f2ba4dac25ad08c7f91d72a87",
  "ismine": true,
  "solvable": true,
/bitcoin/src# $AFLPATH
/afl-2.52b: Is a directory

/bitcoin/src# $AFLOUT
/qa-assets/outputs: Is a directory

/bitcoin/src# $DIR_FUZZ_IN
/qa-assets/fuzz_seed_corpus: Is a directory
jonatack /
Last active May 19, 2019
How to compile Bitcoin Core with wallet, from source, on Linux Debian

How to compile Bitcoin Core from source on Linux Debian and run the unit and functional tests

Last updated: 16 March 2019

This is a simplified compilation of the various docs in Don't hesitate to read them for more information.

All steps are to be run from your terminal emulator, i.e. the command line.

  1. Ensure the dependencies are installed:
    • sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler git ccache

Keybase proof

I hereby claim:

  • I am jonatack on github.
  • I am jonatack ( on keybase.
  • I have a public key ASCaeU38EDbcgqP2Wb2r3yZfg1IlWpLxKk99zYCGoq9xbQo

To claim this, I am signing this object:

jonatack /
Created Aug 16, 2017 — forked from mflaxman/
Proof you can recover your Trezor funds without a Trezor (if it breaks and/or the company goes out of business)
from bitmerchant.wallet import Wallet
from mnemonic import Mnemonic
# put in whatever Trezor generates for you here (or backup from this empty/insecure one as a test)
mnemonic = 'clean health food open blood network differ female lion eagle rough upon update zone antique defense venture uncover mobile charge actress film vocal enough'
passphrase = '' # empty string or whatever you actually choose
path = "m/44'/0'/0'/0/0" # whatever shows up on the UI for that account (everything will start with m/44'/0' since it's bip44)
child = Wallet.from_master_secret(Mnemonic('english').to_seed(mnemonic, passphrase)).get_child_for_path(path)
child.to_address() # '18K9axbPpwqZgngB58nuwsYevL2z6ey4YG' (confirm this matches what Trezor is showing you)
View poloniex.rb
require 'json'
require 'uri'
require 'net/http'
require 'net/https'
# Poloniex Ruby API interface
# Documentation text is pretty much 1:1 from the official API documentation
jonatack / dual.lisp
Last active Jun 2, 2016 — forked from lispm/dual.lisp
Conjugate Partitions
View dual.lisp
; version 1
(defun dual (xs &aux k n r)
(loop while xs do
(setf k (reduce #'min xs)
n (length xs)
xs (sort (loop for x in xs
for x1 = (- x k)
jonatack / gist:17a4523ca3c25ea75453
Created Feb 21, 2016 — forked from millisami/gist:3148874
Convert any YouTube video into an audio file you can listen to on the go...
View gist:17a4523ca3c25ea75453
# Convert any YouTube video into an audio file you can listen to on the go, using:
{ ~ } > brew install ffmpeg
{ ~ } > brew install ffprobe
{ ~ } > wget
{ ~ } > chmod u+x youtube-dl
# Pick which video format you want to download.. (use any YT video link)
You can’t perform that action at this time.