Skip to content

Instantly share code, notes, and snippets.

View MarioRinaldi's full-sized avatar

Mario Felipe Rinaldi MarioRinaldi

View GitHub Profile
@MarioRinaldi
MarioRinaldi / gpg-ssh-setup.md
Created May 7, 2022 05:52 — 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.

How we incorporate next and cloudfront (2018-04-21)

Feel free to contact me at [email protected] or tweet at me @statisticsftw

This is a rough outline of how we utilize next.js and S3/Cloudfront. Hope it helps!

It assumes some knowledge of AWS.

Goals

@MarioRinaldi
MarioRinaldi / settings.json
Created September 5, 2020 00:15
VSCODE settings
{
"launch": {
"configurations": [],
"compounds": []
},
"git.autofetch": true,
// "git.path": "C:\\Users\\lalor\\AppData\\Local\\wslgit.exe",
"[git-commit]": {
"editor.rulers": [
@MarioRinaldi
MarioRinaldi / WSL.txt
Last active July 20, 2021 19:51
WSL: settings windows terminal
1) instalar WSL1 e alterar para WSL2 (https://docs.microsoft.com/pt-br/windows/wsl/)
2) instalar MS terminal (https://docs.microsoft.com/pt-br/windows/terminal/)
2.1) Seguir o seguinte powerUp do MS terminal+WSL (https://twasa.ml/post/wsl/)
2.1.1) instalar ZSH no WSL
2.1.2) instalar o "oh my ZSH" (https://ohmyz.sh/)
2.2) Ajustar o settings.json do MS terminal (https://gist.github.com/MarioRinaldi/bd871231936e92ae2670825f8dc9ee5c)
@MarioRinaldi
MarioRinaldi / js-terms.md
Created August 24, 2020 21:50 — forked from AllThingsSmitty/js-terms.md
10 terms to help you better understand JavaScript

10 JavaScript Terms You Should Know

From currying to closures there are quite a number of special words used in JavaScript. These will not only help you increase your vocabulary but also better understand JavaScript. Special terms are normally found in documentation and technical articles. But some of them like closures are pretty standard things to know about. Knowing what the word itself means can help you know the concept it's named for better.

  1. Arity
  2. Anonymous
  3. Closure
  4. Currying
  5. Hoisting
  6. Mutation

Keybase proof

I hereby claim:

  • I am mariorinaldi on github.
  • I am mariorinaldi (https://keybase.io/mariorinaldi) on keybase.
  • I have a public key ASDBkf-PEghQP2BZRFdmET1lXJeyAfP8s7o5R9mx5kglGgo

To claim this, I am signing this object:

// package.json
{
"devDependencies": {
"eslint": "4.9.0",
"eslint-config-airbnb-base": "9.0.0",
"eslint-plugin-import": "2.0.1",
"git-validate": "2.2.4",
"lint-staged": "^8.1.7",
"prettier-eslint-cli": "^4.7.1"
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
@MarioRinaldi
MarioRinaldi / cloudSettings
Last active July 9, 2019 14:09
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-07T16:17:07.368Z","extensionVersion":"v3.2.9"}
@MarioRinaldi
MarioRinaldi / README-Template.md
Created February 7, 2019 21:29 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites