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: 12 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
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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
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
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 15 years ago by Tuomas Hietanen
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
77 people like thisPosted: 15 years ago by Tomas Petricek
agent (20) silverlight (22) lists (15) pattern matching (15) staging (18) sequences (48) regex (17) computation expression (15) parsing (28) game (32) kata (17) reflection (19) f# (43) sequence (32) math (35) tutorial (17) tryfsharp (48) generic programming (17) algorithms (25) dsl (23)
Tomas Petricek (150) David Klein (16) Rick Minerich (15) Vesa Karvonen (8) Ryan Riley (25) Joel Huang (13) Samuel Bosch (12) fholm (26) Nick Palladinos (66) Eirik Tsarpalis (89) devshorts (11) Robert Pickering (10) Zhukoff Dima (8) Antonio Cisternino (8) Kit Eason (51) Cesar Mendoza (17) Fabio Galuppo (14) Taha Hachana (12) Faisal Waris (37) NIck Palladinos (14)
Database contains 3209 snippets out of which 1719 is public.