Skip to content

Instantly share code, notes, and snippets.

View Cremator's full-sized avatar
🎯
Focusing

Georgi Chompalov Cremator

🎯
Focusing
View GitHub Profile
@Cremator
Cremator / bash_history_ol9_zfs
Created October 11, 2023 13:27
Oracle Linux 9 - EL9 ZFS with cockpit management
#Install Oracle Linux 9.2
# setenforce=permissive
vi /etc/selinux/config
#disable Oracle UEK repo and change default kernel to EL9
dnf repolist
dnf config-manager --disable ol9_UEKR7
grubby --info=ALL | grep ^kernel
grubby --set-default /boot/vmlinuz-5.14.0-284.30.1.el9_2.x86_64
@Cremator
Cremator / ffmpeg
Created September 14, 2022 09:00
Benchmark Intel QuickSync hevc to h264 transcode
ffmpeg -y -init_hw_device qsv=hw -filter_hw_device hw -hwaccel qsv -c:v hevc_qsv -i input_video.mkv -c:v h264_qsv -vf 'vpp_qsv=format=nv12' -c:a copy -f null -
@Cremator
Cremator / vyos-docker-install.script
Last active June 21, 2022 01:46
Install docker on VyOS 1.3 rolling
# Install docker req
echo "deb http://deb.debian.org/debian buster main contrib non-free" >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
# Add docker repo
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian buster stable"
sudo apt-get update
# Make persistent var for docker to live between vyos upgrades
sudo mkdir -p /config/user-data/docker