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
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 15 years ago by Alex Muscar
Invoke the methods from incompatible types
111 people like thisPosted: 15 years ago by Tao Liu
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
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
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
This command redo-undo implement group the command under Do/Undo category.
71 people like thisPosted: 15 years ago by Tao Liu
staging (18) tutorial (17) math (35) silverlight (22) learning f# (16) parsing (28) mailboxprocessor (27) monad (24) regex (17) dsl (23) lazy (20) computation builder (17) game (32) reflection (19) algorithms (25) sequences (48) string (29) sequence (32) http (18) tryfsharp (48)
Joel Huang (13) Taha Hachana (12) Gauthier Segay (11) Tuomas Hietanen (80) fholm (26) nagat01 (19) Antonio Cisternino (8) Tomas Petricek (150) Fabio Galuppo (14) devshorts (11) NIck Palladinos (14) Ryan Riley (25) Samuel Bosch (12) Cesar Mendoza (17) Nick Palladinos (66) mavnn (17) Tao Liu (17) Robert Pickering (10) Vesa Karvonen (8) Ankur Dhama (20)
Database contains 3212 snippets out of which 1719 is public.