turning my resume build/templates into a proper independent package
This commit is contained in:
7
build/MarkdownResume-TemplateInfo-EndClientVersion.yml
Normal file
7
build/MarkdownResume-TemplateInfo-EndClientVersion.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
title: "{{Candidate Name}} Resume"
|
||||
header-left: "\\hspace{1cm}"
|
||||
header-center: "\\leftmark"
|
||||
header-right: "Page \\thepage"
|
||||
footer-left: "{{Candidate Name}}"
|
||||
urlcolor: blue
|
||||
page-background: "D:/tsys/@ReachableCEO/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds/background5.pdf"
|
12
build/MarkdownResume-TemplateInfo-JobBoard.yml
Normal file
12
build/MarkdownResume-TemplateInfo-JobBoard.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
title: "Charles N Wyble Resume"
|
||||
titlepage: true
|
||||
titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png"
|
||||
date: \today
|
||||
header-left: "\\hspace{1cm}"
|
||||
header-center: "\\leftmark"
|
||||
header-right: "Page \\thepage"
|
||||
footer-left: "Charles N Wyble"
|
||||
footer-center: "Tenacity. Velocity. Focus."
|
||||
footer-right: "[Source code for this resume](https://git.knownelement.com/reachableceo/ReachableCEOResume) "
|
||||
urlcolor: blue
|
||||
page-background: "D:/tsys/@ReachableCEO/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds/background5.pdf"
|
66
build/build-client-submit-stage1.sh
Normal file
66
build/build-client-submit-stage1.sh
Normal file
@@ -0,0 +1,66 @@
|
||||
#!/bin/bash
|
||||
|
||||
MarkdownOutputFile="../MarkdownOutput/client-submit/CharlesNWybleResume.md"
|
||||
rm $MarkdownOutputFile
|
||||
|
||||
# Combine markdown files into single intermediate markdown file
|
||||
|
||||
#Pull in my contact info
|
||||
cat "../boilerplate/Contact-Info-Client-Submit.md" >> $MarkdownOutputFile
|
||||
echo " " >> $MarkdownOutputFile
|
||||
|
||||
echo "## Highlights from my 22 year IT career" >> $MarkdownOutputFile
|
||||
|
||||
cat ../SkillsAndProjects/Projects.md >> "$MarkdownOutputFile"
|
||||
|
||||
echo "\pagebreak" >> $MarkdownOutputFile
|
||||
|
||||
echo " " >> $MarkdownOutputFile
|
||||
echo "## Employment History" >> $MarkdownOutputFile
|
||||
echo " " >> $MarkdownOutputFile
|
||||
|
||||
#And here we do some magic...
|
||||
#Pull in my :
|
||||
|
||||
# employer
|
||||
# title
|
||||
# start/end dates of employment
|
||||
# long form position summary data from each position
|
||||
|
||||
IFS=$'\n\t'
|
||||
for position in \
|
||||
$(cat ../WorkHistory/WorkHistory.csv); do
|
||||
|
||||
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
||||
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
||||
DATEOFEMPLOY="$(echo $position|awk -F ',' '{print $3}')"
|
||||
|
||||
echo "**$COMPANY | $TITLE | $DATEOFEMPLOY**" >> $MarkdownOutputFile
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
|
||||
cat ../EmployerItems/$COMPANY.md >> "$MarkdownOutputFile"
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
done
|
||||
unset IFS
|
||||
|
||||
#Pull in my skills and generate a beautiful table.
|
||||
|
||||
echo "\pagebreak" >> $MarkdownOutputFile
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
echo "## Skills" >> "$MarkdownOutputFile"
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
|
||||
#Table heading
|
||||
|
||||
echo "|Skill|Experience|Skill Details|" >> $MarkdownOutputFile
|
||||
echo "|---|---|---|" >> $MarkdownOutputFile
|
||||
#Table rows
|
||||
IFS=$'\n\t'
|
||||
for skill in \
|
||||
$(cat ../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}')"
|
||||
echo "|**$SKILL_NAME**|$SKILL_YEARS|$SKILL_DETAIL|" >> $MarkdownOutputFile
|
||||
done
|
||||
unset IFS
|
26
build/build-client-submit-stage2.sh
Normal file
26
build/build-client-submit-stage2.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Generating PDF output for client submission version..."
|
||||
|
||||
PDFOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/client-submit/CharlesNWyble-Resume.pdf"
|
||||
MSWordOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/client-submit/CharlesNWyble-Resume.doc"
|
||||
MarkdownInputFile="../MarkdownOutput/client-submit/CharlesNWybleResume.md "
|
||||
PandocMetadataFile="./CharlesNWyble-ClientSubmit.yml"
|
||||
|
||||
pandoc \
|
||||
"$MarkdownInputFile" \
|
||||
--template eisvogel \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=pdf \
|
||||
--output $PDFOutputFile
|
||||
|
||||
echo "Generating MSWord output for client submission version..."
|
||||
|
||||
pandoc \
|
||||
"$MarkdownInputFile" \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=docx \
|
||||
--reference-doc=resume-docx-reference.docx \
|
||||
--output $MSWordOutputFile
|
69
build/build-jobBoard-stage1.sh
Normal file
69
build/build-jobBoard-stage1.sh
Normal file
@@ -0,0 +1,69 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
echo "Cleaning up from previous runs..."
|
||||
|
||||
MarkdownOutputFile="../MarkdownOutput/job-board/CharlesNWybleResume.md"
|
||||
rm $MarkdownOutputFile
|
||||
|
||||
echo "Combining markdown files into single input file for pandoc..."
|
||||
|
||||
#Pull in my contact info
|
||||
cat "../boilerplate/Contact-Info.md" >> $MarkdownOutputFile
|
||||
echo " " >> $MarkdownOutputFile
|
||||
|
||||
echo "## Highlights from my 22 year IT career" >> $MarkdownOutputFile
|
||||
|
||||
cat ../SkillsAndProjects/Projects.md >> "$MarkdownOutputFile"
|
||||
|
||||
echo "\pagebreak" >> $MarkdownOutputFile
|
||||
|
||||
echo " " >> $MarkdownOutputFile
|
||||
echo "## Employment History" >> $MarkdownOutputFile
|
||||
echo " " >> $MarkdownOutputFile
|
||||
|
||||
#And here we do some magic...
|
||||
#Pull in my :
|
||||
|
||||
# employer
|
||||
# title
|
||||
# start/end dates of employment
|
||||
# long form position summary data from each position
|
||||
|
||||
IFS=$'\n\t'
|
||||
for position in \
|
||||
$(cat ../WorkHistory/WorkHistory.csv); do
|
||||
|
||||
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
||||
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
||||
DATEOFEMPLOY="$(echo $position|awk -F ',' '{print $3}')"
|
||||
|
||||
echo "**$COMPANY | $TITLE | $DATEOFEMPLOY**" >> $MarkdownOutputFile
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
|
||||
cat ../EmployerItems/$COMPANY.md >> "$MarkdownOutputFile"
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
done
|
||||
unset IFS
|
||||
|
||||
#Pull in my skills and generate a beautiful table.
|
||||
|
||||
echo "\pagebreak" >> $MarkdownOutputFile
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
echo "## Skills" >> "$MarkdownOutputFile"
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
|
||||
#Table heading
|
||||
|
||||
echo "|Skill|Experience|Skill Details|" >> $MarkdownOutputFile
|
||||
echo "|---|---|---|" >> $MarkdownOutputFile
|
||||
#Table rows
|
||||
IFS=$'\n\t'
|
||||
for skill in \
|
||||
$(cat ../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}')"
|
||||
echo "|**$SKILL_NAME**|$SKILL_YEARS|$SKILL_DETAIL|" >> $MarkdownOutputFile
|
||||
done
|
||||
unset IFS
|
27
build/build-jobBoard-stage2.sh
Normal file
27
build/build-jobBoard-stage2.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
echo "Generating PDF output for job board version..."
|
||||
|
||||
PDFOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/job-board/CharlesNWyble-Resume.pdf"
|
||||
MSWordOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/job-board/CharlesNWyble-Resume.doc"
|
||||
MarkdownInputFile="../MarkdownOutput/job-board/CharlesNWybleResume.md "
|
||||
PandocMetadataFile="./CharlesNWyble-JobBoard.yml"
|
||||
|
||||
pandoc \
|
||||
"$MarkdownInputFile" \
|
||||
--template eisvogel \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=pdf \
|
||||
--output $PDFOutputFile
|
||||
|
||||
echo "Generating MSWord output for client submission version..."
|
||||
|
||||
pandoc \
|
||||
"$MarkdownInputFile" \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=docx \
|
||||
--reference-doc=resume-docx-reference.docx \
|
||||
--output $MSWordOutputFile
|
BIN
build/resume-docx-reference.docx
Normal file
BIN
build/resume-docx-reference.docx
Normal file
Binary file not shown.
Reference in New Issue
Block a user