Skip to content

Instantly share code, notes, and snippets.

F13::
ActivateProcess("slack.exe")
return
F14::
ActivateProcess("telegram.exe")
return
@enlavin
enlavin / main.py
Last active December 11, 2024 00:09
KMK circuitpython macropad firmware
import board
#from kmk.kmk_keyboard import KMKKeyboard
#from kmk.matrix import DiodeOrientation
#from kmk.keys import KC
# Updated to be compatible with the latest KMK release (which requires CircuitPython >= 7.0)
from kmk.kmk_keyboard import KMKKeyboard
from kmk.keys import KC
from kmk.scanners import DiodeOrientation
@enlavin
enlavin / Dockerfile
Created September 4, 2023 07:56
openconnect-proxy with no reconnections
FROM wazum/openconnect-proxy as base
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]