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
| open System; | |
| open System.Diagnostics; | |
| [<EntryPoint>] | |
| let main argv = | |
| let rec cc amount coins = | |
| match (amount, coins) with | |
| | (0,_) -> 1 | |
| | (_,[]) -> 0 | |
| | (amount,_) when amount < 0 -> 0 |
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
| filter disableSigning() { | |
| $proj = $_ | |
| $xml = [xml](Get-Content $proj.FullName) | |
| $propertyGroup = $xml.Project.PropertyGroup | ? {$_.SignAssembly} | |
| if($propertyGroup.SignAssembly -eq 'true') { | |
| echo "Disabling Signing: $proj" | |
| $propertyGroup.SignAssembly = 'false' | |
| $xml.save($proj.FullName) | |
| Push-Location $proj.DirectoryName |