Skip to content

Instantly share code, notes, and snippets.

View Saturn745's full-sized avatar
💭
Actively breaking things...

Saturn Saturn745

💭
Actively breaking things...
View GitHub Profile
@Saturn745
Saturn745 / README.md
Last active November 23, 2022 01:24
Basic guide on activating Windows 10/11 without spending a dime.

Keys

Type Key
Pro W269N-WFGWX-YVC9B-4J6C9-T83GX
Pro N MH37W-N47XK-V7XM9-C7227-GCQG9
Home TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Home Single Language 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home Country Specific PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
@Saturn745
Saturn745 / whitelist
Created December 2, 2022 03:47
Adguard Whitelist
@@||boards.4channel.org^$important
@@||guilded.gg^
@@||lunarclient.com^$important
@@||lunarclientcdn.com^$important
@@||geysermc.org^$important
@Saturn745
Saturn745 / fivem-egg-with-git.json
Created June 22, 2023 08:30
FiveM pterodactyl egg, with the ability to pull your resources from a GIT repo.
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-06-22T08:29:42+00:00",
"name": "FiveM - GIT",
"author": "[email protected]",
"description": "A new FiveM egg for the latest builds due to recent changes in FiveM",
@Saturn745
Saturn745 / arion-compose.nix
Created July 26, 2023 00:26
Run Jellyfin with Arion. Currently this does not work due to some SSL error and Jellyfins plugin manifest. I have tried countless things to fix it but it just refuses to work.
{ pkgs, ... }:
{
project.name = "media-server";
services = {
jellyfin = {
nixos.configuration = {pkgs, ...}: {
boot.isContainer = true;
boot.tmpOnTmpfs = true;
};
image.enableRecommendedContents = true;
@Saturn745
Saturn745 / README.md
Last active March 24, 2024 18:47
Forward NixOS Container ports without them being filtered. NFTables and SNAT

Fixes NixOS/nixpkgs#46975 and possibly NixOS/nixpkgs#28721

Previously when using forwardPorts or exposing it with a containers firewall you would have no way to expose it to the public (outside the machine) because the port would be filtered.

This adds a optiont o the containers called extraPorts which will forward the ports with SNAT.

This probably isn't the best fix but it works
@Saturn745
Saturn745 / README.md
Created September 20, 2024 01:51
Ansible role to automatically update [Netbird](https://netbird.io)

Ansible Role: Netbird Update

Basic Ansible role to automatically update Netbird.

  • Detects whether it was installed via a package manager or binary and uses the correct update method.
  • If installed via binary, downloads Netbird's install/update script from a pinned commit and checks the SHA256 hash before running the script.
  • Update the pinned commit and SHA256 hash with the update_vars.sh script.