Skip to content

Instantly share code, notes, and snippets.

@PsyZeus
PsyZeus / GetNordVPNWireGuardDetails.md
Created August 21, 2025 07:30 — forked from bluewalk/GetNordVPNWireGuardDetails.md
Getting NordVPN WireGuard details

About

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx

@PsyZeus
PsyZeus / gist:8bf18c59fa3be6129ed34342bdb4171f
Created August 21, 2025 07:29 — forked from jauderho/gist:5f73f16cac28669e56608be14c41006c
HOWTO: Upgrade Raspberry Pi OS from Bookworm to Trixie
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@PsyZeus
PsyZeus / restore-desktop-ini.md
Created February 26, 2024 18:25 — forked from hyrious/restore-desktop-ini.md
restore desktop.ini if some guy messed them up

Take %UserProfile%\Desktop\desktop.ini for example.

  1. Create a desktop.ini file with content below and saved in UTF-16 LE with BOM. Hopefully notepad.exe has such choice to use the right encoding.
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183
@PsyZeus
PsyZeus / gist:cd86332f4f4f18c3c2f27061ea407ca7
Created August 30, 2023 18:41 — forked from jauderho/gist:6b7d42030e264a135450ecc0ba521bd8
HOWTO: Upgrade Raspberry Pi OS from bullseye to bookworm
sudo apt-get update && sudo apt-get dist-upgrade
sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/raspi.list
sudo apt update
sudo apt -y full-upgrade
sudo apt -y autoremove
sudo apt -y clean
sudo reboot
#
# remove old config files after doing sanity checks
@PsyZeus
PsyZeus / bench.sh
Created November 9, 2022 09:01 — forked from ety001/bench.sh
speed test ,bench test, freevps.us/downloads/bench.sh
#!/bin/bash
#####################################################################
# Benchmark Script 2 by Hidden Refuge from FreeVPS #
# Copyright(C) 2015 - Hidden Refuge #
# License: GNU General Public License 3.0 #
# Github: https://github.com/hidden-refuge/bench-sh-2 #
#####################################################################
# Original script by akamaras/camarg #
# Original: http://www.akamaras.com/linux/linux-server-info-script/ #
# Original Copyright (C) 2011 by akamaras/camarg #
@PsyZeus
PsyZeus / dark2custom dark icons.css
Last active December 14, 2022 21:33
dark2custom dark icons.css
html{
background-color: #222227 !important;
}
body {
background-color: #222227 !important;
color: #e8e8ea !important;
}
.footer{