Skip to content

Instantly share code, notes, and snippets.

@bodqhrohro
Last active August 29, 2015 14:24
Show Gist options
  • Save bodqhrohro/37d06d3e58bf34aac066 to your computer and use it in GitHub Desktop.
Save bodqhrohro/37d06d3e58bf34aac066 to your computer and use it in GitHub Desktop.
Simple wrapper for bytebeat
#!/bin/sh
echo "main(t){for(t=0;;++t)putchar($1);}" > /tmp/bytebeat.c
gcc /tmp/bytebeat.c -w -std=c11 -o /tmp/bytebeat
chmod +x /tmp/bytebeat
/tmp/bytebeat|aplay -q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment