Small script to generate a X509 certificate for testing purposes. In my case, for generating signed PDF documents. This will write the certificate and it's key out into a Pkcs 12 store. It relies on the BouncyCastle library (version 1.7 worked fine).
3 people like thisPosted: 3 months ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 9 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
10 people like thisPosted: 11 months ago by Phillip Trelford
Download and install Ollama: https://ollama.com/ Ollama is a free common host for multiple different LLM-models like Google Gemma, OpenApi's GPT-OSS, Deepseek, etc.
2 people like thisPosted: 1 year ago by Tuomas Hietanen
ModelContextProtocol with FSharp (MCP with F#) https://modelcontextprotocol.io/docs/getting-started/intro Client and Server examples using https://github.com/modelcontextprotocol/csharp-sdk
3 people like thisPosted: 1 year ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
1 people like thisPosted: 1 year ago by Tuomas Hietanen
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
127 people like thisPosted: 15 years ago by Blake Coverett
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 15 years ago by fholm
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
106 people like thisPosted: 15 years ago by Tao Liu
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 15 years ago by Tomas Petricek
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
92 people like thisPosted: 15 years ago by Nick Palladinos
pattern matching (15) sequence (32) f# (43) computation builder (17) string (29) design patterns (18) algorithms (25) agent (20) dsl (23) web (29) monad (24) math (35) game (32) async (98) lists (15) recursion (33) staging (18) parsing (28) lazy (20) seq (54)
Brian Berns (9) Tao Liu (17) devshorts (11) Ryan Riley (25) Eirik Tsarpalis (89) Evgeniy Andreev (13) Fabio Galuppo (14) Faisal Waris (37) Tuomas Hietanen (80) Tomas Petricek (150) Kit Eason (51) Phillip Trelford (87) Nick Palladinos (66) fholm (26) Taha Hachana (12) Rick Minerich (15) NIck Palladinos (14) Ankur Dhama (20) Joel Huang (13) Gauthier Segay (11)
Database contains 3212 snippets out of which 1719 is public.