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
1>------ Rebuild All started: Project: UserInterface, Configuration: Release x86 ------
2>------ Rebuild All started: Project: DX Library, Configuration: Release Any CPU ------
3>------ Rebuild All started: Project: StronglyConnectedComponents, Configuration: Release Any CPU ------
2> C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe -o:obj\Release\DX_Library.dll --debug:pdbonly --noframework --define:TRACE --doc:bin\Release\DX_Library.XML --optimize+ -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.0.0\FSharp.Core.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Core.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Numerics.dll" -r:"C:\Program Files
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>28fd0857-fe6f-4355-bc45-e1f3f14d1f0e</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>DartTools</RootNamespace>
@ScottHutchinson
ScottHutchinson / cloudSettings
Last active January 10, 2021 18:56
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-01-10T18:55:52.194Z","extensionVersion":"v3.4.3"}
module TreeBuilding
[<Struct>]
type Record = { RecordId: int; ParentId: int }
type Tree =
| Branch of int * Tree list
| Leaf of int
let recordId t =
Public Interface IHasETN
Property ETN As Integer
End Interface
Public Class Class1
Implements IHasETN
Public Property ETN As Integer Implements IHasETN.ETN
' Get
Paket version 5.174.5
The last restore is still up to date. Nothing left to do.
Performance:
- Runtime: 115 milliseconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target Watch:
<== Watch
<== DotnetRestore
<== Clean
<== NpmInstall
/// 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
@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
@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
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"'.