Skip to content

Instantly share code, notes, and snippets.

@pchw
Forked from hokaccha/sushi
Last active August 29, 2015 14:00
Show Gist options
  • Save pchw/836ee8b4af921662f58a to your computer and use it in GitHub Desktop.
Save pchw/836ee8b4af921662f58a to your computer and use it in GitHub Desktop.
node ver
$ node -e 'C=process.stdout.columns;S="\ud83c\udf63";console.log("\033[2J");a={};while(true){a[Math.random()*C|0]=0;for(x in a){o=a[x];a[x]+=1;console.log("\033["+o+";"+x+"H \033["+a[x]+";"+x+"H"+S+" \033[0;0H");}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment