Skip to content

Instantly share code, notes, and snippets.

@wolandark
Created August 29, 2023 07:42
Show Gist options
  • Save wolandark/07bca4eeebb5188daadd0f530b5a12e8 to your computer and use it in GitHub Desktop.
Save wolandark/07bca4eeebb5188daadd0f530b5a12e8 to your computer and use it in GitHub Desktop.
# Get a load of Loremipsum from your shell using curl:
curl https://www.lipsum.com/feed/json | jq -r '.feed.lipsum'
# Get a load of AI generated occult mystical gibberish from your shell using curl:
curl https://woland.tilde.team/mysticipsum.txt
# Its possible to add a function to your shellrc that does both.
#!/bin/sh
ipsum(){
if [ $1 = -m ]; then
curl https://woland.tilde.team/mysticipsum.txt
else
curl https://www.lipsum.com/feed/json | jq -r '.feed.lipsum'
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment