Skip to content

Instantly share code, notes, and snippets.

View arthurlt's full-sized avatar

Arthur Tucker arthurlt

View GitHub Profile
@LinuxSBC
LinuxSBC / 1password-flatpak-browser-integration.sh
Last active November 27, 2025 21:00
1Password Integration with Flatpak Browsers
#!/bin/bash
set -oue pipefail
INFO='\033[0;36m' # Cyan for general information
SUCCESS='\033[0;32m' # Green for success messages
WARN='\033[0;33m' # Yellow for warnings
ERROR='\033[0;31m' # Red for errors
NC='\033[0m' # No Color
echo "This script will help you set up 1Password in a Flatpak browser."
@jdoss
jdoss / akmod-sign-modules.sh
Created April 24, 2022 19:56
Sign NVIDIA kernel modules genreated by akmods
#!/bin/bash
# Script based on https://github.com/larsks/akmod-sign-modules. Use the systemd
# drop-in to call this script during akmods@${KERNEL_VERSION}.service
#
# Compression support based on https://unix.stackexchange.com/questions/438954/signing-a-compressed-kernel-module-for-use-with-secure-boot
#
# See also https://gist.github.com/xenithorb/df08970b9e70bb3c6576e1fd91460afe
set -eu

How to setup a practically free CDN using Backblaze B2 and Cloudflare

⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,