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: 2 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: 7 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
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
383 people like thisPosted: 12 years ago by Muhammad Mugees Asif
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
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
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
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
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: 14 years ago by Tao Liu
collections (16) http (18) game (32) array (22) web (29) list (56) async (98) silverlight (22) mailboxprocessor (27) computation expression (15) wpf (20) math (35) string (29) kata (17) sequences (48) seq (54) reflection (19) generic programming (17) computation builder (17) f# (43)
David Klein (16) Vesa Karvonen (8) NIck Palladinos (14) Samuel Bosch (12) Tomas Petricek (150) Eirik Tsarpalis (89) Evgeniy Andreev (13) Ryan Riley (25) Phillip Trelford (87) Tao Liu (17) Robert Pickering (10) Nick Palladinos (66) Zhukoff Dima (8) Taha Hachana (12) Joel Huang (13) Fabio Galuppo (14) Tuomas Hietanen (80) Faisal Waris (37) Brian Berns (9) Kit Eason (51)
Database contains 3209 snippets out of which 1719 is public.