Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
import { useEffect, useState } from "react"; | |
/** | |
* useDebounce hook | |
* This hook allows you to debounce any fast changing value. The debounced value will only | |
* reflect the latest value when the useDebounce hook has not been called for the specified delay period. | |
* | |
* @param value - The value to be debounced. | |
* @param delay - The delay in milliseconds for the debounce. | |
* @returns The debounced value. |
./linelen_hist.sh src '*.c' | |
COLS COUNT | |
2 1317 ████████████████████████████████████████████████████████████▌ | |
4 583 ██████████████████████████▏ | |
6 500 ██████████████████████▎ | |
8 253 ███████████▊ | |
10 264 ████████████▊ | |
12 448 ████████████████████▋ | |
14 417 ███████████████████▌ | |
16 476 █████████████████████▍ |
import { defineEndpoint } from '@directus/extensions-sdk'; | |
import * as fs from 'fs'; | |
import * as path from 'path'; | |
import { spawn } from 'child_process'; | |
import busboy from 'busboy'; | |
export default defineEndpoint((router) => { |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Name of the struct tag used in examples | |
const tagName = "validate" |