sttp://secure-thought-transfer-protocol

Share this post

Resume as Code (RaC)

www.hrmnjt.dev

Resume as Code (RaC)

because who wants to format word docs

Harmanjeet Singh Nagi
Apr 4, 2021
Share this post

Resume as Code (RaC)

www.hrmnjt.dev

TL; DR - hrmnjt/resume

I've dreaded the concept of resume in the past as it seems borderline (strong word:) narcissistic. You need to go in lengths to explain all you have ever worked on. I take pride in what I’ve worked on but don’t like the fact that I need to explain it to my employer. I wonder if there were better ways to exhibit this; easier if there was more open source culture.

Nevertheless, In order to make resume fun for me, and to check one of the items in my list, I decided to make my resume using LaTeX (pronounced: LAH-tek)

Why LaTeX?

In past, I'd wonder why all journals and papers published always followed similar pattern and I thought to myself that it would be a criteria to write the journal/paper in that particular format. Researching deeper, I realized the reason it all looks similar was because in academics, people use a different word processing engine - one which came with its own set of awesome features.

  • Macros and microtype

  • Programmatic approach on visual formatting

  • Pixel perfect typography for mathematics (haven't used it yet, but excited)

  • Huge community (mostly nerds and geeks)

But the most understated reason that I felt was codifying the document and version controlling. Publishing documents as Git repositories seem like the most natural approach for editing and improving them over time.

How?

I started with Overleaf quickstart which is great resource to kick-start your LAH-tek experience. Although, instead of using their online editor, I wanted to edit the documents at my own terms. I hate putting personal data on servers which I don't trust very well (no offense Overleaf; amazing service!)

Instead of installing the binaries and I chose to go the Docker way

# Dockerfile

FROM ubuntu:xenial 
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q && apt-get install -qy \
     curl jq \
     texlive-full \
     python-pygments gnuplot \
     make git \
     && rm -rf /var/lib/apt/lists/*

WORKDIR /data 
VOLUME ["/data"]

Steps to build and run

docker build -t latex . 
docker run --rm -i -v "$PWD":/data latex pdflatex YOURFILE.tex

This assumes the file YOURFILE.tex is present in the pwd

Alternatively, you can choose to install the binaries.

Check out the repo: hrmnjt/resume

Share this post

Resume as Code (RaC)

www.hrmnjt.dev
Comments
TopNew

No posts

Ready for more?

© 2023 Harmanjeet Singh Nagi
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing