Skip to content

Instantly share code, notes, and snippets.

View BrandonIrizarry's full-sized avatar

Brandon Irizarry BrandonIrizarry

  • New York, New York
  • 03:34 (UTC -04:00)
View GitHub Profile
@BrandonIrizarry
BrandonIrizarry / chi.go
Created April 23, 2025 00:54 — forked from alexaandru/chi.go
Chi-like syntactic sugar layer on top of stdlib http.ServeMux
// Chi-like syntactic sugar layer on top of stdlib http.ServeMux.
package main
import (
"net/http"
"slices"
)
type (
middleware func(http.Handler) http.Handler
@BrandonIrizarry
BrandonIrizarry / build-emacs28.sh
Created November 27, 2022 15:32 — forked from abidanBrito/build-emacs.sh
Bash script to build GNU Emacs 28 from source.
#!/usr/bin/env bash
## Author: Abidán Brito
## This script builds GNU Emacs 28 with support for native elisp compilation,
## libjansson (C JSON library) and mailutils.
# Exit on error and print out commands before executing them.
set -euxo pipefail
# Let's set the number of jobs to something reasonable; keep 2 cores