I hereby claim:
- I am ismaelhamed on github.
- I am ismaelhamed (https://keybase.io/ismaelhamed) on keybase.
- I have a public key ASAzvtc9ecCc98TQx-k2b3DyWtig3huU0vg6lctJSst7-Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[MemoryDiagnoser] | |
[SimpleJob(targetCount: 5, launchCount: 1, warmupCount: 5)] | |
public class ActorBenchmarks | |
{ | |
[Params(100_000, 1_000_000)] | |
public int ActorCount { get; set; } | |
private ActorSystem system; | |
[IterationSetup] |
using Elastic.Apm.DiagnosticSource; | |
using Elastic.Apm.Extensions.Hosting; | |
using Microsoft.Extensions.Hosting; | |
namespace Sample | |
{ | |
internal static class Program | |
{ | |
private static void Main(string[] args) | |
{ |
internal class Program | |
{ | |
private static readonly HttpResponse NotFound = HttpResponse.Create() | |
.WithStatus(404) | |
.WithEntity("Unknown resource!"); | |
public static void Main(string[] _) | |
{ | |
var system = ActorSystem.Create("HelloAkkaHttpServer"); | |
var cs = CoordinatedShutdown.Get(system); |
public class QuarantinedNodesExtension : IExtension | |
{ | |
private readonly ExtendedActorSystem system; | |
private readonly IActorRef listener; | |
public QuarantinedNodesExtension(ExtendedActorSystem system) | |
{ | |
this.system = system; | |
listener = system.SystemActorOf(Props.Create<QuarantinedNodesListener>().WithDeploy(Deploy.Local), "QuarantinedNodesListener"); | |
} |
git config branch.master.rebaselock true |
using System.Web.Optimization; | |
namespace NgTemplateBundling | |
{ | |
using NgTemplateBundling.Bundling; | |
public class BundleConfig | |
{ | |
public static void RegisterBundles(BundleCollection bundles) | |
{ |
using System.Web.Helpers; | |
namespace System.Web.Mvc | |
{ | |
public static class HtmlExtensions | |
{ | |
const string AntiForgeryCookieName = "XSRF-TOKEN"; | |
public static IHtmlString AngularJSAntiForgeryToken(this HtmlHelper html) | |
{ |
using System; | |
using System.Collections.Generic; | |
#if WINDOWS_PHONE_8 | |
namespace Windows.Security.Credentials | |
#else | |
namespace System.Security.Credentials | |
#endif | |
{ | |
/// <summary> |
using System.Threading.Tasks; | |
using Telerik.Everlive.Sdk.Core.Result; | |
namespace Telerik.Everlive.Sdk.Core.Facades | |
{ | |
public static class FacadesExtensions | |
{ | |
public static Task<T> ExecuteAsync<T>(this AsyncFacade<T> facade) | |
{ | |
var tcs = new TaskCompletionSource<T>(); |