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: 1 month ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 7 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
10 people like thisPosted: 9 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: 11 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: 11 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: 12 months ago by Tuomas Hietanen
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
85 people like thisPosted: 15 years ago by Tomas Petricek
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
This is to demonstrate that: (1) there are many ways to solve the same problems; (2) operators can be grouped together into data structures and act as data; (3) you can have fun in F# in many ways.
57 people like thisPosted: 15 years ago by Dmitry Soshnikov
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 15 years ago by Wolfgang Meyer
This command redo-undo implement group the command under Do/Undo category.
71 people like thisPosted: 15 years ago by Tao Liu
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 15 years ago by Ryan Riley
array (22) sequence (32) recursion (33) dsl (23) pattern matching (15) f# (43) staging (18) web (29) tryfsharp (48) sequences (48) algorithms (25) math (35) reflection (19) generic programming (17) regex (17) json (16) mailboxprocessor (27) silverlight (22) wpf (20) quotations (21)
Nick Palladinos (66) Faisal Waris (37) Carsten König (10) Tomas Petricek (150) Ankur Dhama (20) nagat01 (19) Evgeniy Andreev (13) Samuel Bosch (12) mavnn (17) Phillip Trelford (87) Kit Eason (51) Rick Minerich (15) Ryan Riley (25) Brian Berns (9) David Klein (16) devshorts (11) Joel Huang (13) Zhukoff Dima (8) Tao Liu (17) Gauthier Segay (11)
Database contains 3209 snippets out of which 1719 is public.