12 Commits

Author SHA1 Message Date
Pedro Cabral
95998e0f68 added commit message 2026-07-17 15:56:43 +02:00
Pedro Cabral
1fd4071d45 auto build only run after save 2026-07-17 13:20:29 +02:00
Pedro Cabral
ca399ec592 removed self reference 2026-07-17 13:15:21 +02:00
Pedro Cabral
3e187326fa added other CV variants to README.md 2026-07-17 13:00:19 +02:00
Pedro Cabral
1579c0aca8 added script to propagate commits across CV branches 2026-07-17 12:50:09 +02:00
Pedro Cabral
5ddc2ead8e deleting auto-generated files, iff pdf was successfully rendered 2026-07-17 12:22:46 +02:00
Pedro Cabral
8feae90435 updated README.md 2026-07-17 11:59:19 +02:00
Pedro Cabral
279ae8d509 renamed files 2026-07-17 11:53:15 +02:00
Pedro Cabral
3c963ca5af merged gitignore files 2026-07-17 11:44:14 +02:00
Pedro Cabral
c1f0db6566 moved files to root directory 2026-07-17 11:43:52 +02:00
Pedro Cabral
c093c5ef0e removed awesome-cv type 2026-07-17 11:42:34 +02:00
Pedro Cabral
d62d696b20 removed article type 2026-07-17 11:42:04 +02:00
8 changed files with 236 additions and 64 deletions

12
.gitignore vendored
View File

@@ -1,8 +1,14 @@
.DS_Store
# Ignore all auto-generated files, except for PDF
# Ignore all files
*.*
# Whitelist
!.gitignore
!*.tex
!*.pdf
!*.cls
!*.jpg
!*.md
!.vscode/
!.vscode/**
!build/*.*

View File

@@ -16,5 +16,6 @@
}
],
"latex-workshop.latex.recipe.default": "Smart LaTeX Build",
"latex-workshop.formatting.latex": "latexindent"
"latex-workshop.formatting.latex": "latexindent",
"latex-workshop.latex.autoBuild.run": "onSave"
}

Binary file not shown.

View File

@@ -1,75 +1,84 @@
\documentclass[11pt,a4paper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{titlesec}
\usepackage{enumitem}
\usepackage{parskip}
\usepackage{hyperref}
\usepackage{fontspec}
\usepackage{graphicx}
\documentclass[11pt,a4paper,sans]{pedro-moderncv}
\moderncvstyle{classic} % Style options: 'casual', 'classic', 'oldstyle', 'banking'
\moderncvcolor{blue} % Color options: 'blue', 'orange', 'green', 'red', 'purple', 'grey', 'black'
\setmainfont{Helvetica Neue}
\usepackage[scale=0.75]{geometry}
\titleformat{\section}{\large\bfseries}{}{0em}{}[\titlerule]
\titleformat{\subsection}{\normalsize\bfseries}{}{0em}{}
% Personal data
\name{Pedro Miguel}{Pessoa Cabral}
\title{Curriculum Vitae}
\address{Rittmeisterkoppel 14C}{22359 Hamburg}{Germany}
\phone[mobile]{+49-(0)-17657-909188}
\email{pmpcabral@posteo.de}
\homepage{git.sueo.de/pcabral}
\social[]{} % Optional: GitHub, LinkedIn, etc.
\photo[3.5cm][0pt]{me_m_8x8_4x.jpg}
\pagestyle{empty}
\hyphenation{interpersonal}
\linespread{1.05}
\begin{document}
\begin{center}
\begin{minipage}{0.75\textwidth}
{\LARGE \textbf{Pedro Miguel Pessoa Cabral}}\\
\vspace{0.5em}
+49-(0)-17657-909188\\
\href{mailto:pmpcabral@gmail.com}{pmpcabral@gmail.com}\\
Rittmeisterkoppel 14-C, 22359 Hamburg
\end{minipage}%
\begin{minipage}{0.23\textwidth}
\includegraphics[width=\linewidth]{me_m_8x8_4x.jpg}
\end{minipage}
\end{center}
\makecvtitle
\begin{minipage}[t]{0.48\textwidth}
\section{Profile}
\cvitem{Date of Birth}{January 17\textsuperscript{th}, 1988}
\cvitem{Place of Birth}{Setúbal, Portugal}
\cvitem{Nationality}{Portuguese}
\end{minipage}\hfill
\begin{minipage}[t]{0.48\textwidth}
\section{Languages}
\cvitemwithcomment{Portuguese}{First Language}{}
\cvitemwithcomment{German}{Fluent}{}
\cvitemwithcomment{English}{Fluent}{}
\cvitemwithcomment{Spanish}{Good}{}
\cvitemwithcomment{French}{Basic}{}
\end{minipage}\hfill
\vspace{1em}
\section{Experience}
\cventry{Apr 2025 -- Present}{Professional Sabbatical}{}{}{}{
Dedicated time to personal development and family life following an intensive period in my career. Used this
opportunity to recharge, reassess long-term goals, and return with renewed focus and motivation for software
engineering.
}
\cventry{Jun 2021 -- Apr 2025}{Software Developer}{For Sale Digital Internet-Agentur GmbH}{Hamburg, Germany}{}{
PHP (\textit{native, Laravel, WordPress}), JavaScript (\textit{Vanilla, jQuery}), MySQL, Google Cloud Platform, TypeScript, React, Jenkins, ShipIt, Docker, Shopify.
}
\cventry{Feb 2017 -- May 2021}{Software Developer}{HR4YOU AG}{Großefehn, Germany}{}{
PHP, JavaScript (\textit{Vanilla, jQuery}), MySQL, CSS, LESS.
}
\cventry{Sep 2014 -- Apr 2016}{Support \& Operations}{SAFIRA/KPMG}{Carnaxide, Portugal}{}{
IBM Business Process Management, Forefront Identity Manager (\textit{FIM}).
}
\cventry{Apr 2013 -- Sep 2014}{Software Developer}{SAFIRA}{Carnaxide, Portugal}{}{
IBM BPM, IBM WebSphere Message Broker, SQL.
}
\section*{Profile}
\begin{tabular}{rl}
Date and Place of Birth: & January 17\textsuperscript{th}, 1988, Setúbal, Portugal \\
Nationality: & Portuguese \\
Languages: & Portuguese (First language), German (Fluent), English (Fluent),\\
& Spanish (Good), French (Basic)
\end{tabular}
\section{Education}
\cventry{2013}{Bachelor of Science}{Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa}{Caparica, Portugal}{}{}
\vspace{1em}
\section{Skills}
\cvitem{Languages}{PHP, JavaScript (\textit{Vanilla}), TypeScript, MySQL, CSS, SCSS, HTML}
\cvitem{Frameworks \& Libraries}{Laravel, React, jQuery, Bootstrap}
\cvitem{Content Management Systems}{WordPress, Shopify}
\cvitem{Development Tools}{PHPStorm, Visual Studio Code, Git, Composer, npm, Vite}
\cvitem{DevOps \& Automation Tools}{Jenkins, ShipIt, Docker, Kubernetes, Google Cloud Platform}
\cvitem{Software Development Practices}{Test-Driven Development (TDD), Object-Oriented Programming (OOP), Mobile-First Design}
\cvitem{Soft Skills}{Effective team player, collaborator, and mentor; strong communication and interpersonal skills; experienced moderator}
\section*{Experience}
\noindent
\textbf{Software Developer, HR4YOU AG} \hfill Großefehn, Germany \\
\textit{Feb 2017 Present} \\
Technologies: PHP, JavaScript, SQL
\section{About me}
\vspace{0.5em}
\noindent
\textbf{Support \& Operations, SAFIRA/KPMG} \hfill Carnaxide, Portugal \\
\textit{Sep 2014 Apr 2016} \\
Worked with IBM Business Process Management and Forefront Identity Manager (FIM)
I believe there are no stupid questions --- only opportunities to learn, improve, and build better things together.
\vspace{0.5em}
\noindent
\textbf{Software Developer, SAFIRA} \hfill Carnaxide, Portugal \\
\textit{Apr 2013 Sep 2014} \\
Worked with IBM Business Process Management, IBM WebSphere Message Broker, SQL
\bigskip % bigger gap before Personal section
\vspace{1em}
When I'm not coding, you'll usually find me taking care of and entertaining my two lovely kids.
\section*{Education}
\textbf{Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa} \hfill Caparica, Portugal \\
Bachelor of Science \hfill 2013
\medskip % slightly smaller gap within Personal block
\vspace{1em}
\section*{Skills}
PHP, OOP, JavaScript, jQuery, CSS, SQL, SOAP, REST, PL/SQL, XML
I also love singing, acting, playing the didgeridoo, and chopping wood. I regularly take cold showers (or ice baths when temperatures drop below zero) in the morning.
\end{document}

View File

@@ -1,7 +1,10 @@
# Curriculum-Vitae
This project contains my *curriculum vitae* writen in `TeX` using the base
class `article`.
This project contains my *curriculum vitae* writen in `TeX` using a slightly
adapted version of [`moderncv`](https://github.com/moderncv/moderncv), which
renders a circular profile picture.
> :information_source: This is my official current CV version
## Install TeX
@@ -13,5 +16,11 @@ Go to https://tug.org/texlive/ and install the correct TeX for your operating sy
If you are using VS Code, I highly recommend to install [LaTeX Workshop](https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop).
## Other CV variants
- [Article](../article/)
- [Awesome-CV](../awesome-cv/)
- [Pedro-CV](../pedro-cv/)
##
Developed with ♥ by Pedro Pessoa Cabral

View File

@@ -19,6 +19,9 @@ FILE="$1"
# append .tex file extension, iff not already passed
[[ "$FILE" != *.tex ]] && FILE="${FILE}.tex"
# remove the .tex extension from the file name to get the base name
BASE="${FILE%.tex}"
# Check that the file exists
if [[ ! -f "$FILE" ]]; then
echo -e "${BOLD}${RED}Error${RESET}${RED}: File '$FILE' not found.${RESET}"
@@ -28,8 +31,24 @@ fi
# Detect active \usepackage{fontspec} (ignore commented lines)
if grep -Eq '^[^%]*\\usepackage\{fontspec\}' "$FILE"; then
echo -e "${BLUE}Detected fontspec → Using XeLaTeX${RESET}"
xelatex -synctex=1 -interaction=nonstopmode -file-line-error "$FILE"
LATEX_CMD=(xelatex -synctex=1 -interaction=nonstopmode -file-line-error "$FILE")
else
echo -e "${BLUE}No active fontspec → Using pdfLaTeX${RESET}"
pdflatex -synctex=1 -interaction=nonstopmode -file-line-error "$FILE"
LATEX_CMD=(pdflatex -synctex=1 -interaction=nonstopmode -file-line-error "$FILE")
fi
"${LATEX_CMD[@]}"
rm -f \
"${BASE}.aux" \
"${BASE}.bbl" \
"${BASE}.bcf" \
"${BASE}.blg" \
"${BASE}.fdb_latexmk" \
"${BASE}.fls" \
"${BASE}.log" \
"${BASE}.out" \
"${BASE}.run.xml" \
"${BASE}.synctex.gz" \
"${BASE}.toc" \
"${BASE}.xdv"

View File

@@ -0,0 +1,96 @@
#!/bin/bash
set -euo pipefail
# Color definitions
BOLD='\033[1m'
RED='\033[31m'
BLUE='\033[34m'
GREEN='\033[32m'
YELLOW='\033[33m'
RESET='\033[0m'
if [[ $# -ne 1 ]]; then
echo -e "${BOLD}${RED}Error${RESET}${RED}: No commit hash provided.${RESET}"
echo "Usage: $0 <commit-hash>"
exit 1
fi
COMMIT="$1"
START_BRANCH="$(git branch --show-current)"
if [[ -z "$START_BRANCH" ]]; then
echo -e "${BOLD}${RED}Error${RESET}${RED}: Detached HEAD is not supported.${RESET}"
exit 1
fi
if ! git rev-parse --verify --quiet "${COMMIT}^{commit}" >/dev/null; then
echo -e "${BOLD}${RED}Error${RESET}${RED}: Commit '$COMMIT' not found.${RESET}"
exit 1
fi
COMMIT="$(git rev-parse --short "$COMMIT")"
COMMIT_MSG="$(git log -1 --pretty=format:%s "$COMMIT")"
PARENT_COUNT="$(git rev-list --parents -n 1 "$COMMIT" | wc -w | tr -d ' ')"
if [[ "$PARENT_COUNT" -gt 2 ]]; then
echo -e "${BOLD}${RED}Error${RESET}${RED}: Merge commits are not supported.${RESET}"
exit 1
fi
if [[ -n "$(git status --porcelain)" ]]; then
echo -e "${BOLD}${RED}Error${RESET}${RED}: Working tree is not clean.${RESET}"
echo "Commit, stash, or discard local changes before replicating a commit."
exit 1
fi
restore_branch() {
git switch --quiet "$START_BRANCH"
}
handle_error() {
echo -e "${BOLD}${RED}Error${RESET}${RED}: Replication failed on branch '$(git branch --show-current)'.${RESET}"
if [[ -f "$(git rev-parse --git-path CHERRY_PICK_HEAD 2>/dev/null || true)" ]]; then
git cherry-pick --abort >/dev/null 2>&1 || true
fi
restore_branch
exit 1
}
trap handle_error ERR
echo -e "${BLUE}Propagating commit ${BOLD}'${COMMIT}: ${COMMIT_MSG}'${RESET}${BLUE} from '${START_BRANCH}' to local branches.${RESET}"
while IFS= read -r BRANCH; do
if [[ "$BRANCH" == "$START_BRANCH" ]]; then
continue
fi
git switch --quiet "$BRANCH"
if git merge-base --is-ancestor "$COMMIT" HEAD; then
echo -e "${YELLOW}Skipping ${BRANCH}: commit is already present.${RESET}"
continue
fi
echo -e "${BLUE}Cherry-picking ${COMMIT} onto ${BRANCH}.${RESET}"
if ! git cherry-pick "$COMMIT"; then
if git diff --quiet && git diff --cached --quiet; then
echo -e "${YELLOW}Skipping ${BRANCH}: commit is already applied as an equivalent patch.${RESET}"
git cherry-pick --skip
continue
fi
false
fi
echo -e "${GREEN}Commit successfully cherry-picked to ${BRANCH}.${RESET}"
git push
echo -e "${GREEN}Branch ${BRANCH} successfully pushed.${RESET}"
done < <(git for-each-ref --format='%(refname:short)' refs/heads)
restore_branch
echo -e "${GREEN}Done. Returned to '${START_BRANCH}'.${RESET}"

32
pedro-moderncv.cls Normal file
View File

@@ -0,0 +1,32 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{pedro-moderncv}[2026/02/24 Custom moderncv wrapper]
\LoadClassWithOptions{moderncv}
\RequirePackage{tikz}
\RequirePackage{etoolbox}
\AtBeginDocument{%
\makeatletter
% Safe scaled length
\newlength{\@photowidthscaled}
\patchcmd{\makecvhead}
{\includegraphics[width=\@photowidth]{\@photo}}
{%
% Copy original width
\setlength{\@photowidthscaled}{\@photowidth}
% Scale safely (no calc/dimexpr/TikZ parser issues)
\setlength{\@photowidthscaled}{1.2\@photowidthscaled}
\begin{tikzpicture}
\clip (0, 0) circle (\@photowidth/2);
\node at (-0.2cm, -0.3cm) {
\includegraphics[width=\@photowidthscaled]{\@photo}
};
\end{tikzpicture}
}
{}{}
\makeatother
}