This file contains 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 Components.Demo | |
open Fable.Core | |
open Fable.Core.JsInterop | |
open Vide | |
open type Html | |
importSideEffects("./Demo.scss") | |
This file contains 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 Printf | |
open System | |
open System.Threading | |
open System.Text.RegularExpressions | |
type Response = | |
{ | |
Code: int | |
Body: string | |
} |
This file contains 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
namespace Benchmarks | |
open BenchmarkDotNet.Attributes | |
open System.IO | |
open System.Runtime.CompilerServices | |
[<Interface>] | |
type ILogger = | |
abstract Info: string -> unit |
This file contains 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 BenchmarkDotNet.Attributes | |
open System.IO | |
open System.Runtime.CompilerServices | |
[<Interface>] | |
type ILog = | |
abstract Info: string -> unit | |
module Log = |
This file contains 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 MailboxMessage = | |
| AddMessage of Message | |
| GetMessage of AsyncReplyChannel<Message> | |
type Consumer() = | |
let queue = new ConcurrentQueue<Message>() | |
let connectionHandler = ConnectionHandler() | |
let mb = MailboxProcessor.Start(fun inbox -> |
This file contains 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 MyElement = | |
| MyNumber of int | |
| MyArray of MyElement list | |
let rec flatten = function | |
| [] -> [] | |
| (MyNumber head) :: tail -> head :: flatten tail | |
| (MyArray head) :: tail -> List.append (flatten head) (flatten tail) | |
[<EntryPoint>] |
This file contains 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
RAMS: | |
---------------------- | |
RAMS-QA 10.221.12.93 | |
RAMS-T 10.219.15.110 | |
RAMS-P 10.219.13.31 | |
Snappy: | |
---------------------- | |
QA 10.221.15.19 |
This file contains 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
+------------------------+-----------------------------+ | |
| AjaxOptions | HTML attribute | | |
+------------------------+-----------------------------+ | |
| Confirm | data-ajax-confirm | | |
| HttpMethod | data-ajax-method | | |
| InsertionMode | data-ajax-mode | | |
| LoadingElementDuration | data-ajax-loading-duration | | |
| LoadingElementId | data-ajax-loading | | |
| OnBegin | data-ajax-begin | | |
| OnComplete | data-ajax-complete | |