conversations
listlengths
2
2
[ { "from": "human", "value": "Output the byte numbers and values of every difference" }, { "from": "gpt", "value": "cmp [-l|--verbose] path/to/file1 path/to/file2" } ]
[ { "from": "human", "value": "Compare files but output nothing, yield only the exit status" }, { "from": "gpt", "value": "cmp [-s|--quiet] path/to/file1 path/to/file2" } ]
[ { "from": "human", "value": "Show all stats for all columns" }, { "from": "gpt", "value": "csvstat data.csv" } ]
[ { "from": "human", "value": "Show all stats for columns 2 and 4" }, { "from": "gpt", "value": "csvstat -c 2,4 data.csv" } ]
[ { "from": "human", "value": "Show sums for all columns" }, { "from": "gpt", "value": "csvstat --sum data.csv" } ]
[ { "from": "human", "value": "Show the max value length for column 3" }, { "from": "gpt", "value": "csvstat -c 3 --len data.csv" } ]
[ { "from": "human", "value": "Show the number of unique values in the \"name\" column" }, { "from": "gpt", "value": "csvstat -c name --unique data.csv" } ]
[ { "from": "human", "value": "Remove an API token from the local credential storage (located in `$CARGO_HOME/credentials.toml`)" }, { "from": "gpt", "value": "cargo logout" } ]
[ { "from": "human", "value": "Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>)" }, { "from": "gpt", "value": "cargo logout --registry name" } ]
[ { "from": "human", "value": "Merge the merge request associated with the current branch interactively" }, { "from": "gpt", "value": "glab mr merge" } ]
[ { "from": "human", "value": "Merge the specified merge request, interactively" }, { "from": "gpt", "value": "glab mr merge mr_number" } ]
[ { "from": "human", "value": "Merge the merge request, removing the branch on both the local and the remote" }, { "from": "gpt", "value": "glab mr merge --remove-source-branch" } ]
[ { "from": "human", "value": "Squash the current merge request into one commit with the message body and merge" }, { "from": "gpt", "value": "glab mr merge --squash --message=\"commit_message_body\"" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "glab mr merge --help" } ]
[ { "from": "human", "value": "Display detailed information about the connected device" }, { "from": "gpt", "value": "ideviceinfo" } ]
[ { "from": "human", "value": "Show information about a specific device by UDID" }, { "from": "gpt", "value": "ideviceinfo --udid device_udid" } ]
[ { "from": "human", "value": "Convert a PPM image to a XPM image" }, { "from": "gpt", "value": "ppmtoxpm path/to/input_file.ppm > path/to/output_file.xpm" } ]
[ { "from": "human", "value": "Specify the prefix string in the output XPM image" }, { "from": "gpt", "value": "ppmtoxpm [-n|-name] prefix_string path/to/input_file.ppm > path/to/output_file.xpm" } ]
[ { "from": "human", "value": "In the output XPM file, specify colors by their hexadecimal code instead of their name" }, { "from": "gpt", "value": "ppmtoxpm [-h|-hexonly] path/to/input_file.ppm > path/to/output_file.xpm" } ]
[ { "from": "human", "value": "Use the specified PGM file as a transparency mask" }, { "from": "gpt", "value": "ppmtoxpm [-a|-alphamask] path/to/alpha_file.pgm path/to/input_file.ppm > path/to/output_file.xpm" } ]
[ { "from": "human", "value": "Convert a PBM image into a GEM .img file" }, { "from": "gpt", "value": "pbmtogem path/to/file.pbm > path/to/file.img" } ]
[ { "from": "human", "value": "Suppress all informational messages" }, { "from": "gpt", "value": "pbmtogem [-q|-quiet]" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "pbmtogem [-v|-version]" } ]
[ { "from": "human", "value": "Convert blanks in each file to tabs, writing to `stdout`" }, { "from": "gpt", "value": "unexpand path/to/file" } ]
[ { "from": "human", "value": "Convert blanks to tabs, reading from `stdout`" }, { "from": "gpt", "value": "unexpand" } ]
[ { "from": "human", "value": "Convert all blanks, instead of just initial blanks" }, { "from": "gpt", "value": "unexpand [-a|--all] path/to/file" } ]
[ { "from": "human", "value": "Convert only leading sequences of blanks (overrides -a)" }, { "from": "gpt", "value": "unexpand --first-only path/to/file" } ]
[ { "from": "human", "value": "Have tabs a certain number of characters apart, not 8 (enables -a)" }, { "from": "gpt", "value": "unexpand [-t|--tabs] number path/to/file" } ]
[ { "from": "human", "value": "Convert a Netpbm image to the FITS format" }, { "from": "gpt", "value": "pamtofits path/to/image.pam > path/to/output.fits" } ]
[ { "from": "human", "value": "Search for extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-sensitive)" }, { "from": "gpt", "value": "bzegrep \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Search for extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-insensitive)" }, { "from": "gpt", "value": "bzegrep --ignore-case \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Search for lines that do not match a pattern" }, { "from": "gpt", "value": "bzegrep --invert-match \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Print file name and line number for each match" }, { "from": "gpt", "value": "bzegrep --with-filename --line-number \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Search for lines matching a pattern, printing only the matched text" }, { "from": "gpt", "value": "bzegrep --only-matching \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Recursively search files in a bzip2 compressed tar archive for a pattern" }, { "from": "gpt", "value": "bzegrep --recursive \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Run linters in the current folder" }, { "from": "gpt", "value": "golangci-lint run" } ]
[ { "from": "human", "value": "List enabled and disabled linters (Note: disabled linters are shown last, do not mistake them for enabled ones)" }, { "from": "gpt", "value": "golangci-lint linters" } ]
[ { "from": "human", "value": "Enable a specific linter for this run" }, { "from": "gpt", "value": "golangci-lint run [-E|--enable] linter" } ]
[ { "from": "human", "value": "Format a specific Snakefile" }, { "from": "gpt", "value": "snakefmt path/to/snakefile" } ]
[ { "from": "human", "value": "Format all Snakefiles recursively in a specific directory" }, { "from": "gpt", "value": "snakefmt path/to/directory" } ]
[ { "from": "human", "value": "Format a file using a specific configuration file" }, { "from": "gpt", "value": "snakefmt --config path/to/config.toml path/to/snakefile" } ]
[ { "from": "human", "value": "Format a file using a specific maximum line length" }, { "from": "gpt", "value": "snakefmt --line-length 100 path/to/snakefile" } ]
[ { "from": "human", "value": "Display the changes that would be performed without performing them (dry-run)" }, { "from": "gpt", "value": "snakefmt --diff path/to/snakefile" } ]
[ { "from": "human", "value": "Run a `doctl databases sql-mode` command with an access token" }, { "from": "gpt", "value": "doctl databases sql-mode command --access-token access_token" } ]
[ { "from": "human", "value": "Get a MySQL database cluster's SQL modes" }, { "from": "gpt", "value": "doctl databases sql-mode get database_id" } ]
[ { "from": "human", "value": "Overwrite a MySQL database cluster's SQL modes to the specified modes" }, { "from": "gpt", "value": "doctl databases sql-mode set database_id sql_mode_1 sql_mode_2 ..." } ]
[ { "from": "human", "value": "Switch `runsvdir` directories" }, { "from": "gpt", "value": "sudo runsvchdir path/to/directory" } ]
[ { "from": "human", "value": "Convert a video file to MKV (AAC 160kbit audio and x264 CRF20 video)" }, { "from": "gpt", "value": "handbrakecli --input input.avi --output output.mkv --encoder x264 --quality 20 --ab 160" } ]
[ { "from": "human", "value": "Resize a video file to 320x240" }, { "from": "gpt", "value": "handbrakecli --input input.mp4 --output output.mp4 --width 320 --height 240" } ]
[ { "from": "human", "value": "List available presets" }, { "from": "gpt", "value": "handbrakecli --preset-list" } ]
[ { "from": "human", "value": "Convert an AVI video to MP4 using the Android preset" }, { "from": "gpt", "value": "handbrakecli --preset=\"Android\" --input input.ext --output output.mp4" } ]
[ { "from": "human", "value": "Print the content of a DVD, getting the CSS keys in the process" }, { "from": "gpt", "value": "handbrakecli --input /dev/sr0 --title 0" } ]
[ { "from": "human", "value": "Rip the first track of a DVD in the specified device. Audiotracks and subtitle languages are specified as lists" }, { "from": "gpt", "value": "handbrakecli --input /dev/sr0 --title 1 --output out.mkv --format av_mkv --encoder x264 --subtitle 1,4,5 --audio 1,2 --aenco...
[ { "from": "human", "value": "Combine labels equal in their high-order bits" }, { "from": "gpt", "value": "ipaggmanip --prefix 16 path/to/file" } ]
[ { "from": "human", "value": "Remove labels with a count smaller than a given number of bytes and output a random sample of such labels" }, { "from": "gpt", "value": "ipaggmanip --cut-smaller 100 --cull-labels 5 path/to/file" } ]
[ { "from": "human", "value": "Replace each label's count with 1 if it is non-zero" }, { "from": "gpt", "value": "ipaggmanip --posterize path/to/file" } ]
[ { "from": "human", "value": "Convert a PNM image to a PS file" }, { "from": "gpt", "value": "pnmtops path/to/file.pnm > path/to/file.ps" } ]
[ { "from": "human", "value": "Specify the dimensions of the output image in inches" }, { "from": "gpt", "value": "pnmtops [-imagew|-imagewidth] imagewidth [-imageh|-imageheight] imageheight path/to/file.pnm > path/to/file.ps" } ]
[ { "from": "human", "value": "Specify the dimensions of the page the output image resides on in inches" }, { "from": "gpt", "value": "pnmtops [-w|-width] width [-h|-height] height path/to/file.pnm > path/to/file.ps" } ]
[ { "from": "human", "value": "Show resources in the current project" }, { "from": "gpt", "value": "list resources;" } ]
[ { "from": "human", "value": "Add file resource" }, { "from": "gpt", "value": "add file filename as alias;" } ]
[ { "from": "human", "value": "Add archive resource" }, { "from": "gpt", "value": "add archive archive.tar.gz as alias;" } ]
[ { "from": "human", "value": "Add .jar resource" }, { "from": "gpt", "value": "add jar package.jar;" } ]
[ { "from": "human", "value": "Add .py resource" }, { "from": "gpt", "value": "add py script.py;" } ]
[ { "from": "human", "value": "Delete resource" }, { "from": "gpt", "value": "drop resource resource_name;" } ]
[ { "from": "human", "value": "Register a repository" }, { "from": "gpt", "value": "mr register" } ]
[ { "from": "human", "value": "Update repositories in 5 concurrent jobs" }, { "from": "gpt", "value": "mr -j5 update" } ]
[ { "from": "human", "value": "Print the status of all repositories" }, { "from": "gpt", "value": "mr status" } ]
[ { "from": "human", "value": "Checkout all repositories to the latest version" }, { "from": "gpt", "value": "mr checkout" } ]
[ { "from": "human", "value": "Initialize a new GitHub CLI extension project in a directory of the same name" }, { "from": "gpt", "value": "gh extension create extension_name" } ]
[ { "from": "human", "value": "Install an extension from a GitHub repository" }, { "from": "gpt", "value": "gh extension install owner/repository" } ]
[ { "from": "human", "value": "List installed extensions" }, { "from": "gpt", "value": "gh extension list" } ]
[ { "from": "human", "value": "Upgrade a specific extension" }, { "from": "gpt", "value": "gh extension upgrade extension_name" } ]
[ { "from": "human", "value": "Upgrade all extensions" }, { "from": "gpt", "value": "gh extension upgrade --all" } ]
[ { "from": "human", "value": "List installed extensions" }, { "from": "gpt", "value": "gh extension list" } ]
[ { "from": "human", "value": "Remove an extension" }, { "from": "gpt", "value": "gh extension remove extension_name" } ]
[ { "from": "human", "value": "Display help about a subcommand" }, { "from": "gpt", "value": "gh extension subcommand --help" } ]
[ { "from": "human", "value": "View documentation for the current command" }, { "from": "gpt", "value": "tldr pnmcolormap" } ]
[ { "from": "human", "value": "Evaluate a simple arithmetic expression" }, { "from": "gpt", "value": "let \"result = a + b\"" } ]
[ { "from": "human", "value": "Use post-increment and assignment in an expression" }, { "from": "gpt", "value": "let \"x++\"" } ]
[ { "from": "human", "value": "Use conditional operator in an expression" }, { "from": "gpt", "value": "let \"result = (x > 10) ? x : 0\"" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "let --help" } ]
[ { "from": "human", "value": "View supplementary help material for non-command topics like accessibility, filtering, and formatting" }, { "from": "gpt", "value": "gcloud topic topic_name" } ]
[ { "from": "human", "value": "List all available topics" }, { "from": "gpt", "value": "gcloud topic --help" } ]
[ { "from": "human", "value": "Initialize a standard Pest configuration in the current directory" }, { "from": "gpt", "value": "pest --init" } ]
[ { "from": "human", "value": "Run tests in the current directory" }, { "from": "gpt", "value": "pest" } ]
[ { "from": "human", "value": "Run tests annotated with the given group" }, { "from": "gpt", "value": "pest --group name" } ]
[ { "from": "human", "value": "Run tests and print the coverage report to `stdout`" }, { "from": "gpt", "value": "pest --coverage" } ]
[ { "from": "human", "value": "Run tests with coverage and fail if the coverage is less than the minimum percentage" }, { "from": "gpt", "value": "pest --coverage --min=80" } ]
[ { "from": "human", "value": "Run tests in parallel" }, { "from": "gpt", "value": "pest --parallel" } ]
[ { "from": "human", "value": "Run tests with mutations" }, { "from": "gpt", "value": "pest --mutate" } ]
[ { "from": "human", "value": "Create a private certificate authority" }, { "from": "gpt", "value": "aws acm-pca create-certificate-authority --certificate-authority-configuration ca_config --idempotency-token token --permanent-deletion-time-in-days number" } ]
[ { "from": "human", "value": "Describe a private certificate authority" }, { "from": "gpt", "value": "aws acm-pca describe-certificate-authority --certificate-authority-arn ca_arn" } ]
[ { "from": "human", "value": "List private certificate authorities" }, { "from": "gpt", "value": "aws acm-pca list-certificate-authorities" } ]
[ { "from": "human", "value": "Update a certificate authority" }, { "from": "gpt", "value": "aws acm-pca update-certificate-authority --certificate-authority-arn ca_arn --certificate-authority-configuration ca_config --status status" } ]
[ { "from": "human", "value": "Delete a private certificate authority" }, { "from": "gpt", "value": "aws acm-pca delete-certificate-authority --certificate-authority-arn ca_arn" } ]
[ { "from": "human", "value": "Issue a certificate" }, { "from": "gpt", "value": "aws acm-pca issue-certificate --certificate-authority-arn ca_arn --certificate-signing-request cert_signing_request --signing-algorithm algorithm --validity validity" } ]
[ { "from": "human", "value": "Revoke a certificate" }, { "from": "gpt", "value": "aws acm-pca revoke-certificate --certificate-authority-arn ca_arn --certificate-serial serial --reason reason" } ]
[ { "from": "human", "value": "Get certificate details" }, { "from": "gpt", "value": "aws acm-pca get-certificate --certificate-authority-arn ca_arn --certificate-arn cert_arn" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr xz" } ]