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: 11 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
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
This command redo-undo implement group the command under Do/Undo category.
71 people like thisPosted: 15 years ago by Tao Liu
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 16 years ago by Robert Pickering
version 1 is http://fssnip.net/62. This new version support convert from any existing function to a converter function by using composition and pipeline. The convert function is to make the function signature agree to the IValueConverter interface. You can add new functions in the FunctionLibrary module and reuse the class definition to reduce the coding effort. The first sample is to show how to make the converter pipeline work, the second one is a debugger converter used to debug the data binding problem.
91 people like thisPosted: 15 years ago by Tao Liu
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
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
lazy (20) json (16) agent (20) quotations (21) generic programming (17) design patterns (18) sequence (32) kata (17) reflection (19) monad (24) staging (18) game (32) learning f# (16) computation builder (17) tryfsharp (48) computation expression (15) wpf (20) dsl (23) math (35) parsing (28)
Tuomas Hietanen (80) Rick Minerich (15) Brian Berns (9) fholm (26) Zhukoff Dima (8) Samuel Bosch (12) Taha Hachana (12) Kit Eason (51) Vesa Karvonen (8) Nick Palladinos (66) Ankur Dhama (20) devshorts (11) Tomas Petricek (150) mavnn (17) Antonio Cisternino (8) Evgeniy Andreev (13) Carsten König (10) Cesar Mendoza (17) Ryan Riley (25) Robert Pickering (10)
Database contains 3212 snippets out of which 1719 is public.