Skip to content

Instantly share code, notes, and snippets.

View jprenken's full-sized avatar

James Renken jprenken

View GitHub Profile
jprenken /
Created July 2, 2022 04:37
Install Chrome on Debian / Ubuntu the pedantic way
sudo mkdir /etc/apt/keyrings
curl --fail --silent --show-error --location \
| gpg --dearmor \
| sudo tee /etc/apt/keyrings/google.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.gpg] stable main" \
| sudo tee /etc/apt/sources.list.d/google-chrome.list
# We want to manage the Google Chrome repository manually, so that we can use
jprenken / 10-wireguard
Created February 7, 2022 12:17
OPNsense: Start/stop WireGuard based on CARP state change (place in /usr/local/etc/rc.syshook.d/carp/)
* Copyright (C) 2004 Scott Ullrich <>
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: