summaryrefslogtreecommitdiff
path: root/assets/cv.php
diff options
context:
space:
mode:
Diffstat (limited to 'assets/cv.php')
-rw-r--r--assets/cv.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/cv.php b/assets/cv.php
new file mode 100644
index 0000000..c9255a8
--- /dev/null
+++ b/assets/cv.php
@@ -0,0 +1,5 @@
+<?php
+header('content-type: application/pdf');
+header('content-disposition: attachment; filename=adam-carpenter-cv.pdf');
+exec('/usr/local/bin/mutool convert -F pdf -o /tmp/cv.pdf cv.html');
+passthru('/bin/cat /tmp/cv.pdf');