Skip to content

Instantly share code, notes, and snippets.

View flavio-ever's full-sized avatar

Flavio Ever flavio-ever

View GitHub Profile
@rponte
rponte / using-uuid-as-pk.md
Last active October 30, 2024 19:58
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

@jackblk
jackblk / .gitconfig
Last active February 10, 2024 17:47
Git automatically config for work email and personal email
[includeIf "gitdir/i:github/"]
path = .gitconfig-github
[includeIf "gitdir/i:work/"]
path = .gitconfig-work'
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active November 14, 2024 08:51
Building a react native app in WSL2
@xmeng1
xmeng1 / wsl2-network.ps1
Created July 14, 2019 06:50
WSL2 Port forwarding port to linux
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
}
@diego3g
diego3g / NODE.md
Last active November 15, 2024 15:01
VSCode Settings (Updated)

⚠️ Note!

With VSCode version 1.94, the APC extension broke and there is no fix yet.

So, for those having issues with APC after the VSCode update, I recommend downloading the previous version of VSCode for now (https://code.visualstudio.com/updates/v1_93) and setting updates to manual by adding this to the editor's configuration:

"update.mode": "manual",