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: 9 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: 10 months ago by Tuomas Hietanen
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
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
Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.
100 people like thisPosted: 15 years ago by Neil Carrier
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
74 people like thisPosted: 15 years ago by Rick Minerich
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 15 years ago by fholm
staging (18) learning f# (16) kata (17) collections (16) lazy (20) parsing (28) tryfsharp (48) pattern matching (15) mailboxprocessor (27) json (16) html (16) regex (17) silverlight (22) web (29) lists (15) seq (54) algorithms (25) reflection (19) math (35) fold (22)
Rick Minerich (15) mavnn (17) Carsten König (10) Gauthier Segay (11) fholm (26) Faisal Waris (37) Vesa Karvonen (8) NIck Palladinos (14) Samuel Bosch (12) nagat01 (19) Kit Eason (51) Tomas Petricek (150) Nick Palladinos (66) Robert Pickering (10) Evgeniy Andreev (13) David Klein (16) Tao Liu (17) Ryan Riley (25) Brian Berns (9) Eirik Tsarpalis (89)
Database contains 3209 snippets out of which 1719 is public.