conversations
listlengths
2
2
[ { "from": "human", "value": "Grep a file, keeping the first line regardless of the search pattern" }, { "from": "gpt", "value": "keep-header path/to/file -- grep pattern" } ]
[ { "from": "human", "value": "Convert a Netpbm image to the QOI format" }, { "from": "gpt", "value": "pamtoqoi path/to/image.pnm > path/to/output.qoi" } ]
[ { "from": "human", "value": "Find broken links on <https://example.com/>" }, { "from": "gpt", "value": "linkchecker https://example.com/" } ]
[ { "from": "human", "value": "Also check URLs that point to external domains" }, { "from": "gpt", "value": "linkchecker --check-extern https://example.com/" } ]
[ { "from": "human", "value": "Ignore URLs that match a specific regular expression" }, { "from": "gpt", "value": "linkchecker --ignore-url regular_expression https://example.com/" } ]
[ { "from": "human", "value": "Output results to a CSV file" }, { "from": "gpt", "value": "linkchecker --file-output csv/path/to/file https://example.com/" } ]
[ { "from": "human", "value": "Insert an additional author to the last Git commit" }, { "from": "gpt", "value": "git coauthor name name@example.com" } ]
[ { "from": "human", "value": "Print a file with the author name and commit hash prepended to each line" }, { "from": "gpt", "value": "git annotate path/to/file" } ]
[ { "from": "human", "value": "Print a file with the author email and commit hash prepended to each line" }, { "from": "gpt", "value": "git annotate [-e|--show-email] path/to/file" } ]
[ { "from": "human", "value": "Print only rows that match a regular expression" }, { "from": "gpt", "value": "git annotate -L :regexp path/to/file" } ]
[ { "from": "human", "value": "Display information about currently logged in users" }, { "from": "gpt", "value": "finger" } ]
[ { "from": "human", "value": "Display information about a specific user" }, { "from": "gpt", "value": "finger username" } ]
[ { "from": "human", "value": "Display the user's login name, real name, terminal name, and other information" }, { "from": "gpt", "value": "finger -s" } ]
[ { "from": "human", "value": "Produce multiline output format displaying same information as `-s` as well as user's home directory, home phone number, login shell, mail status, etc." }, { "from": "gpt", "value": "finger -l" } ]
[ { "from": "human", "value": "Prevent matching against user's names and only use login names" }, { "from": "gpt", "value": "finger -m" } ]
[ { "from": "human", "value": "Convert a PBM image to a ESC/P2 printer file" }, { "from": "gpt", "value": "pbmtoescp2 path/to/image.pbm > path/to/output.escp2" } ]
[ { "from": "human", "value": "Specify the compression of the output" }, { "from": "gpt", "value": "pbmtoescp2 [-c|-compression] 0|1 path/to/image.pbm > path/to/output.escp2" } ]
[ { "from": "human", "value": "Specify the horizontal and vertical resolution of the output in dots per inch" }, { "from": "gpt", "value": "pbmtoescp2 [-re|-resolution] 180|360|720 path/to/image.pbm > path/to/output.escp2" } ]
[ { "from": "human", "value": "Place a formfeed command at the end of the output" }, { "from": "gpt", "value": "pbmtoescp2 [-f|-formfeed] path/to/image.pbm > path/to/output.escp2" } ]
[ { "from": "human", "value": "Load-test \"example.com\" with web interface using locustfile.py" }, { "from": "gpt", "value": "locust --host=http://example.com" } ]
[ { "from": "human", "value": "Use a different test file" }, { "from": "gpt", "value": "locust --locustfile=test_file.py --host=http://example.com" } ]
[ { "from": "human", "value": "Run test without web interface, spawning 1 user a second until there are 100 users" }, { "from": "gpt", "value": "locust --no-web --clients=100 --hatch-rate=1 --host=http://example.com" } ]
[ { "from": "human", "value": "Start Locust in master mode" }, { "from": "gpt", "value": "locust --master --host=http://example.com" } ]
[ { "from": "human", "value": "Connect Locust slave to master" }, { "from": "gpt", "value": "locust --slave --host=http://example.com" } ]
[ { "from": "human", "value": "Connect Locust slave to master on a different machine" }, { "from": "gpt", "value": "locust --slave --master-host=master_hostname --host=http://example.com" } ]
[ { "from": "human", "value": "Clean up unreferenced data from the repository" }, { "from": "gpt", "value": "dolt gc" } ]
[ { "from": "human", "value": "Initiate a faster but less thorough garbage collection process" }, { "from": "gpt", "value": "dolt gc --shallow" } ]
[ { "from": "human", "value": "Print the specified number of words" }, { "from": "gpt", "value": "lorem -n 20" } ]
[ { "from": "human", "value": "Print 10 lines of Goethe's Faust" }, { "from": "gpt", "value": "lorem -l 10 --faust" } ]
[ { "from": "human", "value": "Print 5 sentences of Poe's Raven" }, { "from": "gpt", "value": "lorem -s 5 --raven" } ]
[ { "from": "human", "value": "Print 40 random characters from Boccaccio's Decameron" }, { "from": "gpt", "value": "lorem --randomize -c 40 --decamerone" } ]
[ { "from": "human", "value": "List all containers and virtual machines (both running and stopped)" }, { "from": "gpt", "value": "incus list" } ]
[ { "from": "human", "value": "Create a container from an image, with a custom name" }, { "from": "gpt", "value": "incus create image container_name" } ]
[ { "from": "human", "value": "Start or stop an existing container" }, { "from": "gpt", "value": "incus start|stop container_name" } ]
[ { "from": "human", "value": "Open a shell inside an already running container" }, { "from": "gpt", "value": "incus shell container_name" } ]
[ { "from": "human", "value": "Remove a stopped container" }, { "from": "gpt", "value": "incus delete container_name" } ]
[ { "from": "human", "value": "Pull an image from an image repository (remote) to local" }, { "from": "gpt", "value": "incus copy remote:image local:custom_image_name" } ]
[ { "from": "human", "value": "List all available images in the official `images:` remote" }, { "from": "gpt", "value": "incus image list images:" } ]
[ { "from": "human", "value": "List all images already downloaded to the `local:` remote" }, { "from": "gpt", "value": "incus image list local:" } ]
[ { "from": "human", "value": "Start a query TUI to search files in the current directory recursively (`<Ctrl z>` for help)" }, { "from": "gpt", "value": "ugrep --query" } ]
[ { "from": "human", "value": "Search the current directory recursively for files containing a regex search pattern" }, { "from": "gpt", "value": "ugrep \"search_pattern\"" } ]
[ { "from": "human", "value": "Search in a specific file or in all files in a specific directory, showing line numbers of matches" }, { "from": "gpt", "value": "ugrep --line-number \"search_pattern\" path/to/file_or_directory" } ]
[ { "from": "human", "value": "Search in all files in the current directory recursively and print the name of each matching file" }, { "from": "gpt", "value": "ugrep --files-with-matches \"search_pattern\"" } ]
[ { "from": "human", "value": "Fuzzy search files with up to 3 extra, missing or mismatching characters in the pattern" }, { "from": "gpt", "value": "ugrep --fuzzy=3 \"search_pattern\"" } ]
[ { "from": "human", "value": "Also search compressed files, Zip and tar archives recursively" }, { "from": "gpt", "value": "ugrep --decompress \"search_pattern\"" } ]
[ { "from": "human", "value": "Search only files whose filenames match a specific glob pattern" }, { "from": "gpt", "value": "ugrep --glob=\"glob_pattern\" \"search_pattern\"" } ]
[ { "from": "human", "value": "Search only C++ source files (use `--file-type=list` to list all file types)" }, { "from": "gpt", "value": "ugrep --file-type=cpp \"search_pattern\"" } ]
[ { "from": "human", "value": "Verify a packed Git archive file" }, { "from": "gpt", "value": "git verify-pack path/to/pack-file" } ]
[ { "from": "human", "value": "Verify a packed Git archive file and show verbose details" }, { "from": "gpt", "value": "git verify-pack --verbose path/to/pack-file" } ]
[ { "from": "human", "value": "Verify a packed Git archive file and only display the statistics" }, { "from": "gpt", "value": "git verify-pack --stat-only path/to/pack-file" } ]
[ { "from": "human", "value": "Vendor dependencies and configure `cargo` to use the vendored sources in the current project" }, { "from": "gpt", "value": "cargo vendor path/to/directory > .cargo/config.toml" } ]
[ { "from": "human", "value": "Generate a UPC image for the specified product type, manufacturer code, and product code" }, { "from": "gpt", "value": "pbmupc product_type manufacturer_code product_code > path/to/output.pbm" } ]
[ { "from": "human", "value": "Use an alternative style that does not display the checksum" }, { "from": "gpt", "value": "pbmupc -s2 product_type manufacturer_code product_code > path/to/output.pbm" } ]
[ { "from": "human", "value": "Concatenate Bitcode files" }, { "from": "gpt", "value": "llvm-cat path/to/file1.bc path/to/file2.bc -o path/to/out.bc" } ]
[ { "from": "human", "value": "Open a file" }, { "from": "gpt", "value": "nvim path/to/file" } ]
[ { "from": "human", "value": "Enter text editing mode (insert mode)" }, { "from": "gpt", "value": "<Esc><i>" } ]
[ { "from": "human", "value": "Copy (\"yank\") or cut (\"delete\") the current line (paste it with `<p>`)" }, { "from": "gpt", "value": "<Esc><y><y>|<d><d>" } ]
[ { "from": "human", "value": "Enter normal mode and undo the last operation" }, { "from": "gpt", "value": "<Esc><u>" } ]
[ { "from": "human", "value": "Search for a pattern in the file (press `<n>`/`<N>` to go to next/previous match)" }, { "from": "gpt", "value": "<Esc></>search_pattern<Enter>" } ]
[ { "from": "human", "value": "Perform a regular expression substitution in the whole file" }, { "from": "gpt", "value": "<Esc><:>%s/regular_expression/replacement/g<Enter>" } ]
[ { "from": "human", "value": "Enter normal mode and save (write) the file, and quit" }, { "from": "gpt", "value": "<Esc><Z><Z>|<Esc><:>x<Enter>|<Esc><:>wq<Enter>" } ]
[ { "from": "human", "value": "Quit without saving" }, { "from": "gpt", "value": "<Esc><:>q!<Enter>" } ]
[ { "from": "human", "value": "Run a single query" }, { "from": "gpt", "value": "dolt sql --query \"INSERT INTO t values (1, 3);\"" } ]
[ { "from": "human", "value": "List all saved queries" }, { "from": "gpt", "value": "dolt sql --list-saved" } ]
[ { "from": "human", "value": "Print the file name of this terminal" }, { "from": "gpt", "value": "tty" } ]
[ { "from": "human", "value": "Start a web server instance" }, { "from": "gpt", "value": "hg serve" } ]
[ { "from": "human", "value": "Start a web server instance on the specified port" }, { "from": "gpt", "value": "hg serve --port port" } ]
[ { "from": "human", "value": "Start a web server instance on the specified listening address" }, { "from": "gpt", "value": "hg serve --address address" } ]
[ { "from": "human", "value": "Start a web server instance with a specific identifier" }, { "from": "gpt", "value": "hg serve --name name" } ]
[ { "from": "human", "value": "Start a web server instance using the specified theme (see the templates directory)" }, { "from": "gpt", "value": "hg serve --style style" } ]
[ { "from": "human", "value": "Start a web server instance using the specified SSL certificate bundle" }, { "from": "gpt", "value": "hg serve --certificate path/to/certificate" } ]
[ { "from": "human", "value": "Compute the difference, i.e. the peak signal-to-noise ratio (PSNR) between two images" }, { "from": "gpt", "value": "pnmpsnr path/to/file1.pnm path/to/file2.pnm" } ]
[ { "from": "human", "value": "Compare the color components rather than the luminance and chrominance components of the images" }, { "from": "gpt", "value": "pnmpsnr path/to/file1.pnm path/to/file2.pnm -rgb" } ]
[ { "from": "human", "value": "Run in comparison mode, i.e. only output `nomatch` or `match` depending on whether the computing PSNR exceeds `n` or not" }, { "from": "gpt", "value": "pnmpsnr path/to/file1.pnm path/to/file2.pnm -target n" } ]
[ { "from": "human", "value": "Run in comparison mode and compare the individual image components, i.e. Y, Cb, and Cr, to the corresponding thresholds" }, { "from": "gpt", "value": "pnmpsnr path/to/file1.pnm path/to/file2.pnm -target1 threshold_Y -target2 threshold_Cb -target3 threshold_Cr" } ]
[ { "from": "human", "value": "Run in comparison mode and compare the individual image components, i.e. red, green, and blue to the corresponding thresholds" }, { "from": "gpt", "value": "pnmpsnr path/to/file1.pnm path/to/file2.pnm -rgb -target1 threshold_red -target2 threshold_green -target3 thre...
[ { "from": "human", "value": "Produce machine-readable output" }, { "from": "gpt", "value": "pnmpsnr path/to/file1.pnm path/to/file2.pnm -machine" } ]
[ { "from": "human", "value": "Launch a presentation in the terminal from a Markdown file" }, { "from": "gpt", "value": "mdp presentation.md" } ]
[ { "from": "human", "value": "Disable fading transitions" }, { "from": "gpt", "value": "mdp --nofade presentation.md" } ]
[ { "from": "human", "value": "Invert font colors to use in terminals with light background" }, { "from": "gpt", "value": "mdp --invert presentation.md" } ]
[ { "from": "human", "value": "Disable transparency in transparent terminals" }, { "from": "gpt", "value": "mdp --notrans presentation.md" } ]
[ { "from": "human", "value": "Slice a Netpbm image such that the resulting tiles have the specified height and width" }, { "from": "gpt", "value": "pamdice [-o|-outstem] path/to/filename_stem [-he|-height] value [-w|-width] value path/to/input.ppm" } ]
[ { "from": "human", "value": "Make the produced pieces overlap by the specified amount horizontally and vertically" }, { "from": "gpt", "value": "pamdice [-o|-outstem] path/to/filename_stem [-he|-height] value [-w|-width] value [-ho|-hoverlap] value [-vo|-voverlap] value path/to/input.ppm" } ]
[ { "from": "human", "value": "Convert an A2 poster into 4 A4 pages" }, { "from": "gpt", "value": "pdfposter --poster-size a2 input_file.pdf output_file.pdf" } ]
[ { "from": "human", "value": "Scale an A4 poster to A3 and then generate 2 A4 pages" }, { "from": "gpt", "value": "pdfposter --scale 2 input_file.pdf output_file.pdf" } ]
[ { "from": "human", "value": "Run a Shadowsocks proxy by specifying the host, server port, local port, password, and encryption method" }, { "from": "gpt", "value": "ss-local -s host -p server_port -l local port -k password -m encrypt_method" } ]
[ { "from": "human", "value": "Run a Shadowsocks proxy by specifying the configuration file" }, { "from": "gpt", "value": "ss-local -c path/to/config/file.json" } ]
[ { "from": "human", "value": "Use a plugin to run the proxy client" }, { "from": "gpt", "value": "ss-local --plugin plugin_name --plugin-opts plugin_options" } ]
[ { "from": "human", "value": "Enable TCP fast open" }, { "from": "gpt", "value": "ss-local --fast-open" } ]
[ { "from": "human", "value": "Build changed packages in the specified pull request" }, { "from": "gpt", "value": "nixpkgs-review pr pr_number|pr_url" } ]
[ { "from": "human", "value": "Build changed packages and post a comment with a report (requires setting up a token in `hub`, `gh`, or the `GITHUB_TOKEN` environment variable)" }, { "from": "gpt", "value": "nixpkgs-review pr --post-result pr_number|pr_url" } ]
[ { "from": "human", "value": "Build changed packages and print a report" }, { "from": "gpt", "value": "nixpkgs-review pr --print-result pr_number|pr_url" } ]
[ { "from": "human", "value": "Build changed packages in a local commit" }, { "from": "gpt", "value": "nixpkgs-review rev HEAD" } ]
[ { "from": "human", "value": "Build changed packages that haven't been committed yet" }, { "from": "gpt", "value": "nixpkgs-review wip" } ]
[ { "from": "human", "value": "Build changed packages that have been staged" }, { "from": "gpt", "value": "nixpkgs-review wip --staged" } ]
[ { "from": "human", "value": "Execute a command on an emulator" }, { "from": "gpt", "value": "sfdk emulator exec emulator command" } ]
[ { "from": "human", "value": "Run an interactive shell on an emulator" }, { "from": "gpt", "value": "sfdk emulator exec emulator" } ]
[ { "from": "human", "value": "List all installed Node.js versions" }, { "from": "gpt", "value": "Get-NodeVersions" } ]
[ { "from": "human", "value": "List all available Node.js versions" }, { "from": "gpt", "value": "Get-NodeVersions -Remote" } ]
[ { "from": "human", "value": "List all available Node.js 20.x versions" }, { "from": "gpt", "value": "Get-NodeVersions -Remote -Filter \">=20.0.0 <21.0.0\"" } ]