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: | |
# movenc.sh <infile> [<outfile>] | |
# | |
# User variables/args: | |
# CROP - ffmpeg crop filter of format xx:xx:xx:xx | |
# ASTREAMS - ffmpeg audio stream | |
# SSTREAMS - ffmpeg subtitle stream | |
# TUNE - x264 tune |
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 | |
# dns host to connect over DoT to | |
DNS_HOST="example.host.com" | |
INTERFACE="$1" | |
case $NM_DISPATCHER_ACTION in | |
# set dns | |
up) | |
# wait for connection to be fully up (e.g. NM configuring resolved) |
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
/** | |
* mush - the Memory Unsafe SHell | |
* a crappy shell written in dirty C | |
* | |
* A couple words from the dev: | |
* "I hate this" | |
* "it can run commands" | |
* "wow this thing can't even cd" | |
**/ |
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
--Very simple mpv script that disables video on YouTube videos | |
--and instead shows the video thumbnail. | |
--Because there is no toggle for this I recommend only calling | |
--the script via the "--scripts-append" flag unless you always | |
--want to just see video thumbnails. | |
--Set this to 1 if you use Windows | |
windows = 0 | |
function thumbnail_as_cover() |