/**
* @param {object} params
* @param {import('@actions/github/lib/context').Context} params.context -
* @see {@link https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts}
* @param {typeof import('@actions/core')} params.core -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/core}
* @param {typeof import('@actions/github')} params.github -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/github}
* @param {typeof import('@actions/exec')} params.exec -
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
# | |
# lm-sensors configuration file for `ASRock B660M-HDV` motherboard | |
# | |
# File location: /etc/sensors.d/ASRock-B660M-HDV.conf | |
# Vendor URL: https://www.asrock.com/mb/Intel/B660M-HDV/ | |
# Upstream URL: https://gist.github.com/rindeal/1dc9c6ba4109336d174f805e3cd30a37 | |
# | |
# Based on: https://github.com/petersulyok/asrock_z690_extreme/blob/1154e46b1dae0d2a02cf6ed623c4e6c6024c40c8/B550_Steel_Legend.conf | |
# | |
# |
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 python3 | |
# SPDX-FileCopyrightText: ANNO DOMINI 2024 Jan Chren ~rindeal <dev.rindeal gmail.com> | |
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only | |
# Homepage: https://gist.github.com/rindeal/852365c3b241dfee813cfd02b4e3f705/ | |
import io | |
import sys | |
import re |
A robust Bash script for copying file attributes (ownership, permissions, and SELinux context) from a source file to one or more destination files.
- Copies ownership (user and group)
- Copies permissions (read, write, execute)
- Copies SELinux security context (if SELinux is enabled)
- Provides detailed, color-coded logging
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
NORMAL = "\x1b[0m", RESET = "\x1b[0m" | |
BLACK = "\x1b[30;21m", RED = "\x1b[31;21m", GREEN = "\x1b[32;21m", YELLOW = "\x1b[33;21m", BLUE = "\x1b[34;21m", MAGENTA = "\x1b[35;21m", CYAN = "\x1b[36;21m", WHITE = "\x1b[37;21m", GREY = "\x1b[38;21m" | |
BOLD_BLACK = "\x1b[30;1m", BOLD_RED = "\x1b[31;1m", BOLD_GREEN = "\x1b[32;1m", BOLD_YELLOW = "\x1b[33;1m", BOLD_BLUE = "\x1b[34;1m", BOLD_MAGENTA = "\x1b[35;1m", BOLD_CYAN = "\x1b[36;1m", BOLD_WHITE = "\x1b[37;1m", BOLD_GREY = "\x1b[38;1m" | |
BG_BLACK = "\x1b[40m", BG_RED = "\x1b[41m", BG_GREEN = "\x1b[42m", BG_YELLOW = "\x1b[43m", BG_BLUE = "\x1b[44m", BG_MAGENTA = "\x1b[45m", BG_CYAN = "\x1b[46m", BG_WHITE = "\x1b[47m", BG_GREY = "\x1b[48m" |
<!--- Firefox Color Palette ------------------------------------------------------------->
<link rel="stylesheet" href="https://gist.github.com/rindeal/4c869c95087f1bf8cf7cecb4206e2d4f/raw/firefox-color-palette-2024.min.css" referrerpolicy="no-referrer" />
Regular Expression
(?x)
^
Welcome to the GSettings Array Manipulator, a powerful command-line tool designed to simplify and streamline your interactions with GSettings arrays. With this tool, you can perform a variety of tasks, from inserting items into an array to sorting and deduplicating items, all with a few simple commands.
- Insert: Add one or more items to your array at a specified index.
- List: Display all items in your array, each on a new line.
- Sort: Sort all items in your array.
- Deduplicate: Remove duplicate items from your array.
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
""" | |
=============================== | |
BufferedIOBase Buffer Size Calculator | |
=============================== | |
This Python script contains a function `buffio_get_buffsz` that calculates | |
the buffer size of a `BufferedIOBase` object. | |
Functionality | |
============= |
NewerOlder