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 ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
69 people like thisPosted: 15 years ago by Phillip Trelford
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
186 people like thisPosted: 16 years ago by Tomas Petricek
Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.
75 people like thisPosted: 16 years ago by Tomas Petricek
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 15 years ago by fholm
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
69 people like thisPosted: 15 years ago by Phillip Trelford
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 15 years ago by Ryan Riley
web (29) design patterns (18) monad (24) string (29) f# (43) regex (17) mailboxprocessor (27) recursion (33) learning f# (16) collections (16) lazy (20) lists (15) parsing (28) silverlight (22) staging (18) sequence (32) dsl (23) pattern matching (15) math (35) list (56)
Brian Berns (9) Ankur Dhama (20) Taha Hachana (12) Ryan Riley (25) Tao Liu (17) Tomas Petricek (150) Zhukoff Dima (8) Phillip Trelford (87) nagat01 (19) Rick Minerich (15) Cesar Mendoza (17) fholm (26) Samuel Bosch (12) Gauthier Segay (11) NIck Palladinos (14) Joel Huang (13) devshorts (11) Antonio Cisternino (8) Tuomas Hietanen (80) Fabio Galuppo (14)
Database contains 3212 snippets out of which 1719 is public.