Skip to content

Instantly share code, notes, and snippets.

View grippado's full-sized avatar
🤯

Gabriel Gripp grippado

🤯
View GitHub Profile
@imaginamundo
imaginamundo / Regex telefone Brasil.md
Last active January 19, 2026 01:40
Regex para padrões de telefones brasileiros com explicação e como usar

Regex para telefones do Brasil

^(55)?(?:([1-9]{2})?)(\d{4,5})(\d{4})$

const regex = /^(55)?(?:([1-9]{2})?)(\d{4,5})(\d{4})$/;

Explicação

@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active January 26, 2026 19:14
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings