This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global user.name "Guilherme Ventura" | |
| git config --global user.email "[email protected]" | |
| git config --global push.default simple | |
| git config --global color.ui true | |
| git config --global alias.s status | |
| git config --global alias.c checkout | |
| git config --global alias.co checkout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://github.com/lodash/lodash/issues/1696 | |
| import {clone, setWith, curry} from 'lodash/fp'; | |
| // export const setIn = curry((path, value, obj) => | |
| // setWith(clone, path, value, clone(obj)), | |
| // ); | |
| export const setIn = curry((obj, path, value) => | |
| setWith(clone, path, value, clone(obj)), | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function YNABAccounts(accessToken, budgetId) { | |
| const accounts = _getBudgetAccounts(accessToken, budgetId); | |
| if(accounts == null) { | |
| return null; | |
| } | |
| const columns = ["Name", "Type", "Budget", "Closed", "Balance"]; | |
| const rows = accounts.map(function (acc) { | |
| return [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onOpen() { | |
| var sheet = SpreadsheetApp.getActiveSpreadsheet(); | |
| var entries = [{ | |
| name : "Refresh Categories", | |
| functionName : "refresh_ynab_categories" | |
| }]; | |
| sheet.addMenu("YNAB", entries); | |
| }; | |
| function refresh_ynab_categories() { |
OlderNewer