Skip to content

Instantly share code, notes, and snippets.

@MateusAquino
Last active May 5, 2023 14:33
Show Gist options
  • Save MateusAquino/d7805f555a7e7cacf7ed0809ca74d5d0 to your computer and use it in GitHub Desktop.
Save MateusAquino/d7805f555a7e7cacf7ed0809ca74d5d0 to your computer and use it in GitHub Desktop.

:peepo-love: Emj Cheat Sheet (Slack → Github)

Esse é um cheat sheet com alguns emojis da Finbits para utilizar em PRs, issues e comentários: use com moderação :thumbsup-parrot:

:term: Bash

Alternativamente, você pode colocar a função abaixo no seu .zshrc para facilitar a busca e/ou copiar o <img> direto:

function emj() {
  raw="${1//:/}"
  companyid="T02BNKN7B1B" # substituir pelo id da empresa/grupo do slack
  emoji="${raw:-rainbowdance}" # substituir rainbowdance por um emoji default
  width="${2:-20}"
  url="<img alt=\":$emoji:\" title=\":$emoji:\" src=\"https://emoji.slack-edge.com/$companyid/$emoji/724fa971d8bdf19d.png\" width=\"$width\"/>"

  echo $url
  # Ou use o echo abaixo para copiar p/ clipboard direto:
  # echo -n $url | xclip -selection clipboard
}
USAGE:
    emj [emoji] [width]

EXAMPLES:
emj
emj peepo-love
emj :peepo-love:
emj peepo-love 16

:pepe_sunglasses: Cheat

Image Emoji HTML
:peepo-love:
:peepo-love:
<img alt=":peepo-love:" title=":peepo-love:" src="https://emoji.slack-edge.com/T02BNKN7B1B/peepo-love/724fa971d8bdf19d.png" width="20"/>
:thumbsup-parrot:
:thumbsup-parrot:
<img alt=":thumbsup-parrot:" title=":thumbsup-parrot:" src="https://emoji.slack-edge.com/T02BNKN7B1B/thumbsup-parrot/724fa971d8bdf19d.png" width="20"/>
:extremamente-facil:
:extremamente-facil:
<img alt=":extremamente-facil:" title=":extremamente-facil:" src="https://emoji.slack-edge.com/T02BNKN7B1B/extremamente-facil/724fa971d8bdf19d.png" width="20"/>
:review-pls:
:review-pls:
<img alt=":review-pls:" title=":review-pls:" src="https://emoji.slack-edge.com/T02BNKN7B1B/review-pls/724fa971d8bdf19d.png" width="20"/>
:review-plz-dog:
:review-plz-dog:
<img alt=":review-plz-dog:" title=":review-plz-dog:" src="https://emoji.slack-edge.com/T02BNKN7B1B/review-plz-dog/724fa971d8bdf19d.png" width="20"/>
:peepowave:
:peepowave:
<img alt=":peepowave:" title=":peepowave:" src="https://emoji.slack-edge.com/T02BNKN7B1B/peepowave/724fa971d8bdf19d.png" width="20"/>
:alert:
:alert:
<img alt=":alert:" title=":alert:" src="https://emoji.slack-edge.com/T02BNKN7B1B/alert/724fa971d8bdf19d.png" width="20"/>
:pepe-goose-ride:
:pepe-goose-ride:
<img alt=":pepe-goose-ride:" title=":pepe-goose-ride:" src="https://emoji.slack-edge.com/T02BNKN7B1B/pepe-goose-ride/724fa971d8bdf19d.png" width="20"/>
:pepe-lurk:
:pepe-lurk:
<img alt=":pepe-lurk:" title=":pepe-lurk:" src="https://emoji.slack-edge.com/T02BNKN7B1B/pepe-lurk/724fa971d8bdf19d.png" width="20"/>
:thinking:
:thinking:
<img alt=":thinking:" title=":thinking:" src="https://emoji.slack-edge.com/T02BNKN7B1B/thinking/724fa971d8bdf19d.png" width="20"/>
:sadpanda:
:sadpanda:
<img alt=":sadpanda:" title=":sadpanda:" src="https://emoji.slack-edge.com/T02BNKN7B1B/sadpanda/724fa971d8bdf19d.png" width="20"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment