Skip to content

Instantly share code, notes, and snippets.

View callebstrom's full-sized avatar

Carl-Erik Bergström callebstrom

View GitHub Profile
@callebstrom
callebstrom / eq6r-eqmod-asiair.md
Created January 10, 2025 13:55 — forked from timucingelici/eq6r-eqmod-asiair.md
How to connect EQ6-R Pro to AsiAIR (inc. other Raspberry PI solutions) through USB type B cable

How to connect EQ6-R Pro to AsiAIR (inc. other Raspberry PI solutions) through USB type B cable

Created at: Tuesday, 29th of Dec 2020 Updated at: Saturday, 13th of March 2021

Disclaimer

This document is simply describing my own personal experience and the steps I took to troubleshoot and solve a specific problem.

It also does not provide any guarantees and does not aim to encourage others to violate their vendors/suppliers' terms.

@callebstrom
callebstrom / index.html
Created September 15, 2022 15:10
Accessible focus management for media player with media controls overlay
<!-- JSFiddle here https://jsfiddle.net/jg91w0xd/26/ -->
<div class="content">
Some video content
<div class="overlay">
Overlay
<button>
Play button
</button>
</div>
</div>
@callebstrom
callebstrom / slider.html
Created September 2, 2022 20:08
Accessible HTML & CSS-only slider
<!-- Working example here https://jsfiddle.net/callebstrom/mw0n4f5s/190/ -->
<input type="checkbox" />
type ExtractObjectProperty<O extends Record<any, any>, P> = P extends keyof O
? O[P]
: never;
type Path<
O extends Record<any, any>,
P extends ReadonlyArray<unknown>
> = P extends [infer P0, ...(infer PR)]
? ExtractObjectProperty<O, P0> extends object
? Path<ExtractObjectProperty<O, P0>, PR>