Skip to content

Instantly share code, notes, and snippets.

View guilhermedecampo's full-sized avatar
👩‍🚀
Lets go 🚀

Guilherme Decampo guilhermedecampo

👩‍🚀
Lets go 🚀
View GitHub Profile
https://cloud-ecs.gravityzone.bitdefender.com/Packages/BSTWIN/0/setupdownloader_%5BaHR0cHM6Ly9jbG91ZC1lY3MuZ3Jhdml0eXpvbmUuYml0ZGVmZW5kZXIuY29tL1BhY2thZ2VzL0JTVFdJTi8wL1VSeFN3bi9pbnN0YWxsZXIueG1sP2xhbmc9ZW4tVVM=%5D.exe
@guilhermedecampo
guilhermedecampo / nubank-csv-web-downloader.md
Last active June 21, 2020 19:56
A better Nubank csv web downloader using chrome dev tools

Nicer CSV download of nubank data

Function

function downloadNubankCSV({ date }) {
  const transactions = angular.element(document.body).injector().get('Bills').all.map(bill => bill.more.line_items).flat()
  const regExp = new RegExp(date, 'g')
  const csv = transactions
 // filtering wanted/unwanted datapoints

A great Egyptian pharaoh summons his two young nephews, Chuma and Azur, and commissions them to a monumental task: Build two massive pyramids as a tribute to Egypt. Upon completion, the pharaoh promised them kingship and riches for their remaining days. The only condition is that they must construct it without the help of anyone else.

Chuma and Azur are both young, ambitious, and up for the challenge.

Azur gets to work immediately. He drags heavy stones into a square formation, and in a few months completes the foundation of the pyramid. Townspeople cheer him on and commend his hard work.

But Azur is confused. When he looks over to where Chuma’s pyramid is supposed to be, he only sees an empty lot.

He goes to visit Chuma, only to find him working on a twisted apparatus that resembles some kind of a human torture device.

@guilhermedecampo
guilhermedecampo / multiple-push-urls.md
Created February 1, 2019 12:24 — forked from bjmiller121/multiple-push-urls.md
Add multiple push URLs to a single git remote

Sometimes you need to keep two upstreams in sync with eachother. For example, you might need to both push to your testing environment and your GitHub repo at the same time. In order to do this simultaneously in one git command, here's a little trick to add multiple push URLs to a single remote.

Once you have a remote set up for one of your upstreams, run these commands with:

git remote set-url --add --push [remote] [original repo URL]
git remote set-url --add --push [remote] [second repo URL]

Once set up, git remote -v should show two (push) URLs and one (fetch) URL. Something like this:

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@guilhermedecampo
guilhermedecampo / packages.md
Created February 25, 2017 20:57
Meteor-Cordova - Use this version of inappbrowser to fix the problem with close window.
@guilhermedecampo
guilhermedecampo / learning.md
Last active January 7, 2017 23:42 — forked from sibelius/learning.md
Learning Path React Native

Basics

Learn Navigation

@guilhermedecampo
guilhermedecampo / iterm2.md
Created November 20, 2016 19:22
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
const json = fetch(jsonURL)
const namesColumnTable = _.keys(json);
const totalRows = _.reduce(json, (acc, value) => {
const arrayLength = _.values(value)[0].length;
return arrayLength > acc ? arrayLength : acc;
}, 0);
const rows = [];
@guilhermedecampo
guilhermedecampo / deploy.sh
Created May 9, 2015 00:50
Manual script to deploy meteor apps before meteor up
#!/bin/bash
set -e -x
#Declarations
################Declarations###############
# App name
APP_NAME=yourapp