use git diff to generate file list
git diff --name-only master
add ext filter
use git diff to generate file list
git diff --name-only master
add ext filter
| // import `thirdPartyFunction` as a member of the imported module | |
| import * as myDependency from 'my-dependency' | |
| export default myTestableFunction(arg1) { | |
| // and call `thirdPartyFunction` as a member of the imported module | |
| myDependency.thirdPartyFunction(arg1) | |
| } |
| # Put this in your .zshrc or .bashrc file | |
| # Install `tree` first — brew install tree | |
| function t() { | |
| # Defaults to 3 levels deep, do more with `t 5` or `t 1` | |
| # pass additional args after | |
| tree -I '.git|node_modules|bower_components|.DS_Store' --dirsfirst --filelimit 15 -L ${1:-3} -aC $2 | |
| } |
| /* bling.js */ | |
| window.$ = document.querySelector.bind(document); | |
| window.$$ = document.querySelectorAll.bind(document); | |
| Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); }; | |
| NodeList.prototype.__proto__ = Array.prototype; | |
| NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); }; |
| 56k: "https://123.campfirenow.com/images/56k.gif" | |
| bell: ":bell:" | |
| bezos: ":laughing::thought_balloon:" | |
| bueller: "anyone?" | |
| butts: ":open_hands: :smoking:" | |
| clowntown: "https://123.campfirenow.com/images/clowntown.gif" | |
| cottoneyejoe: ":notes::hear_no_evil::notes:" | |
| crickets: "hears crickets chirping" | |
| dadgummit: "dad gummit!! :fishing_pole_and_fish:" | |
| dangerzone: "https://123.campfirenow.com/images/dangerzone.png" |