Skip to content

Instantly share code, notes, and snippets.

View Jand42's full-sized avatar

András Jankó Jand42

  • IntelliFactory
  • Budapest
View GitHub Profile
@Jand42
Jand42 / code.cs
Created July 12, 2016 16:00
gist load test for try.ws
using WebSharper;
using WebSharper.JavaScript;
using WebSharper.UI.Next;
using WebSharper.UI.Next.Client;
using static WebSharper.UI.Next.CSharp.Client.Html;
namespace Samples {
[JavaScript]
public class Program
@Jand42
Jand42 / file.fs
Last active July 12, 2016 15:44
try.ws f# gist import test
namespace Samples
open WebSharper
open WebSharper.JavaScript
open WebSharper.UI.Next
open WebSharper.UI.Next.Html
open WebSharper.UI.Next.Client
[<JavaScript>]
module HelloWorld =
@Jand42
Jand42 / code.cs
Last active July 12, 2016 16:01
try.ws gist import test
using WebSharper;
using WebSharper.JavaScript;
using WebSharper.UI.Next;
using WebSharper.UI.Next.Client;
using static WebSharper.UI.Next.CSharp.Client.Html;
namespace Samples {
[JavaScript]
public class Program
@Jand42
Jand42 / buildtimetest.fsx
Created January 5, 2016 07:36
FCS compilation time testing
open System.Diagnostics
open System.IO
let ( +/ ) a b = Path.Combine(a, b)
let fcsRepoDir = @"C:\repos\FSharp.Compiler.Service" // set to a folder with FCS built
let fscExe = @"C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe"
let fsc40Exe = fcsRepoDir +/ @"bin\v4.0\FscExe.exe"
let fsc45Exe = fcsRepoDir +/ @"bin\v4.5\FscExe.exe"