Skip to content

Instantly share code, notes, and snippets.

View vanessa-carvalho-dev's full-sized avatar
👩‍💻

Vanessa Carvalho vanessa-carvalho-dev

👩‍💻
View GitHub Profile
@EdnilsonRobert
EdnilsonRobert / ssh.md
Created August 23, 2019 00:53
Múltiplas chaves SSH para GitHub e GitLab

Múltiplas chaves SSH para GitHub e GitLab

1. Gerar Chaves SSH

ssh-keygen -t rsa -C "user@email.com" -b 4096 -f ~/.ssh/id_rsa_github
ssh-keygen -t rsa -C "user@email.com" -b 4096 -f ~/.ssh/id_rsa_gitlab

2. Copiar chaves para GitHub e GitLab

@ivanrosolen
ivanrosolen / conventional_commits.md
Last active August 15, 2024 12:25 — forked from CesarDenis/CONTRIBUTING.md
Guia para mensagens de commits

Guia para mensagens de commits

Formato da mensagem

Cada mensagem de commit consiste em um cabeçalho, um corpo e um rodapé.

Cabeçalho

Tem um formato pré-definido, que inclui um tipo e um título:

@NigelEarle
NigelEarle / Knex-Migrations-Seeding.md
Last active September 24, 2024 14:34
Migration and seeding instructions using Knex.js!

Migrations & Seeding

What are migrations??

Migrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using knex command line tool.

To learn more about migrations, check out this article on the different types of database migrations!

Creating/Dropping Tables