Skip to content

Instantly share code, notes, and snippets.

1,1,1,1
1,1,1,2
1,1,1,3
1,1,1,4
1,1,1,5
1,1,1,6
1,1,2,1
1,1,2,2
1,1,2,3
1,1,2,4

Keybase proof

I hereby claim:

  • I am blachniet on github.
  • I am blachniet (https://keybase.io/blachniet) on keybase.
  • I have a public key ASBRXQm3QjwU1gROkz41jueUf6QnZe83OjuaYQ3CaFkBLAo

To claim this, I am signing this object:

NuGet Development Lifecycle


Version Numbers

  • NuGet Package Version
  • Assembly Version
  • Assembly File Version

Formatting

Braces

Braces Are Used Where Optional

Braces are used with if, else, for, do, while, etc. statements, even when the body is empty or contains only a single statement.

Allman Style Braces

Differences from apache/avro master

Target Frameworks

All projects targeted .NET Framework 3.5 both before and after these changes. Some projects additionally target some additional frameworks:

  • Executable projects (including the unit test project) target .NET Core 2.0
  • Library projects target .NET Standard 2.0
  • All projects target .NET Framework 3.5 & 4.0
@blachniet
blachniet / trello_qr_card.go
Created November 26, 2017 19:55
Create an HTML report from a Trello board export. Each card contains a QR code linking to the card.
package main
import (
"encoding/json"
"flag"
"html/template"
"os"
)
func main() {
@blachniet
blachniet / git-post-update-copy-file.sh
Last active November 18, 2017 00:03
Git post-update hook: After $TARGET_REF is pushed, write the contents of $FILE to $DEST.
#!/bin/sh
#
# After $TARGET_REF is pushed, write the
# contents of $FILE to $DEST.
#
# To enable this hook in a bare git repo
# 1. place it in the hooks/ directory
# 2. rename it to "post-update"
# 3. chmod +x post-update
#!/bin/sh
#
# Check author and committer names against the contents of an
# 'allowed_authors.txt' file at the root of the git repo.
#
# Inspired by https://stackoverflow.com/a/641979/389899
#
NOREV=0000000000000000000000000000000000000000
@blachniet
blachniet / consul-filebeat.yml
Last active October 27, 2021 01:42
Filebeat configuration for Consul
#=========================== Filebeat prospectors =============================
filebeat.prospectors:
- input_type: log
paths:
- C:\ProgramData\Consul\logs\*
multiline.pattern: ^(==>|\s*\d{4}/\d{2}/\d{2})
multiline.negate: true
multiline.match: after
#================================ General =====================================