Discover gists
发布时间:2026-10-28 | 浏览:1
Instantly share code, notes, and snippets.
Passwords will contain at least 1 upper case letter
Passwords will contain at least 1 lower case letter
Passwords will contain at least 1 number or special character
There is no length validation (min, max) in this regex!
Regular expression for JavaScript:
Entrar en modo EXEC privilegiado
Ejecutar el comando enable
The package that linked you here is now pure ESM . It cannot be require() 'd from CommonJS.
This means you have the following choices:
Use ESM yourself. (preferred) Use 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.
If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…) .
Stay on the existing version of the package until you can move to ESM.
One shell script that makes a rooted LG webOS TV lighter and quieter:
hides bloat tiles and background apps from the launcher
stops preloading apps the TV keeps in RAM whether or not you open them
turns off home-screen promotions, promo videos, sports alerts, content recommendations and Live Plus (ACR)
Nothing is deleted and the root filesystem is never touched. It only edits
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
A non exhaustive list of gcc compiler options.