mirror of
https://github.com/jbranchaud/til
synced 2026-01-15 13:08:02 +00:00
Compare commits
3 Commits
7007aac2f6
...
bbb304f48c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbb304f48c | ||
|
|
138cab4fdc | ||
|
|
295fe153ad |
@@ -5,6 +5,8 @@ an array-like object with all of the arguments to the function. Even if not
|
||||
all of the arguments are referenced in the function signature, they can
|
||||
still be accessed via the `arguments` object.
|
||||
|
||||
> For ES6+ compatibility, the `spread` operator used via [rest parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters) is preferred over the `arugments` object when accessing an abritrary number of function arguments.
|
||||
|
||||
```javascript
|
||||
function argTest(one) {
|
||||
console.log(one);
|
||||
|
||||
20
workflow/control-media-with-drop-keyboard.md
Normal file
20
workflow/control-media-with-drop-keyboard.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Control Media With Drop Keyboard
|
||||
|
||||
I have a [Drop CTRL](https://drop.com/buy/drop-ctrl-v2-mechanical-keyboard)
|
||||
mechanical keyboard which mostly works like any other keyboard. It also has a
|
||||
set of functionality that can be accessed via the `fn` (function) key. The
|
||||
function key can be used to configure the keyboard's LEDs, but I tend to set
|
||||
and forget that.
|
||||
|
||||
Instead, I like to use the function key to control media. That is, adjust the
|
||||
volume, play and pause, and skip to the next song.
|
||||
|
||||
Here is a listing of the ones I use:
|
||||
|
||||
- `Fn + Insert` to Pause / Play
|
||||
- `Fn + PgUp/PgDown` to Increase / Decrease the volume
|
||||
- `Fn + Del/End` to go to the Previous / Next song
|
||||
|
||||
Here is a [full listing of the function
|
||||
keys](https://drop.com/talk/9382/how-to-configure-your-drop-keyboard) for Drop
|
||||
keyboards.
|
||||
Reference in New Issue
Block a user