Skip to content

Instantly share code, notes, and snippets.

View dgibbs64's full-sized avatar
⚓

Daniel Gibbs dgibbs64

⚓
View GitHub Profile
Wireguard is part of the linux Kernel. Only kernel updates and upgrade wireguard. Both ubuntu and centos have mechanisms for
upgrading the kernel (HWE and kernel-ml). Newer distros by default have newer kernels

OpenVPN Package Availability & Upgrade Options (Ubuntu & CentOS Stream 9)

1. Current OpenVPN Versions

Distribution Repo Version Release Date
Ubuntu 22.04 (Jammy) Main 2.5.9 16/02/2023
Updates 2.5.11 18/07/2024
Backports 2.6.12 18/07/2024
Ubuntu 24.04 (Noble) Main 2.6.14 02/04/2025
events {}
http {
upstream backend {
server upstream:443 max_fails=0 fail_timeout=0;
}
server {
listen 80;
# ============================
# Generic Nginx HTTPS redirect + stub_status
# ============================
# HTTP server block
server {
listen 80 default_server;
server_name _;
# Allow /basic_status on HTTP for monitoring
ipa host-add server-1.example.com
ipa service-add HTTP/server-1.example.com
ipa-getkeytab -s ipa.example.com \
-p HTTP/server-1.example.com \
-k /etc/http.keytab
#!/bin/bash
# Read the hosts from the file into an array
mapfile -t hosts < hosts.txt
# Loop through each host
for host in "${hosts[@]}"; do
echo -en "Checking DNS for $host... "
if dig +short "$host" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'; then
echo "pass"
#!/bin/bash
# Read the hosts from the file into an array
mapfile -t hosts < hosts.txt
# Loop through each host
for host in "${hosts[@]}"; do
ping -c 1 -w 1 "$host" >/dev/null
if [ $? -eq 0 ]; then
# yaml-language-server: $schema=https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/config-schema.json
# A starter config to use with Recyclarr. Most values are set to "reasonable defaults". Update the
# values below as needed for your instance. You will be required to update the API Key and URL for
# each instance you want to use.
#
# Many optional settings have been omitted to keep this template simple. Note that there's no "one
# size fits all" configuration. Please refer to the guide to understand how to build the appropriate
# configuration based on your hardware setup and capabilities.
#
@dgibbs64
dgibbs64 / QUAKE4_ULTRA.md
Created November 27, 2023 19:56
Quake 4 PC Ultra Settings Low Texture Fix

Quake 4 PC Ultra Settings Low Texture Fix

When loading Quake 4 in Ultra settings there is a bug where all the textures will be low quality. To fix this issue we need to create a config file to place in the Quake 4 game directory

  1. Browse to QUake 4 game directory Steam > Right-click on Quake 4 > Properties... > Installed Files > Browse...
  2. Go to the q4base directory.
  3. Create a new file called autoexec.cfg
  4. Copy the below config into the file and save.
seta image_downSizeLimit "2048"
@dgibbs64
dgibbs64 / css_cvarslist.txt
Created November 12, 2023 00:59
CSS cvarslist
cvar list
--------------
_resetgamestats : cmd : : Erases current game stats and writes out a blank stats file
_restart : cmd : : Shutdown and restart the engine.
achievement_debug : 0 : , "sv", "cheat", "rep" : Turn on achievement debug msgs.
addip : cmd : : Add an IP address to the ban list.
ai_auto_contact_solver : 1 : , "sv" :
ai_block_damage : 0 : , "sv" :
ai_debug_assault : 0 : , "sv" :
ai_debug_avoidancebounds : 0 : , "sv" :