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
| #!/bin/sh | |
| # Contributor Ranking | |
| # | |
| # Author: Tom Cammann, Heath Stewart | |
| # | |
| optspec=":eh-:" | |
| ext="cs|cpp|h" |
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
| [CmdletBinding()] | |
| param | |
| ( | |
| [Parameter(ValueFromPipeline = $true)] | |
| [ValidateNotNullOrEmpty()] | |
| [ValidateRange(0, [int]::MaxValue)] | |
| [int[]] $Changelist, | |
| [Parameter()] | |
| [ValidateNotNullOrEmpty()] |
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
| @echo off | |
| REM Copyright (c) Microsoft Corporation. All rights reserved. | |
| REM Licensed under the Apache License, Version 2.0 (the "License"); you may not use | |
| REM this file except in compliance with the License. You may obtain a copy of the | |
| REM License at http://www.apache.org/licenses/LICENSE-2.0 | |
| REM | |
| REM THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| REM KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | |
| REM WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, |
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
| <# | |
| This license governs use of the accompanying software. If you use the software, you | |
| accept this license. If you do not accept the license, do not use the software. | |
| 1. Definitions | |
| The terms "reproduce," "reproduction," "derivative works," and "distribution" have the | |
| same meaning here as under U.S. copyright law. | |
| A "contribution" is the original software, or any additions or changes to the software. | |
| A "contributor" is any person that distributes its contribution under this license. | |
| "Licensed patents" are a contributor's patent claims that read directly on its contribution. |
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 Select-Unique | |
| { | |
| [CmdletBinding()] | |
| param | |
| ( | |
| [Parameter(Mandatory=$true, Position=0)] | |
| [string[]] $Property, | |
| [Parameter(Mandatory=$true, ValueFromPipeline=$true)] | |
| $InputObject, |
NewerOlder