Skip to content

Instantly share code, notes, and snippets.

@lplath
lplath / settings.json
Last active February 11, 2026 08:55
Zed - Keep inline-styles on one line if possible
{
...
"languages": {
...
"HTML": {
"prettier": {
"embeddedLanguageFormatting": "off",
},
},
},
@lplath
lplath / Industry_Compatible_Custom.py
Last active January 16, 2023 15:23
Blender Keymapping
keyconfig_version = (3, 4, 6)
keyconfig_data = \
[("3D View",
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
{"items":
[("wm.call_panel",
{"type": 'RET', "value": 'PRESS'},
{"properties":
[("name", 'TOPBAR_PT_name'),
("keep_open", False),
loadAPI(1);
host.defineController("Util", "Midi Monitor", "1.0", "7f7d828e-0419-41f6-8f53-f4482e5cb6d5", "lplath");
host.defineMidiPorts(1, 0);
function init() {
let port = host.getMidiInPort(0);
port.setMidiCallback((status, data1, data2) => {
println(`[MIDI] status: ${status}, data1: ${data1}, data2: ${data2}`);
});