Since I could not find a quickstart to run opengrep with the full set of rules from their fork I thought I'd document what I found out. Setup Download the opengrep binary from github and make it executable with chmod +x . Clone the rules repo: git clone git@github.com:opengrep/opengrep-rules.git and clean it up to make it usable to opengrep: cd opengrep-rules rm -rf ".git",".github",".pre-commit-config.yaml", "elixir", "apex" find . -type f -not -iname "*.yaml" -delete rm -rf .github rm -rf .pre-commit-config.yaml Ensure opengrep can load the rules with: opengrep_manylinux_x86 validate . The same can be done for custom rules maintained in a separate repository. AFAIU Multiple repositories can be specified by repeating -f option as needed, see below. We are now ready to scan a repo, from the repo root directory run: opengrep_manylinux_x86 scan \ -f <path_to>/opengrep-rules \ --error \ --exclude-rule=VAL some ti...
The ZFS filesystem has many features that once you try them you can never go back. One of the lesser known is probably the support for replicating a zfs filesystem by sending the changes over the network with zfs send/receive. Technically the filesystem changes don't even need to be sent over a network: you could as well dump them on a removable disk, then receive from the same removable disk.
A technique I use often with LLMs is meta-prompting Meta-prompting essentially uses the LLM to generate the prompt for the specific task that I require. This can be one shot or conversational, in any case I always ask for options so I can use the LLM to fully explore the space as opposed to constrain myself to whichever corner the LLM tuck itself into the first time. I might then choose one of the prompt exactly or mix them up. Example of one shot: write 5 prompts to produce a summary of <topic> so that I can gain a broad understanding of it Conversational instead takes more than one turn, for example: my goal is to have a broad understanding of <topic>. I want you to generate 5 prompts that help me achieve this task. I want you to ask me all the questions that you can come up with and use the answers to fine tune the prompts