Skip to content

Instantly share code, notes, and snippets.

View alexandremucci's full-sized avatar

Alexandre Mucci alexandremucci

View GitHub Profile
@rponte
rponte / using-uuid-as-pk.md
Last active February 27, 2025 23:46
Não use UUID como PK nas tabelas do seu banco de dados

Pretende usar UUID como PK em vez de Int/BigInt no seu banco de dados? Pense novamente...

TL;TD

Não use UUID como PK nas tabelas do seu banco de dados.

Um pouco mais de detalhes

@nrollr
nrollr / nginx.conf
Last active February 22, 2025 10:42
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration