Skip to content

Instantly share code, notes, and snippets.

View MRdNk's full-sized avatar

Duncan Angus Wilkie MRdNk

View GitHub Profile
@richlander
richlander / Dockerfile
Last active November 17, 2020 21:03
.NET Core 3.0 Preview 3 Dockerfile
FROM mcr.microsoft.com/dotnet/core/runtime:3.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build
WORKDIR /src
COPY ["WebApplication4/WebApplication4.csproj", "WebApplication4/"]
RUN dotnet restore "WebApplication4/WebApplication4.csproj"
COPY . .
@caevyn
caevyn / JsonLayoutRenderer
Last active August 29, 2015 13:57
Json layout renderer for nlog + rabbitMQ target + logstash
using System.Globalization;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NLog;
using NLog.LayoutRenderers;
namespace Cats.Middleware.Logging
{
[LayoutRenderer("json")]
@dan-turner
dan-turner / .gitconfig
Last active February 24, 2016 23:42
Git Config
[core]
editor = \"C:/Program Files (x86)/GitExtensions/GitExtensions.exe\" fileeditor
autocrlf = true
[credential]
helper = !\\\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\\\"
[user]
name = ####Your name here####
email = ####Your email here####
[merge]
tool = BeyondCompare4