I hereby claim:
- I am antaris on github.
- I am matthewabbott (https://keybase.io/matthewabbott) on keybase.
- I have a public key ASC3Juk3rHbvJ0h4SJW9io6b8mAzoit93zxO5BN3IamYVwo
To claim this, I am signing this object:
function GitPruneBranches { | |
param( | |
[string[]] $Exclude, | |
[switch] $Unmerged, | |
[switch] $Commit | |
) | |
$pattern = '^\s*(?!(master|main|develop|\*).*$).*' | |
if ($Exclude -and $Exclude.Count -gt 0) { | |
$pattern = '^(?!(master|main|develop|\*|' + (($Exclude -Join '|') -Replace '\*', '.*') + ').*$).*' |
// Copyright (c) Fresh Egg Limited. All rights reserved | |
namespace Fx.Messaging.Distributed.Host | |
{ | |
using System.Threading.Tasks; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using Fx.DistributedServices; |
public class BarConfigurationElement : NamedConfigurationElementBase | |
{ | |
private const string BarValueAttribute = "barValue"; | |
[ConfigurationProperty(BarValueAttribute, IsRequired = true)] | |
public string BarValue | |
{ | |
get { return (string)this[BarValueAttribute]; } | |
} | |
} |
using System; | |
using System.Collections.Generic; | |
using Microsoft.Extensions.DependencyInjection; | |
using Quartz; | |
using Quartz.Spi; | |
public class ServiceProviderJobFactory : IJobFactory | |
{ | |
private readonly IServiceProvider _rootServiceProvider; |
!function(root, _, undefined) { | |
var Disposable = root.Disposable = function() { | |
this.disposed = false; | |
}; | |
Disposable.prototype = { | |
_dispose: function() { | |
if (!this.disposed) { | |
this.dispose(); | |
this.disposed = true; |
namespace AsyncUpload.Controllers | |
{ | |
public class HomeController : Controller | |
{ | |
public ActionResult Index() | |
{ | |
ViewBag.Message = "Welcome to ASP.NET MVC!"; | |
return View(); | |
} |
namespace Cake.DotNetVersion | |
{ | |
using System; | |
using System.Collections.Generic; | |
using Cake.Core; | |
using Cake.Core.Annotations; | |
using Cake.Core.IO; | |
/// <summary> | |
/// Contains functionality required to updating project file versions. |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>OMD</title> | |
<style> | |
body { padding: 0; font-family: "Segoe UI", Helvetica, Arial, sans-serif } | |
header { margin-bottom: 20px; display: flex; align-items: center; } | |
header > .brand { flex-basis: 50%; } |
public class EventSubscription<TPayload> : IEventSubscription<TPayload> | |
{ | |
private readonly WeakReference<NotificationDelegate<TPayload>> _notificationRef; | |
private readonly WeakReference<FilterDelegate<TPayload>> _filterRef; | |
/// <summary> | |
/// Initialises a new instance of <see cref="EventSubscriberBase{TEvent, TPayload}"/> | |
/// </summary> | |
/// <param name="token">The subscription token</param> | |
/// <param name="notification">The notification delegate</param> |