Skip to content

Instantly share code, notes, and snippets.

View soup-bowl's full-sized avatar
🛑
New parent - fully unavailable

Casey LP soup-bowl

🛑
New parent - fully unavailable
View GitHub Profile
- year: 2026
url: https://www.pantone.com/color-of-the-year/2026
colors:
- name: Cloud Dancer
code: 11-4201
hex: "#f0eee9"
rgb: [240, 238, 233]
- year: 2025
url: https://www.pantone.com/color-of-the-year/2025
colors:
@soup-bowl
soup-bowl / bins.js
Last active October 7, 2025 09:58
Scrape bin collection data from Three Rivers District Council site - Pupeteer script for Browserless
// https://gist.github.com/soup-bowl/db9664f60e4b8500fc7bd077f052d9ba
export default async ({ page }) => {
const POSTCODE = ''; // e.g. "WD3 1AB"
const ADDRESS_TEXT = ''; // e.g. "10 High Street"
const SELECTORS = {
anonBtn: '#btn-anon',
acceptBtn: 'button.consent-accept.btn-success',
formIframe: '#fillform-frame-1',
@soup-bowl
soup-bowl / custom.css
Last active May 25, 2025 18:54
Pocket inspired theme for Wallabag
/*
* Pocket-inspired theme for Wallabag
* by soup-bowl - https://github.com/soup-bowl/
* MIT licensed 2024
* Tested against Wallabag 2.6.9
* https://gist.github.com/soup-bowl/c7633877404a214e4f41010b4d5f4994
*/
@import url("https://fonts.googleapis.com/css2?family=Ledger&display=swap");
@soup-bowl
soup-bowl / devcontainer.json
Created February 2, 2025 14:47
Whatsth.is Workspace Devcontainer
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Whatsthis Workspace",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/dotnet:2": {
"version": "9.0"
cms:
- name: "WordPress"
description: "A free and open-source content management system (CMS) that powers over 40% of the web. WordPress provides a flexible platform for creating blogs, websites, and e-commerce stores, and is known for its ease of use and customization options."
url: "https://wordpress.org/"
headers:
- "x-powered-by: WP Engine"
body:
- "//meta[@name='generator' and contains(@content, 'WordPress')]"
- "//*[contains(@href, 'wp-content')]"
- "//form[contains(@action, 'wp-login.php')]"
id Name Gender Meaning
1 Liam Male Strong-willed warrior
2 Emma Female Whole or complete
3 Avery Universal Elf ruler
4 Oliver Male Olive tree planter
5 Sophia Female Wisdom
6 Jackson Male Son of Jack
7 Mia Female Mine or bitter
8 Harper Universal Harp player
9 James Male Supplanter
@soup-bowl
soup-bowl / imdb-plex-name.js
Last active August 30, 2024 19:52
UserScript to show films in Plex-preferred naming syntax
// ==UserScript==
// @name IMDb Name Output for Plex
// @version 0.3
// @description Prints out a pre-formatted name for my Plex library. Click on the name to copy to clipboard.
// @author soup-bowl
// @namespace https://gist.github.com/soup-bowl/c98165af8a13e9e0956cadb71ea0354f
// @match https://www.imdb.com/*
// @match https://imdb.com/*
// @grant none
// ==/UserScript==
@soup-bowl
soup-bowl / handbrake.json
Created August 30, 2024 15:35
Presets for HandBrake for converting my rips to an optimised MKV format.
{
"PresetList": [
{
"AlignAVStart": false,
"AudioCopyMask": [
"copy:aac"
],
"AudioEncoderFallback": "av_aac",
"AudioLanguageList": [
"eng"
from machine import Pin
from time import sleep
vu=Pin(15,Pin.OUT)
di=Pin(16,Pin.IN)
while True:
try:
if di.value()== True:
vu.value(True)
@soup-bowl
soup-bowl / tree.py
Last active November 27, 2023 12:40
LED Christmas Tree for Raspberry Pi - https://thepihut.com/products/3d-xmas-tree-for-raspberry-pi
from gpiozero import LEDBoard, PWMLED
from gpiozero.tools import random_values
from signal import pause
from time import time, sleep, strftime
class Tree(object):
def __init__(self):
self.active = False
self.tree = LEDBoard(*range(4,28),pwm=True)
self.star = PWMLED(2)