Skip to content

Instantly share code, notes, and snippets.

Dominick Baier leastprivilege

Block or report user

Report or block leastprivilege

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@leastprivilege
leastprivilege / Whisk(e)y pre-release versioning scheme
Last active Apr 5, 2019
alphas, betas and RCs are boring - that's what I gonna use in the future for pre-release builds
View Whisk(e)y pre-release versioning scheme
I am fed up with alphas, betas and release candidates - especially since they don't mean anything anymore.
Here's my naming scheme for pre-releases. Slàinte!
aberfeldy
aberlour
ardbeg
ardmore
arran
aultmore
@leastprivilege
leastprivilege / id_clone.cmd
Last active Aug 3, 2018
Cloning identity* repos
View id_clone.cmd
md identity
cd identity
md server3
cd server3
git clone -b dev https://github.com/IdentityServer/IdentityServer3.git IdentityServer3
git clone -b dev https://github.com/IdentityServer/IdentityServer3.AccessTokenValidation.git AccessTokenValidation
git clone -b dev https://github.com/IdentityServer/IdentityServer3.Samples.git Samples
git clone -b dev https://github.com/IdentityServer/IdentityServer3.EntityFramework.git EntityFramework
View OwinSharedConfig.cs
public class StsMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _next;
private readonly IStsConfig _config;
public StsMiddleware(Func<IDictionary<string, object>, Task> next)
: this(next, new AppConfigStsConfig())
{}
public StsMiddleware(Func<IDictionary<string, object>, Task> next, IStsConfig config = null)
You can’t perform that action at this time.