Skip to content

Instantly share code, notes, and snippets.

View FalconNL93's full-sized avatar
💭
Set your status

Peter van der Veen FalconNL93

💭
Set your status
View GitHub Profile
#!/bin/bash
set -euo pipefail
ISO_ORIG="$HOME/Dev/ISO/debian-12.11.0-amd64-netinst.iso"
ISO_NEW="$HOME/Dev/ISO/debian-12.11.0-amd64-unattended-cloudinit.iso"
PRESEED_FILE="$(pwd)/preseed.cfg"
WORKDIR="$HOME/Dev/ISO/Debian/iso-work"
ISO_MOUNT="$HOME/Dev/ISO/Debian/iso-mount"
#!/bin/bash
set -e
DOTNET_DIR="$HOME/.dotnet"
INSTALL_SCRIPT="$HOME/dotnet-install.sh"
DOTNET_RELEASES_URL="https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json"
DOTNET_INSTALL_SH_URL="https://dot.net/v1/dotnet-install.sh"
DEPENDENCIES_MARKER="$HOME/.dotnet_deps_installed"
REMOVE_OLD_MINOR_VERSIONS=false # Set to true to enable removal of older minor versions
@FalconNL93
FalconNL93 / .env
Created December 5, 2023 07:52
Rent a Tor
PUID=998
PGID=998
TIMEZONE=Europe/Amsterdam
@FalconNL93
FalconNL93 / .env
Last active May 7, 2025 06:57
Docker download stack
PUID=1000
PGID=1000
TIMEZONE=Europe/Amsterdam
WEBUI_PORT=8080
RADARR_API_KEY=your_radarr_api_key_here
SONARR_API_KEY=your_sonarr_api_key_here
QBITTORRENT_URL=https://qbit.domeinhier.nl:443
QBITTORRENT_USERNAME=your_qbittorrent_username_here
QBITTORRENT_PASSWORD=your_qbittorrent_password_here
# Install Script
wget https://dot.net/v1/dotnet-install.sh
chmod +x dotnet-install.sh
# Install SDK's
./dotnet-install.sh -v 5.0.408 && \
./dotnet-install.sh -v 6.0.418 && \
./dotnet-install.sh -v 7.0.405 && \
./dotnet-install.sh -v 8.0.101
@FalconNL93
FalconNL93 / diskpart
Last active August 7, 2022 06:30
Optimize WSL Disk
select vdisk file="C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\ext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit