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
module Adrienne.Main | |
#r "YamlDotNet.dll" | |
open System | |
open System.IO | |
open System.Collections.Generic | |
open System.Text | |
open YamlDotNet.RepresentationModel | |
open System.Xml |
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
#!/usr/bin/env python3 | |
import math | |
crimes=[(5,4), (6,3), (5,3), (7,3)] | |
phi=5 | |
f, g= 2, 2 | |
b=3 | |
a=0 | |
for j in range(10): | |
for i in range(10): |
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
#I "../packages/Owin.1.0/lib/net40" | |
#I "../packages/Microsoft.Owin.3.0.1/lib/net45" | |
#I "../packages/Microsoft.Owin.Host.HttpListener.3.0.1/lib/net45" | |
#I "../packages/Microsoft.Owin.Hosting.3.0.1/lib/net45" | |
#I "../packages/Microsoft.Owin.FileSystems.3.0.1/lib/net45" | |
#I "../packages/Microsoft.Owin.StaticFiles.3.0.1/lib/net45" | |
#I "../packages/WebSharper.3.2.8.170/lib/net40" | |
#I "../packages/WebSharper.Compiler.3.2.4.170/lib/net40" | |
#I "../packages/WebSharper.Owin.3.2.6.83/lib/net45" | |
#load "../packages/WebSharper.Warp.3.2.10.13/tools/reference.fsx" |
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.IO | |
open System.Net | |
open System.Collections.Generic | |
open System.Threading.Tasks | |
let port = 8888 | |
let endWithCompletedTask = fun x -> Task.FromResult(null) :> Task | |
type OwinEnvironment = { |
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 Microsoft.Owin.Hosting | |
[<EntryPoint>] | |
let main argv = | |
let baseAddress = "http://localhost:8888" | |
use application = WebApp.Start<Startup.Startup>(baseAddress) |