Skip to content

Instantly share code, notes, and snippets.

@ckelly
ckelly / fiddle.response.json
Last active August 29, 2015 14:08
Test DnD drop issue
[
{
"engagement": {
"id": 151507,
"portalId": 18770,
"active": true,
"createdAt": 1413837899698,
"lastUpdated": 1414080693480,
"createdBy": 540710,
"modifiedBy": 540710,

Keybase proof

I hereby claim:

  • I am ckelly on github.
  • I am ckelly (https://keybase.io/ckelly) on keybase.
  • I have a public key whose fingerprint is 8414 5119 ED91 E8DA 7D35 7EF7 D449 9DDE 7F82 CBE4

To claim this, I am signing this object:

import re
from django import template
from django.utils.functional import allow_lazy
from django.template.defaultfilters import stringfilter
from django.utils.safestring import mark_safe, SafeData
from django.utils.encoding import force_unicode
from django.utils.html import escape
from django.utils.text import normalize_newlines
register = template.Library()
@ckelly
ckelly / ssl_nginx
Created August 8, 2013 17:18
nginx SSL config for good ssl labs test results
This is the Nginx config I use to get a good score on https://www.ssllabs.com/ssltest/index.html with my sites now. Contact me on
twitter @zedshaw if you have improvements for this.
server {
listen 443 ssl default_server;
server_name servername.com;
...
ssl on;
@ckelly
ckelly / gist:2040790
Created March 15, 2012 00:48
Homebrew GDAL 1.9 issue
This file has been truncated, but you can view the full file.
/usr/bin/env python -c import numpy
==> Installing gdal dependency: jpeg
==> Downloading http://www.ijg.org/files/jpegsrc.v8d.tar.gz
/usr/bin/curl -qf#LA Homebrew 0.8.1 (Ruby 1.8.7-249; Mac OS X 10.7.3) http://www.ijg.org/files/jpegsrc.v8d.tar.gz -o /Users/chris/Library/Caches/Homebrew/jpeg-8d.tar.gz --silent
/usr/bin/tar xf /Users/chris/Library/Caches/Homebrew/jpeg-8d.tar.gz
==> ./configure --prefix=/usr/local/Cellar/jpeg/8d --disable-dependency-tracking
./configure --prefix=/usr/local/Cellar/jpeg/8d --disable-dependency-tracking
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking target system type... x86_64-apple-darwin11.3.0