Skip to content

Instantly share code, notes, and snippets.

View manio143's full-sized avatar

Marian Dziubiak manio143

View GitHub Profile
// F#+ sample monad usage
#r "FSharpPlus.dll"
open FSharpPlus
open FSharpPlus.Data
//open FSharpPlus.Operators
let s9 = Some 9
let add5divXmul2 (o : int option) x = monad {
@manio143
manio143 / DesertEx.tmTheme
Created February 10, 2017 22:02
Visual Studio Code theme - DesertEx+ (DesertEx with F# additions)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor -->
<!-- ============================================ -->
<!-- app: http://tmtheme-editor.herokuapp.com -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<plist version="1.0">
<dict>
<key>author</key>
<string>Dylan Sarber (Originally by Ming Bai on Vim) modified by Marian Dziubiak</string>
@manio143
manio143 / NUnitAttributes.md
Last active May 18, 2016 08:05
Usefull NUnit Attributes

Usefull NUnit Attributes

Attribute Description
[Category(string)] Specifies one or more categories for the test.
[Description(string)] Applies descriptive text to a Test, TestFixture or Assembly.
[Explicit] Indicates that a test should be skipped unless explicitly run.
[Ignore]
[Maxtime(milliseconds)] Specifies the maximum time in milliseconds for a test case to succeed.
[Order(int)] Specifies the order in which decorated test should be run (against others).