Skip to content

Instantly share code, notes, and snippets.

@b-rodrigues
b-rodrigues / nix_inputs.md
Created February 28, 2024 07:09 — forked from CMCDragonkai/nix_inputs.md
Understanding Nix Inputs #nix

Understanding Nix Inputs

Every Nix derivation produces a Nix store output that has 3 things:

  • Executables
  • Libraries
  • Data

Executables are always exported using the PATH environment variable. This is pretty much automatic.

@b-rodrigues
b-rodrigues / github-pages-custom-domain-gandi-dns-records.md
Created January 14, 2024 17:45 — forked from matt-bailey/github-pages-custom-domain-gandi-dns-records.md
How to set up DNS records on gandi.net to use a custom domain on Github Pages

How to set up DNS records on gandi.net to use a custom domain on Github Pages

You would think it would be easy to find this information, but none of the Github or Gandi documentation is clear so I have recorded the required steps here.

Create the following A records:

@ 1800 IN A 185.199.108.153
@ 1800 IN A 185.199.109.153
@ 1800 IN A 185.199.110.153
@b-rodrigues
b-rodrigues / create_pptx.R
Created April 12, 2020 19:38 — forked from georoen/create_pptx.R
updated create_pptx
# modified from https://www.brodrigues.co/blog/2018-10-05-ggplot2_purrr_officer/
create_pptx <- function(plt = last_plot(), path = file.choose()){
if(!file.exists(path)) {
out <- read_pptx()
} else {
out <- read_pptx(path)
}
out %>%