selectolax is a fast, easy-to-use, modern HTML5 parser with CSS selectors. A good replacement for lxml.html. #html#document-conversionconst blobToDataURL = (blob) =>
new Promise((res, rej) => {
const r = new FileReader();
r.onload = () => res(r.result);
r.onerror = () => rej(r.error);
r.readAsDataURL(f);
});
// @ts-check to a JavaScript file and documenting types via JSDoc might be the simplest way to migrate phase-wise from JS to Typescript. #document-conversionenvsubst < file.txt replaces file.txt with the environment variable, e.g. $HOME is replaced by the HOME environment variable. Clean shell-level templating.yt-dlp requires Deno from now on. #14404wrkflw is a quick and light way to test GitHub actions before publishing. It runs GitHub actions locally. #github#ai-coding #best-practices #future #github #markdown #prompt-engineeringuv becomes the knight in shining armor.#futureuvx --with visidata vd gives you a command-line Excel editor to edit / convert CSV, Excel, JSON, SQLite, directories, etc. #dev #markdownuvx markitdown https://example.com/ fetches example.com as Markdown. I learnt this when I told Codex it could use uvx markitdown to convert PDFs and it figured this part out by itself. #document-conversion #html #markdownyt-dlp has a --download-sections option that downloads specific YouTube time ranges. For example --download-sections "*00:01:00-00:03:00" downloads roughly (not exactly) from 1 min to 3 min. Note the * at the beginning.#chatgpt#automation #future #githubnpx -y @github/copilot #github#ai-coding #chatgpt #code-agents#llm-ops#chatgpt#chatgpt #gpu #speech-to-text