Created
November 21, 2019 14:10
-
-
Save floooh/4a6e035236f74513ea6cfdd6578eea9d to your computer and use it in GitHub Desktop.
encode C64 PRG file in URL and open in browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# usage on Mac (assuming 'chmod u+x c64.sh'): | |
# | |
# ./c64.sh [PRG filename] | |
# | |
open $(base64 $1 | php -r "echo 'https://floooh.github.com/tiny8bit/c64.html?prg='.urlencode(fgets(STDIN));") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment