This file contains 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/sh | |
# | |
# 15-confirm-plex.sh - molly-guard script to request confirmation for rebooting | |
# a machine with active Plex sessions. | |
# | |
# To use it place the script in /etc/molly-guard/run.d/ and make it executable. | |
# Requires molly-guard, curl, jq: | |
# | |
# sudo apt install molly-guard curl jq | |
# |
This file contains 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
FROM upstream/image:v1.23.0 as img | |
FROM another/external-tool:latest as externaltool | |
FROM alpine:3 | |
RUN important things | |
COPY --from img /img/bin/tool /bin/tool | |
COPY --from externaltool /bin/externaltool /bin/externaltool |
This file contains 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 | |
set -euo pipefail | |
files=("$@") | |
function disable_subs() { | |
local file=$1 | |
local forced_track_id | |
forced_track_id="$(mkvmerge -J "$file" | |
This file contains 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
# Place in docs/_ext | |
# | |
# Add to conf.py: | |
# sys.path.append(os.path.abspath("./_ext") | |
# extensions = [ | |
# # ... | |
# 'fontawesome', | |
# ] | |
# |