Skip to content

Instantly share code, notes, and snippets.

View dnauck's full-sized avatar

Daniel Nauck dnauck

View GitHub Profile
acme.challengeType=http-01
acme.email=hostmaster@domain.tld
acme.enabled=true
acme.staging=false
acme.logging=true
acme.persistence.enabled=true
acme.persistence.size=1Gi
acme.persistence.storageClass=longhorn
dashboard.domain=traefik.clusterXY.domain.tld
dashboard.enabled=true
Error:
FS3031: FSC(0,0): The type provider 'C:\Dev\Fii\packages\FSharp.Configuration\lib\net46\FSharp.Configuration.dll' reported an error: Assembly attribute 'TypeProviderAssemblyAttribute' refers to a designer assembly 'FSharp.Configuration' which cannot be loaded or doesn't exist. Could not load file or assembly 'FSharp.Core, Version=4.4.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
.NET 4.6.2 F# project, handled by Paket, FSharp.Core 4.1.17, redirects forced, FSharp.Configuration 1.2
NuGet Package "FSharp.Configuration" 1.2 is missing a dependency on FSHarp.Core?!
@dnauck
dnauck / gist:ebe10acd6703f2cd79d5c815866c69b4
Created December 1, 2016 13:14 — forked from nmanzi/gist:a6259f69cfe00c5ddf1e
pfSense 2.2 Graylog extractors
{
"extractors": [
{
"condition_type": "regex",
"condition_value": "^filterlog:.*,(in|out),4,.*",
"converters": [],
"cursor_strategy": "copy",
"extractor_config": {
"index": 17,
"split_by": ","
@dnauck
dnauck / pfsense.grok
Created December 1, 2016 11:00 — forked from bzed/pfsense.grok
Logstash pfsense pattern
# GROK match pattern for logstash.conf filter: %{PFSENSE_LOG_DATA}%{PFSENSE_IP_SPECIFIC_DATA}%{PFSENSE_IP_DATA}%{PFSENSE_PROTOCOL_DATA}
# GROK Custom Patterns (add to patterns directory and reference in GROK filter for pfSense events):
# GROK Patterns for pfSense 2.2 Logging Format
#
# Created 27 Jan 2015 by J. Pisano (Handles TCP, UDP, and ICMP log entries)
# Edited 14 Feb 2015 by E. Paul
# Edited 10 Mar 2015 by Bernd Zeimetz <bernd@bzed.de>
# taken from https://gist.github.com/elijahpaul/f5f32d4e914dcb7fedd2
@dnauck
dnauck / gist:ac9b1e7a991a0868a92d
Last active October 16, 2015 14:24
Neo4j Graph Gist example
== Neo4j Graph Gist Example
Some application to server relation test from http://stackoverflow.com/q/28805075/1522061
=== Setup
//setup
[source,cypher]
----
CREATE
@dnauck
dnauck / StringExtensions.cs
Created June 19, 2015 10:01
Creates and returns a deterministic GUID from the input string
using System;
using System.Text;
namespace Test
{
public static class StringExtensions
{
/// <summary>
/// Creates and returns a deterministic <see cref="Guid"/> from the input string.
/// This extension method could be used to build a <see cref="Guid"/> from a natural
public class GetEventStoreSubscriptionDispatcher
{
private const string EventClrTypeHeader = "EventClrTypeName";
private readonly IBus bus;
private readonly IEventStoreConnection eventStoreConnection;
private readonly MongoDatabase mongoDatabase;
private static readonly JsonSerializerSettings SerializerSettings;
static GetEventStoreSubscriptionDispatcher()
{