I hereby claim:
- I am danactive on github.
- I am danactive (https://keybase.io/danactive) on keybase.
- I have a public key ASALO3YKBbxwt_FU6y4gQtQf-HHpgUQQg4-Agp3tLSpzawo
To claim this, I am signing this object:
| git commit --allow-empty -m "Trigger notification" |
| .yarnrc | |
| registry "https://registry.npmjs.org/" |
I hereby claim:
To claim this, I am signing this object:
| // functional programming using recursion in ES2015 syntax | |
| const flatten = (arr = []) => arr.reduce( | |
| (prev, curr) => prev.concat(Array.isArray(curr) ? flatten(curr) : curr), [] | |
| ); |
| Host github.com | |
| User git | |
| HostName github.com | |
| IdentityFile ~/.ssh/github_rsa | |
| Host bitbucket.org | |
| User git | |
| HostName bitbucket.org | |
| IdentityFile ~/.ssh/bitbucket_rsa |
| // filenames only | |
| Array.from(document.querySelectorAll('.js-navigation-open')).filter(x => x.title).map(link => link.title).join('\n') | |
| // filenames as markdown links | |
| Array.from(document.querySelectorAll('.js-navigation-open')).filter(x => x.title).map(link => `* [${link.title}](${link.title})`).join('\n') |
| // 1) Add jQuery to page. One approach is to copy and paste the jQuery minified code into developer tool console | |
| // 2) Paste this code into dev tool console | |
| var messages = new Set(); | |
| $('.commit-row:not(.merge) .message-subject').each((index, cell) => { | |
| const commitMessage = $(cell).text(); | |
| if (commitMessage.includes('JIRA-')) { | |
| console.log(commitMessage); | |
| messages.add(commitMessage.match(/JIRA-[0-9]{2,4}/g)[0]); | |
| } |
| // npm i deepmerge object-merge merge underscore --no-save | |
| const mergers = { | |
| deepmerge: require('deepmerge'), | |
| 'deepmerge.all': (...args) => require('deepmerge').all(args), | |
| 'object-merge': require('object-merge'), | |
| 'Object.assign': Object.assign, | |
| merge: require('merge'), | |
| 'merge (recursive)': require('merge').recursive, | |
| spread: (...args) => ({ ...args[0], ...args[1], ...args[2] }), |