Skip to content

Instantly share code, notes, and snippets.

@butackle
Last active April 7, 2018 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save butackle/29838c9eb5475144cb74ec0049e017d4 to your computer and use it in GitHub Desktop.
Save butackle/29838c9eb5475144cb74ec0049e017d4 to your computer and use it in GitHub Desktop.
node -e 'require("child_process").exec("curl parrot.live", { timeout:3000 }, (e, stdout) => !require("fs").writeFileSync("1.txt", stdout) && !`${ require("fs").readFileSync("1.txt") }`.split("\n").reduce((p,v,i) => !(i % 18) ? [...p, `${ v }`, ] : [...p.slice(0, p.length-1), `${ p[p.length-1] }\n${ v }`], []).forEach((v,j) => setTimeout(() => console.clear() || console.log(v),50*j) ))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment