moodle - learning managment system - Joomla, DNN - CMS CVenture - CRM beyourmarket - B2B portal ghost - mini cms - blog owa,piwik - open web analytics smart store - e-commerce
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 rec Fable.Import.ServicestackClient | |
open System | |
open Fable.Core | |
open Fable.Import.JS | |
open Fable.Import.Browser | |
open Fable.PowerPack.Fetch | |
type [<AllowNullLiteral>] IExports = | |
abstract IEventSource: IEventSourceStaticStatic with get, set | |
abstract ServerEventsClient: ServerEventsClientStatic with get, set |
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 { FlatpickrFn } from "./src/types/instance"; | |
export { Instance } from "./src/types/instance"; | |
export * from "./src/types/options"; | |
declare var flatpickr: FlatpickrFn; | |
export default flatpickr; |
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
namespace Fable.Import | |
open Fable.Core | |
open Fable.Import.Browser | |
type [<StringEnum>] IziToastPosition = | |
BottomRight | BottomLeft | TopRight | TopLeft | TopCenter | BottomCenter | Center | |
and [<StringEnum>] IziToastTransitionIn = | |
BounceInLeft | BounceInRight | BounceInUp | BounceInDown | FadeIn | FadeInDown | FadeInUp | FadeInLeft | FadeInRight | FlipInX |
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
@echo off | |
echo was: | |
dotnet --version | |
REM 1.0.1 | |
REM pushd C:\dotnetcli\dotnet-1.1.1-sdk-win-x64 | |
REM 1.0.4 | |
pushd C:\dotnetcli\dotnet-dev-win-x64.1.0.4 |
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
/// Contains error propagation functions and a computation expression builder for Railway-oriented programming. | |
namespace Chessie.ErrorHandling | |
open System | |
/// Represents the result of a computation. | |
type Result<'TSuccess, 'TMessage> = | |
/// Represents the result of a successful computation. | |
| Ok of 'TSuccess * 'TMessage list | |
/// Represents the result of a failed computation. |
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 test = [[1,2,[3]],4]; | |
var result = []; | |
//[1,2,3,4] | |
var process = function(arr) { | |
arr.forEach(function(a){ | |
if(Array.isArray(a)){ | |
process(a); | |
}else { | |
result = result.concat(a); |
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
#r @"..\packages\FSharp.Charting.0.90.13\lib\net40\FSharp.Charting.dll" | |
#load "..\packages\FSharp.Charting.0.90.13\FSharp.Charting.fsx" | |
open System | |
open FSharp.Charting | |
open System.Windows.Forms | |
open System.Drawing |
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
[<CLIMutableAttribute>] | |
[<AliasAttribute("hello")>] | |
type HelloDb = | |
{ Name : string } | |
[<LiteralAttribute>] | |
let connStr = "Server = localhost; Port = 5432; Database = database; User Id = username; password = password;" | |
let dbfactory = OrmLiteConnectionFactory(connStr, PostgreSqlDialect.Provider) |
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
>25*"!dlrow ,olleH":v | |
v:,_@ | |
> ^ |