Skip to content

Instantly share code, notes, and snippets.

View AndreyBespamyatnov's full-sized avatar
🏠
Working from home

Andrei Bespamiatnov AndreyBespamyatnov

🏠
Working from home
View GitHub Profile
@AndreyBespamyatnov
AndreyBespamyatnov / .gitlab-ci.yml
Created October 25, 2018 07:44 — forked from zerda/.gitlab-ci.yml
Gitlab CI for ASP.Net Core project
stages:
- build
- publish
.build: &build_template
stage: build
image: microsoft/dotnet:2.1-sdk-alpine
cache:
key: "$CI_PROJECT_NAMESPACE-$CI_PROJECT_NAME"
paths:
@AndreyBespamyatnov
AndreyBespamyatnov / app.config
Created April 9, 2018 10:57 — forked from grenade/app.config
Emit log4net entries to logstash over UDP in near-realtime
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<log4net>
<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
@AndreyBespamyatnov
AndreyBespamyatnov / app.config
Created April 9, 2018 10:57 — forked from grenade/app.config
Emit log4net entries to logstash over UDP in near-realtime
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<log4net>
<appender name="UdpAppender" type="log4net.Appender.UdpAppender">