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).
3 people like thisPosted: 2 months ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 8 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
10 people like thisPosted: 9 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
2 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
A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async
Posted: 15 years ago by Ryan Riley
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
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 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
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
This command redo-undo implement group the command under Do/Undo category.
71 people like thisPosted: 15 years ago by Tao Liu
agent (20) algorithms (25) monad (24) f# (43) math (35) list (56) tryfsharp (48) quotations (21) array (22) computation expression (15) seq (54) silverlight (22) collections (16) json (16) design patterns (18) mailboxprocessor (27) generic programming (17) sequences (48) game (32) wpf (20)
Carsten König (10) Faisal Waris (37) David Klein (16) Evgeniy Andreev (13) Rick Minerich (15) Eirik Tsarpalis (89) Ryan Riley (25) Brian Berns (9) Joel Huang (13) fholm (26) Tao Liu (17) Ankur Dhama (20) Gauthier Segay (11) Antonio Cisternino (8) Nick Palladinos (66) devshorts (11) nagat01 (19) Kit Eason (51) Zhukoff Dima (8) Vesa Karvonen (8)
Database contains 3209 snippets out of which 1719 is public.