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: 10 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
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
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
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
90 people like thisPosted: 15 years ago by fholm
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
127 people like thisPosted: 15 years ago by Blake Coverett
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
92 people like thisPosted: 15 years ago by Nick Palladinos
http (18) quotations (21) agent (20) mailboxprocessor (27) staging (18) list (56) sequences (48) monad (24) reflection (19) regex (17) silverlight (22) fold (22) parsing (28) web (29) learning f# (16) pattern matching (15) generic programming (17) dsl (23) html (16) tutorial (17)
Rick Minerich (15) Evgeniy Andreev (13) Tomas Petricek (150) Gauthier Segay (11) David Klein (16) Faisal Waris (37) Zhukoff Dima (8) Carsten König (10) Ankur Dhama (20) Tuomas Hietanen (80) mavnn (17) Cesar Mendoza (17) Brian Berns (9) Taha Hachana (12) Kit Eason (51) Fabio Galuppo (14) fholm (26) Tao Liu (17) nagat01 (19) Antonio Cisternino (8)
Database contains 3209 snippets out of which 1719 is public.