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: 14 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 const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 15 years ago by Alex Muscar
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
73 people like thisPosted: 15 years ago by Dmitri Pavlenkov
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
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
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
lazy (20) computation expression (15) lists (15) regex (17) silverlight (22) tryfsharp (48) design patterns (18) math (35) async (98) http (18) pattern matching (15) staging (18) string (29) mailboxprocessor (27) parsing (28) reflection (19) computation builder (17) array (22) web (29) fold (22)
Ankur Dhama (20) Taha Hachana (12) Phillip Trelford (87) Vesa Karvonen (8) Cesar Mendoza (17) Tao Liu (17) Antonio Cisternino (8) Rick Minerich (15) Eirik Tsarpalis (89) Joel Huang (13) David Klein (16) Zhukoff Dima (8) Fabio Galuppo (14) Tomas Petricek (150) Evgeniy Andreev (13) Gauthier Segay (11) Nick Palladinos (66) nagat01 (19) devshorts (11) Samuel Bosch (12)
Database contains 3209 snippets out of which 1719 is public.