I hereby claim:
- I am thecodejunkie on github.
- I am thecodejunkie (https://keybase.io/thecodejunkie) on keybase.
- I have a public key whose fingerprint is 0D5C 5F57 7A5A 8A4D 771A D59F DCB2 894E 8B78 6A6E
To claim this, I am signing this object:
Are there any differences to the two approaches below? I.e impliclity ending up with the package reference to | |
NETStandard.Library 1.6.1, dvs running with DisableImplicitFrameworkReferences = true and adding an explicit | |
reference to NETStandard.Library? | |
Any pros/cons for either? Any hidden/implicit impacts? | |
See https://github.com/dotnet/sdk/pull/633#issuecomment-272515440 for some context | |
<Project Sdk="Microsoft.NET.Sdk"> |
public class MyRouteModule : NancyModule | |
{ | |
public MyRouteModule() | |
{ | |
Get("/", _ => | |
{ | |
return "Hi"; | |
}); | |
Post("/", _ => |
I hereby claim:
To claim this, I am signing this object:
1. Delete the branches in my remote `origin` | |
git branch -r --merged | grep "\origin" | grep -v "\master" | cut -d"/" -f 2 | xargs -n 1 git push origin --delete | |
2. Delete the branches locally | |
git branch --merged master | grep -v "\master" | xargs -n 1 git branch -D |
public class Random : BehaviorComposite | |
{ | |
private readonly System.Random random; | |
private Behavior current; | |
public Random(params Behavior[] behaviors) | |
: this(null, behaviors) | |
{ | |
} |
Put["/put/{name}", true] = async (parameters, ct) => | |
{ | |
var q = parameters.name; | |
var z = (string)parameters.name; | |
return 200; | |
}; | |
PUT http://localhost:59017/put/andreas HTTP/1.1 |
public class TestFixture | |
{ | |
private readonly Browser browser; | |
public TestFixture() | |
{ | |
this.browser = new Browser(with => with.Module<QueryStringTestModule>()); | |
} | |
[Fact] |
namespace JailsPlayground | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using Jails; | |
using Jails.Extensions.Roslyn; | |
using Jails.Isolators.AppDomain; | |
using Nancy; | |
using Nancy.Bootstrapper; |
using Nancy; | |
public class IndexModule : NancyModule | |
{ | |
private readonly IFoo foo; | |
public IndexModule(IFoo foo) | |
{ | |
this.foo = foo; | |
Get["/"] = DoSomething; |
var axisTotal = 0; | |
var stackedSumByColor = new int[128]; | |
for (var r = dimension.Min; r <= dimension.Max; r++) | |
{ | |
var sum = 0; | |
for (var g = dimension.Min; g <= dimension.Max; g++) | |
{ | |
for (var b = dimension.Min; b <= dimension.Max; b++) | |
{ |