Skip to content

Instantly share code, notes, and snippets.

View john-shine's full-sized avatar

John Shine john-shine

View GitHub Profile
john-shine / Set-VGpuEternalTrial.ps1
Created February 27, 2023 01:56 — forked from neggles/Set-VGpuEternalTrial.ps1
Sets nVidia vGPU unlicensed state timeout to 24 hours and adds a daily scheduled task to restart the GPU drivers and reset the clock.
View Set-VGpuEternalTrial.ps1
Set vGPU VM instance into eternal trial.
Configures a Windows vGPU client for a 24-hour trial period and automatic daily driver restarts.
Set-VGpuEternalTrial -RestartTime 2AM
Set-VGpuEternalTrial -RestartTime 3AM -Filter '*GRID*'
john-shine / Host
Created February 18, 2023 07:50 — forked from lucndm/Host
Proxmox GPU passthrough to LXC Container
View Host
Note : Proxmox 6.1
VI : /etc/apt/sources.list
# security updates
deb jessie/updates main contrib
# PVE pve-no-subscription repository provided by,
# NOT recommended for production use
deb jessie pve-no-subscription
View material-icons.php
return [
'&#xE84D;' => '3d_rotation',
'&#xE190;' => 'access_alarm',
'&#xE191;' => 'access_alarms',
'&#xE192;' => 'access_time',
'&#xE84E;' => 'accessibility',
'&#xE84F;' => 'account_balance',
'&#xE850;' => 'account_balance_wallet',
View fly-mouse-keyboard-remap.ahk
KeyWait, AppsKey, T0.2
if (ErrorLevel) {
Send {F7}
} else {
Send {Backspace}
john-shine / karabiner.json
Created May 3, 2019 05:12
launch voice input or delete_or_backspace by application key
View karabiner.json
"global": {
"profiles": [{
"complex_modifications": {
"parameters": {
"basic.to_if_held_down_threshold_milliseconds": 500
"rules": [