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 -e
# Constants
DOTNET_DIR="$HOME/.dotnet"
INSTALL_SCRIPT="$HOME/dotnet-install.sh"
DEPENDENCIES_MARKER="$HOME/.dotnet_deps_installed"
# Ensure the "dialog" package is installed
ensure_dialog_installed() {
@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 / aspcert-debian.sh
Last active February 6, 2024 07:49
Root certificate ASP.NET Ubuntu
# Install Certutil
sudo apt-get install libnss3-tools
# Setup Firefox
PEMFILE="/usr/local/share/ca-certificates/aspnet/https.crt"
echo "{
\"policies\": {
\"Certificates\": {
\"Install\": [
\"aspnetcore-localhost-https.crt\"
@FalconNL93
FalconNL93 / OpenSSH.md
Last active March 16, 2023 08:13
OpenSSH Windows

You should not use the Open SSH client that comes with Git for Windows. Instead, Windows has its own implementation of Open SSH that is integrated with the system. To achieve this:

  1. Auto start SSH Agent on startup:
Set-Service ssh-agent -StartupType Automatic
  1. Start SSH-Agent:
Get-Service ssh-agent | Where {$_.status –eq 'Stopped'} | Start-Service
@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