Skip to content

Instantly share code, notes, and snippets.

@zapthedingbat
Created November 29, 2019 11:01
Show Gist options
  • Save zapthedingbat/a08de339a565e9aa04dcdd5535f24963 to your computer and use it in GitHub Desktop.
Save zapthedingbat/a08de339a565e9aa04dcdd5535f24963 to your computer and use it in GitHub Desktop.
console.log(process.argv.slice(2).map(b=>[...b].reduce((a,b)=>2*a+("."==b?1:2),0)).map(a=>"-etianmsurwdkgohvf-l-pjbxcyzq--54-3---2--+----16=/-----7---8-90"[a]).join(''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment