Skip to content

Instantly share code, notes, and snippets.

View martinkrung's full-sized avatar

Martin Krung martinkrung

View GitHub Profile
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore31
Contributor # 178
Hash: 28ce0dfb c0d99583 c4ad9a95 9117460f
0f995238 4037c536 63bac67b 09abd1d5
57180f96 f7c1427a 8d9edc9e 96805558
a39c734d e2bbbf36 b2cc53bf daaaa2a2
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 189
Hash: 8802d2ce 29eec3f1 0f0defba 7b7736e5
256ca0a7 f1d2319d 907c8565 5b333edf
98b58005 d8e54f0c 113c6b6e 7f3bfd26
17f3e8f3 3f8ed20b 1085511f 97226a51

martinkrung

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@martinkrung
martinkrung / is_portrait.py
Last active August 29, 2015 14:24
template filter for django easy-thumbnails image orientation check (is_portrait)
# -*- coding: utf-8 -*-
from django import template
register = template.Library()
@register.filter(is_safe=True)
def is_portrait(im):
if im.image.height > im.image.width:
return True