From 8049997f376b27d82af10bac893b71c80acde111 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 27 Apr 2024 22:30:06 -0700 Subject: [PATCH 01/10] Fixed copypasta Copied over from a different repo and I forgot to change the cachix repo name. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 309adfd..9d5c01f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: name: devenv - uses: cachix/cachix-action@v12 with: - name: alejandr0angul0-dev + name: alejandr0angul0-resume authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - name: Run pre-commit hooks run: | From cd50f1237d55320f54b235b8522c0811d4666ec6 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 27 Apr 2024 22:30:42 -0700 Subject: [PATCH 02/10] Made cachix actions consistent --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d5c01f..e7f47a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 - - uses: cachix/cachix-action@v12 + - uses: cachix/cachix-action@v14 with: name: devenv - uses: cachix/cachix-action@v12 @@ -25,6 +25,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v25 + - uses: cachix/cachix-action@v14 + with: + name: devenv - uses: cachix/cachix-action@v14 with: name: alejandr0angul0-resume From 1353b587f65cac90d77ead472d454d90446dc16c Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 27 Apr 2024 22:34:50 -0700 Subject: [PATCH 03/10] Update CI to run check with impure flag This is needed because devenv is being used now. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7f47a0..ad95cec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,5 +33,5 @@ jobs: name: alejandr0angul0-resume authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - run: nix build - - run: nix flake check + - run: nix flake check --impure - run: nix run From 16f05013e59fc377acc754fb1c33125e1ae36295 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 27 Apr 2024 22:47:11 -0700 Subject: [PATCH 04/10] Started running builds on darwin --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad95cec..07966bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,10 @@ jobs: build: needs: pre-commit-hooks - runs-on: ubuntu-latest + strategy: + matrix: + runner: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v25 From 7c36b80afc19293b9d3fcf8e8274f1d4fe7bfbc9 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 4 May 2024 14:44:54 -0700 Subject: [PATCH 05/10] Added "Why?" section --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index fb16858..70da39f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,16 @@ article](https://flyx.org/nix-flakes-latex/) to help me create a nix flake to build a resume generator command (I update my resume infrequently and it's always a hassle getting my environment set up). +## Why? + +This is nice for me to make sure I have the right environment to work on my +resume. It's not very practical, I admit, to have people run a `nix run` +command to generate the latest version of my resume (but it's kinda cool if +you're into reproducibility and stuff). At some point I should have the latest +version served somewhere on my site. + +tl;dr I just wanted an excuse to use nix. + ## Usage Use the flake! From 6105b711b9dca19b8671502cd2c0980ca7681b5d Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 4 May 2024 14:52:24 -0700 Subject: [PATCH 06/10] Added typos as a pre-commit hook --- build.sh | 2 +- flake.nix | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index ac8adda..6c50bf4 100644 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -e # Following variables are set via sed in the buildPhase step PREFIX="" -# Intentionally overriding PATH so supressing shellcheck +# Intentionally overriding PATH so suppressing shellcheck # shellcheck disable=SC2123 PATH="" NERDFONTS="" diff --git a/flake.nix b/flake.nix index f6cc078..1eb19e3 100644 --- a/flake.nix +++ b/flake.nix @@ -42,12 +42,12 @@ pkgs.stdenvNoCC.mkDerivation rec { name = "alejandro-resume"; src = self; - propogatedBuildInputs = [pkgs.coreutils nerdfonts-hack tex]; + propagatedBuildInputs = [pkgs.coreutils nerdfonts-hack tex]; phases = ["unpackPhase" "buildPhase" "installPhase"]; buildPhase = '' cp build.sh alejandro-resume sed -i 's!PREFIX=""!PREFIX="${builtins.placeholder "out"}"!g' alejandro-resume - sed -i 's!PATH=""!PATH="${lib.makeBinPath propogatedBuildInputs}"!g' alejandro-resume + sed -i 's!PATH=""!PATH="${lib.makeBinPath propagatedBuildInputs}"!g' alejandro-resume sed -i 's!TEXVARS=""!TEXVARS="${texvars}"!g' alejandro-resume sed -i 's!NERDFONTS=""!NERDFONTS="${nerdfonts-hack}"!g' alejandro-resume ''; @@ -81,6 +81,10 @@ end-of-file-fixer.enable = true; shellcheck.enable = true; trim-trailing-whitespace.enable = true; + typos = { + enable = true; + always_run = true; + }; latexindent = { enable = true; From a9b7e4cc3bf9da6bb03c1ce4171de6c13bec408a Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 4 May 2024 15:00:52 -0700 Subject: [PATCH 07/10] Reworded --- alejandro_resume.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alejandro_resume.tex b/alejandro_resume.tex index d092fdd..7125672 100644 --- a/alejandro_resume.tex +++ b/alejandro_resume.tex @@ -68,8 +68,8 @@ \subsection*{Sure --- \textit{Staff Software Engineer}} \subsubsection*{February 2020--Present} \begin{itemize} - \item Developing and maintaining a backend that supports managing an - insurance policy's lifecycle (quoting, binding, renewals, etc.) + \item Backend team lead on the service responsible for managing an + insurance policy's lifecycle (quoting, binding, etc.) \item Working on transitioning toward a more data-driven design (drastically reducing the time to onboard new clients) \item Help unstick teammates with various types of problems (failing test cases, From e71d11375b3ac58c5603f58daa5bc83fb3d9f8e6 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 4 May 2024 15:12:04 -0700 Subject: [PATCH 08/10] Added workflow badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 70da39f..b2f4883 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![Build workflow](https://github.com/alejandro-angulo/resume/actions/workflows/build.yml/badge.svg) + # Resume This repository generates a PDF of my resume using From 96a15d48dab111eaa95ef59f8a1c2e359431b0c9 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 13 Jul 2024 15:35:15 -0700 Subject: [PATCH 09/10] Small wording updates --- alejandro_resume.tex | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/alejandro_resume.tex b/alejandro_resume.tex index 7125672..f652430 100644 --- a/alejandro_resume.tex +++ b/alejandro_resume.tex @@ -68,10 +68,10 @@ \subsection*{Sure --- \textit{Staff Software Engineer}} \subsubsection*{February 2020--Present} \begin{itemize} - \item Backend team lead on the service responsible for managing an - insurance policy's lifecycle (quoting, binding, etc.) + \item Backend team lead on the service (Django app) responsible for + managing an insurance policy's lifecycle (quoting, binding, etc.) \item Working on transitioning toward a more data-driven design - (drastically reducing the time to onboard new clients) + (drastically reducing the time/complexity to onboard new clients) \item Help unstick teammates with various types of problems (failing test cases, environment troubleshooting, suggestions on implementation, etc.) \item Investing in our developer experience (setting up tooling for @@ -84,8 +84,9 @@ \subsection*{Everbridge (formerly NC4) --- \textit{Software Engineer}} \subsubsection*{October 2018--February 2020} \begin{itemize} - \item Developed and maintained Python and PHP applications used to help notify - clients of potential issues (fires, police activity, etc) + \item Developed and maintained Python (Django app) and PHP applications + used to help notify clients of potential issues (fires, police + activity, etc) \item Migrated version control system from SVN to Git \item Re-architected Python application to improve modularity \item Introduced best practices (follow PEP8 for Python, begin linting code, etc.) @@ -137,7 +138,7 @@ \vspace{1em} \section*{Related links} \begin{itemize} - \item \href{https://github.com/alejandro-angulo/qmk_firmware/tree/master/keyboards/crkbd/keymaps/alejandro-angulo}{keyboard configuration} + \item \href{https://github.com/alejandro-angulo/zmk-config}{keyboard configuration} \item \href{https://github.com/alejandro-angulo/dotfiles/}{nix configuration} \end{itemize} \section*{Toolset} @@ -149,7 +150,7 @@ \item linux \item tmux \item python - \item vim + \item neovim \end{itemize} \section*{Education} \subsection*{UC Davis} From 31f20964edade48f726ee9926a430c8fa8654a3a Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Mon, 5 Aug 2024 17:39:18 -0700 Subject: [PATCH 10/10] Updated wording --- alejandro_resume.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alejandro_resume.tex b/alejandro_resume.tex index f652430..6e9ab38 100644 --- a/alejandro_resume.tex +++ b/alejandro_resume.tex @@ -68,7 +68,7 @@ \subsection*{Sure --- \textit{Staff Software Engineer}} \subsubsection*{February 2020--Present} \begin{itemize} - \item Backend team lead on the service (Django app) responsible for + \item Backend lead dev on the service (Django app) responsible for managing an insurance policy's lifecycle (quoting, binding, etc.) \item Working on transitioning toward a more data-driven design (drastically reducing the time/complexity to onboard new clients)