Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kdruelle on github.
  • I am kdruelle (https://keybase.io/kdruelle) on keybase.
  • I have a public key ASD0xMnVg9yqmPfeA3vGVdiJJzN-U4wdI8VZXj3hxiAhQwo

To claim this, I am signing this object:

@kdruelle
kdruelle / .stignore
Created October 14, 2016 10:06
Useful .stignore Patterns
// Incomplete Downloads
// At least for now, these prevent Syncthing from transferring data that's
// going to be thrown out anyway once the download is finished and the
// file is renamed. Things may change when Syncthing gets smarter.
//
// Firefox downloads and other things
*.part
// Chrom(ium|e) downloads
*.crdownload
@kdruelle
kdruelle / log.h
Last active August 11, 2016 16:06
template variadic log
#include <string>
#include <sstream>
#include <vector>
#include <regex>
enum class log_level{
debug,
info,
notice,
warning,