Skip to content

Instantly share code, notes, and snippets.

View MatthiasLohr's full-sized avatar

Matthias Lohr MatthiasLohr

View GitHub Profile
@MatthiasLohr
MatthiasLohr / README.md
Last active April 2, 2024 18:15
Beelink GTR5 + Proxmox + Windows Guest VM

Beelink GTR5 + Proxmox VE + Windows Guest using the Vega8 Graphics Card

Prerequisites

Hardware

  • Current BIOS version: 5.19
  • 1TB Kingston NVMe SSD (shipped with the device, used for system)
  • 1TB Samsung 860 EVO 2.5" SATA SSD (bought additionally, for Windows 10)
  • Installation images for Proxmox VE, Windows 10 (e.g. using Ventoy)
#!/bin/sh
# (c) by Matthias Lohr <matthias@lohr.me> 2014
# Read LICENSE file for license information.
CURDIR="$(pwd)"
if [ "$1" = "" ] ; then
REPOSDIR="$CURDIR"
else

Keybase proof

I hereby claim:

  • I am MatthiasLohr on github.
  • I am mlohr (https://keybase.io/mlohr) on keybase.
  • I have a public key whose fingerprint is F4A0 91E1 F243 C374 8FFF 661A 8FC3 060F 80C3 1A0A

To claim this, I am signing this object:

@MatthiasLohr
MatthiasLohr / docker-image-update-check.sh
Last active November 22, 2023 00:00
Execute script if new docker image is available
#!/bin/bash
# Example usage:
# ./docker-image-update-check.sh gitlab/gitlab-ce update-gitlab.sh
IMAGE="$1"
COMMAND="$2"
echo "Fetching Docker Hub token..."
token=$(curl --silent "https://auth.docker.io/token?scope=repository:$IMAGE:pull&service=registry.docker.io" | jq -r '.token')