Skip to content

Instantly share code, notes, and snippets.

Christian Lyder Jacobsen clj

Block or report user

Report or block clj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am clj on github.
  • I am cljacobsen ( on keybase.
  • I have a public key ASDQU1UADl1bLGDhxBj1klafXt_JdQjo6h1A-rGVqEEY8wo

To claim this, I am signing this object:

clj /
Created Oct 13, 2017
Script to generate an OS X .icns file from an .svg file using the Inkscape cli
#!/usr/bin/env bash
# Adapted from:
if [ -z "${1+set}" ]; then
echo "Pass path to the inkscape command as first argument"
exit 1
clj /
Created May 13, 2015
Premailer class that does not escape values in attributes
from lxml import etree
import premailer
class MyPremailer(premailer.Premailer):
def transform(self, pretty_print=True, **kwargs):
assert self.method == 'html'
parser = etree.HTMLParser()
stripped = self.html.strip()
You can’t perform that action at this time.