Skip to content

Instantly share code, notes, and snippets.

View diegorondao's full-sized avatar
💻

Diego Rondão diegorondao

💻
View GitHub Profile
@diegorondao
diegorondao / docker-compose.yml
Created July 31, 2024 20:45
Análise de código com SonarQube + Docker + .NET Core
version: '3'
services:
postgresql:
image: bitnami/postgresql:latest
ports:
- '5444:5432'
volumes:
- 'postgresql_data:/bitnami/postgresql'
environment:
@diegorondao
diegorondao / settings.json
Last active July 31, 2024 20:46
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 June 10, 2024 17:33
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 November 4, 2024 13:14
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 June 25, 2024 19:13
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 November 4, 2024 09:40
Git Commit message Emoji