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 | |
''' | |
u/3dsf | |
d88P Y88b | |
888 888 | |
.d8888b 888 888d888 8888b. 88888b.d88b. | |
88K 888 88888 888P" "88b 888 "888 "88b | |
"Y8888b. 888 888 888 .d888888 888 888 888 | |
X88 Y88b d88P 888 888 888 888 888 888 |
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
echo 'GRUB_TIMEOUT=5 | |
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" | |
GRUB_DEFAULT=saved | |
GRUB_DISABLE_SUBMENU=true | |
GRUB_TERMINAL_OUTPUT="console" | |
GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau nvidia-drm.modeset=1" | |
GRUB_DISABLE_RECOVERY="true" | |
GRUB_ENABLE_BLSCFG=true' | sudo tee /etc/default/grub |
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 | |
# Install Nvidia drivers with nvcc and build GCC 11 for nvcc | |
# Uses nvidia fedora repo 35 as the fedora 36 does not have a compatible gcc | |
# This should not hinder the install, until nvidia fedora repo is no longer supported EOL F35? | |
# This script is written for fresh installs | |
work_dir=/tmp/gcc/build | |
install_dir=/opt/gcc-11 |
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/python3 | |
#modified ffmpeg-python tensorflow implentation from https://github.com/kkroening/ffmpeg-python/blob/master/examples/tensorflow_stream.py | |
### pip install ffmpeg-python numpy | |
import os | |
import subprocess # required for ffmpeg-python | |
import logging as logger # you could clean out the logger if you like | |
import ffmpeg # ffmpeg-python | |
import numpy as np # required for ffmpeg-python |