conversations
listlengths
2
2
[ { "from": "human", "value": "Turn on Redshift with a manually specified custom [l]ocation via the `redshift` command" }, { "from": "gpt", "value": "`redshift -l {{latitude}}:{{longitude}}`" } ]
[ { "from": "human", "value": "Turn on Redshift with a specific screen [b]rightness during the day (e.g, 70%) and at night (e.g., 40%) via the `redshift` command" }, { "from": "gpt", "value": "`redshift -b {{0.7}}:{{0.4}}`" } ]
[ { "from": "human", "value": "Turn on Redshift with custom [g]amma levels (between 0 and 1) via the `redshift` command" }, { "from": "gpt", "value": "`redshift -g {{red}}:{{green}}:{{blue}}`" } ]
[ { "from": "human", "value": "[P]urge existing temperature changes and set a constant unchanging color temperature in [O]ne-shot mode via the `redshift` command" }, { "from": "gpt", "value": "`redshift -PO {{temperature}}`" } ]
[ { "from": "human", "value": "Tell me about `reflac`." }, { "from": "gpt", "value": "Recompress FLAC files in-place while preserving metadata.\nMore information: <https://github.com/chungy/reflac>.\n" } ]
[ { "from": "human", "value": "Recompress a directory of FLAC files via the `reflac` command" }, { "from": "gpt", "value": "`reflac {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Enable maximum compression (very slow) via the `reflac` command" }, { "from": "gpt", "value": "`reflac --best {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Display filenames as they are processed via the `reflac` command" }, { "from": "gpt", "value": "`reflac --verbose {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Recurse into subdirectories via the `reflac` command" }, { "from": "gpt", "value": "`reflac --recursive {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Preserve file modification times via the `reflac` command" }, { "from": "gpt", "value": "`reflac --preserve {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `reflex`." }, { "from": "gpt", "value": "Watch a directory and rerun a command when certain files change.\nMore information: <https://github.com/cespare/reflex>.\n" } ]
[ { "from": "human", "value": "Rebuild with `make` if any file changes via the `reflex` command" }, { "from": "gpt", "value": "`reflex make`" } ]
[ { "from": "human", "value": "Compile and run Go application if any `.go` file changes via the `reflex` command" }, { "from": "gpt", "value": "`reflex --regex='{{\\.go$}}' {{go run .}}`" } ]
[ { "from": "human", "value": "Ignore a directory when watching for changes via the `reflex` command" }, { "from": "gpt", "value": "`reflex --inverse-regex='{{^dir/}}' {{command}}`" } ]
[ { "from": "human", "value": "Run command when reflex starts and restarts on file changes via the `reflex` command" }, { "from": "gpt", "value": "`reflex --start-service=true {{command}}`" } ]
[ { "from": "human", "value": "Substitute the filename that changed in via the `reflex` command" }, { "from": "gpt", "value": "`reflex -- echo {}`" } ]
[ { "from": "human", "value": "Tell me about `rekor-cli`." }, { "from": "gpt", "value": "Immutable tamper resistant ledger of metadata generated within a software projects supply chain.\nMore information: <https://github.com/sigstore/rekor>.\n" } ]
[ { "from": "human", "value": "Upload an artifact to Rekor via the `rekor-cli` command" }, { "from": "gpt", "value": "`rekor-cli upload --artifact {{path/to/file.ext}} --signature {{path/to/file.ext.sig}} --pki-format={{x509}} --public-key={{path/to/key.pub}}`" } ]
[ { "from": "human", "value": "Get information regarding entries in the Transparency Log via the `rekor-cli` command" }, { "from": "gpt", "value": "`rekor-cli get --uuid={{0e81b4d9299e2609e45b5c453a4c0e7820ac74e02c4935a8b830d104632fd2d1}}`" } ]
[ { "from": "human", "value": "Search the Rekor index to find entries by Artifact via the `rekor-cli` command" }, { "from": "gpt", "value": "`rekor-cli search --artifact {{path/to/file.ext}}`" } ]
[ { "from": "human", "value": "Search the Rekor index to find entries by a specific hash via the `rekor-cli` command" }, { "from": "gpt", "value": "`rekor-cli search --sha {{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b}}`" } ]
[ { "from": "human", "value": "Tell me about `Remove-NodeVersion`." }, { "from": "gpt", "value": "Uninstall Node.js runtime versions for `ps-nvm`.\nThis command is part of `ps-nvm` and can only be run under PowerShell.\nMore information: <https://github.com/aaronpowell/ps-nvm>.\n" } ]
[ { "from": "human", "value": "Uninstall a given Node.js version via the `remove-nodeversion` command" }, { "from": "gpt", "value": "`Remove-NodeVersion {{node_version}}`" } ]
[ { "from": "human", "value": "Uninstall multiple Node.js versions via the `remove-nodeversion` command" }, { "from": "gpt", "value": "`Remove-NodeVersion {{node_version1 , node_version2 , ...}}`" } ]
[ { "from": "human", "value": "Uninstall all currently-installed versions of Node.js 20.x via the `remove-nodeversion` command" }, { "from": "gpt", "value": "`Get-NodeVersions -Filter \">=20.0.0 <21.0.0\" | Remove-NodeVersion`" } ]
[ { "from": "human", "value": "Uninstall all currently-installed versions of Node.js via the `remove-nodeversion` command" }, { "from": "gpt", "value": "`Get-NodeVersions | Remove-NodeVersion`" } ]
[ { "from": "human", "value": "Tell me about `renice`." }, { "from": "gpt", "value": "Alter the scheduling priority/niceness of running processes.\nNiceness values range from -20 (most favorable to the process) to 19 (least favorable to the process).\nSee also: `nice`.\nMore information: <https://...
[ { "from": "human", "value": "Increase/decrease the priority of a running [p]rocess via the `renice` command" }, { "from": "gpt", "value": "`renice -n {{3}} -p {{pid}}`" } ]
[ { "from": "human", "value": "Increase/decrease the priority of all processes owned by a [u]ser via the `renice` command" }, { "from": "gpt", "value": "`renice -n {{-4}} -u {{uid|user}}`" } ]
[ { "from": "human", "value": "Increase/decrease the priority of all processes that belong to a process [g]roup via the `renice` command" }, { "from": "gpt", "value": "`renice -n {{5}} -g {{process_group}}`" } ]
[ { "from": "human", "value": "Tell me about `repren`." }, { "from": "gpt", "value": "Multi-pattern string replacement and file renaming tool.\nMore information: <https://github.com/jlevy/repren>.\n" } ]
[ { "from": "human", "value": "Do a dry-run renaming a directory of PNGs with a literal string replacement via the `repren` command" }, { "from": "gpt", "value": "`repren --dry-run --rename --literal --from '{{find_string}}' --to '{{replacement_string}}' {{*.png}}`" } ]
[ { "from": "human", "value": "Do a dry-run renaming a directory of JPEGs with a regular expression via the `repren` command" }, { "from": "gpt", "value": "`repren --rename --dry-run --from '{{regular_expression}}' --to '{{replacement_string}}' {{*.jpg}} {{*.jpeg}}`" } ]
[ { "from": "human", "value": "Do a find-and-replace on the contents of a directory of CSV files via the `repren` command" }, { "from": "gpt", "value": "`repren --from '{{([0-9]+) example_string}}' --to '{{replacement_string \\1}}' {{*.csv}}`" } ]
[ { "from": "human", "value": "Do both a find-and-replace and a rename operation at the same time, using a pattern file via the `repren` command" }, { "from": "gpt", "value": "`repren --patterns {{path/to/patfile.ext}} --full {{*.txt}}`" } ]
[ { "from": "human", "value": "Do a case-insensitive rename via the `repren` command" }, { "from": "gpt", "value": "`repren --rename --insensitive --patterns {{path/to/patfile.ext}} *`" } ]
[ { "from": "human", "value": "Tell me about `resolvconf`." }, { "from": "gpt", "value": "Manage nameserver information.\nActs as an intermediary between programs that supply nameserver information and applications that use this information.\nThis page documents Debian's implementation of `resolvc...
[ { "from": "human", "value": "Add or override the IFACE.PROG record and run the update scripts if updating is enabled via the `resolvconf` command" }, { "from": "gpt", "value": "`resolvconf -a {{IFACE.PROG}}`" } ]
[ { "from": "human", "value": "Delete the IFACE.PROG record and run the update scripts if updating is enabled via the `resolvconf` command" }, { "from": "gpt", "value": "`resolvconf -d {{IFACR.PROG}}`" } ]
[ { "from": "human", "value": "Just run the update scripts if updating is enabled via the `resolvconf` command" }, { "from": "gpt", "value": "`resolvconf -u`" } ]
[ { "from": "human", "value": "Set the flag indicating whether `resolvconf` should run update scripts when invoked with `-a`, `-d` or `-u` via the `resolvconf` command" }, { "from": "gpt", "value": "`resolvconf --enable-updates`" } ]
[ { "from": "human", "value": "Clear the flag indicating whether to run updates via the `resolvconf` command" }, { "from": "gpt", "value": "`resolvconf --disable-updates`" } ]
[ { "from": "human", "value": "Check whether updates are enabled via the `resolvconf` command" }, { "from": "gpt", "value": "`resolvconf --updates-are-enabled`" } ]
[ { "from": "human", "value": "Tell me about `restic`." }, { "from": "gpt", "value": "A fast, secure and secure backup program.\nMore information: <https://restic.net>.\n" } ]
[ { "from": "human", "value": "Initialize a backup repository in the specified local directory via the `restic` command" }, { "from": "gpt", "value": "`restic init --repo {{path/to/repository}}`" } ]
[ { "from": "human", "value": "Backup a directory to the repository via the `restic` command" }, { "from": "gpt", "value": "`restic --repo {{path/to/repository}} backup {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Show backup snapshots currently stored in the repository via the `restic` command" }, { "from": "gpt", "value": "`restic --repo {{path/to/repository}} snapshots`" } ]
[ { "from": "human", "value": "Restore a specific backup snapshot to a target directory via the `restic` command" }, { "from": "gpt", "value": "`restic --repo {{path/to/repository}} restore {{latest|snapshot_id}} --target {{path/to/target}}`" } ]
[ { "from": "human", "value": "Restore a specific path from a specific backup to a target directory via the `restic` command" }, { "from": "gpt", "value": "`restic --repo {{path/to/repository}} restore {{snapshot_id}} --target {{path/to/target}} --include {{path/to/restore}}`" } ]
[ { "from": "human", "value": "Clean up the repository and keep only the most recent snapshot of each unique backup via the `restic` command" }, { "from": "gpt", "value": "`restic forget --keep-last 1 --prune`" } ]
[ { "from": "human", "value": "Tell me about `resume`." }, { "from": "gpt", "value": "Easily setup a new resume.\nMore information: <https://github.com/jsonresume/resume-cli>.\n" } ]
[ { "from": "human", "value": "Create a new `resume.json` file in the current working directory via the `resume` command" }, { "from": "gpt", "value": "`resume init`" } ]
[ { "from": "human", "value": "Validate a `resume.json` against schema tests to ensure it complies with the standard via the `resume` command" }, { "from": "gpt", "value": "`resume validate`" } ]
[ { "from": "human", "value": "Export a resume locally in a stylized HTML or PDF format via the `resume` command" }, { "from": "gpt", "value": "`resume export {{path/to/html_or_pdf}}`" } ]
[ { "from": "human", "value": "Start a web server that serves a local `resume.json` via the `resume` command" }, { "from": "gpt", "value": "`resume serve`" } ]
[ { "from": "human", "value": "Tell me about `retry`." }, { "from": "gpt", "value": "Repeat command until it succeeds or a criterion is met.\nMore information: <https://github.com/minfrin/retry>.\n" } ]
[ { "from": "human", "value": "Retry a command until it succeeds via the `retry` command" }, { "from": "gpt", "value": "`retry {{command}}`" } ]
[ { "from": "human", "value": "Retry a command every n seconds until it succeeds via the `retry` command" }, { "from": "gpt", "value": "`retry --delay={{n}} {{command}}`" } ]
[ { "from": "human", "value": "Give up after n attempts via the `retry` command" }, { "from": "gpt", "value": "`retry --times={{n}} {{command}}`" } ]
[ { "from": "human", "value": "Tell me about `return`." }, { "from": "gpt", "value": "Exit a function or a script if run with `source`.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-return>.\n" } ]
[ { "from": "human", "value": "Exit a function prematurely via the `return` command" }, { "from": "gpt", "value": "`{{func_name}}() { {{echo \"This is reached\"}}; return; {{echo \"This is not\"}}; }`" } ]
[ { "from": "human", "value": "Specify the function's return value via the `return` command" }, { "from": "gpt", "value": "`{{func_name}}() { return {{exit_code}}; }`" } ]
[ { "from": "human", "value": "Tell me about `rfetch`." }, { "from": "gpt", "value": "A configurable fetch program to output system information.\nMore information: <https://github.com/kamui-fin/rfetch>.\n" } ]
[ { "from": "human", "value": "Display system information via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch`" } ]
[ { "from": "human", "value": "Display system [a]rchitecture via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch -a`" } ]
[ { "from": "human", "value": "Display system up[t]ime via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch -t`" } ]
[ { "from": "human", "value": "Display system [k]ernel via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch -k`" } ]
[ { "from": "human", "value": "Display system [c]PU via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch -c`" } ]
[ { "from": "human", "value": "Display Linux [D]istro via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch -D`" } ]
[ { "from": "human", "value": "View [d]esktop environment via the `rfetch` command" }, { "from": "gpt", "value": "`rfetch -d`" } ]
[ { "from": "human", "value": "Tell me about `rga`." }, { "from": "gpt", "value": "Ripgrep wrapper with rich file type searching capabilities.\nMore information: <https://github.com/phiresky/ripgrep-all>.\n" } ]
[ { "from": "human", "value": "Search recursively for a pattern in all files in the current directory via the `rga` command" }, { "from": "gpt", "value": "`rga {{regular_expression}}`" } ]
[ { "from": "human", "value": "List available adapters via the `rga` command" }, { "from": "gpt", "value": "`rga --rga-list-adapters`" } ]
[ { "from": "human", "value": "Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.) via the `rga` command" }, { "from": "gpt", "value": "`rga --rga-adapters={{adapter1,adapter2}} {{regular_expression}}`" } ]
[ { "from": "human", "value": "Search for a pattern using the mime type instead of the file extension (slower) via the `rga` command" }, { "from": "gpt", "value": "`rga --rga-accurate {{regular_expression}}`" } ]
[ { "from": "human", "value": "Display help via the `rga` command" }, { "from": "gpt", "value": "`rga --help`" } ]
[ { "from": "human", "value": "Tell me about `rgb3toppm`." }, { "from": "gpt", "value": "Combine three PGM images into one PPM image.\nSee also: `ppmtorgb3`.\nMore information: <https://netpbm.sourceforge.net/doc/rgb3toppm.html>.\n" } ]
[ { "from": "human", "value": "Combine three PGM images (representing red, green and blue color components) into one PPM image via the `rgb3toppm` command" }, { "from": "gpt", "value": "`rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}...
[ { "from": "human", "value": "Tell me about `rg`." }, { "from": "gpt", "value": "Ripgrep, a recursive line-oriented search tool.\nAims to be a faster alternative to `grep`.\nMore information: <https://github.com/BurntSushi/ripgrep>.\n" } ]
[ { "from": "human", "value": "Recursively search the current directory for a regular expression via the `rg` command" }, { "from": "gpt", "value": "`rg {{regular_expression}}`" } ]
[ { "from": "human", "value": "Search for regular expressions recursively in the current directory, including hidden files and files listed in `.gitignore` via the `rg` command" }, { "from": "gpt", "value": "`rg --no-ignore --hidden {{regular_expression}}`" } ]
[ { "from": "human", "value": "Search for a regular expression only in a subset of directories via the `rg` command" }, { "from": "gpt", "value": "`rg {{regular_expression}} {{set_of_subdirs}}`" } ]
[ { "from": "human", "value": "Search for a regular expression in files matching a glob (e.g. `README.*`) via the `rg` command" }, { "from": "gpt", "value": "`rg {{regular_expression}} --glob {{glob}}`" } ]
[ { "from": "human", "value": "Search for filenames that match a regular expression via the `rg` command" }, { "from": "gpt", "value": "`rg --files | rg {{regular_expression}}`" } ]
[ { "from": "human", "value": "Only list matched files (useful when piping to other commands) via the `rg` command" }, { "from": "gpt", "value": "`rg --files-with-matches {{regular_expression}}`" } ]
[ { "from": "human", "value": "Show lines that do not match the given regular expression via the `rg` command" }, { "from": "gpt", "value": "`rg --invert-match {{regular_expression}}`" } ]
[ { "from": "human", "value": "Search a literal string pattern via the `rg` command" }, { "from": "gpt", "value": "`rg --fixed-strings -- {{string}}`" } ]
[ { "from": "human", "value": "Tell me about `rgpt`." }, { "from": "gpt", "value": "An automated code review tool that uses GPT you can use straight from your terminal.\nMore information: <https://github.com/vibovenkat123/review-gpt>.\n" } ]
[ { "from": "human", "value": "Ask GPT to improve the code with no extra options via the `rgpt` command" }, { "from": "gpt", "value": "`rgpt --i \"$(git diff {{path/to/file}})\"`" } ]
[ { "from": "human", "value": "Get a more detailed verbose output from `rgpt` while reviewing the code via the `rgpt` command" }, { "from": "gpt", "value": "`rgpt --v --i \"$(git diff {{path/to/file}})\"`" } ]
[ { "from": "human", "value": "Ask GPT to improve the code and limit it to a certain amount of GPT3 tokens via the `rgpt` command" }, { "from": "gpt", "value": "`rgpt --max {{300}} --i \"$(git diff {{path/to/file}})\"`" } ]
[ { "from": "human", "value": "Ask GPT for a more unique result using a float value between 0 and 2. (higher = more unique) via the `rgpt` command" }, { "from": "gpt", "value": "`rgpt --pres {{1.2}} --i \"$(git diff {{path/to/file}})\"`" } ]
[ { "from": "human", "value": "Ask GPT to review your code using a specific model via the `rgpt` command" }, { "from": "gpt", "value": "`rgpt --model {{davinci}} --i \"$(git diff {{path/to/file}})\"`" } ]
[ { "from": "human", "value": "Make `rgpt` use a JSON output via the `rgpt` command" }, { "from": "gpt", "value": "`rgpt --json --i \"$(git diff {{path/to/file}})\"`" } ]
[ { "from": "human", "value": "Tell me about `rgrep`." }, { "from": "gpt", "value": "Recursively find patterns in files using regular expressions.\nEquivalent to `grep -r`.\nMore information: <https://www.gnu.org/software/grep/manual/grep.html#Command_002dline-Options>.\n" } ]
[ { "from": "human", "value": "Recursively search for a pattern in the current working directory via the `rgrep` command" }, { "from": "gpt", "value": "`rgrep \"{{search_pattern}}\"`" } ]
[ { "from": "human", "value": "Recursively search for a case-insensitive pattern in the current working directory via the `rgrep` command" }, { "from": "gpt", "value": "`rgrep {{[-i|--ignore-case]}} \"{{search_pattern}}\"`" } ]
[ { "from": "human", "value": "Recursively search for an extended regular expression pattern (supports `?`, `+`, `{}`, `()` and `|`) in the current working directory via the `rgrep` command" }, { "from": "gpt", "value": "`rgrep {{[-E|--extended-regexp]}} \"{{search_pattern}}\"`" } ]
[ { "from": "human", "value": "Recursively search for an exact string (disables regular expressions) in the current working directory via the `rgrep` command" }, { "from": "gpt", "value": "`rgrep {{[-F|--fixed-strings]}} \"{{exact_string}}\"`" } ]
[ { "from": "human", "value": "Recursively search for a pattern in a specified directory (or file) via the `rgrep` command" }, { "from": "gpt", "value": "`rgrep \"{{search_pattern}}\" {{path/to/file_or_directory}}`" } ]