

#beliefs
#best-practicesnpm run command --silent suppresses npm output, only shows script output.npm start and npm test are the conventions to run the app / server and test. Use more.npx [email protected] -- node --version lets you run any node version without nvm, etc.npm link installs package in the current directory as a global. You can link to it from any other package via npm link <dirname>.npm install owner/repo installs directly from GitHub.npm ls --depth=2 shows dependency tree up to depth 2.rclone mount over SFTP is the worst-case for thousands of tiny files. Every stat, readdir, unlink is an extra network round-trips, taking ~1s per operation. I'm switching to rsync instead for my Hetzner storage box. # rclone config create hetzner sftp host $USER.your-storagebox.de user $USER shell_type unixrclone mount hetzner:/ /mnt/hetzner --vfs-cache-mode full --vfs-cache-max-age 24h --vfs-cache-max-size 10G--extreme option for xz, which compresses even better (but slower). For archives, I now use xz -9e -vv file. Single-threaded is slower but better for compression, so don't use -mt. For ultra-large files, add --lzma2=dict=256MiB or similar, keeping dictionary size smaller than RAM and file size. #.py file when running with uv! # #github# /// script
# dependencies = ["git+https://github.com/owner/repo.git"]
# ///
Tab completes the suggestion and Esc cancels it. I'm beginning to use Alt + ] and Alt + [ to cycle through multiple suggestions. I'm amazed that it can act as a: #code-agents #github #markdown#chatgpt#speech-to-text #tts #voice-cloning