Skip to content

Instantly share code, notes, and snippets.

View alicercedigital's full-sized avatar

dretz alicercedigital

View GitHub Profile
@samkcarlile
samkcarlile / Setting up ESLint + Airbnb + Prettier in VSCode.md
Last active September 2, 2020 13:42
My attempt at clarifying the steps to getting up and running with ESLint and Airbnb's configuration inside of VSCode.

Setting up ESLint + Airbnb + Prettier in VSCode

(Step #1) – VSCode extensions & settings

  • Install the ESLint extension in VSCode.
    • This actually parses the Javascript you write and applies syntax and semantic rules.
  • Install the Prettier code formatter extension in VSCode.
    • All this does is format the code you've written to look nice. No syntax checking or parsing of your Javascript. If you don't install this, you'll still get all the benefits of linting and VSCode's built-in formatter.
@Joao-Peterson
Joao-Peterson / gmk67_linux.md
Last active November 14, 2024 02:55
Using GMK67 keyboard in linux with key remaps!

GMK67 with Linux!

Recently i bought a zuoya gmk67 keyboard, it doesn't have a function keys row and has a know for volume control. Unfortunately, if you plug your gmk67 in a linux machine you will notice that using fn+1 will not produce f1 as expected, it will produce a screen brightness decrease, and if you change the physical switch in the back for the macOS mode, the function keys now work, but the modifier keys don't, quite stressful.

Fear not, you can either remap the keys, as in this gist, or alter your system configuration so the keyboard functions normally, as seen in the gist Using GMK67 keyboard in linux. Function keys not working with Fn!.

For this gist, we can simply remap some keys while the physical switch in the back is in windows mode. For that let's install keyd, a remapping tool daemon.

Install