This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Software { | |
[string]$Name | |
[string]$Id | |
[string]$Version | |
[string]$AvailableVersion | |
} | |
$upgradeResult = winget update --include-unknown | Out-String | |
$lines = $upgradeResult.Split([Environment]::NewLine) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ | |
./hardware-configuration.nix | |
]; | |
# Bootloader. | |
boot.loader.systemd-boot.enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Name of SSH key | |
key=github_ed25519 # You can rename this | |
# Generate new SSH key | |
ssh-keygen -t ed25519 -f ~/.ssh/${key} -q -P "" | |
# Authorized it | |
cat ~/.ssh/${key}.pub >>~/.ssh/authorized_keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'Stopping running containers ...' | |
docker stop $(docker ps -aq) | |
echo 'Removing containers ...' | |
docker rm $(docker ps -aq) | |
echo 'Removing images ...' | |
docker rmi $(docker images -q) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = 26626066+MathiasReker@users.noreply.github.com | |
name = Mathias Reker | |
username = MathiasReker | |
signingkey = ~/.ssh/github_ed25519.pub | |
[init] | |
defaultBranch = dev | |
[gpg] | |
format = ssh | |
[commit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi |