Skip to content

Instantly share code, notes, and snippets.

View ryansroberts's full-sized avatar

Ryan Roberts ryansroberts

View GitHub Profile
LibGit2Sharp.Tests.DiffTreeToTreeFixture.CanCompareACommitTreeAgainstATreeWithNoCommonAncestor
/Users/ryanroberts/code/git2prov/lib/libgit2sharp/CI/build.msbuild: error : LibGit2Sharp.Tests.DiffTreeToTreeFixture.CanCompareTwoVersionsOfAFileWithADiffOfTwoHunks(contextLines: 4, interhunkLines: 1): Assert.Equal() Failure
Position: First difference is at position 11
Expected: diff --git a/numbers.txt b/numbers.txt
index 7909961..4e935b7 100644
--- a/numbers.txt
+++ b/numbers.txt
@@ -1,15 +1,17 @@
1
+2
namespace Syndication.Client.Http
{
public class CachingAdapter : HttpClientAdapter
{
readonly HttpClient client;
public CachingAdapter(ICacheStore cacheStore, string[] defaultVaryHeaders)
{
//http://msdn.microsoft.com/en-us/library/system.net.cache.requestcachelevel(v=vs.110).aspx
//http://blog.technovert.com/2013/01/httpclient-caching/
open System.Globalization
CultureInfo.GetCultures (CultureTypes.NeutralCultures)
|> Seq.iter (fun c -> printfn "%s %s" c.Name (CultureInfo.CreateSpecificCulture(c.Name).Name))
HUGBOX CHALLENGE
Skill is a cis-patriachial construct that is deeply entangled with neo-liberal hegemony, but for some reason we still like to organise competitions that differential between ability and allow us to make job offers to promising developers while promoting our company for the purposes of profit.
Please create an application in a domain that is the most immune from criticism
[Fact]
public void EditAProduct()
{
using (Current.FreezeTime(new DateTime(2011, 11, 11)))
using (var _ = Tester.AsAllRoles()
.WithRaven(AggregrateBuilders.Products.ProductFixtures(1, false, (product, i, arg3) => product.Workflow.State = WorkflowState.ReadyForApproval), true)
.Put("products/DG1", new EditProduct
{
AlternativeTitle = "EditedShortTitle",
type Op =
| Plus
| Minus
| Times
| Divide
type StackOp =
| Openbrace
| Closebrace

README is empty

### Keybase proof
I hereby claim:
* I am ryansroberts on github.
* I am ryanroberts (https://keybase.io/ryanroberts) on keybase.
* I have a public key whose fingerprint is FA2F 5DBB 1F9E 8A36 F463 F596 1407 891E 13F7 5D48
To claim this, I am signing this object:
let scopedStore =
let (id,server,store) = createTemporary "inmemory-catalog"
{
new System.IDisposable with member this.Dispose() = delete id server
interface IStorageProvider = store
}
public class BasicAuth : IHttpModule
{
protected bool IsHeaderPresent
{
get
{
var context = HttpContext.Current;
var authHeader = context.Request.Headers["Authorization"];
return (!string.IsNullOrEmpty(authHeader));
}