Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Set default line endings to LF for all text files
* text=auto eol=lf

# Explicitly set LF for specific file types
*.sh text eol=lf
Dockerfile text eol=lf
*.py text eol=lf
*.jinja text eol=lf
*.tex text eol=lf
*.cls text eol=lf
*.yaml text eol=lf
*.bib text eol=lf
*.md text eol=lf
.gitignore text eol=lf
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
output/
.DS_Store
.DS_Store
.env
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ Start a Docker container with the image you just built. This will launch an inte
$ docker run -it -v $(pwd):/workdir cv-tools
```

for windows systems:
```bash
$ docker run -it -v $(pwd -W):/workdir cv-tools
```

The `-v $(pwd):/workdir` option mounts your local cv-tools directory to the `/workdir` directory inside the container.

### Method 2: From Source with Manual Installation
Expand Down
40 changes: 22 additions & 18 deletions config/cv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,20 @@ subheading:
sections:
- type: education
content:
- university: "Fictional University"
location: "Imaginaria, Wonderland"
dates: "September 2021 - June 2024"
degree: "Bachelor of Science in *Computer Science*"
honors: "**Magna Cum Laude**"
thesis_title: "An Exploration of ['Quantum Computing'](https://en.wikipedia.org/wiki/Quantum_computing) in Virtual Environments"
supervisor: "Dr. Alice Wonder"
- university: "Imaginary Institute of Technology"
location: "Nowhere City, Utopia"
dates: "August 2018 - May 2021"
degree: "Associate Degree in Artificial Intelligence"
supervisor: "Dr. Bob Builder"
- name: "Education"
entity:
- university: "Fictional University"
location: "Imaginaria, Wonderland"
dates: "September 2021 - June 2024"
degree: "Bachelor of Science in *Computer Science*"
honors: "**Magna Cum Laude**"
thesis_title: "An Exploration of ['Quantum Computing'](https://en.wikipedia.org/wiki/Quantum_computing) in Virtual Environments"
supervisor: "Dr. Alice Wonder"
- university: "Imaginary Institute of Technology"
location: "Nowhere City, Utopia"
dates: "August 2018 - May 2021"
degree: "Associate Degree in Artificial Intelligence"
supervisor: "Dr. Bob Builder"

- type: experience
content:
Expand Down Expand Up @@ -95,12 +97,14 @@ sections:

- type: skills
content:
- name: "Spoken Languages"
data: "English (Fluent), Spanish (Intermediate)"
- name: "Programming Languages"
data: "Python, Java, C++, SQL, JavaScript"
- name: "Tools and Technologies"
data: "AWS, Docker, Kubernetes, TensorFlow, Git, Jenkins, Linux, Jira"
- name: "Skills"
entity:
- name: "Spoken Languages"
data: "English (Fluent), Spanish (Intermediate)"
- name: "Programming Languages"
data: "Python, Java, C++, SQL, JavaScript"
- name: "Tools and Technologies"
data: "AWS, Docker, Kubernetes, TensorFlow, Git, Jenkins, Linux, Jira"

- type: bullets
title: "Professional Activities"
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ check_latex_package() {
check_latex_packages_from_file() {
local package_file="$1"
while IFS= read -r package || [ -n "$package" ]; do
package=$(echo "$package" | xargs) # Trim any surrounding whitespace
package=$(echo "$package" | tr -d '\r' | xargs) # Trim whitespace and strip CR
if [ -n "$package" ]; then
check_latex_package "$package"
fi
Expand Down
26 changes: 16 additions & 10 deletions template/sections/education.jinja
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
{% macro render(education) %}
% ====================== Education Section ====================== %
\begin{rSection}{Education}
{% for edu in education %}
{\textbf{ {{-edu.university-}} }, {{ edu.location }}} \hfill {\em {{ edu.dates }}}
\\ {{ edu.degree }} \hfill {{ edu.honors | default("") }}
{%-if edu.thesis_title-%}
\\ Thesis Title: \textit{ {{-edu.thesis_title-}} }
{%-macro _render_section(section_title, entries)-%}
% ====================== {{ section_title }} Section ====================== %
\begin{rSection}{ {{-section_title-}} }
{% for entry in entries %}
{\textbf{ {{-entry.university-}} }, {{ entry.location }}} \hfill {\em {{ entry.dates }}}
\\ {{ entry.degree }} \hfill {{ entry.honors | default("") }}
{%-if entry.thesis_title-%}
\\ Thesis Title: \textit{ {{-entry.thesis_title-}} }
{%-endif-%}
{%-if edu.supervisor-%}
\\ Supervisor: {{ edu.supervisor }}
{%-if entry.supervisor-%}
\\ Supervisor: {{ entry.supervisor }}
{%-endif %}
{% endfor %}
\end{rSection}
{% endmacro %}

{%-macro render(education)-%}
{% for edu in education %}
{{ _render_section( edu.name, edu.entity ) }}
{% endfor %}
{% endmacro %}
18 changes: 12 additions & 6 deletions template/sections/skills.jinja
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{% macro render(skills) %}
% ====================== Skills Section ====================== %
\begin{rSection}{Skills}
{%-macro _render_section(section_title, entries)-%}
% ====================== {{ section_title }} Section ====================== %
\begin{rSection}{ {{-section_title-}} }
\begin{itemize}[leftmargin=0em, label={}, noitemsep]
{% for entry in skills %}
\item { {{-entry.name-}} :} \hfill { {{-entry.data-}} }
{%-endfor %}
{% for entry in entries %}
\item {{ entry.name }}:\\\hspace*{1em}{{ entry.data }}
{% endfor %}
\end{itemize}
\end{rSection}
{% endmacro %}

{%-macro render(skill)-%}
{% for esk in skill %}
{{ _render_section( esk.name, esk.entity ) }}
{% endfor %}
{% endmacro %}
5 changes: 3 additions & 2 deletions template/template.tex.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@
% SOFTWARE.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{resume} % Use the custom resume.cls style

{%-import 'sections/education.jinja' as education_macros-%}
{%-import 'sections/bullets.jinja' as bullets_macros-%}
{%-import 'sections/experience.jinja' as experience_macros-%}
{%-import 'sections/skills.jinja' as skills_macros-%}
{%-import 'sections/talks.jinja' as talks_macros-%}
{%-import 'sections/publications.jinja' as publications_macros-%}
{%-import 'sections/headings.jinja' as headings_macros %}
{%-import 'sections/headings.jinja' as headings_macros-%}

\documentclass{resume} % Use the custom resume.cls style

{{-headings_macros.render_heading(heading) }}

Expand Down