Skip to content

Instantly share code, notes, and snippets.

View harwoeck's full-sized avatar

Florian Harwoeck harwoeck

View GitHub Profile
func WrapperHandler(handler func(http.ResponseWriter, *http.Request)) func(http.ResponseWriter, *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
handler(w, r)
}
}
@harwoeck
harwoeck / YubiKey-GPG-SSH-guide.md
Created April 16, 2018 08:57 — forked from ageis/YubiKey-GPG-SSH-guide.md
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate).

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@harwoeck
harwoeck / Makefile
Created November 5, 2018 07:29 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.