Skip to content

Instantly share code, notes, and snippets.

View diegorondao's full-sized avatar
💻

Diego Rondão diegorondao

💻
View GitHub Profile
@diegorondao
diegorondao / settings.json
Last active April 22, 2024 22:34
Visual Studio Code | User | Settings
{
"breadcrumbs.enabled": false,
"diffEditor.ignoreTrimWhitespace": false,
"terminal.integrated.fontSize": 14,
"terminal.integrated.fontFamily": "FiraCode Nerd Font",
"terminal.integrated.lineHeight": 1.2,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.tabs.enabled": false,
"terminal.integrated.showExitAlert": false,
@diegorondao
diegorondao / ambiente-dev-linux.md
Last active March 2, 2023 12:40
Ambiente de desenvolvimento no Linux - Com VS Code, ZSH, Oh-my-zsh, zsh-syntax-highlighting, zsh-autosuggestions e ASDF.

Configure prettier, eslint, husky (pre commit hook), lint-staged in react + typescript project

Steps to configure prettier, eslint, husky (pre commit hook), lint-staged in react + typescript project created using create-react-app. This is opinionated configuration with airbnb's style guide as the base style guide.

Step 1 :: Setup prettier

1.1) Install prettier as dev dependency.

npm install --save-dev --save-exact prettier
@dweldon
dweldon / install-docker.sh
Last active April 8, 2022 11:18
Install docker CE on Linux Mint 18.3
#!/usr/bin/env bash
# https://docs.docker.com/install/linux/docker-ce/ubuntu/
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt-get update
sudo apt-get install docker-ce
# https://docs.docker.com/compose/install/
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 6, 2024 07:52
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@subfuzion
subfuzion / install-docker-ubuntu.md
Last active September 26, 2023 08:20
Installing Docker on Ubuntu

Installing with apt-get

#!/bin/sh
# https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88 | grep docker@docker.com || exit 1
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
@lobster1234
lobster1234 / localstack.md
Last active August 8, 2023 20:06
Working with localstack on command line

Starting localstack

C02STG51GTFM:localstack mpandit$ make infra
. .venv/bin/activate; exec localstack/mock/infra.py
Starting local dev environment. CTRL-C to quit.
Starting local Elasticsearch (port 4571)...
Starting mock ES service (port 4578)...
Starting mock S3 server (port 4572)...
Starting mock SNS server (port 4575)...
@parmentf
parmentf / GitCommitEmoji.md
Last active May 6, 2024 12:46
Git Commit message Emoji