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
@FalconNL93
FalconNL93 / .env
Created December 5, 2023 07:52
Rent a Tor
PUID=998
PGID=998
TIMEZONE=Europe/Amsterdam
@FalconNL93
FalconNL93 / docker-compose.yaml
Created July 16, 2023 05:58
Docker download stack
version: "3.9"
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
- WEBUI_PORT=8080
# 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