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
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 15 years ago by Ryan Riley
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
74 people like thisPosted: 15 years ago by Rick Minerich
Invoke the methods from incompatible types
111 people like thisPosted: 15 years ago by Tao Liu
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 15 years ago by Alex Muscar
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 15 years ago by Robert Pickering
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
383 people like thisPosted: 12 years ago by Muhammad Mugees Asif
staging (18) seq (54) web (29) reflection (19) http (18) lists (15) collections (16) sequence (32) html (16) agent (20) mailboxprocessor (27) fold (22) monad (24) sequences (48) recursion (33) wpf (20) design patterns (18) math (35) lazy (20) list (56)
Tao Liu (17) Carsten König (10) Faisal Waris (37) Brian Berns (9) Vesa Karvonen (8) Nick Palladinos (66) Robert Pickering (10) David Klein (16) Rick Minerich (15) Taha Hachana (12) Fabio Galuppo (14) Joel Huang (13) Gauthier Segay (11) devshorts (11) Kit Eason (51) NIck Palladinos (14) Evgeniy Andreev (13) Phillip Trelford (87) Cesar Mendoza (17) fholm (26)
Database contains 3212 snippets out of which 1719 is public.