Skip to content

Instantly share code, notes, and snippets.

@hongster
Last active July 2, 2021 03:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hongster/2d6db3c393bdff864ef4c7d36e166154 to your computer and use it in GitHub Desktop.
Wrapper for Cli.Fyi
#!/bin/sh
me="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
if [ $1 ]
then
curl "https://cli.fyi/$1"
else
echo "Try these👇
$me BTC
$me john.doe@10minutemail.com
$me 8.8.8.8
$me https://youtu.be/ahkR4a184Gs
$me me
$me github.com
$me hash/HelloWorld
$me time
$me emojis
$me help"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment