Skip to content

Instantly share code, notes, and snippets.

View sonovice's full-sized avatar

Simon Waloschek sonovice

  • Detmold, Germany
View GitHub Profile
@sonovice
sonovice / 50-razer-pro-type-ultra.hwdb
Created September 9, 2022 18:02
Invert FN Function Keys (except F11 and F12) for Razer Pro Type Ultra
# Razer Pro Type Ultra Keyboard
# Hardware Database file that switches the media keys and F1-F10
# (F11 and F12 keypress events are not propagated through USB without the FN key)
#
# Instructions:
# save the content of this file to "/etc/udev/hwdb.d/50-razer-pro-type-ultra.hwdb"
# apply (persistent) changes using "sudo systemd-hwdb update && sudo udevadm trigger"
evdev:input:b*v1532p027B*
KEYBOARD_KEY_c00e2=f1
KEYBOARD_KEY_c00ea=f2
@sonovice
sonovice / verovio_to_svg_tiny.py
Last active February 20, 2017 09:41
Tool to convert verovio SVG 1.1 output to SVG tiny
"""
Copyright 2017 Simon Waloschek
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.