README is empty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System.Globalization | |
CultureInfo.GetCultures (CultureTypes.NeutralCultures) | |
|> Seq.iter (fun c -> printfn "%s %s" c.Name (CultureInfo.CreateSpecificCulture(c.Name).Name)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Op = | |
| Plus | |
| Minus | |
| Times | |
| Divide | |
type StackOp = | |
| Openbrace | |
| Closebrace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let scopedStore = | |
let (id,server,store) = createTemporary "inmemory-catalog" | |
{ | |
new System.IDisposable with member this.Dispose() = delete id server | |
interface IStorageProvider = store | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BasicAuth : IHttpModule | |
{ | |
protected bool IsHeaderPresent | |
{ | |
get | |
{ | |
var context = HttpContext.Current; | |
var authHeader = context.Request.Headers["Authorization"]; | |
return (!string.IsNullOrEmpty(authHeader)); | |
} |