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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@viannaandreBR
viannaandreBR / githubcard.svg
Created January 8, 2022 00:58
Githubcard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
// 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 / .wslconfig
Last active November 10, 2024 19:14
.wslconfig
# Settings apply across all Linux distros running on WSL 2
# https://docs.microsoft.com/pt-br/windows/wsl/wsl-config
[wsl2]
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
#memory=4GB
memory=4GB
# Sets the VM to use two virtual processors
#processors=2
@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,