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
#nowarn "20" | |
// invoke this script locally to load aspnet dependencies | |
// https://github.com/TheAngryByrd/IcedTasks/blob/master/generate-sdk-references.fsx | |
#load "runtime-scripts/Microsoft.AspNetCore.App-latest-8.fsx" | |
#r "nuget: Falco, 5.0.0-alpha3" | |
#r "nuget: Falco.OpenApi, 1.0.0-alpha1" | |
#r "nuget: Swashbuckle.AspNetCore" | |
open Falco | |
open Falco.OpenApi |
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
#nowarn "20" // for OOP/ignore values | |
// invoke this script locally to load aspnet dependencies | |
// https://github.com/TheAngryByrd/IcedTasks/blob/master/generate-sdk-references.fsx | |
#load "runtime-scripts/Microsoft.AspNetCore.App-latest-8.fsx" | |
#r "nuget: Oxpecker" | |
#r "nuget: Oxpecker.OpenApi" | |
#r "nuget: Swashbuckle.AspNetCore " | |
open Microsoft.AspNetCore.Builder | |
open Microsoft.Extensions.DependencyInjection |
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
#r "nuget: Microsoft.Orleans.Server" | |
#r "nuget: Microsoft.Extensions.Logging.Console" | |
#r "nuget: IcedTasks" | |
open System | |
open Orleans.Runtime | |
open Microsoft.Extensions.Hosting | |
open Orleans.Hosting | |
open Microsoft.Extensions.Logging | |
open Microsoft.Extensions.DependencyInjection |
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
#r "nuget: Microsoft.Extensions.DependencyInjection" | |
#r "nuget: Microsoft.Extensions.Http" | |
#r "nuget: Microsoft.Extensions.Logging.Console" | |
#r "nuget: Microsoft.Extensions.Logging" | |
#r "nuget: Microsoft.SemanticKernel.Connectors.HuggingFace, 1.12.0-preview" | |
open Microsoft.SemanticKernel | |
open Microsoft.SemanticKernel.ChatCompletion | |
open Microsoft.Extensions.Logging |
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
#!/bin/bash | |
# | |
# not working atm, Install Oracle JDK 8 for use with SDKMAN on macOS | |
# download not working...to fix | |
# | |
# https://download.oracle.com/otn/java/jdk/8u401-b10/4d245f941845490c91360409ecffb3b4/jdk-8u401-macosx-x64.dmg | |
# https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 | |
set -eu |
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
#load "runtime-scripts/Microsoft.AspNetCore.App-latest-8.fsx" | |
// to gen the above run this script in the local folder | |
// https://raw.githubusercontent.com/TheAngryByrd/IcedTasks/master/generate-sdk-references.fsx | |
#r "nuget: Feliz.ViewEngine" | |
#r "nuget: Microsoft.AspNetCore.OpenApi" | |
#r "nuget: Swashbuckle.AspNetCore" | |
open Microsoft.AspNetCore | |
open Microsoft.AspNetCore.Builder |
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
#r "nuget: Fli" | |
open Fli | |
// change these or pass as arguments (modify script) | |
[<Literal>] | |
let packagesFolder = "$HOME/.nuget/packages" | |
[<Literal>] |
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 System | |
module Test = | |
let hello world = | |
"hello " + world | |
let lst = | |
[ | |
"world" |
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 Test = struct | |
let hello world = | |
"hello " ^ world | |
end | |
let lst = | |
[ | |
"world"; | |
"john"; |
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 FSharp.Data.UnitSystems.SI | |
[<Measure>] | |
type g | |
[<Measure>] | |
type kg | |
[<Measure>] | |
type m |
NewerOlder