Install k3d
sudo curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bashsudo k3d cluster create --k3s-arg "--tls-san="@server:*| npm install -g puppeteer-lottie-cli | |
| puppeteer-lottie -i "lottie.json" -o frame-%d.png | |
| ffmpeg -r 30 -i frame-%d.png -filter_complex "[0:v]fps=30,split[a][b];[a]palettegen=reserve_transparent=on:transparency_color=ffffff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" output.gif |
| for file in *.webp; do ffmpeg -i "$file" "out/$(basename "${file%.webp}.png")"; done | |
| # mkdir -p out && for file in *.webp; do ffmpeg -i "$file" "out/$(basename "${file%.webp}.png")"; done |
| const https = require('https'); | |
| const fs = require('fs'); | |
| const imageUrls = [ | |
| ] | |
| const padFileName = (index) => { | |
| let str = index.toString(); | |
| while (str.length < 3) { |
sudo curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bashsudo k3d cluster create --k3s-arg "--tls-san="@server:*| // ==UserScript== | |
| // @name YouTube Shorts ProgressBar | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Brings 'YouTube shorts' to 21st century, where we have control over things that we watch. | |
| // @author Can Kurt | |
| // @match *://www.youtube.com/* | |
| // @license MIT | |
| // ==/UserScript== |