Skip to content

Instantly share code, notes, and snippets.

View KhashayarDanesh's full-sized avatar

Khashayar Danesh KhashayarDanesh

  • Haarlem, the Netherlands
View GitHub Profile
@KhashayarDanesh
KhashayarDanesh / ducky.md
Last active April 5, 2020 09:18 — forked from schmich/ducky.md
Programming media keys on Ducky Keyboards

Programming Media Keys on Ducky Keyboards

To use media keys on the Ducky Keyboards, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function:

@KhashayarDanesh
KhashayarDanesh / set-up-chromium-keys.md
Last active June 9, 2022 07:40 — forked from cvan/set-up-chromium-keys.md
Launch Chromium with API Keys on Linux, macOS and Windows

Sometimes you need to use API Keys to use things like the Speech API. And then you Google a bit and follow all the instructions. But the Chromium Project's API Keys page does a not-so-great of explaining how to do this, so I will.

1. Download Chromium.

2. You'll notice a yellow disclaimer message appear as a doorhanger: Google API Keys are missing. Some functionality of Chromium will be disabled. Learn More.

3. Clicking on that link takes you to the confusing API Keys docs page.

4. If you aren't already, subscribe to the chromium-dev@chromium.org mailing list. (You can just subscribe to the list and choose to not receive any mail. FYI: the Chromium project restricts the APIs to those subscribed to that group - that is, Chromium