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).
4 people like thisPosted: 4 months ago by mavnn
令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 10 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
11 people like thisPosted: 11 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
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
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 15 years ago by Tuomas Hietanen
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 15 years ago by Wolfgang Meyer
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
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
Factory pattern in F#
82 people like thisPosted: 15 years ago by Tao Liu
f# (43) silverlight (22) wpf (20) tryfsharp (48) quotations (21) array (22) algorithms (25) sequences (48) dsl (23) http (18) learning f# (16) web (29) regex (17) lists (15) html (16) generic programming (17) game (32) async (98) lazy (20) monad (24)
Tomas Petricek (150) Nick Palladinos (66) mavnn (17) Fabio Galuppo (14) Brian Berns (9) Robert Pickering (10) Faisal Waris (37) Ryan Riley (25) Vesa Karvonen (8) Gauthier Segay (11) Antonio Cisternino (8) Zhukoff Dima (8) devshorts (11) Samuel Bosch (12) Phillip Trelford (87) Kit Eason (51) nagat01 (19) Rick Minerich (15) Ankur Dhama (20) Joel Huang (13)
Database contains 3212 snippets out of which 1719 is public.