Created
April 11, 2020 13:03
-
-
Save psychoslave/1f4b5626c6276dd5b82a5ec8fe03edfa to your computer and use it in GitHub Desktop.
A shell/javascript polyglot programs
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
| #!/usr/bin/env sh | |
| # Taken from https://stackoverflow.com/a/34534006/1307778 | |
| ':' //; exec "$(command -v gjs)" "$0" "$@" | |
| ~function(){ ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment