We'll first generate a new SSH key, by running:
ssh-keygen -t rsa -b 4096 -C "[email protected]"`We'll first generate a new SSH key, by running:
ssh-keygen -t rsa -b 4096 -C "[email protected]"`| function isGetter (obj, prop) { | |
| return !!obj.__lookupGetter__(prop) | |
| } | |
| export const getInstanceMethods = (obj) => { | |
| let keys = [] | |
| let topObject = obj | |
| const onlyOriginalMethods = (p, i, arr) => { | |
| return !isGetter(topObject, p) && |
| # npm using https for git | |
| git config --global url."https://github.com/".insteadOf [email protected]: | |
| git config --global url."https://".insteadOf git:// | |
| # npm using git for https | |
| git config --global url."[email protected]:".insteadOf https://github.com/ | |
| git config --global url."git://".insteadOf https:// |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!