Skip to content

Instantly share code, notes, and snippets.

@canonbrother
canonbrother / Ethereum_private_network.md
Created July 26, 2023 05:02 — forked from 0mkara/Ethereum_private_network.md
Ethereum private network configuration guide.

Create your own Ethereum private network

Introduction

Used nodes:

Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
Linux localhost.localdomain 4.14.5-200.fc26.x86_64 #1 SMP Mon Dec 11 16:29:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
@canonbrother
canonbrother / jq-cheetsheet.md
Created June 23, 2023 02:32 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@canonbrother
canonbrother / bitcoin_debugging.md
Created May 9, 2023 04:56 — forked from fjahr/bitcoin_debugging.md
Debugging Bitcoin Core

Moved to https://github.com/fjahr/debugging_bitcoin to allow for better collaboration.

This document is currently optimized for MacOS. If you would like to help me add Linux equivalent commands, please let me know.

Debugging Bitcoin Core

This guide is designed to give beginners of C++ development and/or people new to the bitcoin core code base an overview of the tools available for debugging issues as well as giving hints where issues may trip you up.

@canonbrother
canonbrother / README.md
Created December 15, 2022 07:45 — forked from paolocarrasco/README.md
How to understand the `gpg failed to sign the data` problem in git

Problem

You have installed GPG, then tried to commit and suddenly you see this error message after it:

error: gpg failed to sign the data
fatal: failed to write commit object

Debug

@canonbrother
canonbrother / bitcoin_spv_wallet_overview.md
Created November 18, 2022 06:40 — forked from TOMOAKI12345/bitcoin_spv_wallet_overview.md
Bitcoin SPV Wallet Flow Overview

@canonbrother
canonbrother / substrate-workshop-commands.md
Created September 13, 2022 10:15 — forked from laboon/substrate-workshop-commands.md
Commands for "Build Your Own Blockchain with Substrate"

Setup Instructions

git clone https://github.com/paritytech/substrate
cd substrate/node-template
git checkout 53df5619c0273ef226ed9a470ca863d212ac917c
./scripts/init.sh
./scripts/build.sh
cargo build
cd ..
@canonbrother
canonbrother / handle_code_137_docker.md
Created August 24, 2022 06:10 — forked from hiroaki-yamamoto/handle_code_137_docker.md
How to handle exit code 137 on docker

Problem

When you use docker with "multiple commands", you will write scripts like this:

run.sh

#!/bin/sh -e

pip install --upgrade poetry
poetry config settings.virtualenvs.create false
poetry install
@canonbrother
canonbrother / .rustfmt.toml
Created August 21, 2022 06:53 — forked from Robbepop/.rustfmt.toml
.rustfmt.toml with all configs, descriptions, parameters and defaults for version 0.7.1 of rustfmt.
# ----------------------------------------------------------------------------------
# r u s t f m t - C O N F I G
# ==================================================================================
#
# Version: 0.7.1
# Author : Robbepop <robbepop@web.de>
#
# A predefined .rustfmt.toml file with all configuration options and their
# associated description, possible values and default values for use in other
# projects.
@canonbrother
canonbrother / init.lua
Created July 4, 2022 02:49 — forked from MarioCarrion/init.lua
init.vim to init.lua migration
vim.g.mapleader = ","
vim.opt.filetype="on"
vim.opt.filetype.indent="on"
vim.opt.filetype.plugin="on"
vim.opt.encoding="utf-8"
vim.opt.syntax="on"
vim.opt.compatible=false