Last active
May 28, 2020 22:04
-
-
Save ivorytowerdds/956f0afa48fb9778a97d3340ac52bfe6 to your computer and use it in GitHub Desktop.
harmony-emoji-4ppl
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
#!/bin/bash -x | |
[ -x `which convert` ] || { brew install imagemagick; } | |
convert \ | |
<(curl -s `curl -sL https://emojipedia.org/$1 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \ | |
<(curl -s `curl -sL https://emojipedia.org/$2 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \ | |
+append \ | |
'(' \ | |
<(curl -s `curl -sL https://emojipedia.org/$3 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \ | |
<(curl -s `curl -sL https://emojipedia.org/$4 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \ | |
+append ')' \ | |
-background none -extent x100% \ | |
-append $5.png | |
open $5.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment