Skip to content

Instantly share code, notes, and snippets.

View dahlbyk's full-sized avatar

Keith Dahlby dahlbyk

View GitHub Profile
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
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