Skip to content

Instantly share code, notes, and snippets.

View catchsudheera's full-sized avatar

Sudheera Palihakkara catchsudheera

View GitHub Profile
@catchsudheera
catchsudheera / gist:68bcb4747e7e4127cd1162112791c99e
Created December 31, 2024 12:00
Upgrade ubuntu server from EOL version "Lunar" to latest
sudo sed -i 's|http://ports.ubuntu.com/ubuntu-ports|http://old-releases.ubuntu.com/ubuntu|g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade -y
sudo sed -i 's|lunar|mantic|g' /etc/apt/sources.list
sudo apt update && sudo apt upgrade -y
# Had to fix the installs for libc6
sudo apt --fix-broken install
sudo apt dist-upgrade
@catchsudheera
catchsudheera / generate_wg_from_nordvpn_nordlynx.sh
Created December 29, 2022 21:52
This bash script can be used to generate the wireguard config from nordvpn nordlynx connection on a linux machine. I used this script to generate wg config for my Gl.iNet router vpn client
#!/bin/bash
CONFIG_FILE_NAME='nordlynx_wg.conf'
nordvpn disconnect
sleep 2
nordvpn set technology nordlynx
nordvpn connect Netherlands
nordvpn status
@catchsudheera
catchsudheera / gist:6463d6f0e74a3d537db2651e175d7ad5
Created March 1, 2022 17:11
Sonarr error -> Unable to communicate with SkyHook
# on the sonarr container
cert-sync /etc/ssl/certs/ca-certificates.crt