conversations
listlengths
2
2
[ { "from": "human", "value": "Attach a process to gdb" }, { "from": "gpt", "value": "gdb [-p|--pid] procID" } ]
[ { "from": "human", "value": "Debug with a core file" }, { "from": "gpt", "value": "gdb [-c|--core] core executable" } ]
[ { "from": "human", "value": "Execute given GDB commands upon start" }, { "from": "gpt", "value": "gdb [-ex|--eval-command] \"commands\" executable" } ]
[ { "from": "human", "value": "Start `gdb` and pass arguments to the executable" }, { "from": "gpt", "value": "gdb --args executable argument1 argument2" } ]
[ { "from": "human", "value": "Skip debuginfod and pagination prompts and then print the backtrace" }, { "from": "gpt", "value": "gdb [-c|--core] core executable -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt" } ]
[ { "from": "human", "value": "Print PDF file information" }, { "from": "gpt", "value": "pdfinfo path/to/file.pdf" } ]
[ { "from": "human", "value": "Specify user password for PDF file to bypass security restrictions" }, { "from": "gpt", "value": "pdfinfo -upw password path/to/file.pdf" } ]
[ { "from": "human", "value": "Specify owner password for PDF file to bypass security restrictions" }, { "from": "gpt", "value": "pdfinfo -opw password path/to/file.pdf" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr python" } ]
[ { "from": "human", "value": "Print the hexadecimal representation of a file" }, { "from": "gpt", "value": "hexyl path/to/file" } ]
[ { "from": "human", "value": "Print the hexadecimal representation of the first n bytes of a file" }, { "from": "gpt", "value": "hexyl -n n path/to/file" } ]
[ { "from": "human", "value": "Print bytes 512 through 1024 of a file" }, { "from": "gpt", "value": "hexyl -r 512:1024 path/to/file" } ]
[ { "from": "human", "value": "Print 512 bytes starting at the 1024th byte" }, { "from": "gpt", "value": "hexyl -r 1024:+512 path/to/file" } ]
[ { "from": "human", "value": "Create local alias for director in a specific environment" }, { "from": "gpt", "value": "bosh alias-env environment_name [-e|--environment] ip_address|URL --ca-cert ca_certificate" } ]
[ { "from": "human", "value": "List environments" }, { "from": "gpt", "value": "bosh environments" } ]
[ { "from": "human", "value": "Log in to the director" }, { "from": "gpt", "value": "bosh login [-e|--environment] environment" } ]
[ { "from": "human", "value": "List deployments" }, { "from": "gpt", "value": "bosh [-e|--environment] environment deployments" } ]
[ { "from": "human", "value": "List environment virtual machines in a deployment" }, { "from": "gpt", "value": "bosh [-e|--environment] environment vms [-d|--deployment] deployment" } ]
[ { "from": "human", "value": "SSH into virtual machine" }, { "from": "gpt", "value": "bosh [-e|--environment] environment ssh virtual_machine [-d|--deployment] deployment" } ]
[ { "from": "human", "value": "Upload stemcell" }, { "from": "gpt", "value": "bosh [-e|--environment] environment upload-stemcell stemcell_file|url" } ]
[ { "from": "human", "value": "Show current cloud config" }, { "from": "gpt", "value": "bosh [-e|--environment] environment cloud-config" } ]
[ { "from": "human", "value": "Delete a specific S3 object" }, { "from": "gpt", "value": "aws s3 rm s3://bucket_name/path/to/file" } ]
[ { "from": "human", "value": "Preview the deletion of a specific S3 object without deleting it (dry-run)" }, { "from": "gpt", "value": "aws s3 rm s3://bucket_name/path/to/file --dryrun" } ]
[ { "from": "human", "value": "Delete an object from a specific S3 access point" }, { "from": "gpt", "value": "aws s3 rm s3://arn:aws:s3:region:account_id:access_point/access_point_name/object_key" } ]
[ { "from": "human", "value": "Remove all objects from a bucket (empty the bucket)" }, { "from": "gpt", "value": "aws s3 rm s3://bucket_name --recursive" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "aws s3 rm help" } ]
[ { "from": "human", "value": "Check if a version string respects the semantic versioning format (prints an empty string if it does not match)" }, { "from": "gpt", "value": "semver 1.2" } ]
[ { "from": "human", "value": "Convert a version string to the semantic versioning format" }, { "from": "gpt", "value": "semver --coerce 1.2" } ]
[ { "from": "human", "value": "Test if `1.2.3` matches the `^1.0` range (prints an empty string if it does not match)" }, { "from": "gpt", "value": "semver 1.2.3 --range \"^1.0\"" } ]
[ { "from": "human", "value": "Test with multiple ranges" }, { "from": "gpt", "value": "semver 1.2.3 --range \">=1.0\" \"<2.0\"" } ]
[ { "from": "human", "value": "Test multiple version strings and return only the ones that match" }, { "from": "gpt", "value": "semver 1.2.3 2.0.0 --range \"^1.0\"" } ]
[ { "from": "human", "value": "Query the A record of a (sub)domain and show [re]sponse received" }, { "from": "gpt", "value": "echo example.com | dnsx -a [-re|-resp]" } ]
[ { "from": "human", "value": "Query all the DNS records (A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR, CAA)" }, { "from": "gpt", "value": "dnsx -recon [-re|-resp] <<< example.com" } ]
[ { "from": "human", "value": "Query a specific type of DNS record" }, { "from": "gpt", "value": "echo example.com | dnsx [-re|-resp] -a|aaaa|cname|ns|txt|srv|ptr|mx|soa|any|axfr|caa" } ]
[ { "from": "human", "value": "Output response only (do not show the queried domain or subdomain)" }, { "from": "gpt", "value": "echo example.com | dnsx [-ro|-resp-only]" } ]
[ { "from": "human", "value": "Display raw response of a query, specifying resolvers to use and retry attempts for failures" }, { "from": "gpt", "value": "echo example.com | dnsx -debug|raw [-r|-resolver] 1.1.1.1,8.8.8.8,... -retry number" } ]
[ { "from": "human", "value": "Brute force DNS records using a placeholder" }, { "from": "gpt", "value": "dnsx [-d|-domain] FUZZ.example.com [-w|-wordlist] path/to/wordlist.txt [-re|-resp]" } ]
[ { "from": "human", "value": "Brute force DNS records from a list of domains and wordlists, appending output to a file with no color codes" }, { "from": "gpt", "value": "dnsx [-d|-domain] path/to/domain.txt [-w|-wordlist] path/to/wordlist.txt [-re|-resp] [-o|-output] path/to/output.txt [-nc|-no-c...
[ { "from": "human", "value": "Extract `CNAME` records for the given list of subdomains, with rate limiting DNS queries per second" }, { "from": "gpt", "value": "subfinder -silent [-d|-domain] example.com | dnsx -cname [-re|-resp] [-rl|-rate-limit] number" } ]
[ { "from": "human", "value": "Transpile a specified input file and output to `stdout`" }, { "from": "gpt", "value": "swc path/to/file" } ]
[ { "from": "human", "value": "Transpile the input file every time it is changed" }, { "from": "gpt", "value": "swc path/to/file --watch" } ]
[ { "from": "human", "value": "Transpile a specified input file and output to a specific file" }, { "from": "gpt", "value": "swc path/to/input_file --out-file path/to/output_file" } ]
[ { "from": "human", "value": "Transpile a specified input directory and output to a specific directory" }, { "from": "gpt", "value": "swc path/to/input_directory --out-dir path/to/output_directory" } ]
[ { "from": "human", "value": "Transpile a specified input directory using a specific configuration file" }, { "from": "gpt", "value": "swc path/to/input_directory --config-file path/to/.swcrc" } ]
[ { "from": "human", "value": "Ignore files in a directory specified using glob path" }, { "from": "gpt", "value": "swc path/to/input_directory --ignore path/to/ignored_file1 path/to/ignored_file2 ..." } ]
[ { "from": "human", "value": "Incorporate changes from the named commits into the current branch" }, { "from": "gpt", "value": "dolt merge branch_name" } ]
[ { "from": "human", "value": "Incorporate changes from the named commits into the current branch without updating the commit history" }, { "from": "gpt", "value": "dolt merge --squash branch_name" } ]
[ { "from": "human", "value": "Merge a branch and create a merge commit even when the merge resolves as a fast-forward" }, { "from": "gpt", "value": "dolt merge --no-ff branch_name" } ]
[ { "from": "human", "value": "Merge a branch and create a merge commit with a specific commit message" }, { "from": "gpt", "value": "dolt merge --no-ff -m \"message\" branch_name" } ]
[ { "from": "human", "value": "Abort the current conflict resolution process" }, { "from": "gpt", "value": "dolt merge --abort" } ]
[ { "from": "human", "value": "List files contained in an APK archive" }, { "from": "gpt", "value": "aapt list path/to/app.apk" } ]
[ { "from": "human", "value": "Display an app's metadata (version, permissions, etc.)" }, { "from": "gpt", "value": "aapt dump badging path/to/app.apk" } ]
[ { "from": "human", "value": "Create a new APK archive with files from the specified directory" }, { "from": "gpt", "value": "aapt package -F path/to/app.apk path/to/directory" } ]
[ { "from": "human", "value": "Compress a PNG file" }, { "from": "gpt", "value": "pngcrush in.png out.png" } ]
[ { "from": "human", "value": "Compress all PNGs and output them to the specified directory" }, { "from": "gpt", "value": "pngcrush -d path/to/output *.png" } ]
[ { "from": "human", "value": "Compress PNG file with all 114 available algorithms and pick the best result" }, { "from": "gpt", "value": "pngcrush -rem allb -brute -reduce in.png out.png" } ]
[ { "from": "human", "value": "Print \"Hello, world!\"" }, { "from": "gpt", "value": "hello" } ]
[ { "from": "human", "value": "Print \"hello, world\", the traditional type" }, { "from": "gpt", "value": "hello [-t|--traditional]" } ]
[ { "from": "human", "value": "Print a text message" }, { "from": "gpt", "value": "hello [-g|--greeting] \"greeting_text\"" } ]
[ { "from": "human", "value": "Run command in a new container from a tagged image" }, { "from": "gpt", "value": "podman run image:tag command" } ]
[ { "from": "human", "value": "Run command in a new container in background and display its ID" }, { "from": "gpt", "value": "podman run --detach image:tag command" } ]
[ { "from": "human", "value": "Run command in a one-off container in interactive mode and pseudo-TTY" }, { "from": "gpt", "value": "podman run --rm --interactive --tty image:tag command" } ]
[ { "from": "human", "value": "Run command in a new container with passed environment variables" }, { "from": "gpt", "value": "podman run --env 'variable=value' --env variable image:tag command" } ]
[ { "from": "human", "value": "Run command in a new container with bind mounted volumes" }, { "from": "gpt", "value": "podman run --volume /path/to/host_path:/path/to/container_path image:tag command" } ]
[ { "from": "human", "value": "Run command in a new container with published ports" }, { "from": "gpt", "value": "podman run --publish host_port:container_port image:tag command" } ]
[ { "from": "human", "value": "Run command in a new container overwriting the entrypoint of the image" }, { "from": "gpt", "value": "podman run --entrypoint command image:tag" } ]
[ { "from": "human", "value": "Run command in a new container connecting it to a network" }, { "from": "gpt", "value": "podman run --network network image:tag" } ]
[ { "from": "human", "value": "Convert a graph from `gv` to `gml` format" }, { "from": "gpt", "value": "gv2gml -o output.gml input.gv" } ]
[ { "from": "human", "value": "Convert a graph using `stdin` and `stdout`" }, { "from": "gpt", "value": "cat input.gv | gv2gml > output.gml" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gv2gml -?" } ]
[ { "from": "human", "value": "Move a specific job to `new_printer`" }, { "from": "gpt", "value": "lpmove job_id new_printer" } ]
[ { "from": "human", "value": "Move a job from `old_printer` to `new_printer`" }, { "from": "gpt", "value": "lpmove old_printer-job_id new_printer" } ]
[ { "from": "human", "value": "Move all jobs from `old_printer` to `new_printer`" }, { "from": "gpt", "value": "lpmove old_printer new_printer" } ]
[ { "from": "human", "value": "Move a specific job to `new_printer` on a specific server" }, { "from": "gpt", "value": "lpmove -h server job_id new_printer" } ]
[ { "from": "human", "value": "Apply a configuration to a resource by file name or `stdin`" }, { "from": "gpt", "value": "kubectl apply -f resource_filename" } ]
[ { "from": "human", "value": "Edit the latest last-applied-configuration annotations of resources from the default editor" }, { "from": "gpt", "value": "kubectl apply edit-last-applied -f resource_filename" } ]
[ { "from": "human", "value": "Set the latest last-applied-configuration annotations by setting it to match the contents of a file" }, { "from": "gpt", "value": "kubectl apply set-last-applied -f resource_filename" } ]
[ { "from": "human", "value": "View the latest last-applied-configuration annotations by type/name or file" }, { "from": "gpt", "value": "kubectl apply view-last-applied -f resource_filename" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr zstd" } ]
[ { "from": "human", "value": "Replace environment variables in `stdin` and output to `stdout`" }, { "from": "gpt", "value": "echo '$HOME' | envsubst" } ]
[ { "from": "human", "value": "Replace environment variables in an input file and output to `stdout`" }, { "from": "gpt", "value": "envsubst < path/to/input_file" } ]
[ { "from": "human", "value": "Replace environment variables in an input file and output to a file" }, { "from": "gpt", "value": "envsubst < path/to/input_file > path/to/output_file" } ]
[ { "from": "human", "value": "Replace environment variables in an input file from a space-separated list" }, { "from": "gpt", "value": "envsubst '$USER $SHELL $HOME' < path/to/input_file" } ]
[ { "from": "human", "value": "Convert a YBM image file to PBM" }, { "from": "gpt", "value": "ybmtopbm path/to/input_file.ybm > path/to/output_file.pbm" } ]
[ { "from": "human", "value": "Run a `doctl databases` command with an access token" }, { "from": "gpt", "value": "doctl databases command --access-token access_token" } ]
[ { "from": "human", "value": "Get details for a database cluster" }, { "from": "gpt", "value": "doctl databases get" } ]
[ { "from": "human", "value": "List your database clusters" }, { "from": "gpt", "value": "doctl databases list" } ]
[ { "from": "human", "value": "Create a database cluster" }, { "from": "gpt", "value": "doctl databases create database_name" } ]
[ { "from": "human", "value": "Delete a cluster" }, { "from": "gpt", "value": "doctl databases delete database_id" } ]
[ { "from": "human", "value": "Generate a rainbow consisting of the specified colors" }, { "from": "gpt", "value": "ppmrainbow color1 color2 ... > path/to/output_file.ppm" } ]
[ { "from": "human", "value": "Specify the size of the output in pixels" }, { "from": "gpt", "value": "ppmrainbow [-w|-width] width [-h|-height] height color1 color2 ... > path/to/output_file.ppm" } ]
[ { "from": "human", "value": "End the rainbow with the last color specified, do not repeat the first color" }, { "from": "gpt", "value": "ppmrainbow [-n|-norepeat] color1 color2 ... > path/to/output_file.ppm" } ]
[ { "from": "human", "value": "Create a new p5 collection" }, { "from": "gpt", "value": "p5 new collection_name" } ]
[ { "from": "human", "value": "Generate a new p5 project (should be run from collection directory)" }, { "from": "gpt", "value": "p5 generate project_name" } ]
[ { "from": "human", "value": "Run the p5 manager server" }, { "from": "gpt", "value": "p5 server" } ]
[ { "from": "human", "value": "Update libraries to their latest versions" }, { "from": "gpt", "value": "p5 update" } ]
[ { "from": "human", "value": "Start and manage all services in a directory as the current user" }, { "from": "gpt", "value": "runsvdir path/to/services" } ]
[ { "from": "human", "value": "Start and manage all services in a directory as root" }, { "from": "gpt", "value": "sudo runsvdir path/to/services" } ]
[ { "from": "human", "value": "Start services in separate sessions" }, { "from": "gpt", "value": "runsvdir -P path/to/services" } ]
[ { "from": "human", "value": "Convert an XV thumbnail image file to PPM" }, { "from": "gpt", "value": "xvminitoppm path/to/input_file > path/to/output_file.ppm" } ]