kblhmgw ktolhbtw vghwhdh hifwoefe eitwb Biig mprwbss hsuwbvwe kyudmate Heprweb swedwzq hrszkhg ffnlipqm pprhstobr grsgvizr urszggbl sifkdctg gideosvg bdjmhh cajvwvus aubmjsey xnodwqkq iqsixx eiagpmwv gmmgpoll yvqztiuen hgppof hghmenifi pwouubavf ucvuajmuh aubdga Oslhta hvgtme |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S pipenv run python3 | |
# -*- coding: utf-8 -*- | |
# | |
# (c) Copyright 2023 by Narcelio Filho <[email protected]> | |
import aiorpcx | |
import asyncio | |
import sys | |
import traceback |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# based on https://gist.github.com/mutatrum/264cfa84af5fc3dc0b107bcb3ba10893 | |
BLOCKCHAININFO=`bitcoin-cli getblockchaininfo` | |
TAPROOT=`echo $BLOCKCHAININFO | jq .softforks.taproot.bip9` | |
SINCE=`echo $TAPROOT | jq .since` | |
ELAPSED=`echo $TAPROOT | jq .statistics.elapsed` | |
for BLOCK in $(seq $SINCE $((SINCE + ELAPSED - 1))); do | |
HASH=`bitcoin-cli getblockhash $BLOCK` | |
HEADER=`bitcoin-cli getblockheader $HASH` | |
VERSION=`echo $HEADER | jq .version` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 16XP13DeBoDQTwLTL8Rem2RqWWzdeYsq3b https://explorer.blockstack.org/address/16XP13DeBoDQTwLTL8Rem2RqWWzdeYsq3b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# (c) Copyright 2017 by Narcelio Filho <[email protected]> | |
from PIL import Image | |
from PIL import ImageOps | |
import numpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# (c) Copyright 2017 by Narcelio Filho <[email protected]> | |
# pip install git+https://github.com/petertodd/python-bitcoinlib | |
import bitcoin.rpc | |
import socket |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# pip3 install python-bitcoinlib | |
import bitcoin.rpc | |
import re | |
node = bitcoin.rpc.Proxy() | |
for height in range(480000, node.getblockcount()): |
Type | Data |
---|---|
Raw text | 37.790029, -122.40084 |
Raw bytes | a7 2f d1 82 9f 2d 21 2e 8e 33 2f aa 8a 35 0e 0b 81 1c |
Barcode format | DATA_MATRIX |
Parsed Result | Type TEXT |
Parsed Result | 37.790029, -122.40084 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib import pyplot | |
from matplotlib import cm | |
import numpy | |
data = '010101010101010101011110111010101100001001101110110011000010001101110010011100001001100011000101110111100000010100101111001111011110001000101000010001110110111111001100101100101000011000011110110011000111001000101110001100100101010011010011011011110000011111111000010011001001111111101100000101011100011111000000000000000000' | |
data = list(data) | |
pyplot.imsave('datamatrix.png', numpy.array(data).reshape(18,18), cmap=cm.gray) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 7z x 533d.7z | |
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 | |
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz (1067A),ASM) | |
Scanning the drive for archives: | |
1 file, 726 bytes (1 KiB) | |
Extracting archive: 533d.7z | |
-- |
NewerOlder