Created
January 21, 2021 16:15
-
-
Save mutatrum/9b2eecfe95dddeea2a778d99aa9c20f4 to your computer and use it in GitHub Desktop.
Get bitcoin.pdf from the bitcoin blockchain in one line
This file contains 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
bitcoin-cli getrawtransaction 54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713 | sed 's/0100000000000000/\n/g' | tail -n +2 | cut -c7-136,139-268,271-400 | tr -d '\n' | cut -c17-368600 | xxd -p -r > bitcoin.pdf |
For fun, this is the bash history on how I got to the oneliner:
Love this! 😂
For fun, this is the bash history on how I got to the oneliner:
Love this!
Proof of work matters. 😉
goat!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For fun, this is the bash history on how I got to the oneliner: