Skip to content

Instantly share code, notes, and snippets.

View Number-3434's full-sized avatar
💭
I will be slow to respond.

Number 3434 Number-3434

💭
I will be slow to respond.
View GitHub Profile
@Number-3434
Number-3434 / logicproxScripterEvents.js
Last active April 23, 2024 11:38 — forked from djtech42/logicproxScripterEvents
Logic Pro X MIDI Scripter Javascript Events
//-----------------------------------------------------------------------------
// EventTypes.js
//-----------------------------------------------------------------------------
// required event class definitions for MIDI events
//-----------------------------------------------------------------------------
// Event : base class for all events
//-----------------------------------------------------------------------------
@Number-3434
Number-3434 / Dart Custom Durations.md
Last active April 17, 2024 16:04
Utility library for creating Durations in Dart
// The following are equivalent:
const a1 = Duration(milliseconds: 1);
const b1 = Milliseconds(1);
const c1 = Duration(microseconds: 1000);

// You can also use floating values
const d1 = Seconds(.0001);

// Each class contains shorthands for constant values
@Number-3434
Number-3434 / settings.jsonc
Last active January 25, 2024 13:34
Custom Extended Syntax Highlighting For Markdown. This extends upon the existing markdown highlighting in VSCode by using custom `textMateRules`, to colourize more tokens.
{
"editor.tokenColorCustomizations": {
"textMateRules": [
// Underlined link (e.g. `some-link` in `[Name](some-link)`)
{ "scope": "markup.underline.link.markdown", "settings": { "foreground": "#aaaaaa" } },
// List Character (e.g. `-`, `*`, `+`)
{ "scope": "punctuation.definition.list.begin.markdown", "settings": { "foreground": "#FFED9D" } },
// Heading Hashes (e.g. `##` in `## HEADING`)
{ "scope": "punctuation.definition.heading.markdown", "settings": {} },
// Heading Text (e.g. `HEADING` in `## HEADING`)