Skip to content

Instantly share code, notes, and snippets.

View SukkaW's full-sized avatar
🎯
Focusing

Sukka SukkaW

🎯
Focusing
View GitHub Profile
import { useSyncExternalStore, useCallback } from 'react';
import { noop } from 'foxact/noop';
import { useLayoutEffect } from 'foxact/use-isomorphic-layout-effect';
import { noSSRError } from 'foxact/no-ssr';
import { DEFAULT_VALUE, type StoredValues } from '../../storage';
type NotUndefined<T> = T extends undefined ? never : T;
// eslint-disable-next-line @typescript-eslint/naming-convention -- global GM API
declare function GM_addValueChangeListener<T, K extends keyof T>(key: K, cb: (key: K, oldValue: T[K], newValue: T[K], remote: boolean) => void): number;
javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='http://web.archive.org/web/*/'+input}}else{location.href='http://web.archive.org/web/*/'+location.href;}})();)
'use client';
import { memo, useEffect, useRef, useState } from 'react';
import type { AnimationConfigWithData, AnimationConfigWithPath, AnimationDirection, AnimationEventCallback, AnimationEventName, AnimationItem, AnimationSegment, RendererType } from 'lottie-web';
interface LottieAnimationCallback<T = unknown> {
eventName: AnimationEventName,
callback: AnimationEventCallback<T>
}
@SukkaW
SukkaW / latest_nyt_wordle_word_list.txt
Created July 21, 2025 08:17
Latest NYT Wordle Word List
["aahed","aalii","aapas","aargh","aarti","abaca","abaci","abacs","abaft","abaht","abaka","abamp","aband","abash","abask","abaya","abbas","abbed","abbes","abcee","abeam","abear","abeat","abeer","abele","abeng","abers","abets","abeys","abies","abius","abjad","abjud","abler","ables","ablet","ablow","abmho","abnet","abohm","aboil","aboma","aboon","abord","abore","aborn","abram","abray","abrim","abrin","abris","absey","absit","abuna","abune","abura","aburn","abuts","abuzz","abyes","abysm","acais","acara","acari","accas","accha","accoy","accra","acedy","acene","acerb","acers","aceta","achar","ached","acher","aches","achey","achoo","acids","acidy","acies","acing","acini","ackee","acker","acmes","acmic","acned","acnes","acock","acoel","acold","acone","acral","acred","acres","acron","acros","acryl","actas","acted","actin","acton","actus","acyls","adats","adawn","adaws","adays","adbot","addas","addax","added","adder","addin","addio","addle","addra","adead","adeem","adhan","adhoc","adieu","adios","adits","adlib","adman"