Good to note:
- How promises were chained with array.reduce
- How spawn helper function was used with generator to mimic the asyc function
JavaScript Promises
http://www.html5rocks.com/en/tutorials/es6/promises/
ES7 async functions
Just another WordPress site
Good to note:
JavaScript Promises
http://www.html5rocks.com/en/tutorials/es6/promises/
ES7 async functions
One can search through git commits using
git log -S [Keywords]
This will search the diffs. And by using -M flag even file name changes can be searched
00000000 (Not Committed Yet 2016-06-12 12:28:55 +0900 1) …
00000000 (Not Committed Yet 2016-06-12 12:28:55 +0900 2) …
00000000 (Not Committed Yet 2016-06-12 12:28:55 +0900 3) …
00000000 (Not Committed Yet 2016-06-12 12:28:55 +0900 4) …
This happened on Windows machine with Linux repo.
http://stackoverflow.com/questions/4638500/git-blame-showing-no-history
The problem is due to the different line breaks used in local machine and the server.
This can be solved by blaming on a file in the repo (since the file would have the same line breaks)
git blame HEAD file.txt
or using -w flag to ignore the line breaks.
git blame -w file.txt