Skip to content

Instantly share code, notes, and snippets.

View wangchun's full-sized avatar

Chun wangchun

  • f2pool and stakefish
  • Longyearbyen, Svalbard
  • X @satofishi
View GitHub Profile
@penk
penk / README.md
Last active August 27, 2023 13:08

How to work with x86_64 binaries in the ARM64 Linux VM on top of M1 macOS Host

Let's take Qt online installer and Qt Creator as an example.

Requirements

At the time of this writing:

@gadiener
gadiener / generate-bitcoin-keys.sh
Last active September 20, 2023 22:36
OpenSSL commands to create a Bitcoin private/public keys from a ECDSA keypair
#!/bin/sh
PRIVATE_KEY="ECDSA"
PUBLIC_KEY="ECDSA.pub"
BITCOIN_PRIVATE_KEY="bitcoin"
BITCOIN_PUBLIC_KEY="bitcoin.pub"
echo "Generating private key"
openssl ecparam -genkey -name secp256k1 -rand /dev/random -out $PRIVATE_KEY