Skip to content

Instantly share code, notes, and snippets.

View robcsaszar's full-sized avatar
🥬
Learning

Rob Csaszar robcsaszar

🥬
Learning
View GitHub Profile
@robcsaszar
robcsaszar / cloud-config.yml
Last active December 25, 2025 23:20
Hetzner VPS #cloud-config
#cloud-config
users:
- name: {{username}}
ssh_authorized_keys:
- "ssh-rsa..."
sudo: ALL=(ALL:ALL) ALL
groups: sudo
shell: /bin/bash
# Force password change on first sudo usage
@robcsaszar
robcsaszar / powershell.md
Last active January 6, 2024 22:33
Own PowerShell aliases, functions, and settings, yoinked and frankensteined from all across the web.

Instructions

Enable unsigned script execution:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

In case it isn't already configured, point PS to the right repository (might throw an error):

Register-PSRepository -Default