This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adds the ALT_TAB keycode to a QMK keymap. | |
// Based on https://www.reddit.com/r/MechanicalKeyboards/comments/mrnxrj/better_super_alttab/ | |
// Functionality is the following (basically the same thing as a normal Alt + Tab but without having | |
// to leave Alt pressed): | |
// - On pressing ALT_TAB, the window switch menu pops up. | |
// - While the menu is visible, it's possible to cycle through the selection by pressing ALT_TAB | |
// again, or Shift + ALT_TAB, or the arrow keys. | |
// - The selected window can be brought up by pressing Enter, which also closes the menu. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unmapAll | |
map e scrollDown | |
map o scrollUp | |
map E scrollPageDown | |
map O scrollPageUp | |
map uu LinkHints.activateMode | |
map uU LinkHints.activateModeToOpenInNewTab | |
map UU LinkHints.activateModeToOpenInNewForegroundTab | |
map q goBack | |
map j goForward |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.17) | |
project(Foo) | |
find_package(PkgConfig REQUIRED) | |
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET | |
libavdevice | |
libavfilter | |
libavformat | |
libavcodec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import argparse | |
import string | |
from os.path import join | |
from glob import glob | |
from collections import Counter | |