Skip to content

Instantly share code, notes, and snippets.

View BillDStrong's full-sized avatar

Bill D. Strong BillDStrong

View GitHub Profile
@zot
zot / prep
Last active December 20, 2022 13:01
shell script to prepare steamdeck for development
#!/bin/sh
# use this to prep remote development
#
# ensures sshd is active and multiuser nix is installed
#
# the most common activity here is mounting the local vault
# other activities happen only on installation or after upgrades
#
# activate ssh if it's not activated
if ! systemctl is-active sshd > /dev/null 2>&1; then
@neggles
neggles / Set-VGpuEternalTrial.ps1
Last active May 12, 2024 00:34
Sets nVidia vGPU unlicensed state timeout to 24 hours and adds a daily scheduled task to restart the GPU drivers and reset the clock.
<#
.SYNOPSIS
Set vGPU VM instance into eternal trial.
.DESCRIPTION
Configures a Windows vGPU client for a 24-hour trial period and automatic daily driver restarts.
.EXAMPLE
Set-VGpuEternalTrial -RestartTime 2AM
.EXAMPLE
Set-VGpuEternalTrial -RestartTime 3AM -Filter '*GRID*'
.INPUTS
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4