Last active
April 30, 2020 12:15
-
-
Save plasticine/f06be5e0f55793ca05104a833fbfa861 to your computer and use it in GitHub Desktop.
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 | |
set -euo pipefail | |
plasticine() { | |
[[ -z ${ITS_ME:-} ]] && { | |
echo "MAKING A NETWORK CALL!!!" | |
ITS_ME=$(curl -sSL https://api.github.com/users/plasticine) | |
} | |
plasticine() { | |
echo ${ITS_ME:-} | jq -r "$1" | |
} | |
plasticine "$1" | |
} | |
plasticine ".name" | |
plasticine ".bio" | |
plasticine ".avatar_url" |
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
MAKING A NETWORK CALL!!! | |
Justin Morris | |
Code @ferocia, previously @buildkite & @conversation | |
https://avatars0.githubusercontent.com/u/18076?v=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment