Skip to content

Instantly share code, notes, and snippets.

@Lydon-01
Lydon-01 / README.md
Created January 19, 2026 12:07
Goodreads Libby Availability Checker

Goodreads Libby Availability Checker

A Tampermonkey userscript that checks if books from your Goodreads reading lists are available in your local Libby library.

Version License

Screenshots

Book Page

@BenjaminRCooper
BenjaminRCooper / query.graphql
Created December 23, 2024 21:31
GraphQL introspection query Shopify Admin API
{
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
}
}
@rameerez
rameerez / kamal-production-server-setup.sh
Last active November 11, 2026 00:39
Set up a Ubuntu 24.04/26.04 server to deploy Kamal 2.x Docker containers to, hardened security and production ready
#!/bin/bash
# ─────────────────────────────────────────────────────────────────────────────
# Production Docker Host Setup & Hardening Script — v3.2.1
# For Ubuntu Server 24.04 LTS (Noble) and 26.04 LTS (Resolute)
# Suitable for both Kamal 2.x deployment hosts and remote builder hosts
#
# Part of RailsFast (https://railsfast.com) — free & open source, MIT licensed.
#
# Usage (as root, on a fresh server):
require 'sinatra'
require 'pp'
require 'redis'
require 'json'
configure do
redis = JSON.parse(ENV['VMC_SERVICES']).select {|srvc| srvc['name'] =~ /redis-.*?/ }.first['options']
redis_conf = {:host => redis['hostname'], :port => redis['port'], :password => redis['password']}
@@redis = Redis.new redis_conf