Skip to content

Instantly share code, notes, and snippets.

View d-gubert's full-sized avatar
👽

Douglas Gubert d-gubert

👽
View GitHub Profile

Keybase proof

I hereby claim:

  • I am d-gubert on github.
  • I am dgubert (https://keybase.io/dgubert) on keybase.
  • I have a public key ASCZ0aEn84HN2G7-Uf72q4-8YTO7v0tspUVsHR_8GhyTwwo

To claim this, I am signing this object:

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@d-gubert
d-gubert / nubank_extractor.js
Created February 16, 2016 00:08
A script to extract your data from NuBank to a .csv file
(function() {
'use strict';
class NuBankExtractor {
constructor() {
this.transactionsByDate = new Map();
this.maxDate = new Date();
}
getDataFrom(link, promiseMethods, method) {