Skip to content

Instantly share code, notes, and snippets.

Jeremy Friesen jeremyf

Block or report user

Report or block jeremyf

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
@jpstroop
jpstroop / c4l_loris_lightning_talk.md
Last active Dec 12, 2015
Lightning talk re: Loris <https://github.com/pulibrary/loris> for code4lib 2013.
View c4l_loris_lightning_talk.md
View rack-pdf_preflight.rb
require 'base64'
require 'nokogiri'
module Rack
# Rack middleware to inline css and images from underlying application so it
# can be proccessed by PDFKit without additional network requests.
#
# For example, this middleware will transform this response:
#
# <html>
You can’t perform that action at this time.