This file contains 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 bash | |
# This script makes a request to the GroQ API with a role of a kid on a playground. | |
# Comment this line if you want to receive the GroQ API key from the environment variable where this program is ran (not recommended). | |
# Get an API key for free here: https://console.groq.com/keys | |
GROQ_API_KEY="<GROQ_API_KEY>" | |
echo 'Warning: Remember, this AI is just a kid, so the only things he can talk of are playground and games.' | |
if [[ $# -lt 1 ]];then |
This file contains 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 python3 | |
import requests as req | |
listUrl = 'https://api.github.com/gists/public' | |
rawGists = req.get(listUrl).json()[:30] | |
gists = {} | |
for gist in rawGists: | |
files = {} |
This file contains 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
void main() { | |
for (int i = 0; i < 5; i++) { | |
print('hello ${i + 2}'); | |
} | |
} |