Skip to content

Instantly share code, notes, and snippets.

View tripurari001's full-sized avatar
🐢
Thinking..........

Tripurari Shankar tripurari001

🐢
Thinking..........
View GitHub Profile
@tripurari001
tripurari001 / gist:4088c35b54a84ad381d664f9f2f7606a
Created April 3, 2026 17:54
Give permission for WebHiD to modify keyboard using usevia.app
#!/bin/bash
# can change the device name here
HID_NAME='Keychron Keychron K2 Pro'
# loop over possible devices
for f in /dev/hidraw*
do
DEVICE_NAME=$(basename ${f})
if grep "$HID_NAME" "/sys/class/hidraw/${DEVICE_NAME}/device/uevent";
then
# device matches product name
@tripurari001
tripurari001 / gist:e78aa7b33a1f9f000405309a8082982a
Created May 4, 2019 16:50
Openwest 2015 - Erik Falor - From Vim Muggle to Wizard in 10 Easy Steps
_
- - /, /, |\ 222222222222222
)/ )/ ) ' _ \\ 2:::::::::::::::22
)__)__) \\ /\\ < \, ,._-_ / \\ _-_, 2::::::222222:::::2
~)__)__) || / /-|| || || || ||_. 2222222 2:::::2
) ) ) || /\\ (( || || || || ~ || 2:::::2
/-_/-_/ \\ || \/\\ \\, \\/ ,-_- 2:::::2 ::::::
/ 2222::::2 ::::::
(, 22222::::::22 ::::::
.--.--.-----. 22::::::::222