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: 6 days ago by Tuomas Hietanen
Word guessing game using ASCII art.
3 people like thisPosted: 20 days 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: 1 month 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: 2 months ago by Onur Gumus
Exemplary convenience wrappers for some of the System.
Posted: 5 months ago by Cody
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
124 people like thisPosted: 14 years ago by Blake Coverett
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
84 people like thisPosted: 14 years ago by Tomas Petricek
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 14 years ago by Tuomas Hietanen
Here is an improved version twice shorter, than original
72 people like thisPosted: 14 years ago by Nick Canzoneri
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: 14 years ago by Nick Palladinos
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.
67 people like thisPosted: 14 years ago by Phillip Trelford
game (32) algorithms (26) sequences (48) learning f# (16) kata (17) collections (16) quotations (21) generic programming (17) tryfsharp (48) computation builder (17) recursion (33) array (22) wpf (20) http (18) monad (24) mailboxprocessor (27) pattern matching (15) tutorial (17) string (29) f# (43)
Ryan Riley (25) Evgeniy Andreev (13) Cesar Mendoza (17) Carsten König (10) Nick Palladinos (66) NIck Palladinos (14) Fabio Galuppo (14) Taha Hachana (12) Robert Pickering (10) Ankur Dhama (20) Tomas Petricek (150) Rick Minerich (15) Tao Liu (17) devshorts (11) nagat01 (19) Joel Huang (13) fholm (26) Antonio Cisternino (8) Tuomas Hietanen (76) Phillip Trelford (87)
Database contains 3200 snippets out of which 1714 is public.