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: 29 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
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
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 14 years ago by Tomas Petricek
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
374 people like thisPosted: 14 years ago by Blake Coverett
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 14 years ago by Nick Palladinos
An asynchronous sequence is similar to the seq
Posted: 14 years ago by Tomas Petricek
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
dsl (23) reflection (19) generic programming (17) json (15) computation builder (17) tutorial (17) game (32) mailboxprocessor (27) staging (18) agent (20) quotations (21) collections (16) async (98) lazy (20) seq (54) http (18) wpf (20) f# (43) algorithms (26) web (29)
Joel Huang (13) Carsten König (10) Brian Berns (9) Kit Eason (51) Robert Pickering (10) Gauthier Segay (11) Fabio Galuppo (14) Zhukoff Dima (8) Tuomas Hietanen (76) NIck Palladinos (14) Tomas Petricek (150) David Klein (16) Taha Hachana (12) Antonio Cisternino (8) Eirik Tsarpalis (89) nagat01 (19) Ankur Dhama (20) Rick Minerich (15) Cesar Mendoza (17) fholm (26)
Database contains 3200 snippets out of which 1714 is public.