Created
November 21, 2019 13:54
-
-
Save floooh/738b54515398fb8e5ee2801dbaac9cb1 to your computer and use it in GitHub Desktop.
Bash one liner to encode C64 PRG file into URL.
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
# | |
# c64url.sh | |
# | |
# on Mac run this to encode a PRG file into a URL and copy URL into clipboard: | |
# | |
# sh c64url.sh [PRG filename] | pbcopy | |
# | |
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