Vim uses :help 'path'
to define the root directories from where to search non-recursively for files.
It is used for:
gf
,gF
,<C-w>f
,<C-w>F
,<C-w>gf
,<C-w>gF
,:find
,:sfind
,:tabfind
,
#!/usr/bin/env bash | |
inputFile=$1 # input file | |
outputFile=$2 # output file | |
outputRes=$3 # output resolution in WIDTHxHEIGHT | |
fps=$4 # fps for both input and output | |
useLeftoverFrames=0 # whether or not to process already split frames | |
# create temp dir if it doesn't exist yet | |
if [[ ! -d ".lqrtemp/" ]]; then | |
echo ":: Creating temporary directory .lqrtemp/..." |
# A simple assertion library for jq (https://github.com/stedolan/jq) | |
# Author: Srinath Sankar | |
def assert(level; expr; msg): | |
if expr then | |
. | |
else | |
. |= . + [{ level: level, message: msg }] | |
end; |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
# From https://stackoverflow.com/a/68876046/1319998, which is itself inspired by https://stackoverflow.com/a/68814418/1319998 | |
from contextlib import contextmanager | |
from collections import namedtuple | |
from ctypes import cdll, byref, string_at, c_char_p, c_int, c_double, c_int64, c_void_p | |
from ctypes.util import find_library | |
from sys import platform | |
def query(db_file, sql, params=()): |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Single File Web Component</title> | |
</head> | |
<body> | |
<template id=single-file> | |
<style> | |
h1 { |
The examples below use the base ssl configuration found here: SSLConfig of the library: SSLContext Kickstart
Java
For directly installing Debian Sid not supported by the Debian installer, namely: