Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| /** | |
| * | |
| * @param {array} target | |
| * @param {function} cb: (oldAcc, item, index) -> newAcc | |
| * @param {*} seed | |
| */ | |
| function reduce(target, cb, seed){ | |
| var runningAggregate = seed; | |
| target.forEach(function(item, index){ |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| margin: 0px; | |
| padding: 0px; | |
| } | |
| </style> | |
| </head> |
| #add 'node_modules' to .gitignore file | |
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin master |
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # @kyletcarlson | |
| # | |
| # This skeleton also assumes you're using the following gems: |
I'm trying to cultivate the habit of more frequent and smaller commits and find typing 3 separate commands super annoying, so I wrote a simple bash script and here's how
git push to push to your current branch as default if you haven't done so alreadygit config --global push.default current
vim ~/.bashrc (vim ~/.bash_profile for you Mac using folks), at the end of the file put in the following - you can name the short cut whatever you wantfunction gitpewpew() {
git add -A