Skip to content

Instantly share code, notes, and snippets.

View AlissonEnz's full-sized avatar
🏠
Working from home

Alisson Enz Rossi AlissonEnz

🏠
Working from home
View GitHub Profile
@AlissonEnz
AlissonEnz / brokers.json
Created May 29, 2020 00:44
Lista de corretoras da B3 em JSON
{
"1": "MAGLIANO S.A.CCVM",
"3": "XP INVESTIMENTOS CCTVM S/A",
"4": "ALFA CCVM S.A.",
"8": "UBS BRASIL CCTVM S/A",
"13": "MERRILL LYNCH S/A CTVM",
"15": "GUIDE INVESTIMENTOS S.A.CV",
"16": "J.P.MORGAN CCVM S.A.",
"18": "BOCOM BBM CCVM S/A",
"21": "VOTORANTIM ASSET MANAG.DTVM",
@AlissonEnz
AlissonEnz / functionsDeploy.js
Created March 18, 2020 00:00
Firebase Batch Deploy Functions
// Firebase Batch Functions Deploy (Alisson Enz)
// This script helps firebase users deploy their functions when they have more than 60 functions and
// it's not allowed to deploy all using `firebase deploy --only functions` due deployment quota.
// This script will get your functions export from index.js and deploy in batches of 30 and wait 30 seconds.
// This script will NOT delete your function when removed from index.js.
// Instructions
// 0. This instructions suppose that you already have firebase-tools installed and is logged to your account;
// 1. Install `shelljs` (npm install -g shelljs);