Terminal Screenshots
I'm preparing a talk on Semantic Search and RAG in Ruby and I found myself in need of screenshots of code and terminals. At first I just took screenshots, but it was hard to make them consistent. I'm sure there are many ways to do this, but I found termshot and it seems to work nicely. I also wanted syntax highlighting, so I pipe it through bat, a tool I've only just started using. Here's how you use it to create an image of some Ruby code in a terminal.
termshot -f search.png – bat -p search.rb

Nice!