Extracted from https://www.safetyandquality.gov.au/publications-and-resources/resource-library/national-tall-man-lettering-list
Australian Commission on Safety and Quality in Health Care. National Tall Man Lettering List. Sydney: ACSQHC; 2020
| import * as fs from "fs"; | |
| /** | |
| * Class representing evaluation metrics for a binary classifier system. | |
| * This class is designed to calculate and analyze the performance of a binary classifier | |
| * as its discrimination threshold is varied, including ROC curve analysis and Precision-Recall curve analysis. | |
| */ | |
| export class BinaryClassifierStatistics { | |
| /** Sorted array of unique thresholds from the scores in descending order */ | |
| thresholds: number[] = []; |
| // ==UserScript== | |
| // @name Augmented HTML5 Video Player | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Adds volume boost to 400% and player speed control to 4x and changes skip forward/backward duration to 2s | |
| // @author swadical | |
| // @match https://*/* | |
| // @include * | |
| // @grant none | |
| // @run-at document-end |
| // Node.js worker threads and networking libraries | |
| import { Worker, isMainThread, parentPort, workerData } from "node:worker_threads"; | |
| import net from "net"; | |
| const _DEBUG = true; | |
| function log(...args: any) { | |
| if(_DEBUG) console.log.apply(this, args); | |
| } | |
| // Define the size of the shared buffer. 16MB |
| import * as ffi from "ffi-napi" | |
| import * as ref from "ref-napi" | |
| export enum ClipboardFormat { | |
| TEXT = 1, | |
| BITMAP = 2, | |
| METAFILEPICT = 3, | |
| SYLK = 4, | |
| DIF = 5, | |
| TIFF = 6, |
| /** | |
| * @typedef {(EncodedValue|EncodedDate|EncodedArray|EncodedMap|EncodedSet|EncodedObject|EncodedReference)} EncodedObj | |
| */ | |
| /** | |
| * @typedef {{type: "string"|"number"|"boolean"|"undefined", val: string|number|boolean|undefined}} EncodedValue | |
| */ | |
| /** | |
| * @typedef {{type: "date", val: string, ref: number}} EncodedDate |
| class TwoWayWeakMap { | |
| constructor() { | |
| this.keyToValue = new WeakMap(); | |
| this.valueToKey = new WeakMap(); | |
| this.keys = new Set(); | |
| this.values = new Set(); | |
| } | |
| set(key, value) { | |
| const weakValue = new WeakRef(value); |
| function fuzzySubstringMatch(str,match,maxDiscrepancies) | |
| local minIdx | |
| local minDiscrepancies = 1 / 0 | |
| for idx=1,#str do | |
| local curIdx = idx | |
| local discrepancies = 0 | |
| local matchIdx = 1 | |
| while matchIdx <= #match do | |
| local srcChar,srcCharNext = str:byte(curIdx + matchIdx - 1,curIdx + matchIdx) | |
| local matchChar,matchCharNext = match:byte(matchIdx,matchIdx + 1) |
| -- saved at 12000Hz, 16 bit PCM, little endian | |
| local vcName = "SD_VC001" | |
| local folder = "SD_VOICE/"..vcName | |
| ffi=require'ffi' | |
| ffi.cdef [[ | |
| void vInitDecoder(void); | |
| void vDecode(uint8_t* param_1,uint8_t *param_2); |
| -- for use by doctors only, always clinically correlate | |
| -- don't use this for yourself | |
| -- you shouldn't trust strangers on the internet with your blood sugars | |
| print("insulin calculator 3000") | |
| local function roundEven(n,noZero) | |
| local frac = n % 1 | |
| local base = math.floor(n) | |
Extracted from https://www.safetyandquality.gov.au/publications-and-resources/resource-library/national-tall-man-lettering-list
Australian Commission on Safety and Quality in Health Care. National Tall Man Lettering List. Sydney: ACSQHC; 2020