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/env python3 | |
| """Render deadline benchmark for niri: keypress -> scanout and pointer -> scanout latency, deadline off vs on. | |
| Runs on one output (default: the focused one) at one or more refresh rates. A small Wayland probe (compiled from the | |
| C source embedded below on first run, into ~/.cache/niri-render-deadline-bench) injects input through niri's virtual | |
| keyboard/pointer and times when the result reaches the screen (wp_presentation): | |
| - keys: key presses into a focused layer-shell surface that redraws on every key, throttled by frame callbacks like | |
| a terminal. Optionally with background content: another surface on the same output committing at N Hz (+-25% | |
| jitter per frame), not paced by frame callbacks. Reported: median key press -> scanout. |
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
| { | |
| "saghen/blink.cmp", | |
| dependencies = { | |
| "rafamadriz/friendly-snippets", | |
| "Kaiser-Yang/blink-cmp-dictionary", | |
| }, | |
| version = "1.*", | |
| opts = { | |
| keymap = { preset = "super-tab" }, | |
| completion = { |
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
| // WARN: Please note the error types may be incorrect | |
| // WARN: Non-null assertions are used to avoid having to deal with overload typing but lead to unsafe typing | |
| // NOTE: Unfortunately, due to the typing of the client, you must pass the type of the document during the call | |
| // such as `insertOne<YourDocumentType>({ foo: 'bar' }) | |
| import { UnknownError } from '@shared/errors' | |
| import { safeTask } from '@utils/fp' | |
| import * as M from 'mongodb' |
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
| autoload -Uz compinit | |
| if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then | |
| compinit; | |
| else | |
| compinit -C; | |
| fi; | |
| # User configuration | |
| # Antibody |
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
| {"lastUpload":"2020-07-13T21:21:36.894Z","extensionVersion":"v3.4.3"} |
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
| autoload -Uz compinit | |
| if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then | |
| compinit; | |
| else | |
| compinit -C; | |
| fi; | |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH |
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
| {"lastUpload":"2019-08-11T04:20:38.238Z","extensionVersion":"v3.4.1"} |