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
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" /> |
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
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> | |
<ProjectExtensions> | |
<VisualStudio> | |
... | |
</VisualStudio> | |
</ProjectExtensions> |
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
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<ProductVersion>8.0.30703</ProductVersion> | |
<SchemaVersion>2.0</SchemaVersion> | |
<ProjectGuid>{cd87f694-a133-42b1-a328-72f7f56e95c3}</ProjectGuid> | |
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{F2A71F9B-5D33-465A-A702-920D77279786}</ProjectTypeGuids> | |
<OutputType>Library</OutputType> | |
<RootNamespace>Library1</RootNamespace> | |
<AssemblyName>Library1</AssemblyName> |
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
var otherDomain = AppDomain.CreateDomain( | |
"otherDomain", | |
AppDomain.CurrentDomain.Evidence, | |
new System.IO.FileInfo(Configuration.Executable).DirectoryName, | |
".\\lib", | |
false); |
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
var otherDomain = AppDomain.CreateDomain("otherDomain"); |
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
# Fill in the blanks | |
$UserName = ??? | |
$JenkinsAPIToken = ??? | |
$JENKINS_URL = ??? | |
$JOB_URL = ??? | |
# Create client with pre-emptive authentication | |
# see => http://www.hashemian.com/blog/2007/06/http-authorization-and-net-webrequest-webclient-classes.htm | |
$webClient = new-object System.Net.WebClient | |
$webclient.Headers.Add("Authorization","Basic "+ |
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
type Request = Getq | Putq of char | |
type Response = Getp of char | Putp | |
type Dialog = Response list -> Request list |
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
let readChar f p = | |
Getq :: | |
(match p with | |
| (Getp c) :: p1 -> f c p1 | |
| _ -> []);; |
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
type continuation = K of (unit -> unit) | |
let execute (K f) = f() | |
let stop = K (fun () -> ());; |
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
Producer: (X -> continuation) -> continuation | |
Consumer: X -> continuation -> continuation // strictly a continuation generator, as it produces a continuation from the output of the producer. | |
Operation: continuation -> continuation |