Skip to content

Instantly share code, notes, and snippets.

Avatar

Benjamin Rigaud benjaminrigaud

View GitHub Profile
@benjaminrigaud
benjaminrigaud / indexed_with_transparency.png
Last active Jul 8, 2021
Pillow 8.3.0 regression on convert on P images with transparency
@benjaminrigaud
benjaminrigaud / Swig generated code
Last active Aug 29, 2015
Pypy & M2Crypto error
View Swig generated code
SWIGINTERN PyObject *_wrap_bio_new_fp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
FILE *arg1 = (FILE *) 0 ;
int arg2 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
BIO *result = 0 ;
@benjaminrigaud
benjaminrigaud / base.html
Created Mar 31, 2015
Django templatetags extends bug in 1.8?
View base.html
{% load tags %}
<!DOCTYPE html>
<html>
<body>
{% show_widget_1 'hello' %}
{% show_widget_2 'hello 2' %}
</body>
</html>