Skip to content

Instantly share code, notes, and snippets.

@nesterenkodm
Created November 15, 2023 12:41
Show Gist options
  • Save nesterenkodm/f8a82abc7d8a4b3c92360ddc9414440c to your computer and use it in GitHub Desktop.
Save nesterenkodm/f8a82abc7d8a4b3c92360ddc9414440c to your computer and use it in GitHub Desktop.
#!/bin/sh
ADJECTIVE=`curl https://random-word-form.repl.co/random/adjective | python3 -c "import sys, json; print(json.load(sys.stdin)[0])"`
NOUN=`curl https://random-word-form.repl.co/random/noun | python3 -c "import sys, json; print(json.load(sys.stdin)[0])"`
echo $ADJECTIVE $NOUN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment