Using GitHub Codespaces for Quarto Development

It turns out, when I am working on say a reveal.js slide deck and I need a lot of instant feedback, quarto preview renders pretty slowly on my machine. To speed up the process, and also allow me to tweak slides and blog articles from any machine, I started using GitHub Codespaces. To set it up correctly, I settled on this devcontainer.json for now: devcontainer.json { "name": "R + Quarto Codespace", "image": "ghcr....

January 17, 2024 路 Lennart Klein

GitHub Commit Difference Badge

TL;DR Create a Shields.io badge for your GitHub README.md to track the number of commits since a specific commit In my case, I set the base/reference point to the last commit to the repo of my blog鈥檚 theme which I added as a git submodule1 to the themes/ folder of my blog2 Using R Markdown, I have my badge automatically update to the current status of my submodule and rendered out to my README....

January 11, 2024 路 Lennart Klein

In Search for the Perfect Palette

Three types of palettes: discriminate qualitative smooth Okabe mpg %>% ggplot(aes(x = displ, y = hwy)) + geom_point(aes(color = class)) + geom_smooth() mpg %>% ggplot(aes(x = displ, y = hwy)) + geom_point(aes(color = class)) + geom_smooth() + paletteer::scale_color_paletteer_d("colorblindr::OkabeIto_black")

August 4, 2023 路 Lennart Klein

Implementing the PaperMod Theme

Links & Resources https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/ https://github.com/adityatelange/hugo-PaperMod (-> branches)

March 15, 2021 路 Lennart Klein

Tools I Use

Custom Summary Text!

March 15, 2021 路 Lennart Klein