Created
December 9, 2020 18:02
-
-
Save aadityabhatia/426b928798833fd2aabd38e79667ac53 to your computer and use it in GitHub Desktop.
generate a unique gravatar robohash icon
This file contains hidden or 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
#!/bin/bash | |
[email protected] | |
md5=$(printf $EMAIL | md5sum | tr -cd '0-9a-f') | |
echo "https://www.gravatar.com/avatar/$md5?s=200&forcedefault=y&d=robohash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment