Skip to content

Instantly share code, notes, and snippets.

View 9dc's full-sized avatar
🏠
Working from home

9dc 9dc

🏠
Working from home
View GitHub Profile
@9dc
9dc / gist:010b7625980e71077211456b4e96ff84
Last active March 20, 2024 09:32
Auto On/Off of Logitech Litra Glow when Webcam in use (for Teams) // doesnt need any logitech shit software other than hidapitester.exe
function setLightState {
param (
[Parameter(Mandatory = $true)]
[ValidateSet('On', 'Off')]
[String]$state,
[ValidateRange(1, 100)]
[Int]$brightness=50,
[ValidateRange(2700, 6500)]
@9dc
9dc / xhair
Created September 14, 2015 13:07
cl_color "2"
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "1"
cl_crosshairalpha "255"
cl_crosshaircolor "2"
cl_crosshaircolor_b "0"
mspaint.exe 11116 Console 1 22.676 K