Skip to content

Instantly share code, notes, and snippets.

View MorganPersson's full-sized avatar

Morgan Persson MorganPersson

View GitHub Profile
namespace Bad
open System;
module BadDependency =
let BadFunction x =
Random().Next(0, x)
module TestMe =
let FuncToTest y =
(y + BadDependency.BadFunction 100) % 2 = 0
@MorganPersson
MorganPersson / IgnoreSSlCert.cs
Created October 11, 2012 19:31
Ignore SSL cert
using System.IO;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using NUnit.Framework;
namespace SslCertTest
{
[TestFixture]
@MorganPersson
MorganPersson / app.config
Created November 15, 2011 10:41
app.config with overrides
<configuration>
<connectionStrings configSource="dev.connectionStrings.config" />
<appSettings file="dev.override.config">
</appSettings>
</configuration>