Skip to content

Instantly share code, notes, and snippets.


Guilherme Decampo guilhermedecampo

View GitHub Profile
guilhermedecampo /
Last active Jun 21, 2020
A better Nubank csv web downloader using chrome dev tools

Nicer CSV download of nubank data


function downloadNubankCSV({ date }) {
  const transactions = angular.element(document.body).injector().get('Bills') => 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 /
Created Feb 1, 2019 — forked from bjmiller121/
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 /
Created Feb 25, 2017
Meteor-Cordova - Use this version of inappbrowser to fix the problem with close window.
guilhermedecampo /
Last active Jan 7, 2017 — forked from sibelius/
Learning Path React Native


  • Learn how to start a new react native project
  • Run it on ios simulator, on android emulator, on a real iPhone device and on a real Android device, with and without debugging enabled.
  • Learn how to upgrade a react native project
  • Learn how to add a package to the project
  • Learn how to add a package that has a native dependency (, - DO NOT USE COCOAPODS

Learn Navigation


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 + ] , + [
View create_list.js
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 /
Created May 9, 2015
Manual script to deploy meteor apps before meteor up
set -e -x
# App name
View .hound.yml
config_file: .jshintrc
enabled: true
You can’t perform that action at this time.