Skip to content

Instantly share code, notes, and snippets.

@JiriChara
Created September 12, 2012 09:14
Show Gist options
  • Save JiriChara/3705457 to your computer and use it in GitHub Desktop.
Save JiriChara/3705457 to your computer and use it in GitHub Desktop.
ALL CREDIT CARD PIN CODES IN THE WORLD (node.js)
function p(a){return (5+a+"").slice(-5)};for(i=0;i<=9999;i++){i%9?process.stdout.write(p(i+"\t")):process.stdout.write(p(i+"\n"))}
function z(g){process.stdout.write(g)}function p(a){return (5+a+"").slice(-5)};for(i=0;i<=9999;i++){i%9?z(p(i+"\t")):z(p(i+"\n"))}
@JiriChara
Copy link
Author

echo -n 'function p(a){return (5+a+"").slice(-5)};for(i=0;i<=9999;i++){i%9?process.stdout.write(p(i+"\t")):process.stdout.write(p(i+"\n"))}' | wc -m
# => 128

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