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
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| /// <summary> | |
| /// Extension functions for creating nested groupings, similar to | |
| /// <see cref="System.Linq.Enumerable.ThenBy" />. | |
| /// </summary> | |
| public static class ThenGroupByExtensions |
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
| # Merge this into ~/.gitconfig | |
| # GIT_TRACE=1 environment variable makes git print traces of it's operations | |
| [alias] | |
| # Undo recent commits without changing any files. | |
| # Go back 1 commit: `git uncommit` | |
| # Undo the last 3 commits: `git uncommit 3` | |
| uncommit = "!f() { git reset --soft \"HEAD~${1:-1}\"; }; f" | |
| # Deletes remote tracking branches which have been deleted on the remotes. |
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
| /// <summary>Defines the significance of element ordering for a sequence comparer. | |
| /// </summary> | |
| public enum ElementOrder | |
| { | |
| /// <summary>Relative order of elements is significant.</summary> | |
| Significant, | |
| /// <summary>Relative order of elements is not significant.</summary> | |
| NotSignificant | |
| } |