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
| FROM debian:12-slim | |
| RUN ["sed", "-i", "s/^Components: .*/Components: main contrib/", "/etc/apt/sources.list.d/debian.sources"] | |
| RUN apt-get update && apt-get install -y libdvd-pkg dvdbackup | |
| RUN ["dpkg-reconfigure", "libdvd-pkg"] |
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/sh | |
| if [ $# -lt 1 ]; then | |
| echo "Usage: $0 [playlist]" >&2 | |
| exit 1 | |
| fi | |
| PLAYLIST_FILE=$1 | |
| if ! [ -f "$PLAYLIST_FILE" ]; then |
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 python3 | |
| import secrets | |
| import string | |
| WORD_LIST = "/usr/share/keepassxc/wordlists/eff_large.wordlist" | |
| words = [w.strip() for w in open(WORD_LIST)] | |
| symbols = string.ascii_letters + string.digits + string.punctuation |
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 python3 | |
| import csv | |
| import decimal | |
| import itertools | |
| import sys | |
| def parse_desired_weights(weights_file): | |
| weights = { e["Category"]: decimal.Decimal(e["Desired Weight"]) for e in csv.DictReader(weights_file) } | |
| if sum(weights.values()) != 1: |
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 python3 | |
| import json | |
| import datetime | |
| import re | |
| import shutil | |
| import subprocess | |
| import tempfile | |
| import urllib.request |
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
| FROM debian:trixie-slim AS build | |
| WORKDIR /src | |
| RUN ["dpkg", "--add-architecture", "arm64"] | |
| RUN apt-get update && apt-get install -y gcc-aarch64-linux-gnu make automake libcups2-dev:arm64 cups-ppdc | |
| COPY . . | |
| RUN ["aclocal"] | |
| RUN ["autoconf"] | |
| RUN ["automake", "--add-missing"] | |
| RUN ["./configure", "--host=aarch64-linux-gnu"] |
OlderNewer