Skip to content

Instantly share code, notes, and snippets.

View xmesaj2's full-sized avatar
🆗

Mesaj xmesaj2

🆗
View GitHub Profile
@xmesaj2
xmesaj2 / proxmoxlxcjellyfin.md
Created March 24, 2023 09:38 — forked from aleksasiriski/proxmoxlxcjellyfin.md
Proxmox LXC Alpine Docker Jellyfin

How to setup VA-API within Proxmox LXC Unprivileged container

Proxmox configuration

No drivers need to be installed on the proxmox, from now called host.

Find GIDs of video and render group on host:

cat /etc/group | grep video

cat /etc/group | grep render

@xmesaj2
xmesaj2 / guest.sh
Created March 24, 2023 20:41
Plex LXC Unprivileged Debian mergerfs shared disk samba cifs snapraid AMD Vega7 iGPU
apt update && apt upgrade -y
apt install apt-transport-https curl vim wget sudo gnupg2 -y
echo "deb https://downloads.plex.tv/repo/deb public main" | tee /etc/apt/sources.list.d/plexmediaserver.list
curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add -
apt update
apt install plexmediaserver
systemctl status plexmediaserver
systemctl enable plexmediaserver
apt update && apt install -y curl gpg
mkdir -p /etc/apt/keyrings
@xmesaj2
xmesaj2 / nextcloudpi_proxmox_fixes.md
Last active March 29, 2023 20:46
nextcloudpi proxmox fixes

Enable HEIC

apt install php-imagick imagemagick config.php

'enabledPreviewProviders' => 
  array (
    'OC\Preview\PNG',
    'OC\Preview\JPEG',
    'OC\Preview\GIF',
    'OC\Preview\BMP',
@xmesaj2
xmesaj2 / Valetudo Z10 Pro Voice Packs.md
Created March 30, 2022 21:18
Valetudo Dreame Z10 Pro Voice Packs Guide
  1. Root
  2. Install Valetudo
  3. Backup files with SCP and to make a list of all of them
scp -i key.id_rsa root@192.168.1.101:/audio/EN/* backup/
  1. Download/create your .wav files, save as 0.wav 1.wav etc. https://github.com/Findus23/voice_pack_dreame/blob/main/sound_list.csv use this for reference which file is which sound to avoid listening to original files to find out
  2. Normalize WAV and convert to OGG. I used WSL Ubuntu 20.04 on Win11 (install vorbis-tools, ffmpeg)
@xmesaj2
xmesaj2 / gist:d9b4bacfe6f4a8cc7298b22932bae7d7
Last active March 18, 2024 18:05
atlantic aquantia aqc107 disable slower link speeds to fix no 10 gigabit with mikrotik crs305 and transceiver
ethtool -K enp5s0 rx-vlan-offload off
ethtool -s enp5s0 autoneg off speed 2500
ethtool -s enp5s0 autoneg off speed 100
ethtool -s enp5s0 autoneg off speed 1000
$ cat /etc/network/interfaces
-------------------------------------------
auto lo