Skip to content

Instantly share code, notes, and snippets.

View jnorrid's full-sized avatar
📐

Joshua Norrid jnorrid

📐
View GitHub Profile
@jnorrid
jnorrid / gist:1c371cb26790e6f4a4d6be6b4089fae0
Created March 21, 2024 03:38 — forked from jauderho/gist:6b7d42030e264a135450ecc0ba521bd8
HOWTO: Upgrade Raspberry Pi OS from Bullseye to Bookworm
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@jnorrid
jnorrid / whitespace.sh
Created August 15, 2019 03:27 — forked from reagent/whitespace.sh
Convert whitespace from tabs to 2 spaces
#!/bin/bash
set -e # fail on nonzero status
cd $1
files=`find . \
-not \( -path ./vendor -prune \) \
-not \( -path ./tmp -prune \) \
-name '*.html' -o -name '*.js' -o -name '*.coffee' -o \
@jnorrid
jnorrid / 01_basic.go
Created August 15, 2019 03:22 — forked from reagent/00_README.md
Custom HTTP Routing in Go
package main
import (
"io"
"log"
"net/http"
)
func main() {