Skip to content

Instantly share code, notes, and snippets.

@orion6dev
orion6dev / .gitignore
Created January 27, 2025 09:27
JetBrains Rider, ReSharper, and .NET Core .gitignore template
# .gitignore template for JetBrains Rider, ReSharper, and .NET Core projects
# This file is designed to exclude IDE-specific files, build artifacts, temporary files,
# and other unnecessary files that should not be committed to a Git repository.
# The template focuses on JetBrains Rider but also supports Visual Studio and .NET Core.
## User-Specific Files
# Exclude user-specific files that are unique to each developer's environment.
*.rsuser # Rider user-specific settings
*.suo # Visual Studio solution user options
*.user # Visual Studio user-specific settings
@orion6dev
orion6dev / prepare-server.sh
Last active March 25, 2024 19:23
Prepare an Ubuntu server with docker and docker compose
#!/bin/bash
# Import the Microsoft repository key
wget -q "https://packages.microsoft.com/keys/microsoft.asc" -O- | sudo apt-key add -
# Register the Microsoft Ubuntu repository
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -s -c)-prod $(lsb_release -s -c) main" > /etc/apt/sources.list.d/microsoft.list'
# Add Docker's official GPG key:
sudo apt-get update
@orion6dev
orion6dev / readme.md
Created May 3, 2023 15:26 — forked from primaryobjects/readme.md
How to remote desktop from Linux Mint to Windows 10 with AzureAD Azure AD login

How to remote desktop from Linux Mint to Windows 10 with AzureAD

The following steps detail how to connect over Remote Desktop from Linux Mint or Ubuntu to Windows 10 with an AzureAD username and password login account.

  1. In Windows 10, right-click This PC or My Computer and select Properties.
  2. Click Remote Settings.
  3. Check the option Allow remote connections to this computer.
  4. Uncheck the option Allow connections only from computers running Remote Desktop with Network Level Authentication.
  5. Click OK.