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).
4 people like thisPosted: 4 months ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 10 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
11 people like thisPosted: 12 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
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: 16 years ago by Antonio Cisternino
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
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 15 years ago by Nick Palladinos
Factory pattern in F#
82 people like thisPosted: 15 years ago by Tao Liu
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
Strategy pattern in F#
83 people like thisPosted: 15 years ago by Tao Liu
learning f# (16) collections (16) agent (20) kata (17) monad (24) web (29) http (18) fold (22) recursion (33) reflection (19) parsing (28) lists (15) list (56) tutorial (17) sequences (48) tryfsharp (48) algorithms (25) seq (54) generic programming (17) math (35)
Antonio Cisternino (8) devshorts (11) Nick Palladinos (66) nagat01 (19) Tuomas Hietanen (80) fholm (26) Joel Huang (13) Carsten König (10) Eirik Tsarpalis (89) Ryan Riley (25) Evgeniy Andreev (13) Ankur Dhama (20) Phillip Trelford (87) Gauthier Segay (11) David Klein (16) Samuel Bosch (12) Taha Hachana (12) NIck Palladinos (14) mavnn (17) Rick Minerich (15)
Database contains 3212 snippets out of which 1719 is public.