Skip to content

Instantly share code, notes, and snippets.

View ScottHutchinson's full-sized avatar

Scott Hutchinson ScottHutchinson

  • ICI Services
  • Westlake Village, California
View GitHub Profile
Paket version 5.148.0
Performance:
- Disk IO: 3 seconds
- Runtime: 5 seconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target DotnetPack:
<== DotnetPack
<== Clean
<== DotnetTest
<== DotnetBuild
Downloading fsharp/FAKE:c160d4907360cfd42904008dab2bd22c0a4a9952 modules/Octokit/Octokit.fsx to C:\Users\scott\source\repos\fsharp-data-sample\paket-files\build\fsharp\FAKE\modules\Octokit\Octokit.fsx
Downloading NuGet.Packaging 4.6
Downloading dotnet-mono 0.5.2-alpha001
Download of dotnet-mono 0.5.2-alpha001 done in 2 seconds.
Downloading dotnet-sourcelink 2.8
Download of NuGet.Packaging 4.6 done in 2 seconds.
Download of dotnet-sourcelink 2.8 done in 856 milliseconds.
Downloading NuGet.Packaging.Core 4.6
Downloading Microsoft.Build 15.6.82
Download of NuGet.Packaging.Core 4.6 done in 1 second.
Performance:
- Runtime: 696 milliseconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target DotnetPack:
<== DotnetPack
<== Clean
<== DotnetTest
<== DotnetBuild
<== DotnetRestore
Performance:
- Runtime: 2 seconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target DotnetPack:
<== DotnetPack
<== Clean
<== DotnetTest
<== DotnetBuild
<== DotnetRestore
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.6.6
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>cd "C:\Users\scott\source\repos\visualfsharp"
C:\Users\scott\source\repos\visualfsharp>build.cmd
C:\Users\scott\source\repos\visualfsharp>rem Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.6.6
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Windows\System32>cd "C:\Users\scott\source\repos\visualfsharp"
C:\Users\scott\source\repos\visualfsharp>build.cmd
C:\Users\scott\source\repos\visualfsharp>rem Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
Error occurred when checking the version of 'Azure Functions Core Tools': Command "npm ls azure-functions-core-tools -g" failed with exit code "1":
'npm' is not recognized as an internal or external command,
operable program or batch file.
12:31:02 PM functions-scotthutchinson: Creating zip package...
12:31:02 PM functions-scotthutchinson: Starting deployment...
12:31:03 PM functions-scotthutchinson: Updating submodules.
12:31:03 PM functions-scotthutchinson: Preparing deployment for commit id '7ba53a1313'.
12:31:05 PM functions-scotthutchinson: Generating deployment script.
12:31:05 PM functions-scotthutchinson: Using the following command to generate deployment script: 'azure site deploymentscript -y --no-dot-deployment -r "D:\local\Temp\zipdeploy\extracted" -o "D:\home\site\deployments\tools" --basic --sitePath "D:\local\Temp\zipdeploy\extracted"'.
@ScottHutchinson
ScottHutchinson / TypeOf Example.vb
Created June 5, 2018 18:24
VB .NET TypeOf Example
Module Module1
Class ClsTrack
End Class
Class ClsVehicularTrack : Inherits ClsTrack
End Class
@ScottHutchinson
ScottHutchinson / IntToEnumOrNothing.vb
Last active June 22, 2018 18:41
VB Generic Function for converting an Integer to an Enum
Module Module1
Public Enum MediaType
Audio
Video
Image
End Enum
Public Function IntToEnumOrNothing(Of T As {IConvertible, Structure})(ByVal value As Integer) As T?
Dim ret As T? = Nothing
/// The update function knows how to update the model given a message.
let update msg model =
match model, msg with
| { ValidationError = None; Postcode = postcode }, GetReport ->
{ model with ServerState = Loading }, Cmd.ofPromise getResponse postcode GotReport ErrorMsg
| _, GetReport -> model, Cmd.none
| _, GotReport response ->
{ model with
ValidationError = None
Report = Some response