Bel LaPointe 2023-10-19 09:53:05 -06:00
parent 9006e9ba22
commit c1370cf6b1
2 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,10 @@ cp -r ./homebrew/fonts $outdir/public/
echo PRINTING PDF echo PRINTING PDF
which google-chrome-stable which google-chrome-stable
which miniserve
miniserve $outdir/public &
pid=${!}
until curl localhost:8080; do sleep 5; done
google-chrome-stable \ google-chrome-stable \
--no-sandbox \ --no-sandbox \
--headless \ --headless \
@ -33,7 +37,8 @@ google-chrome-stable \
--print-to-pdf=$outdir/public/BreeLaPointeResume.pdf \ --print-to-pdf=$outdir/public/BreeLaPointeResume.pdf \
--run-all-compositor-stages-before-draw \ --run-all-compositor-stages-before-draw \
--no-pdf-header-footer \ --no-pdf-header-footer \
$outdir/public http://localhost:8080
kill $pid
cat $outdir/public/BreeLaPointeResume.pdf | base64 | tr -d '\n'; echo cat $outdir/public/BreeLaPointeResume.pdf | base64 | tr -d '\n'; echo
false false

View File

@ -62,3 +62,4 @@ resume:
- 'Languages: Golang, Bash, Python3' - 'Languages: Golang, Bash, Python3'
- 'Platforms: Docker, Hashicorp, Linux/Unix, AWS, Jenkins, REST, Microservices, Git' - 'Platforms: Docker, Hashicorp, Linux/Unix, AWS, Jenkins, REST, Microservices, Git'
- 'Datastores: MongoDB, Redis, S3, Couchbase, DynamoDB' - 'Datastores: MongoDB, Redis, S3, Couchbase, DynamoDB'