Skip to content

Instantly share code, notes, and snippets.

Andrew Elwell Elwell

Block or report user

Report or block Elwell

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
widoyo /
Created Oct 16, 2012
Generating PDF using Flask & ReportLab
from flask import make_response
from reportlab.pdfgen import canvas
# ...
def pdf():
import cStringIO
output = cStringIO.StringIO()
robinsmidsrod /
Last active Aug 25, 2019
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
else {
    filename "undionly.kpxe";

(or see for a more elaborate setup

You can’t perform that action at this time.