Compare commits

...

No commits in common. "main" and "pdf" have entirely different histories.
main ... pdf

8 changed files with 0 additions and 527 deletions

309
.gitignore vendored
View file

@ -1,309 +0,0 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
cv.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bbl-SAVE-ERROR
*.bcf
*.bcf-SAVE-ERROR
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
*.rubbercache
rubber.cache
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplot
*.gnuplot
*.table
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.glog
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hypdoc
*.hd
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# newpax
*.newpax
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# svg
svg-inkscape/
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# titletoc
*.ptc
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices and outlines
*.xyc
*.xyd
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# gummi
.*.swp
# KBibTeX
*~[0-9]*
# TeXnicCenter
*.tps
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
# Makeindex log files
*.lpz
# xwatermark package
*.xwm
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib

View file

@ -1,47 +0,0 @@
# clone:
# git:
# image: woodpeckerci/plugin-git
# settings:
# SSH_PRIVATE_KEY:
# from_secret: SSH-KEY
# use-ssh: true
steps:
- name: age-check
image: ubuntu:latest
commands:
- cd $CI_WORKSPACE
- ls -al
- /bin/sh 'update-age.sh' infos_persos.tex && echo "Age check succeeded" || echo "Age check failed"
when:
- branch: main
event: [push, pull_request, manual, cron]
- name: push commit
image: alpine/git
commands:
- apk add --update openssh-client bash
- eval $(ssh-agent -s)
- export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
- git remote set-url origin "${CI_REPO_CLONE_SSH_URL}"
- bash -c 'ssh-add <(echo "$SSH_PRIVATE_KEY")'
- git config --global user.email "${author_email:-git@polarolouis.fr}"
- git config --global user.name "${author_name:-Bot}"
- |
# Check if we have modifications to commit
CHANGES=$(git status --porcelain | wc -l)
if [ "$CHANGES" -gt "0" ]; then
git add -f infos_persos.tex
git status
git commit -m "Update age in infos_persos.tex"
git push origin "${CI_REPO_DEFAULT_BRANCH}"
fi
environment:
# GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
author_name: "Woodpecker CI"
author_email: "git@polarolouis.fr"
SSH_PRIVATE_KEY:
from_secret: SSH-KEY
when:
- branch: "main"
event: [push, pull_request, manual, cron]

View file

@ -1,69 +0,0 @@
variables:
# https://hub.docker.com/r/alpine/git/tags
- &GIT_VERSION "alpine/git:v2.30.1"
steps:
- name: build_tex
image: registry.gitlab.com/islandoftex/images/texlive:latest
commands:
- pdflatex --shell-escape cv.tex
- pdflatex --shell-escape cv.tex # Exécuter deux fois pour gérer les références croisées
- cat cv.log
when:
- path:
include: ["*.tex", ".woodpecker/*.yaml", ".woodpecker/*.yml"]
event: [push, pull_request, manual, cron]
- name: deploy
image: *GIT_VERSION
commands:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
# Create the SSH key file
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- ssh-keyscan -t ed25519 -p 2220 git.polarolouis.fr >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
# Set the GIT_SSH_COMMAND to use the SSH key
- export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
# Clone the repository via SSH inside a new directory
- git clone "${CI_REPO_CLONE_SSH_URL}" repo
# Set the displayed user with the commits that are about to be made
- git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL:-CI_COMMIT_AUTHOR_EMAIL}"
- git config --global user.name "${CI_COMMIT_AUTHOR:-CI Bot}"
# Go to the repository directory
- cd repo
- pwd
- ls
# Crée une branche orpheline (vierge, sans historique ni fichiers)
- git checkout "$PDF_BRANCH"
- git reset --hard
# Move the generated PDF to the repository directory
- mv ../cv.pdf ./
# Add all generated files to Git
- git add -f cv.pdf
- git status
- |-
# Show the status of files that are about to be created, updated or deleted
git status
# Commit all changes
git commit -m "Built pdf for ${CI_COMMIT_SHA:0:8} [CI SKIP]"
# Update the repository and make sure to skip the pipeline create for this commit
git push origin "$PDF_BRANCH" -o ci.skip
environment:
SSH_KEY:
from_secret: SSH-KEY
PDF_BRANCH: "pdf"
when:
- path:
include: ["*.tex", ".woodpecker/*.yaml", ".woodpecker/*.yml"]
event: [push, pull_request, manual, cron]

View file

@ -1,5 +0,0 @@
# Mon CV Latex avec une CI
![statut pipeline](https://woodpecker.polarolouis.fr/api/badges/2/status.svg)
[Mon CV en PDF](https://git.polarolouis.fr/polarolouis/cv-latex/raw/branch/pdf/cv.pdf)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

59
cv.tex
View file

@ -1,59 +0,0 @@
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[blue]{classic}
\usepackage[utf8]{inputenc}
% \usepackage[T1]{fontenc}
\usepackage[top=1.1cm, bottom=1.1cm, left=1.1cm, right=2cm]{geometry}
\usepackage[french]{babel}
\setlength{\hintscolumnwidth}{2.5cm}
\usepackage{enumitem}
\newlist{mylist}{itemize}{1}
\setlist[mylist]{label=\textbf{$\bullet$}}
\input{infos_persos.tex}
\begin{document}
\makecvtitle
\vspace*{-3.6em}
\section{Formations}
\small
% \cventry{Date}{Formation}{établissement}{ville}{test}{précisions}
\cventry{2024--}{Doctorant UMR MIA Paris-Saclay}{Université Paris-Saclay}{Palaiseau}{Comparaison de structures de réseaux. Applications à des réseaux écologiques}{}
\cventry{2023--2024}{M2 Mathématiques pour les Sciences du Vivant}{Université Paris-Saclay}{Palaiseau}{Mention Bien}{}
\cventry{2020--2024}{Formation Ingénieur AgroParisTech, cycle complet avec césure}{AgroParisTech}{Palaiseau, Nantes, Paris, Grignon}{}{}
\cventry{2015--2020}{Baccalauréat Scientifique, Prépa CPGE BCPST}{Lycée Michel de Montaigne, test}{Bordeaux (33)}{}{}
\section{Expériences professionnelles}
\small
\cventry{2024~Octobre--2025~Janvier}{Chargé de TD}{AgroParisTech}{}{1ère année (équivalent L3)}{Cours de statistiques inférentielles, tests et régression linéaire simple.}
\cventry{2024 Avril--Sept.\\2023~Janv.--Juillet}{UMR MIA Paris-Saclay}{Stage de recherche en mathématiques}{Détection de structures et clustering dans des collections de réseaux bipartites et écriture du package implémentant la méthode. Supervisé par Pierre Barbillon.}{}{}
\cventry{2022 Mai--Déc.}{Eurofins Food France}{Stage assistant ingénieur en Qualité}{}{}{}
\cventry{Juillet 2021--Avril 2022}{TEDxAgroParisTech 2022}{Pôle logistique}{}{}{}
\section{Compétences}
\cvitem{Informatique}{
% \vspace*{-1.5em}
\begin{mylist}
\item R \texttt{solides} MOOC Université Paris Saclay et cours à AgroParisTech
\item Python \texttt{avancées} MOOC Python 3 Université Nice Côte dAzur
\item VBA \texttt{bases}, PHP \texttt{bases}, C \texttt{bases}, bash \texttt{bases},
acquises en cours, par des MOOC et en autodidaxie
\item Ligne de commande, utilisation de CLI divers, conteneurisation (\texttt{Docker,
Docker-Compose})
% \vspace*{-1.5em}
\end{mylist}}
\cvitem{Langues}{Anglais : courant (C1), Espagnol : bases (A2), Allemand : débutant}
\cvitem{Organisation}{Travail déquipe, gestion de projet, résolution de problèmes, prise dinitiative, communication avec des interlocuteurs internationaux. \texttt{Eurofins, Conférences, DREAL}}
\section{Concours}
\cventry{2019}{Olympiades Internationales de Chimie (IchO)}{}{}{mention Argent et mention spéciale du jury}{}
\cventry{2017}{Concours Général en SVT}{}{}{}{}
\section{Centres d'intérêts}
\small
\cvdoubleitem{}{Modélisation appliquée aux systèmes vivants, notamment en écologie}{}{Nouvelles technologies (impression 3D, domotique, électronique embarquée \dots)}
\cvitem{}{Littérature de science-fiction}
\end{document}

View file

@ -1,5 +0,0 @@
\name{\huge Louis}{\huge Lacoste} % nom
\address{Île-de-France}{\href{louis.lacoste@hotmail.com}louis.lacoste@hotmail.com}{} % informations de contact
\extrainfo{26 ans - Permis B} % vous pouvez en fait mettre ici ce que vous voulez
\photo[64pt][0.5pt]{img/photo.jpg}
\title{\normalsize Doctorant en statistiques}

View file

@ -1,33 +0,0 @@
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <file>";
echo "Example: $0 /path/to/file.txt";
echo "Please provide a file as an argument.";
exit 1;
fi
if [ ! -f $1 ]; then
echo "File $1 not found";
echo "Usage: $0 <file>";
echo "Example: $0 /path/to/file.txt";
exit 1;
fi
AGE_W=$(grep -oP "([0-9]{2}) ans" $1 | grep -oP "([0-9]{2})")
if [ -z "$AGE_W" ]; then
echo "Age not found in $1";
exit 1;
fi
echo "Age found: $AGE_W"
AGE_R=$(($(date +%Y)-2000))
echo "Current age: $AGE_R"
if [ "$AGE_W" -eq "$AGE_R" ]; then
echo "Age in $1 ($AGE_W) matches current year ($AGE_R)";
exit 0;
else
echo "Age in $1 ($AGE_W) does not match current year ($AGE_R)";
echo "Updating age in $1";
sed -i -e "s/$AGE_W ans/$AGE_R ans/" $1;
echo "Age updated to $AGE_R in $1";
cat $1
fi