:tabnew- new blank tab:tabedit [file]- open file in tab
gt(:tabn) - next tab
| Start by adding the following alias to your gitconfig. | |
| [alias] | |
| prevision = "!f() { git checkout `git log --oneline $2 | awk -v commit="$1" 'FNR == -commit+1 {print $1}'` $2;} ;f" | |
| Usage: | |
| $ git prevision <N> <filename> | |
| will checkout the <N>th revision (counting backwards from HEAD) into the history of the file <filename>. | |
| For example to checkout the immediate previous version of a file x/y/z.c use |
v4l2loopback) - Source: https://github.com/umlaeute/v4l2loopback (You might find builds in your distro's repos - I'm using Fedora so had to build it myself using https://github.com/danielkza/v4l2loopback-fedora/)It's been a little while since I set it all up so I can't remember all of the installation details, which will probably be different for your distro anyway unless you're using Fedora. Apologies if I have forgotten something as wel.
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).| <script context="module"> | |
| import { get, readable } from 'svelte/store' | |
| import { createClient, operationStore } from '@urql/svelte' | |
| import { browser, dev } from '$app/env' | |
| /** | |
| * @type {import('@sveltejs/kit').Load} | |
| */ |
| export const chaosTestStrings = (): void => { | |
| const textNodes = getAllTextNodes(document.body); | |
| for (const node of textNodes) { | |
| const textNodeLength = node.textContent ? node.textContent.length : 0; | |
| if (node.textContent === null) { | |
| return; | |
| } | |
| if (node.parentElement instanceof Element) { | |
| if (node.parentElement.dataset.originalText === undefined) { |
There are a handful of issues that are both separate features, but are also loosely related in that they speak to certain problematic aspects of generics today. In particular,
<T, U extends Foo<T> = Foo<T>> is insufficient.T and still get inference on `U`. If you| #!/usr/bin/env ruby | |
| require 'json' | |
| def main | |
| puts JSON.pretty_generate( | |
| "title" => "@ Home Home Row Keys for Modifiers (using if_alone)", | |
| "maintainers" => ["eytanhanig"], | |
| # # Uncomment conditions to only apply modifications to internal apple keboards | |
| # "conditions" => [ |