Skip to content

Instantly share code, notes, and snippets.

View Myzel394's full-sized avatar

Myzel394

View GitHub Profile
@Myzel394
Myzel394 / README.md
Last active November 7, 2023 21:40
Automatic term colors based on background image

This gist explains how to automatically create a kitty theme .conf file based on the daily Bing wallpaper. The concept can be applied to other themes and wallpapers as well.

The files are also available on my dotfiles

Create NodeJS project

Create a NodeJS project. We will create a script that extracts the colors from an image using node-vibrant.

In that project, create a file set_theme_from_bg.js:

@Myzel394
Myzel394 / tlds.md
Last active October 17, 2024 16:20
All Top Level Domains (TLDs) (including international TLDs) | Grouped by gTLD, ccTLD, grTLD, sTLD

A list of all available, registable top level domains.

Based on https://tld-list.com/free-downloads, filtered using jq.

gTLD

All gTLD domains, filtered using:

[. | to_entries | .[] | select(.value.type == "gTLD") | .key ]