How to Pass an Entire Project to a LLM
Create a prompt out of an entire directory
Create a prompt out of an entire directory
Want to quickly copy file contents to your system clipboard from the command line? xclip is the tool for you.
I live on a property that has zero cellular service. This forces me to rely on Wifi for calling, and texting. Only loosely related, but that means when I lose power, I cannot make calls, texts, or use the internet. For that reason, I wrote a separate blog post how I work around this, and still leverage the internet during power outages. I’ve always founds Wifi calling/texting to not be as good as I had hoped....
Battery Save Mode Quirks One of the most situations I originally experienced Cat S22 Flip was caused by its battery save mode. Since I wasn’t using this phone for much, I elected to have this mode on 24/7. While this helps preserve battery life, it comes with a notable quirk: the GPU gets disabled when the phone is flipped shut. This means if you’re using Google Maps for navigation and close your phone, you’ll hear that dreaded “GPS lost” announcement....
Converting a book/movie script to a new genre using self hosted LLMs
Why I Switched to a Flip Phone Recently, I decided to switch to a flip phone as my daily driver. The main reason? To reduce my access to distracting apps and to be less available to those not incredibly close to me. While I believe willpower is the best defense against distractions, I see the flip phone as “training wheels” — a temporary tool to help me avoid distractions until I can do so without assistance....
When managing multiple servers, it’s important to have a reliable load balancer in place. In many cases, you may want to prioritize one server, using it as the primary, while having a backup server only take over when the primary is unavailable. This approach is called a “preference-based failover.” In this blog post, we’ll go through the steps to configure Caddy as a reverse proxy load balancer with a preference-based approach....
How to ask questions about your local files
An Obsidian trick I’m using to keep track of my recipes, and other files.
I’m a big fan of tiling window managers. Today I use i3, which I happen to have configured to use dmenu, which is an efficient tool for searching across all your applications. I often find myself wanting to add custom applications to dmenu, say a custom script I’ve written, and I’d like to capture how that’s done. Example Desktop File Let’s say you want to add Postman to your dmenu. You’ll need to create a desktop file for it....