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).
2 people like thisPosted: 1 month ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 7 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: 11 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: 11 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
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
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 15 years ago by Nick Palladinos
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
77 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
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
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
74 people like thisPosted: 15 years ago by Tomas Petricek
generic programming (17) computation builder (17) html (16) mailboxprocessor (27) wpf (20) math (35) pattern matching (15) fold (22) http (18) f# (43) web (29) quotations (21) silverlight (22) array (22) json (16) parsing (28) list (56) sequence (32) tryfsharp (48) monad (24)
Joel Huang (13) Ryan Riley (25) Nick Palladinos (66) Kit Eason (51) Fabio Galuppo (14) Evgeniy Andreev (13) NIck Palladinos (14) Gauthier Segay (11) Faisal Waris (37) Carsten König (10) nagat01 (19) fholm (26) Cesar Mendoza (17) Tao Liu (17) Tomas Petricek (150) mavnn (17) Rick Minerich (15) David Klein (16) Ankur Dhama (20) Eirik Tsarpalis (89)
Database contains 3209 snippets out of which 1719 is public.