### ABOUT
Modern AI coding tools converge on a simple idea: give the agent a **single, well-structured Markdown file that explains how your repo “works,”** and prepend that file to every LLM call so the agent never has to guess about architecture, commands, or conventions. Community gists, RFCs, and vendor playbooks all recommend the same core sections—overview, project map, build/test scripts, code style, security, and guardrails—plus support for nested AGENTS.md files that override one another hierarchically.
### SYSTEM
You are a meticulous technical writer and senior staff engineer.
Your task is to create **AGENTS.md** for the repository whose contents are provided below.
### CONTEXT (replace the JSON blocks)
See the attached files.The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.
The easiest way to solve this is to modify the installer script before starting the installation process.
You are working on a Rails app that uses a gem named abc. This gem is hosted on RubyGems and the source code of the gem is available at https://github.com/your-username/abc.
You created a new branch locally for your gem (new-feature). You wanted to modify the gem and load it directly to your local Rails app. And, you don't want to push the gem changes to GitHub and publish the gem to RubyGems just yet.
You want all the changes that you made in your local gem directory get reflected immediately in your local Rails app without requiring you to run gem build and gem install command in the gem's local directory.
| -- Forked from https://gist.github.com/garoto/e0eb539b210ee077c980e01fb2daef4a. | |
| -- Only tested on Windows. Date is set to dd/mmm/yyyy and time to machine-wide format. | |
| -- Save as "excessive-history.lua" in your mpv scripts dir. Log will be saved to same folder as mpv.conf. | |
| -- Make sure to leave a comment if you make any improvements/changes to the script! | |
| -- Not much testing has been done. | |
| -- *Changes made from original* | |
| -- logs only path, no title | |
| -- logs to where mpv.conf is |
DietPi Give your Single-board computer some Lightweight justice. What you'll need:
4GB or greater Micro SD card.
Internet Access (Ethernet or Wifi, required to complete the DietPi setup).
Dedicated USB Drive is highly recommended (Allows DietPi-Software installations to utilize USB over SD).
Step 1 (Download DietPi Image): Download - dietpi.com
| def producer(name : String, &generator : -> T) forall T | |
| Channel(T).new.tap { |ch| | |
| spawn(name: name) do | |
| loop do | |
| ch.send generator.call | |
| end | |
| end | |
| } | |
| end |
| def producer(name : String, &generator : -> T) forall T | |
| Channel(T).new.tap { |ch| | |
| spawn(name: name) do | |
| loop do | |
| ch.send generator.call | |
| end | |
| end | |
| } | |
| end |
| def producer(name : String, &generator : -> T) forall T | |
| Channel(T).new.tap { |ch| | |
| spawn(name: name) do | |
| loop do | |
| ch.send generator.call | |
| end | |
| end | |
| } | |
| end |
| FROM nginx:1.14.2 AS builder | |
| LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>" | |
| ENV NGINX_VERSION 1.14.2 | |
| ENV VTS_VERSION 0.1.18 | |
| COPY ./badproxy /etc/apt/apt.conf.d/99fixbadproxy | |
| RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \ |
| #!/bin/bash | |
| for ns in $(kubectl get ns -o jsonpath="{.items[*].metadata.name}"); do | |
| for cj in $(kubectl get cronjobs -n "$ns" -o name); do | |
| kubectl patch "$cj" -n "$ns" -p '{"spec" : {"suspend" : true }}'; | |
| done | |
| done |