From 7d70e0ecfdf6506444ffb0c5d3aa5dd466914162 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Fri, 13 Dec 2024 11:24:52 -0600 Subject: [PATCH] json refactor --- .gitignore | 11 +- .../CandidateInfoSheet/CandidateInfoSheet.md | 0 .../ContactInfo/ContactInfo-ClientSubmit.md | 0 .../ContactInfo/ContactInfo-JobBoard.md | 0 .../JobHistoryDetails/job1.md | 0 .../JobHistoryDetails/job2.md | 0 .../SkillsAndProjects/Projects.md | 0 .../SkillsAndProjects/Skills.csv | 0 .../WorkHistory/WorkHistory.csv | 0 build-output/CandidateInfoSheet.md | 121 ------------------ .../client-submission/ignore-this-dir | 1 - build-output/job-board/ignore-this-dir | 1 - build-output/resume.json | 19 --- build/build-demo-json.sh | 6 +- build/build-demo-markdown.sh | 34 ++--- 15 files changed, 22 insertions(+), 171 deletions(-) rename Templates/{ => MarkdownResume}/CandidateInfoSheet/CandidateInfoSheet.md (100%) rename Templates/{ => MarkdownResume}/ContactInfo/ContactInfo-ClientSubmit.md (100%) rename Templates/{ => MarkdownResume}/ContactInfo/ContactInfo-JobBoard.md (100%) rename Templates/{ => MarkdownResume}/JobHistoryDetails/job1.md (100%) rename Templates/{ => MarkdownResume}/JobHistoryDetails/job2.md (100%) rename Templates/{ => MarkdownResume}/SkillsAndProjects/Projects.md (100%) rename Templates/{ => MarkdownResume}/SkillsAndProjects/Skills.csv (100%) rename Templates/{ => MarkdownResume}/WorkHistory/WorkHistory.csv (100%) delete mode 100644 build-output/CandidateInfoSheet.md delete mode 100644 build-output/client-submission/ignore-this-dir delete mode 100644 build-output/job-board/ignore-this-dir delete mode 100644 build-output/resume.json diff --git a/.gitignore b/.gitignore index 9f120dc..6b28708 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,2 @@ -build-output/client-submission/*.md -build-output/client-submission/*.pdf -build-output/client-submission/*.doc -build-output/CandidateInfoSheet* -build-output/job-board/*.md -build-output/job-board/*.pdf -build-output/job-board/*.doc -build-temp/*.yml -build-temp/*.md \ No newline at end of file +build-output/* +build-temp/* \ No newline at end of file diff --git a/Templates/CandidateInfoSheet/CandidateInfoSheet.md b/Templates/MarkdownResume/CandidateInfoSheet/CandidateInfoSheet.md similarity index 100% rename from Templates/CandidateInfoSheet/CandidateInfoSheet.md rename to Templates/MarkdownResume/CandidateInfoSheet/CandidateInfoSheet.md diff --git a/Templates/ContactInfo/ContactInfo-ClientSubmit.md b/Templates/MarkdownResume/ContactInfo/ContactInfo-ClientSubmit.md similarity index 100% rename from Templates/ContactInfo/ContactInfo-ClientSubmit.md rename to Templates/MarkdownResume/ContactInfo/ContactInfo-ClientSubmit.md diff --git a/Templates/ContactInfo/ContactInfo-JobBoard.md b/Templates/MarkdownResume/ContactInfo/ContactInfo-JobBoard.md similarity index 100% rename from Templates/ContactInfo/ContactInfo-JobBoard.md rename to Templates/MarkdownResume/ContactInfo/ContactInfo-JobBoard.md diff --git a/Templates/JobHistoryDetails/job1.md b/Templates/MarkdownResume/JobHistoryDetails/job1.md similarity index 100% rename from Templates/JobHistoryDetails/job1.md rename to Templates/MarkdownResume/JobHistoryDetails/job1.md diff --git a/Templates/JobHistoryDetails/job2.md b/Templates/MarkdownResume/JobHistoryDetails/job2.md similarity index 100% rename from Templates/JobHistoryDetails/job2.md rename to Templates/MarkdownResume/JobHistoryDetails/job2.md diff --git a/Templates/SkillsAndProjects/Projects.md b/Templates/MarkdownResume/SkillsAndProjects/Projects.md similarity index 100% rename from Templates/SkillsAndProjects/Projects.md rename to Templates/MarkdownResume/SkillsAndProjects/Projects.md diff --git a/Templates/SkillsAndProjects/Skills.csv b/Templates/MarkdownResume/SkillsAndProjects/Skills.csv similarity index 100% rename from Templates/SkillsAndProjects/Skills.csv rename to Templates/MarkdownResume/SkillsAndProjects/Skills.csv diff --git a/Templates/WorkHistory/WorkHistory.csv b/Templates/MarkdownResume/WorkHistory/WorkHistory.csv similarity index 100% rename from Templates/WorkHistory/WorkHistory.csv rename to Templates/MarkdownResume/WorkHistory/WorkHistory.csv diff --git a/build-output/CandidateInfoSheet.md b/build-output/CandidateInfoSheet.md deleted file mode 100644 index 193a363..0000000 --- a/build-output/CandidateInfoSheet.md +++ /dev/null @@ -1,121 +0,0 @@ -# First Middle Last Candidate Information Sheet - -## Introduction - -Hello, - -I apologize for the form letter response. - -I receive a high volume of recruiter emails every day and I've found this letter to be the most efficient way to -handle the high volume of emails and reduce back and forth emails/texts/calls. - -If you have any questions/comments/concerns not covered by this document, please let me know via e-mail and I'm happy to address them! - -If you ask me something answered in this document, I will not respond and will not move forward with the opportunity, so please read it in detail! - -## Re: share my ID over email - -I WILL NOT share my (full or redacted) photo ID over email or any other electronic written -communication. If that is "required" then I have no interest in moving forward with this opportunity. - -I am happy to get on a teams/zoom/google meet etc call and show my ID. - -## Re: professional references - -I am happy to provide professional references once an interview with the end client/customer/hiring manager/team has been scheduled. I will NOT provide references up front. If that is "required" then I have no interest in moving forward with this opportunity. - -## Re: relocation - -if the role is not based in **Place 1/Place 2** or **Other Location** I will need to re-locate - -| Question | Answer | -|-------------------------------------------|--------| -| Am I open to relocation? | Yes | -| Am I willing to re-locate at own expense? | No | -| Am I open to up to 100% travel | Yes | - -Please be aware that: - -- I will **only re-locate at the employer expense**. -- I will need **two weeks of time** to re-locate. -- The net amount of the re-location benefit **MUST be at least 1,987.11** to fully compensate me for the time/effort to re-locate. -- The full re-location benefit **must be provided prior to the confirmed start date**. -- I **will NOT** accept a reimbursement based re-location package. -- I am happy to come onsite (at client expense (paid up front)) for training/orientation etc. - -\pagebreak - -## Rate Schedule (compensation expectations) - -### Fully remote roles - -I have a **very strong** preference for fully remote roles. - -I am open to (at the absolute bottom of my range): - -- **$12.34** per hour(w2) -- **$123,456.00** annually -- **$56.78** per hour (1099/corp to corp) - -I have a strong preference for roles that are : - -- **$34.56** per hour(w2) or more -- **$321,987.00** annually or more -- **$78.90** per hour (1099/corp to corp) or more - -### On-site/hybrid roles - -- **$34.56** per hour(w2) or more -- **$321,987.00** annually or more -- **$78.90** per hour (1099/corp to corp) or more - -In regards to compensation type, I am open to: - -- w2 -- corp to corp (I have my own LLC) -- 1099 - -If you have a rate for any of the compensation options above, send them all. I will pick which one works best for my situation and the opportunity. - -If it's a different rate with/without benefits, send both. - -If the above is in alignment with this opportunity, please feel free to send me an RTR with the best rate you can offer. - -\pagebreak - -## Details needed for submission - -### My resume - -[Download Candidate resume(format)](https://some.resume.somewhere/some-Resume.pdf) - -I am happy to discuss and make edits to the resume content specific to the opportunity if you feel they are needed. - -### Candidate details - -Here are my complete candidate details for submission to the role. - -| Question | Answer | -|---------------------------------------|-------------------------------------| -| Full name | First Middle Last | -| E-mail address | | -| Phone number | 1 123 456 7890 | -| Preferred form of contact | Email will get the fastest response. | -| Work authorization | US Citizen | -| Are you employed presently? | Not currently employed | -| Current location | City,State,Country etc | -| Current timezone | Timezone | -| Timezones I can work in | Timezones | -| Availability to interview | Sometime | -| Availability to start | Sometime | -| Highest Education | Some education level | -| Graduated Year | Graduation year | -| Name of school | School name | -| Location of school | School location | -| Linkedin Profile | (https://www.linkedin.com/) | -| Github Profile | (https://www.github.com/) | -| Last project | Last project | -| DOB | MM/DD | -| Total IT/career experience | epoch | -| Open to in-office/hybrid/remote | Yes | -| Any trips planned in next six months? | No | diff --git a/build-output/client-submission/ignore-this-dir b/build-output/client-submission/ignore-this-dir deleted file mode 100644 index a916f39..0000000 --- a/build-output/client-submission/ignore-this-dir +++ /dev/null @@ -1 +0,0 @@ -This directory is used by the build process. Ignore it. \ No newline at end of file diff --git a/build-output/job-board/ignore-this-dir b/build-output/job-board/ignore-this-dir deleted file mode 100644 index a916f39..0000000 --- a/build-output/job-board/ignore-this-dir +++ /dev/null @@ -1 +0,0 @@ -This directory is used by the build process. Ignore it. \ No newline at end of file diff --git a/build-output/resume.json b/build-output/resume.json deleted file mode 100644 index ef87c73..0000000 --- a/build-output/resume.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "meta": { - "theme": "professional" - }, - "basics": { - "name": "First Middle Last", - "phone": "1 123 456 7890", - "label": "Jack of all trades", - "image": "URLTOAVATAR", - "summary": "Super awesome and stuff.", - "website": "URLTOCANDIDATEWEbSITE", - "url": "https://lordajax.com", - "email": "candidate@domain.com", - "location": { - "city": "Place 1/Place 2", - "countryCode": "Country" - }, - }, -} diff --git a/build/build-demo-json.sh b/build/build-demo-json.sh index 2477fe0..371c406 100644 --- a/build/build-demo-json.sh +++ b/build/build-demo-json.sh @@ -4,8 +4,8 @@ #JSON Resume ##################################################################################################### -export BUILD_OUTPUT_DIR="../build-output/" -export JSON_TEMPLATE_DIRECTORY="../Templates/jsonresume/" +export BUILD_OUTPUT_DIR="../build-output/JSONResume/" +export JSON_TEMPLATE_DIRECTORY="../Templates/JSONResume/" ################################################################### @@ -37,7 +37,7 @@ add_meta_section() cat << META >> $BUILD_OUTPUT_DIR/resume.json "meta": { - "theme": "$JSONRESUME_THEME" + "theme": "$JSONRESUME_THEME" }, META diff --git a/build/build-demo-markdown.sh b/build/build-demo-markdown.sh index 6bb7ba0..4d939e6 100644 --- a/build/build-demo-markdown.sh +++ b/build/build-demo-markdown.sh @@ -12,7 +12,7 @@ ################################################################### ################################################### -source CandidateVariables.env +source "./CandidateVariables.env" #################################################### #################################################### @@ -27,8 +27,8 @@ source CandidateVariables.env ############################################################ readonly MO_PATH="bash ../vendor/git.knownelement.com/ExternalVendorCode/mo/mo" -readonly BUILD_OUTPUT_DIR="../build-output" -readonly BUILD_TEMP_DIR="../build-temp" +readonly BUILD_OUTPUT_DIR="../build-output/MarkdownResume/" +readonly BUILD_TEMP_DIR="../build-temp/MarkdownResume" readonly BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml" readonly BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml" readonly BUILDYAML_CANDIDATEINFOSHEET="$BUILD_TEMP_DIR/CandidateInfoSheet.yml" @@ -68,12 +68,12 @@ $MO_PATH ./BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION echo "Creating candidate info sheet..." -$MO_PATH ../Templates/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile +$MO_PATH ../Templates/MarkdownResume/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile pandoc \ "$CandidateInfoSheetMarkdownOutputFile" \ --template eisvogel \ ---metadata-file="../build-temp/CandidateInfoSheet.yml" \ +--metadata-file="$BUILD_TEMP_DIR/CandidateInfoSheet.yml" \ --from markdown \ --to=pdf \ --output $CandidateInfoSheetPDFOutputFIle @@ -81,8 +81,8 @@ pandoc \ echo "Combining markdown files into single input file for pandoc..." # Create contact info md file -$MO_PATH ../Templates/ContactInfo/ContactInfo-JobBoard.md > $BUILD_TEMP_DIR/ContactInfo-JobBoard.md -$MO_PATH ../Templates/ContactInfo/ContactInfo-ClientSubmit.md > $BUILD_TEMP_DIR/ContactInfo-ClientSubmit.md +$MO_PATH ../Templates/MarkdownResume/ContactInfo/ContactInfo-JobBoard.md > $BUILD_TEMP_DIR/ContactInfo-JobBoard.md +$MO_PATH ../Templates/MarkdownResume/ContactInfo/ContactInfo-ClientSubmit.md > $BUILD_TEMP_DIR/ContactInfo-ClientSubmit.md #Pull in contact info cat $BUILD_TEMP_DIR/ContactInfo-JobBoard.md >> $JobBoardMarkdownOutputFile @@ -94,10 +94,10 @@ echo " " >> $ClientSubmissionMarkdownOutputFile echo "## Career Highlights" >> $JobBoardMarkdownOutputFile echo "## Career Highlights" >> $ClientSubmissionMarkdownOutputFile -cat ../Templates/SkillsAndProjects/Projects.md >> $JobBoardMarkdownOutputFile +cat ../Templates/MarkdownResume/SkillsAndProjects/Projects.md >> $JobBoardMarkdownOutputFile echo "\pagebreak" >> $JobBoardMarkdownOutputFile -cat ../Templates/SkillsAndProjects/Projects.md >> $ClientSubmissionMarkdownOutputFile +cat ../Templates/MarkdownResume/SkillsAndProjects/Projects.md >> $ClientSubmissionMarkdownOutputFile echo "\pagebreak" >> $ClientSubmissionMarkdownOutputFile echo " " >> $JobBoardMarkdownOutputFile @@ -118,7 +118,7 @@ echo " " >> $ClientSubmissionMarkdownOutputFile IFS=$'\n\t' for position in \ -$(cat ../Templates/WorkHistory/WorkHistory.csv); do +$(cat ../Templates/MarkdownResume/WorkHistory/WorkHistory.csv); do COMPANY="$(echo $position|awk -F ',' '{print $1}')" TITLE="$(echo $position|awk -F ',' '{print $2}')" @@ -132,10 +132,10 @@ echo "**$COMPANY | $TITLE | $DATEOFEMPLOY**" >> $ClientSubmissionMarkdownOutputF echo " " >> "$ClientSubmissionMarkdownOutputFile" echo " " >> "$JobBoardMarkdownOutputFile" -cat ../Templates/JobHistoryDetails/$COMPANY.md >> "$JobBoardMarkdownOutputFile" +cat ../Templates/MarkdownResume/JobHistoryDetails/$COMPANY.md >> "$JobBoardMarkdownOutputFile" echo " " >> "$JobBoardMarkdownOutputFile" -cat ../Templates/JobHistoryDetails/$COMPANY.md >> "$ClientSubmissionMarkdownOutputFile" +cat ../Templates/MarkdownResume/JobHistoryDetails/$COMPANY.md >> "$ClientSubmissionMarkdownOutputFile" echo " " >> "$ClientSubmissionMarkdownOutputFile" done @@ -161,7 +161,7 @@ echo "|---|---|---|" >> $ClientSubmissionMarkdownOutputFile #Table rows IFS=$'\n\t' for skill in \ -$(cat ../Templates/SkillsAndProjects/Skills.csv); do +$(cat ../Templates/MarkdownResume/SkillsAndProjects/Skills.csv); do SKILL_NAME="$(echo $skill|awk -F '|' '{print $1}')" SKILL_YEARS="$(echo $skill|awk -F '|' '{print $2}')" SKILL_DETAIL="$(echo $skill|awk -F '|' '{print $3}')" @@ -176,7 +176,7 @@ echo "Generating PDF output for job board version..." pandoc \ "$JobBoardMarkdownOutputFile" \ --template eisvogel \ ---metadata-file="../build-temp/JobBoard.yml" \ +--metadata-file="$BUILD_TEMP_DIR/JobBoard.yml" \ --from markdown \ --to=pdf \ --output $JobBoardPDFOutputFile @@ -185,7 +185,7 @@ echo "Generating MSWord output for job board version..." pandoc \ "$JobBoardMarkdownOutputFile" \ ---metadata-file="../build-temp/JobBoard.yml" \ +--metadata-file="$BUILD_TEMP_DIR/JobBoard.yml" \ --from markdown \ --to=docx \ --reference-doc=resume-docx-reference.docx \ @@ -196,7 +196,7 @@ echo "Generating PDF output for client submission version..." pandoc \ "$ClientSubmissionMarkdownOutputFile" \ --template eisvogel \ ---metadata-file="../build-temp/ClientSubmission.yml" \ +--metadata-file="$BUILD_TEMP_DIR/ClientSubmission.yml" \ --from markdown \ --to=pdf \ --output $ClientSubmissionPDFOutputFile @@ -205,7 +205,7 @@ echo "Generating MSWord output for client submission version..." pandoc \ "$ClientSubmissionMarkdownOutputFile" \ ---metadata-file="../build-temp/ClientSubmission.yml" \ +--metadata-file="$BUILD_TEMP_DIR/ClientSubmission.yml" \ --from markdown \ --to=docx \ --reference-doc=resume-docx-reference.docx \