Skip to content

Instantly share code, notes, and snippets.

@hvmonteiro
Created July 19, 2017 17:37
Show Gist options
  • Save hvmonteiro/70cf25fd0a26b5eb3e6f1aff3e46deb2 to your computer and use it in GitHub Desktop.
Save hvmonteiro/70cf25fd0a26b5eb3e6f1aff3e46deb2 to your computer and use it in GitHub Desktop.
Make Firefox read from "stdin" in Linux
echo '<h1>hello, world</h1>' |firefox "data:text/html;base64,$(base64 -w 0 <&0)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment