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 python:3.8.18-bookworm | |
RUN adduser megumin | |
USER megumin | |
ADD --chown=megumin:megumin acestream_3.1.75rc4_ubuntu_18.04_x86_64_py3.8 /home/megumin/acestream | |
WORKDIR /home/megumin/acestream |
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 | |
FILENAME="ffscrec_`date +%F_%T`.mp4" | |
QUALITY="-qp 30" | |
FPS=60 | |
get_dimensions() { | |
DIM=`slop` | |
W=`echo $DIM | cut -d x -f 1` | |
H=$(echo $(((`echo $DIM | cut -d x -f 2 | cut -d + -f 1`/2)*2))) |
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
ACTION=="add", SUBSYSTEM=="drm", KERNEL=="card0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="gpu-clock.service" |
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
[Unit] | |
Description=set gpu signal clock and voultage | |
[Service] | |
User=root | |
# ExecStartPre=/bin/sleep 5 | |
ExecStart=/bin/bash -c 'echo "s 1 1704" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "vc 0 500 700" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "vc 1 1102 775" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "vc 2 1704 999" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ |
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
!webm <имя_доски> -- рандомная вебм. | |
!yt <строка> -- ютуб поиск. | |
!ya <строка> -- яндекс поиск. | |
!tr <язык> <строка> -- переводит строку на указанный язык. | |
Список кодов языков брать из колонки "639-1" https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes | |
!vs <str>,<str>,... -- начинает новое голосование (пробелы после запятой не ставить). | |
!v <str> -- проголосовать | |
!v -- результат голосования |