Skip to content

Instantly share code, notes, and snippets.

@axlroden
axlroden / advanced_settings.xml
Created February 23, 2024 20:43
Kodi always on my 4K TV instead of my 1440p monitor
<advancedsettings>
<videoscreen>
<monitor>Generic PnP Monitor #1</monitor>
</videoscreen>
</advancedsettings>
<!-- place this in "C:\Users\YOURUSERNAME\AppData\Roaming\Kodi\userdata -->
@axlroden
axlroden / reinstall_VPS_from_inside.txt
Last active July 25, 2023 12:53 — forked from 4abhinavjain/reinstall_VPS_from_inside.txt
DIY install debian on Oracle Cloud Infrastructure ( Free Tier ) - ARM64
sudo -i
sudo apt update && sudo apt dist-upgrade -y && sudo apt install lsof && sudo reboot
# ssh back in
sudo -i
snap remove --purge oracle-cloud-agent && sudo snap remove --purge core18
apt purge -y $(dpkg-query -Wf '${Package}\n' | grep header) $(apt list --installed | grep -oP "^linux.*\d\d\d\d-oracle" | grep -v "$(uname -r)") linux-modules-extra-$(uname -r) lxc* lxd* vim* && sudo apt -y autoremove && sudo apt -y autoclean && apt -y clean
rm -rf /var/log/* /var/lib/apt/lists/*
@axlroden
axlroden / reinstall_VPS_from_inside.txt
Created July 25, 2023 12:28 — forked from 4abhinavjain/reinstall_VPS_from_inside.txt
DIY install debian on Oracle Cloud Infrastructure ( Free Tier ) - ARM64
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root'
sudo -i
# make sure we are on the highest kernel, so we can delete all the others ...
@axlroden
axlroden / install
Last active February 14, 2023 08:57
Centos 6.10 add updated i40e ixgbe drivers to netinstall iso
# Easiest done from a minimal clean 6.10 stock install as you need to be on same kernel as iso.
# Be root..
yum install -y p7zip p7zip-plugins genisoimage gcc make kernel-devel
# download and extract iso
cd /tmp
mkdir centint
wget https://vault.centos.org/6.10/isos/x86_64/CentOS-6.10-x86_64-netinstall.iso
7z x -y -o/tmp/centint/ -r /tmp/CentOS-6.10-x86_64-netinstall.iso