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).
0 people like thisPosted: 15 days ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 6 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
9 people like thisPosted: 8 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: 10 months 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
2 people like thisPosted: 10 months ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
1 people like thisPosted: 11 months ago by Tuomas Hietanen
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
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
374 people like thisPosted: 15 years ago by Blake Coverett
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
186 people like thisPosted: 15 years ago by Tomas Petricek
Invoke the methods from incompatible types
111 people like thisPosted: 15 years ago by Tao Liu
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.
84 people like thisPosted: 15 years ago by Dmitri Pavlenkov
reflection (19) pattern matching (15) math (35) f# (43) computation expression (15) quotations (21) tryfsharp (48) sequence (32) tutorial (17) http (18) array (22) lists (15) computation builder (17) silverlight (22) async (98) design patterns (18) fold (22) seq (54) agent (20) wpf (20)
Tao Liu (17) David Klein (16) Fabio Galuppo (14) Antonio Cisternino (8) nagat01 (19) Ryan Riley (25) Tomas Petricek (150) fholm (26) Samuel Bosch (12) Phillip Trelford (87) NIck Palladinos (14) Cesar Mendoza (17) Gauthier Segay (11) devshorts (11) mavnn (17) Robert Pickering (10) Taha Hachana (12) Tuomas Hietanen (80) Evgeniy Andreev (13) Nick Palladinos (66)
Database contains 3209 snippets out of which 1719 is public.