Skip to content

Instantly share code, notes, and snippets.

View viannaandreBR's full-sized avatar
🏠
Working from Office

Andre viannaandreBR

🏠
Working from Office
View GitHub Profile
@viannaandreBR
viannaandreBR / countries.geojson
Created April 24, 2022 00:26 — forked from ThomasG77/countries.geojson
Sample Leaflet with GeoJSON
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@viannaandreBR
viannaandreBR / clear-images.sh
Created March 10, 2022 03:56 — forked from GhazanfarMir/clear-images.sh
Single shell script to remove all containers, images and volumes used by containers. The script first tries to stop containers if there is any running, then remove the containers, followed by images removal and finally the container volumes.
#!/bin/bash
###########################################
#
# Simple Shell script to clean/remove all container/images
#
# The script will
# - first stop all running containers (if any),
# - remove containers
# - remove images
# - remove volumes
@viannaandreBR
viannaandreBR / create-pull-request.sh
Created January 9, 2022 18:20 — forked from wearhere/create-pull-request.sh
Automate creating pull requests.
#! /bin/sh
### This script automates creating a pull request
### by publishing your current topic branch to your remote,
### opening the pull request page in your browser,
### and (optionally) switching you back to your master branch
### so that you can start a new branch.
## Get arguments
# Invoke with no arguments to print usage
{
// Aplica linhas verticais para lembrar de quebrar linha em códigos muito grandes
"editor.rulers": [
80,
120
],
// Aplica um sinal visual na esquerda da linha selecionada
"editor.renderLineHighlight":"gutter",
// Configura tamanho e família da fonte
@viannaandreBR
viannaandreBR / settings.json
Created January 3, 2022 19:48 — forked from diego3g/NODE.md
VSCode Settings (Updated)
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"polacode.backgroundColor": "#6633CC",
"editor.tabSize": 2,
"editor.fontSize": 16,
@viannaandreBR
viannaandreBR / README.md
Created January 3, 2022 14:46 — forked from argentinaluiz/README.md
VSCode - Guia para configuração do ambiente com Docker
// This file was initially generated by Windows Terminal 0.11.1333.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{73225108-7633-47ae-80c1-5d00111ef646}",
// You can add more global application settings here.

Github Two-Factor Authentication (2FA) for Brazil via SMS

The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55 will be the first on the list, already selected:


🇧🇷 [pt-BR]

Autenticação em dois fatores (2FA) do GitHub para o Brasil via SMS

@viannaandreBR
viannaandreBR / git.md
Created November 7, 2021 02:09 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@viannaandreBR
viannaandreBR / settings.json
Created July 30, 2021 03:32 — forked from ChrisFrontDev/settings.json
My windows terminal Settings (Dracula theme, Fira Code w/ font ligatures on, symbols on)
// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",