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).
1 people like thisPosted: 19 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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
106 people like thisPosted: 14 years ago by Tao Liu
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
Factory pattern in F#
82 people like thisPosted: 15 years ago by Tao Liu
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
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 snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
374 people like thisPosted: 15 years ago by Blake Coverett
sequences (48) html (16) dsl (23) algorithms (25) array (22) f# (43) web (29) staging (18) list (56) pattern matching (15) recursion (33) collections (16) learning f# (16) math (35) fold (22) regex (17) monad (24) json (16) seq (54) reflection (19)
David Klein (16) Ankur Dhama (20) fholm (26) Tomas Petricek (150) Tao Liu (17) Kit Eason (51) NIck Palladinos (14) Eirik Tsarpalis (89) Fabio Galuppo (14) Cesar Mendoza (17) Joel Huang (13) Antonio Cisternino (8) Brian Berns (9) nagat01 (19) Nick Palladinos (66) Vesa Karvonen (8) Samuel Bosch (12) Tuomas Hietanen (80) devshorts (11) Robert Pickering (10)
Database contains 3209 snippets out of which 1719 is public.