Skip to content

Instantly share code, notes, and snippets.

View leotsgo's full-sized avatar

Leonardo Bermejo leotsgo

View GitHub Profile
@leotsgo
leotsgo / install.sh
Created December 7, 2023 12:46
install commitizen
#!/bin/bash
echo -n "⏰ Verificando dependencias..."
if ! which node > /dev/null; then
echo -e "\r❌ Node não instalado. Por favor instale o NodeJS para prosseguir com a instalação"
exit 1
fi
echo -e "\r✅ NodeJS está instalado corretamente!"
CURRENT_DIR=$(pwd)
@leotsgo
leotsgo / redux.md
Last active June 14, 2022 11:28
Redux CheckList

Checklist do react-redux

Preparado pelo Diegão, pessoa instrutora na T14A Trybe https://github.com/DiegoCampos1

Antes de começar

  • pensar como será o formato do seu estado global
  • pensar quais actions serão necessárias na sua aplicação

Instalação

  • npx create-react-app my-app-redux;
  • npm install --save redux react-redux;

Keybase proof

I hereby claim:

  • I am leonardodiber on github.
  • I am leonardodiber (https://keybase.io/leonardodiber) on keybase.
  • I have a public key ASASaOcNFtpQxiIhA0uEyED9w92ICe1QRZMO3_vTTL8CAwo

To claim this, I am signing this object:

@leotsgo
leotsgo / gpg-ssh-setup.md
Created September 9, 2021 13:53 — forked from mcattarinussi/gpg-ssh-setup.md
A setup guide to use a personal gpg key for ssh authentication

GPG - SSH setup

Generating the master key

Here we create the master key. We want only Certify capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate capabilities will be assigned to the subkeys.

Run the following command to start the master key generation process. Select the set your own capabilities creation process (type 8)

  ▶ gpg --full-generate-key --expert

gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.