html-resume/render-pdf.sh

9 lines
229 B
Bash
Raw Normal View History

2018-10-22 21:29:49 +00:00
#! /bin/sh
npx http-server &
sleep 6;
2021-06-19 04:51:07 +00:00
chromium --headless --disable-gpu --run-all-compositor-stages-before-draw --print-to-pdf="./John-Shaver-Resume-2021.pdf" http://localhost:8080/ --virtual-time-budget=10000;
2018-10-22 21:29:49 +00:00
kill %1;
exit;