diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index dbdcd21..1a1c91e 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -81,6 +81,6 @@ spec: script: | export build_before=${{ build.before }} export build_after=${{ build.after }} - if git --no-pager diff --name-only $build_before..$build_after | grep src.open.resume.d; then + if git --no-pager diff --name-only $build_before..$build_after | grep src.homebrew; then bash ./deploy.firebase.sh fi diff --git a/README.md b/README.md index fe452fa..830fe2f 100755 --- a/README.md +++ b/README.md @@ -1,17 +1,12 @@ # Resume -1. open https://www.open-resume.com/resume-builder -1. in browser, `inspect > storage > local storage > about:srcdoc` -1. `cat ./open-resume.com.d/local*.json` -1. paste into `about:srcdoc` `Value` -1. refresh -1. download resume as `./open-resume.com.d/resume.pdf` -1. inspect iframe > `` > copy outer HTML -1. `pbpaste > ./open-resume.com.d/resume.html` -1. `cd ./open-resume.com.d/; bash ./clean_resume_html.sh; cd ..` -1. `bash ./deploy.firebase.sh` +1. modify [homebrew.yaml](./src/homebrew/homebrew.yaml) +1. generate `cd ./src/homebrew; bash ./homebrew.sh` +1. `open ./src/homebrew/homebrew.html` +1. `ctrl + p` and save as pdf +1. commit + push -# Today +## CICD 1. `gitness.inhome.blapointe.com` has a `./.harness` pipeline 1. the pipeline diff --git a/deploy.firebase.sh b/deploy.firebase.sh index d78d197..f7ead6f 100755 --- a/deploy.firebase.sh +++ b/deploy.firebase.sh @@ -8,7 +8,7 @@ cd src if which vale; then f=$(mktemp) - cat open-resume.com.d/local-storage-about-srcdoc-open-resume.json | sed 's/"[^"]*":/"."/g' > $f + cp homebrew/homebrew.yaml $f vale sync vale $f || true fi @@ -29,9 +29,8 @@ trap cleanup EXIT rm -rf $outdir mkdir -p $outdir/public -cp ./open-resume.com.d/resume.html.2 $outdir/public/index.html -cp ./open-resume.com.d/resume.pdf $outdir/public/BreeLaPointeResume.pdf -cp -r ./open-resume.com.d/fonts $outdir/public/ +cp homebrew/homebrew.html $outdir/public/index.html +cp -r ./homebrew/fonts $outdir/public/ ( if ! which woff2_compress; then diff --git a/src/open-resume.com.d/clean_resume_html.sh b/src/open-resume.com.d/clean_resume_html.sh deleted file mode 100755 index f1edd4b..0000000 --- a/src/open-resume.com.d/clean_resume_html.sh +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/bash -set -o pipefail - -echo '> copy outer HTML of html just inside iframe' >&2 - -font_family="$(cat resume.html | grep -o 'font-family[^;]*' | tail -n 1 | awk '{print $NF}')" -cat resume.html \ - | sed 's/>...<\/text/> - <\/text/g' \ - | sed 's/overflow: hidden;/margin: auto !important; padding-bottom: .0em !important;/g' \ - | sed 's/padding: 0px 60pt;/padding: 0px 18pt;/' \ - | sed 's/width: 612pt;/width: 512pt;/' \ - | sed "s#]*as=\"font\"[^>]*/fonts/[^${font_family:0:1}][^>]*>##g" \ - | sed "s#]*as=\"font\"[^>]*/fonts/${font_family:0:1}[^${font_family:1:1}][^>]*>##g" \ - | sed "s#/fonts/#./fonts/#g" \ - > resume.html.2 \ -|| rm resume.html.2 - -for font_file in $( - cat resume.html.2 \ - | grep -o 'href="./fonts/[^"]*' \ - | sed 's#.*"./##' -); do - if [ ! -f "$font_file" ]; then - mkdir -p ./${font_file%/*}/ - curl -sS -L https://www.open-resume.com/$font_file > $font_file - fi -done - - -# | sed 's#"/fonts/#"https://www.open-resume.com/fonts/#g' \ - - - #| sed 's/margin-top: 15pt;/margin-top: 20pt;/g' \ - #| sed 's/margin-top: 12pt;/margin-top: 17pt;/g' \ - #| sed 's/margin-top: 8pt;/margin-top: 12pt;/g' \ - #| sed 's/margin-top: 6pt;/margin-top: 10pt;/g' \ - diff --git a/src/open-resume.com.d/fonts/Lato-Bold.ttf b/src/open-resume.com.d/fonts/Lato-Bold.ttf deleted file mode 100644 index f607eca..0000000 Binary files a/src/open-resume.com.d/fonts/Lato-Bold.ttf and /dev/null differ diff --git a/src/open-resume.com.d/fonts/Lato-Regular.ttf b/src/open-resume.com.d/fonts/Lato-Regular.ttf deleted file mode 100644 index 18b1003..0000000 Binary files a/src/open-resume.com.d/fonts/Lato-Regular.ttf and /dev/null differ diff --git a/src/open-resume.com.d/local-storage-about-srcdoc-open-resume.json b/src/open-resume.com.d/local-storage-about-srcdoc-open-resume.json deleted file mode 100755 index 25b4dc0..0000000 --- a/src/open-resume.com.d/local-storage-about-srcdoc-open-resume.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "resume": { - "profile": { - "name": "Bree LaPointe", - "summary": "Senior Software Engineer", - "email": "contact@blapointe.com", - "phone": "(336) 701-6159", - "location": "Provo, UT", - "url": "linkedin.com/in/lapoba16" - }, - "workExperiences": [ - { - "company": "Qualtrics", - "jobTitle": "Senior Software Engineer, Team Lead", - "date": "May 2022 - Present", - "descriptions": [ - "Mentored entry and mid-level engineers on stability, clean code, and distributed systems.", - "Hosted engineering book and white paper clubs for continuous improvement and cross-team experience sharing for 2 years.", - "Recovered 98% of data lost in critical incident via coordinating cross team efforts and dissecting native database operation logs." - ] - }, - { - "company": "Qualtrics", - "jobTitle": "Software Engineer II", - "date": "Oct 2019 - May 2022", - "descriptions": [ - "Developed and owned highly available and reliable data storage and operational tooling.", - "Mentored 2 interns, 2 new hires, and 3 mid-level cross team engineers on operational tools, maintainable software, and career development.", - "Genericized AWS asset management tooling ahead of company-wide mass migration initiative.", - "Championed disaster recovery by supporting training runs with documentation, tools, and live support across teams and enforced continuous compliance for 17 database clusters with monitoring and alerting.", - "Lent expertise owning MongoDB across teams by advising on configuration and data models and genericizing disaster recovery tooling for 21 teams." - ] - }, - { - "company": "Qualtrics", - "jobTitle": "Software Engineer I", - "date": "Feb 2018 - Oct 2019", - "descriptions": [ - "Automated no-downtime system patching for 30 services and 25 database clusters by creating a modular and testable scripting framework.", - "Raised backend service's availability to 99.99% and reduced hardware costs by 40% by selecting, training team on, and live migrating to a different datastore." - ] - } - ], - "educations": [ - { - "school": "Wake Forest University", - "degree": "Master of Science in Computer Science", - "gpa": "3.88/4.00", - "date": "Dec 2017", - "descriptions": [] - }, - { - "school": "High Point University", - "degree": "Bachelor of Arts in Computer Science", - "gpa": "3.91/4.00", - "date": "Dec 2015", - "descriptions": [] - } - ], - "projects": [ - { - "project": "Arabidopsis thaliana computationally-generated next-state gene interaction models", - "date": "June 2018", - "descriptions": [ - "Refactored to correct bugs and improve efficiency by orders of magnitude" - ] - } - ], - "skills": { - "featuredSkills": [ - { - "skill": "", - "rating": 4 - }, - { - "skill": "", - "rating": 4 - }, - { - "skill": "", - "rating": 4 - }, - { - "skill": "", - "rating": 4 - }, - { - "skill": "", - "rating": 4 - }, - { - "skill": "", - "rating": 4 - } - ], - "descriptions": [ - "Languages: Golang, Bash, Python3", - "Platforms: Docker, Hashicorp, Linux/Unix, AWS, Jenkins, REST, Microservices, Git", - "Datastores: MongoDB, Redis, S3, Couchbase, DynamoDB" - ], - "notfeaturedSkills": [ - { - "skill": "Golang", - "rating": 4 - }, - { - "skill": "Bash", - "rating": 4 - }, - { - "skill": "Python3", - "rating": 3 - } - ] - }, - "custom": { - "descriptions": [] - } - }, - "settings": { - "themeColor": "#818cf8", - "fontFamily": "Lato", - "fontSize": "11", - "documentSize": "Letter", - "formToShow": { - "workExperiences": true, - "educations": true, - "projects": true, - "skills": true, - "custom": false - }, - "formToHeading": { - "workExperiences": "WORK EXPERIENCE", - "educations": "EDUCATION", - "projects": "PUBLICATIONS", - "skills": "SKILLS", - "custom": "PUBLICATIONS" - }, - "formsOrder": [ - "workExperiences", - "educations", - "projects", - "skills", - "custom" - ], - "showBulletPoints": { - "educations": false, - "projects": true, - "skills": true, - "custom": false - } - } -} diff --git a/src/open-resume.com.d/resume.html b/src/open-resume.com.d/resume.html deleted file mode 100644 index 13a0d80..0000000 --- a/src/open-resume.com.d/resume.html +++ /dev/null @@ -1,30 +0,0 @@ -
- - - - - - - - - - - - - - -