Timestamp: Time format in ISO 8601 with timezone. YYYYMMDDhhmmssffff+zzzz For example 2011-05-17 19:01:10.000 -0200 would be: 20110517190110000-0200
0 people like thisPosted: 21 days ago by Tuomas Hietanen
Word guessing game using ASCII art.
3 people like thisPosted: 1 month ago by Phillip Trelford
Generate random hex-string and calculate base58encode. I made these for some initial BTC-testing, but didn't test too much... seems to work, but would need some unit-tests... :-) Feel free to update or add new versions.
2 people like thisPosted: 2 months ago by Tuomas Hietanen
Click on the tsunami.io button below to launch the online tsunami.io IDE with this snippet. Then select all the code (CTRL+A) and hit the Run button to start the game window, then just dock the window to the right of the code.. Click in the game window to launch missiles and save your cities.
0 people like thisPosted: 2 months ago by Phillip Trelford
An implementation of minimal adaptive cells
0 people like thisPosted: 3 months ago by Onur Gumus
Exemplary convenience wrappers for some of the System.
Posted: 5 months ago by Cody
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 14 years ago by Ryan Riley
Factory pattern in F#
81 people like thisPosted: 13 years ago by Tao Liu
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
83 people like thisPosted: 13 years ago by Tao Liu
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 14 years ago by Antonio Cisternino
Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.
83 people like thisPosted: 14 years ago by Dmitri Pavlenkov
version 1 is http://fssnip.net/62. This new version support convert from any existing function to a converter function by using composition and pipeline. The convert function is to make the function signature agree to the IValueConverter interface. You can add new functions in the FunctionLibrary module and reuse the class definition to reduce the coding effort. The first sample is to show how to make the converter pipeline work, the second one is a debugger converter used to debug the data binding problem.
90 people like thisPosted: 13 years ago by Tao Liu
Nick Palladinos (66) NIck Palladinos (14) nagat01 (19) Robert Pickering (10) Faisal Waris (37) Samuel Bosch (12) Ankur Dhama (20) Cesar Mendoza (17) Vesa Karvonen (8) Ryan Riley (25) Rick Minerich (15) Fabio Galuppo (14) Tomas Petricek (150) Tuomas Hietanen (76) Gauthier Segay (11) Taha Hachana (12) Evgeniy Andreev (13) David Klein (16) fholm (26) Zhukoff Dima (8)
Database contains 3200 snippets out of which 1714 is public.