Skip to content

Instantly share code, notes, and snippets.

from event.models import Event
from django.core.mail import EmailMessage
import csv
import io
e = Event.objects.current_event()
email = EmailMessage(
"Speakerfeedback für {}".format(e.title),
"Im Anhang ist das Speaker feedback für den {}".format(e.title),
@jandd
jandd / bumpme
Last active August 15, 2018 20:23
Wed Aug 15 20:23:46 UTC 2018
@jandd
jandd / README.md
Created June 15, 2018 11:15
Tmux presentation setup

Terminal presentation setup with tmux and powerline

This is a short description of my tmux and powerline setup used for presentations with terminal mirroring. I used this for the first time at Spring I/O 2018.

System preparation

Install required packages

@jandd
jandd / gist:9c69f602fb534a47c0ee
Created March 21, 2015 09:38
Getting the CN from a client certificates SubjectDN and put it into a header with nginx and LUA
set_by_lua $ssl_client_s_dn_subject_cn '
dn = ngx.arg[1];
cnstart = string.sub(dn, string.find(dn, "/CN=") + 4);
return string.sub(cnstart, 0, string.find(cnstart, "/") - 1);
' $ssl_client_s_dn;

Keybase proof

I hereby claim:

  • I am jandd on github.
  • I am jandd (https://keybase.io/jandd) on keybase.
  • I have a public key whose fingerprint is B2FF 1D95 CE8F 7A22 DF4C F09B A73E 0055 558F B8DD

To claim this, I am signing this object: