Skip to content

Instantly share code, notes, and snippets.

@nobeans
Created July 27, 2011 15:40
Show Gist options
  • Save nobeans/1109641 to your computer and use it in GitHub Desktop.
Save nobeans/1109641 to your computer and use it in GitHub Desktop.
// http://golf.shinh.org/
// 46 byte: $ cat input.txt | groovy -n arecibo.groovy
line.findAll('.'*23){println it.tr('01','.#')}
// 56 byte: $ cat input.txt | groovy arecibo.groovy
System.in.text.findAll('.'*23){println it.tr('01','.#')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment