Skip to content

Instantly share code, notes, and snippets.

@binaryphile
Last active January 2, 2016 20:49
Show Gist options
  • Save binaryphile/8359515 to your computer and use it in GitHub Desktop.
Save binaryphile/8359515 to your computer and use it in GitHub Desktop.
function silkroad; curl -s 'https://blockchain.info/address/1FfmbHfnpaZjKFvyi1okTjJJusN455paPH?filter=1' | hxnormalize -x | hxselect 'tx_container'; echo; curl -s 'https://blockchain.info/address/1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX?filter=1' | hxnormalize -x | hxselect 'tx_container'; end
@binaryphile
Copy link
Author

You have to install curl and html-xml-utils for this to work.

On Linux, it's "sudo apt-get install curl html-xml-utils".

This is also written in fish. In bash, you'd use alias instead of function, substitute &&'s for the semicolons and drop end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment