Skip to content

Instantly share code, notes, and snippets.

View hebasto's full-sized avatar
🇺🇦
Bitcoin, Math

Hennadii Stepanov hebasto

🇺🇦
Bitcoin, Math
View GitHub Profile
@hebasto
hebasto / gitian-build.py
Last active September 22, 2020 22:37
bitcoin/contrib/gitian-build.py mod
#!/usr/bin/env python3
#
# bitcoin/contrib/gitian-build.py
#
# Mods:
# * no package management
# * default --jobs 4
# * always --detach-sign
# * always --no-commit
@hebasto
hebasto / ask.sh
Created July 27, 2018 17:45
Bash General-Purpose Yes/No Prompt Function ("ask")
# This is a general-purpose function to ask Yes/No questions in Bash, either
# with or without a default answer. It keeps repeating the question until it
# gets a valid answer.
ask() {
# https://djm.me/ask
local prompt default reply
while true; do
@hebasto
hebasto / start_electrum.sh
Last active September 8, 2018 09:18
Convenient script to run Electrum on Tails
#!/bin/bash
set -o errexit
#set -o xtrace
#
# start_electrum.sh
#
# This script launches Electrum Bitcoin Wallet on Tails OS.
# Ledger Nano S hardware wallet is supported.
#
# Tails 3.9 (2018-09-04), https://tails.boum.org
@hebasto
hebasto / ledger_nwjs.md
Last active February 3, 2021 06:58
Ledger Nano S and Chrome Apps EOL