conversations
listlengths
2
2
[ { "from": "human", "value": "Measure disk sequential speed on `/dev/sdX`" }, { "from": "gpt", "value": "ioping -RL /dev/sdX" } ]
[ { "from": "human", "value": "Compile a bison definition file" }, { "from": "gpt", "value": "bison path/to/file.y" } ]
[ { "from": "human", "value": "Compile in debug mode, which causes the resulting parser to write additional information to `stdout`" }, { "from": "gpt", "value": "bison [-t|--debug] path/to/file.y" } ]
[ { "from": "human", "value": "Specify the output filename" }, { "from": "gpt", "value": "bison [-o|--output] path/to/output.c path/to/file.y" } ]
[ { "from": "human", "value": "Be verbose when compiling" }, { "from": "gpt", "value": "bison [-v|--verbose]" } ]
[ { "from": "human", "value": "Publish a temperature value of 32 on the topic `sensors/temperature` to 192.168.1.1 (defaults to `localhost`) with Quality of Service (`QoS`) set to 1" }, { "from": "gpt", "value": "mosquitto_pub -h 192.168.1.1 -t sensors/temperature -m 32 -q 1" } ]
[ { "from": "human", "value": "Publish timestamp and temperature data on the topic `sensors/temperature` to a remote host on a non-standard port" }, { "from": "gpt", "value": "mosquitto_pub -h 192.168.1.1 -p 1885 -t sensors/temperature -m \"1266193804 32\"" } ]
[ { "from": "human", "value": "Publish light switch status and retain the message on the topic `switches/kitchen_lights/status` to a remote host because there may be a long period of time between light switch events" }, { "from": "gpt", "value": "mosquitto_pub -r -h \"iot.eclipse.org\" -t switches...
[ { "from": "human", "value": "Send the contents of a file (`data.txt`) as a message and publish it to `sensors/temperature` topic" }, { "from": "gpt", "value": "mosquitto_pub -t sensors/temperature -f data.txt" } ]
[ { "from": "human", "value": "Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic" }, { "from": "gpt", "value": "mosquitto_pub -t sensors/temperature -s < data.txt" } ]
[ { "from": "human", "value": "Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic" }, { "from": "gpt", "value": "echo data.txt | mosquitto_pub -t sensors/temperature -l" } ]
[ { "from": "human", "value": "Truncate the Elasticsearch index" }, { "from": "gpt", "value": "cradle elastic flush" } ]
[ { "from": "human", "value": "Truncate the Elasticsearch index for a specific package" }, { "from": "gpt", "value": "cradle elastic flush package" } ]
[ { "from": "human", "value": "Submit the Elasticsearch schema" }, { "from": "gpt", "value": "cradle elastic map" } ]
[ { "from": "human", "value": "Submit the Elasticsearch schema for a specific package" }, { "from": "gpt", "value": "cradle elastic map package" } ]
[ { "from": "human", "value": "Populate the Elasticsearch indices for all packages" }, { "from": "gpt", "value": "cradle elastic populate" } ]
[ { "from": "human", "value": "Populate the Elasticsearch indices for a specific package" }, { "from": "gpt", "value": "cradle elastic populate package" } ]
[ { "from": "human", "value": "Clone a Git repository into a new directory" }, { "from": "gpt", "value": "git force-clone remote_repository_location path/to/directory" } ]
[ { "from": "human", "value": "Clone a Git repository into a new directory, checking out an specific branch" }, { "from": "gpt", "value": "git force-clone -b branch_name remote_repository_location path/to/directory" } ]
[ { "from": "human", "value": "Clone a Git repository into an existing directory of a Git repository, performing a force-reset to resemble it to the remote and checking out an specific branch" }, { "from": "gpt", "value": "git force-clone -b branch_name remote_repository_location path/to/directory...
[ { "from": "human", "value": "Search for a query on Google (default provider)" }, { "from": "gpt", "value": "s query" } ]
[ { "from": "human", "value": "List all providers" }, { "from": "gpt", "value": "s --list-providers" } ]
[ { "from": "human", "value": "Search for a query with a given provider" }, { "from": "gpt", "value": "s --provider provider query" } ]
[ { "from": "human", "value": "Use a specified binary to perform the search query" }, { "from": "gpt", "value": "s --binary \"binary arguments\" query" } ]
[ { "from": "human", "value": "Extract strongly connected components of one or more directed graphs" }, { "from": "gpt", "value": "sccmap -S path/to/input1.gv path/to/input2.gv ... > path/to/output.gv" } ]
[ { "from": "human", "value": "Print statistics about a graph, producing no output graph" }, { "from": "gpt", "value": "sccmap -v -s path/to/input1.gv path/to/input2.gv ..." } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "sccmap -?" } ]
[ { "from": "human", "value": "Install or update a given toolchain" }, { "from": "gpt", "value": "rustup install toolchain" } ]
[ { "from": "human", "value": "Uninstall a toolchain" }, { "from": "gpt", "value": "rustup uninstall toolchain" } ]
[ { "from": "human", "value": "List installed toolchains" }, { "from": "gpt", "value": "rustup list" } ]
[ { "from": "human", "value": "Create a custom toolchain by symlinking to a directory" }, { "from": "gpt", "value": "rustup link custom_toolchain_name path/to/directory" } ]
[ { "from": "human", "value": "Display the default inventory" }, { "from": "gpt", "value": "ansible-inventory --list" } ]
[ { "from": "human", "value": "Display a custom inventory" }, { "from": "gpt", "value": "ansible-inventory --list --inventory path/to/file_or_script_or_directory" } ]
[ { "from": "human", "value": "Display the default inventory in YAML" }, { "from": "gpt", "value": "ansible-inventory --list --yaml" } ]
[ { "from": "human", "value": "Dump the default inventory to a file" }, { "from": "gpt", "value": "ansible-inventory --list --output path/to/file" } ]
[ { "from": "human", "value": "Set the Personal Access Token (PAT) to login to a particular organization" }, { "from": "gpt", "value": "az devops login --organization organization_url" } ]
[ { "from": "human", "value": "Open a project in the browser" }, { "from": "gpt", "value": "az devops project show --project project_name --open" } ]
[ { "from": "human", "value": "List members of a specific team working on a particular project" }, { "from": "gpt", "value": "az devops team list-member --project project_name --team team_name" } ]
[ { "from": "human", "value": "Check the Azure DevOps CLI current configuration" }, { "from": "gpt", "value": "az devops configure --list" } ]
[ { "from": "human", "value": "Configure the Azure DevOps CLI behavior by setting a default project and a default organization" }, { "from": "gpt", "value": "az devops configure --defaults project=project_name organization=organization_url" } ]
[ { "from": "human", "value": "Create a new environment named `py39`, and install Python 3.9 and NumPy v1.11 or above in it" }, { "from": "gpt", "value": "conda create --yes --name py39 python=3.9 \"numpy>=1.11\"" } ]
[ { "from": "human", "value": "Make exact copy of an environment" }, { "from": "gpt", "value": "conda create --clone py39 --name py39-copy" } ]
[ { "from": "human", "value": "Create a new environment with a specified name and install a given package" }, { "from": "gpt", "value": "conda create --name env_name package" } ]
[ { "from": "human", "value": "Create a new `dbx` project in the current working directory" }, { "from": "gpt", "value": "dbx configure --profile DEFAULT" } ]
[ { "from": "human", "value": "Sync local files from the specified path to DBFS and watch for changes" }, { "from": "gpt", "value": "dbx sync dbfs --source path/to/directory --dest path/to/remote_directory" } ]
[ { "from": "human", "value": "Deploy the specified workflow to artifact storage" }, { "from": "gpt", "value": "dbx deploy workflow_name" } ]
[ { "from": "human", "value": "Launch the specified workflow after deploying it" }, { "from": "gpt", "value": "dbx launch workflow_name" } ]
[ { "from": "human", "value": "Create an image from a file using default settings" }, { "from": "gpt", "value": "carbon-now path/to/file" } ]
[ { "from": "human", "value": "Create an image from a text in clipboard using default settings" }, { "from": "gpt", "value": "carbon-now --from-clipboard" } ]
[ { "from": "human", "value": "Create an image from `stdin` using default settings and copy to the clipboard" }, { "from": "gpt", "value": "input | carbon-now --to-clipboard" } ]
[ { "from": "human", "value": "Create images interactively for custom settings and optionally save a preset" }, { "from": "gpt", "value": "carbon-now [-i|--interactive] path/to/file" } ]
[ { "from": "human", "value": "Create images from a previously saved preset" }, { "from": "gpt", "value": "carbon-now [-p|--preset] preset path/to/file" } ]
[ { "from": "human", "value": "Start at a specified line of text" }, { "from": "gpt", "value": "carbon-now [-s|--start] line path/to/file" } ]
[ { "from": "human", "value": "End at a specific line of text" }, { "from": "gpt", "value": "carbon-now [-e|--end] line path/to/file" } ]
[ { "from": "human", "value": "Open image in a browser instead of saving" }, { "from": "gpt", "value": "carbon-now --open path/to/file" } ]
[ { "from": "human", "value": "Interactively create a merge request" }, { "from": "gpt", "value": "glab mr create" } ]
[ { "from": "human", "value": "Create a merge request, determining the title and description from the commit messages of the current branch" }, { "from": "gpt", "value": "glab mr create --fill" } ]
[ { "from": "human", "value": "Create a draft merge request" }, { "from": "gpt", "value": "glab mr create --draft" } ]
[ { "from": "human", "value": "Create a merge request specifying the target branch, title, and description" }, { "from": "gpt", "value": "glab mr create --target-branch target_branch --title \"title\" --description \"description\"" } ]
[ { "from": "human", "value": "Start opening a merge request in the default web browser" }, { "from": "gpt", "value": "glab mr create --web" } ]
[ { "from": "human", "value": "Generate a man page for an executable" }, { "from": "gpt", "value": "help2man executable" } ]
[ { "from": "human", "value": "Specify the \"name\" paragraph in the man page" }, { "from": "gpt", "value": "help2man executable [-n|--name] name" } ]
[ { "from": "human", "value": "Specify the section for the man page (defaults to 1)" }, { "from": "gpt", "value": "help2man executable [-s|--section] section" } ]
[ { "from": "human", "value": "Output to a file instead of `stdout`" }, { "from": "gpt", "value": "help2man executable [-o|--output] path/to/file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "help2man --help" } ]
[ { "from": "human", "value": "Print the current state of IVPN, including the connection and firewall status" }, { "from": "gpt", "value": "ivpn status" } ]
[ { "from": "human", "value": "List available servers to connect to" }, { "from": "gpt", "value": "ivpn servers" } ]
[ { "from": "human", "value": "Wait for a process to finish given its process ID (PID) and return its exit status" }, { "from": "gpt", "value": "wait pid" } ]
[ { "from": "human", "value": "Wait for all processes known to the invoking shell to finish" }, { "from": "gpt", "value": "wait" } ]
[ { "from": "human", "value": "Wait for a job to finish" }, { "from": "gpt", "value": "wait %job_number" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "wait --help" } ]
[ { "from": "human", "value": "Scan a Docker image for vulnerabilities and exposed secrets" }, { "from": "gpt", "value": "trivy image image:tag" } ]
[ { "from": "human", "value": "Scan a Docker image filtering the output by severity" }, { "from": "gpt", "value": "trivy image --severity HIGH,CRITICAL alpine:3.15" } ]
[ { "from": "human", "value": "Scan a Docker image ignoring any unfixed/unpatched vulnerabilities" }, { "from": "gpt", "value": "trivy image --ignore-unfixed alpine:3.15" } ]
[ { "from": "human", "value": "Scan the filesystem for vulnerabilities and misconfigurations" }, { "from": "gpt", "value": "trivy fs --security-checks vuln,config path/to/project_directory" } ]
[ { "from": "human", "value": "Scan a IaC (Terraform, CloudFormation, ARM, Helm and Dockerfile) directory for misconfigurations" }, { "from": "gpt", "value": "trivy config path/to/iac_directory" } ]
[ { "from": "human", "value": "Scan a local or remote Git repository for vulnerabilities" }, { "from": "gpt", "value": "trivy repo path/to/local_repository_directory|remote_repository_URL" } ]
[ { "from": "human", "value": "Scan a Git repository up to a specific commit hash" }, { "from": "gpt", "value": "trivy repo --commit commit_hash repository" } ]
[ { "from": "human", "value": "Generate output with a SARIF template" }, { "from": "gpt", "value": "trivy image --format template --template \"@sarif.tpl\" -o path/to/report.sarif image:tag" } ]
[ { "from": "human", "value": "Discover specific directories and files that match in the wordlist with extensions and 100 threads and a random user-agent" }, { "from": "gpt", "value": "feroxbuster --url \"https://example.com\" --wordlist path/to/file --threads 100 --extensions \"php,txt\" --random...
[ { "from": "human", "value": "Enumerate directories without recursion through a specific proxy" }, { "from": "gpt", "value": "feroxbuster --url \"https://example.com\" --wordlist path/to/file --no-recursion --proxy \"http://127.0.0.1:8080\"" } ]
[ { "from": "human", "value": "Find links in webpages" }, { "from": "gpt", "value": "feroxbuster --url \"https://example.com\" --extract-links" } ]
[ { "from": "human", "value": "Filter by a specific status code and a number of chars" }, { "from": "gpt", "value": "feroxbuster --url \"https://example.com\" --filter-status 301 --filter-size 4092" } ]
[ { "from": "human", "value": "Display general help" }, { "from": "gpt", "value": "cargo help" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "cargo help subcommand" } ]
[ { "from": "human", "value": "Convert a Slim file to HTML" }, { "from": "gpt", "value": "slimrb input.slim output.html" } ]
[ { "from": "human", "value": "Convert a Slim file and output to prettified HTML" }, { "from": "gpt", "value": "slimrb --pretty input.slim output.html" } ]
[ { "from": "human", "value": "Convert a Slim file to ERB" }, { "from": "gpt", "value": "slimrb --erb input.slim output.erb" } ]
[ { "from": "human", "value": "Follow the logs of activity on the account" }, { "from": "gpt", "value": "stripe logs tail" } ]
[ { "from": "human", "value": "Listen for events, filtering on events with the name `charge.succeeded` and forwarding them to localhost:3000/events" }, { "from": "gpt", "value": "stripe listen --events=\"charge.succeeded\" --forward-to=\"localhost:3000/events\"" } ]
[ { "from": "human", "value": "Send a test webhook event" }, { "from": "gpt", "value": "stripe trigger charge.succeeded" } ]
[ { "from": "human", "value": "Create a customer" }, { "from": "gpt", "value": "stripe customers create --email=\"test@example.com\" --name=\"Jenny Rosen\"" } ]
[ { "from": "human", "value": "Print to JSON" }, { "from": "gpt", "value": "stripe listen --print-json" } ]
[ { "from": "human", "value": "Convert a PPM image to an ASCII image, combining an area of 1x2 pixels into a character" }, { "from": "gpt", "value": "ppmtoascii path/to/input.ppm > path/to/output.txt" } ]
[ { "from": "human", "value": "Convert a PPM image to an ASCII image, combining an area of 2x4 pixels into a character" }, { "from": "gpt", "value": "ppmtoascii -2x4 path/to/input.ppm > path/to/output.txt" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr magick identify" } ]
[ { "from": "human", "value": "Build a PlatformIO project in the default system temporary directory and delete it afterwards" }, { "from": "gpt", "value": "pio ci path/to/project" } ]
[ { "from": "human", "value": "Build a PlatformIO project and specify specific libraries" }, { "from": "gpt", "value": "pio ci --lib path/to/library_directory path/to/project" } ]
[ { "from": "human", "value": "Build a PlatformIO project and specify a specific board (`pio boards` lists all of them)" }, { "from": "gpt", "value": "pio ci --board board path/to/project" } ]
[ { "from": "human", "value": "Build a PlatformIO project in a specific directory" }, { "from": "gpt", "value": "pio ci --build-dir path/to/build_directory path/to/project" } ]