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
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
Factory pattern in F#
82 people like thisPosted: 15 years ago by Tao Liu
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
90 people like thisPosted: 15 years ago by fholm
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
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
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 15 years ago by Antonio Cisternino
lists (15) design patterns (18) silverlight (22) monad (24) staging (18) tryfsharp (48) web (29) html (16) algorithms (25) agent (20) dsl (23) math (35) kata (17) computation builder (17) reflection (19) quotations (21) regex (17) array (22) lazy (20) parsing (28)
Robert Pickering (10) Samuel Bosch (12) NIck Palladinos (14) Vesa Karvonen (8) Phillip Trelford (87) Antonio Cisternino (8) Tomas Petricek (150) Joel Huang (13) Gauthier Segay (11) Tao Liu (17) Kit Eason (51) nagat01 (19) Taha Hachana (12) Faisal Waris (37) Evgeniy Andreev (13) Zhukoff Dima (8) fholm (26) David Klein (16) Rick Minerich (15) Eirik Tsarpalis (89)
Database contains 3212 snippets out of which 1719 is public.