Per-Dir API keys
How to easily setup per directory API keys to, for example, scope different AI subscriptions in different folders. This will use the CLI direnv to accomplish that.
How to easily setup per directory API keys to, for example, scope different AI subscriptions in different folders. This will use the CLI direnv to accomplish that.
Here is a script using the GitHub gh CLI to iterate over all of your repos and make them more secure by setting the following settings on them:
A quick guide on how to track session cost with a Claude hook. This will both keep a running cost counter below your Claude CLI and persist session costs to ~/.claude/cost/.
Add the following to your ~/.bashrc or ~/.zshrc:
alias ghpr='git push && gh pr create --fill'
Now just run ghpr after you've committed, and now you have a PR!
(for security purposes)
npm config set ignore-scripts true~/.npmrc./.npmrcignore-scripts=true into that fileHow to setup a Linux VM for an AI CLI to go crazy in (without risk to your host system).
I thought this would be easy (because it's easy to stream from a backend to a frontend and vice versa) but it was not. Let's look at how to stream a file from an S3 connection on a server to another server in Node.js.
I recently had to figure out client-side mTLS certificates. I've never had to deal with them before, and it was quite annoying, so I documented what I learned.
Npm has recently been making a lot of changes around package publish security because of recent supply-chain attacks targeting Npm.
What does this mean for the lonely dev self-publishing packages from their local CLI?
A quick guide on setting up a minimal but secure HTTPS web server on a Debian (12) Linux server.