This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git log --since='last month' --pretty=format:'%h,%an,%ar,%s' > log.csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Country choices: [code, name] | |
| COUNTRIES = ( | |
| ('AD', 'Andorra'), | |
| ('AE', 'United Arab Emirates'), | |
| ('AF', 'Afghanistan'), | |
| ('AG', 'Antigua & Barbuda'), | |
| ('AI', 'Anguilla'), | |
| ('AL', 'Albania'), | |
| ('AM', 'Armenia'), | |
| ('AN', 'Netherlands Antilles'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function git-livelog() { | |
| while : | |
| do | |
| clear | |
| git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
| sleep 1 | |
| done | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* up, up, down, down, left, right, left, right, b, a */ | |
| myapp.directive("konami", function () { | |
| return { | |
| restrict: "AEC", | |
| controller: function ($scope) { | |
| $scope.unleashTheUnicorns = function () { | |
| ... | |
| } | |
| }, |