This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Usage: ./mkv2gif.sh input.mkv output.gif [start] [end] [fps] [width] | |
| # Example: ./mkv2gif.sh delme.mkv delout.gif 00:00:22.5 00:01:12 12 640 | |
| # | |
| # | |
| # Option Purpose | |
| # stats_mode=full | |
| # Scans every frame to build one histogram → true global palette. Use diff instead if the background is mostly static (screen recordings) — it only considers pixels that changed, which is usually better for screencasts. | |
| # max_colors=256 | |
| # Fills all 256 slots (default). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Show the full c-fuction matching a keyword name | |
| # | |
| # Usage check | |
| if [[ -z "$1" || -z "$2" ]]; then | |
| echo "Usage: $0 <function_name> <file.c>" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Smart HSL Dark Mode | |
| // @namespace http://tampermonkey.net/ | |
| // @version 4.2 | |
| // @description Attempts hue-preserving intensity inversion with reasonable priorities | |
| // @author clort81 + z.AI | |
| // @match *://*/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use utf8; | |
| use feature qw(say); | |
| use experimental qw(signatures); | |
| use List::Util qw(max any); | |
| use Term::ReadKey qw(GetTerminalSize); | |
| use Time::HiRes qw(sleep); | |
| *STDOUT->binmode(':encoding(UTF-8)'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # 255 mysmps SIMPLE SAWTOOTH SOUND | |
| # <-----------------------> \/\/\/\/\/\/\/\/\/\/\ | |
| # . . A beep for bash shell | |
| # | mypeak | for machines without | |
| # \ | /\ pc speaker beep \007. | |
| # \ | / \ | |
| # \ | / \ It requires alsa and | |
| # \ | / \ 'play' via alsautils. | |
| # \ | / \ |