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($) { | |
| $('*').each(function() { | |
| var e = $.data(this, 'events'); | |
| if(!e) return; | |
| for(var p in e) { | |
| $(this).bind(p, {event:p, name: this.tagName + '.' + this.className}, function(event) { | |
| console.log(event.data.name + " triggered " + event.data.event); | |
| }); | |
| }; | |
| }); |
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 --shortstat --since="3 weeks ago" --until="now" \ | |
| | grep "Merge pull request" -B 5\ | |
| | awk '{\ | |
| if ($1=="commit") {\ | |
| output = system("git diff " $2 "^ " $2 " {YOUR FILE HERE}");\ | |
| if (output) {\ | |
| print output;\ | |
| }\ | |
| }\ | |
| }' |
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\ | |
| | grep "Merge pull request.*{INSERT STORY ID HERE}" -B 5\ | |
| | awk '{\ | |
| if ($1=="commit") {\ | |
| print system("git diff " $2 "^ " $2);\ | |
| }\ | |
| }' |
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 --shortstat --since="2011-9-1" --until="2011-11-15" \ | |
| | grep "commit\|Author\|Merge:" \ | |
| | awk '{\ | |
| if ($1 == "Merge:") {\ | |
| merge = 1;\ | |
| }\ | |
| if ($1 == "commit") {\ | |
| merge = 0;\ | |
| commit = $2;\ | |
| }\ |
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
| PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]:->$(__git_ps1 " (%s)")\$ ' |
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 --shortstat --since="1 year ago" --until="now" \ | |
| | grep "files changed\|Author\|Merge:" \ | |
| | awk '{ \ | |
| if ($1 == "Author:") {\ | |
| currentUser = $2;\ | |
| }\ | |
| if ($2 == "files") {\ | |
| files[currentUser]+=$1;\ | |
| inserted[currentUser]+=$4;\ | |
| deleted[currentUser]+=$6;\ |
NewerOlder