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
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
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 15 years ago by Tuomas Hietanen
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
74 people like thisPosted: 15 years ago by Rick Minerich
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
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 15 years ago by Robert Pickering
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
f# (43) tryfsharp (48) computation builder (17) list (56) sequences (48) json (16) design patterns (18) parsing (28) monad (24) computation expression (15) mailboxprocessor (27) algorithms (25) sequence (32) lists (15) agent (20) regex (17) html (16) quotations (21) game (32) silverlight (22)
Fabio Galuppo (14) fholm (26) mavnn (17) Zhukoff Dima (8) NIck Palladinos (14) Ryan Riley (25) Nick Palladinos (66) Robert Pickering (10) Kit Eason (51) Gauthier Segay (11) Brian Berns (9) Tuomas Hietanen (80) Rick Minerich (15) Samuel Bosch (12) Tomas Petricek (150) Antonio Cisternino (8) Joel Huang (13) Eirik Tsarpalis (89) Faisal Waris (37) Tao Liu (17)
Database contains 3209 snippets out of which 1719 is public.