Skip to content

Instantly share code, notes, and snippets.

@ivorytowerdds
Last active May 28, 2020 22:04
Show Gist options
  • Save ivorytowerdds/956f0afa48fb9778a97d3340ac52bfe6 to your computer and use it in GitHub Desktop.
Save ivorytowerdds/956f0afa48fb9778a97d3340ac52bfe6 to your computer and use it in GitHub Desktop.
harmony-emoji-4ppl
#!/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