conversations
listlengths
2
2
[ { "from": "human", "value": "Generate code for all template instantiations" }, { "from": "gpt", "value": "dmd -allinst" } ]
[ { "from": "human", "value": "Control bounds checking" }, { "from": "gpt", "value": "dmd -boundscheck=on|safeonly|off" } ]
[ { "from": "human", "value": "List information on all available checks" }, { "from": "gpt", "value": "dmd -check=h|help|?" } ]
[ { "from": "human", "value": "Turn on colored console output" }, { "from": "gpt", "value": "dmd -color" } ]
[ { "from": "human", "value": "Install or upgrade `git-extras` commands" }, { "from": "gpt", "value": "git extras update" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "git extras --help" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "git extras --version" } ]
[ { "from": "human", "value": "Scale a replica set" }, { "from": "gpt", "value": "kubectl scale --replicas=number_of_replicas rs/replica_name" } ]
[ { "from": "human", "value": "Scale a resource identified by a file" }, { "from": "gpt", "value": "kubectl scale --replicas=number_of_replicas -f path/to/file.yml" } ]
[ { "from": "human", "value": "Scale a deployment based on current number of replicas" }, { "from": "gpt", "value": "kubectl scale --current-replicas=current_replicas --replicas=number_of_replicas deployment/deployment_name" } ]
[ { "from": "human", "value": "Rotate a PNM image by some angle (measured in degrees, counter-clockwise)" }, { "from": "gpt", "value": "pnmrotate angle path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Specify the background color exposed by rotating the input image" }, { "from": "gpt", "value": "pnmrotate [-b|-background] color angle path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Disable anti-aliasing, improving performance but decreasing quality" }, { "from": "gpt", "value": "pnmrotate [-n|-noantialias] angle path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "List AKS clusters" }, { "from": "gpt", "value": "az aks list --resource-group resource_group" } ]
[ { "from": "human", "value": "Create a new AKS cluster" }, { "from": "gpt", "value": "az aks create --resource-group resource_group --name name --node-count count --node-vm-size size" } ]
[ { "from": "human", "value": "Delete an AKS cluster" }, { "from": "gpt", "value": "az aks delete --resource-group resource_group --name name" } ]
[ { "from": "human", "value": "Get the access credentials for an AKS cluster" }, { "from": "gpt", "value": "az aks get-credentials --resource-group resource_group --name name" } ]
[ { "from": "human", "value": "Get the upgrade versions available for an AKS cluster" }, { "from": "gpt", "value": "az aks get-upgrades --resource-group resource_group --name name" } ]
[ { "from": "human", "value": "Download/Update all packages specified in `pubspec.yaml`" }, { "from": "gpt", "value": "flutter pub get" } ]
[ { "from": "human", "value": "Add a package dependency to an app" }, { "from": "gpt", "value": "flutter pub add package1 package2 ..." } ]
[ { "from": "human", "value": "Remove a package dependency from an app" }, { "from": "gpt", "value": "flutter pub remove package1 package2 ..." } ]
[ { "from": "human", "value": "Upgrade to the highest version of a package that is allowed by `pubspec.yaml`" }, { "from": "gpt", "value": "flutter pub upgrade package" } ]
[ { "from": "human", "value": "Save all records (in a separate file) up to the last intact one" }, { "from": "gpt", "value": "sc_wartsfix path/to/file1.warts path/to/file2.warts ..." } ]
[ { "from": "human", "value": "Convert a PPM image to a NEO file" }, { "from": "gpt", "value": "ppmtoneo path/to/file.ppm > path/to/file.neo" } ]
[ { "from": "human", "value": "Generate `compile_commands.json` by running a build command" }, { "from": "gpt", "value": "bear -- make" } ]
[ { "from": "human", "value": "Generate compilation database with a custom output file name" }, { "from": "gpt", "value": "bear --output path/to/compile_commands.json -- make" } ]
[ { "from": "human", "value": "Append results to an existing `compile_commands.json` file" }, { "from": "gpt", "value": "bear --append -- make" } ]
[ { "from": "human", "value": "Run in verbose mode to get detailed output" }, { "from": "gpt", "value": "bear --verbose -- make" } ]
[ { "from": "human", "value": "Force `bear` to use the preload method for command interception" }, { "from": "gpt", "value": "bear --force-preload -- make" } ]
[ { "from": "human", "value": "List VMs" }, { "from": "gpt", "value": "limactl list" } ]
[ { "from": "human", "value": "Create a VM using the default settings and optionally provide a name and/or a template (see `limactl create --list-templates` for available templates)" }, { "from": "gpt", "value": "limactl create --name vm_name template://debian|fedora|ubuntu|…" } ]
[ { "from": "human", "value": "Start a VM (this might install some dependencies in it and take a few minutes)" }, { "from": "gpt", "value": "limactl start vm_name" } ]
[ { "from": "human", "value": "Open a remote shell inside a VM" }, { "from": "gpt", "value": "limactl shell vm_name" } ]
[ { "from": "human", "value": "Run a command inside a VM" }, { "from": "gpt", "value": "limactl shell vm_name command" } ]
[ { "from": "human", "value": "Stop/shutdown a VM" }, { "from": "gpt", "value": "limactl stop vm_name" } ]
[ { "from": "human", "value": "Delete a VM" }, { "from": "gpt", "value": "limactl remove vm_name" } ]
[ { "from": "human", "value": "View documentation for `sfdk emulator install`" }, { "from": "gpt", "value": "tldr sfdk emulator install" } ]
[ { "from": "human", "value": "Download a specific Docker image" }, { "from": "gpt", "value": "docker pull image:tag" } ]
[ { "from": "human", "value": "Download a specific Docker image in quiet mode" }, { "from": "gpt", "value": "docker pull [-q|--quiet] image:tag" } ]
[ { "from": "human", "value": "Download all tags of a specific Docker image" }, { "from": "gpt", "value": "docker pull [-a|--all-tags] image" } ]
[ { "from": "human", "value": "Download a Docker images for a specific platform, e.g. linux/amd64" }, { "from": "gpt", "value": "docker pull --platform linux/amd64 image:tag" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "docker pull [-h|--help]" } ]
[ { "from": "human", "value": "Start DockerSlim on interactive mode" }, { "from": "gpt", "value": "docker-slim" } ]
[ { "from": "human", "value": "Analyze Docker layers from a specific image" }, { "from": "gpt", "value": "docker-slim xray --target image:tag" } ]
[ { "from": "human", "value": "Lint a Dockerfile" }, { "from": "gpt", "value": "docker-slim lint --target path/to/Dockerfile" } ]
[ { "from": "human", "value": "Analyze and generate an optimized Docker image" }, { "from": "gpt", "value": "docker-slim build image:tag" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "docker-slim subcommand --help" } ]
[ { "from": "human", "value": "Convert a PNM image to a CMYK encoded TIFF" }, { "from": "gpt", "value": "pnmtotiffcmyk path/to/input_file.pnm > path/to/output_file.tiff" } ]
[ { "from": "human", "value": "Specify the TIFF compression method" }, { "from": "gpt", "value": "pnmtotiffcmyk -none|packbits|lzw path/to/input_file.pnm > path/to/output_file.tiff" } ]
[ { "from": "human", "value": "Control the fill order" }, { "from": "gpt", "value": "pnmtotiffcmyk -msb2lsb|lsb2msb path/to/input_file.pnm > path/to/output_file.tiff" } ]
[ { "from": "human", "value": "Log into a Gitea server" }, { "from": "gpt", "value": "tea login add --name \"name\" --url \"url\" --token \"token\"" } ]
[ { "from": "human", "value": "Display all repositories" }, { "from": "gpt", "value": "tea repos ls" } ]
[ { "from": "human", "value": "Display a list of issues" }, { "from": "gpt", "value": "tea issues ls" } ]
[ { "from": "human", "value": "Display a list of issues for a specific repository" }, { "from": "gpt", "value": "tea issues ls --repo \"repository\"" } ]
[ { "from": "human", "value": "Create a new issue" }, { "from": "gpt", "value": "tea issues create --title \"title\" --body \"body\"" } ]
[ { "from": "human", "value": "Display a list of open pull requests" }, { "from": "gpt", "value": "tea pulls ls" } ]
[ { "from": "human", "value": "Open the current repository in a browser" }, { "from": "gpt", "value": "tea open" } ]
[ { "from": "human", "value": "Reformat all `.scala` files in the current directory recursively" }, { "from": "gpt", "value": "scalafmt" } ]
[ { "from": "human", "value": "Reformat specific files or directories with a custom formatting configuration" }, { "from": "gpt", "value": "scalafmt --config path/to/.scalafmt.conf path/to/file_or_directory path/to/file_or_directory ..." } ]
[ { "from": "human", "value": "Check if files are correctly formatted, returning `0` if all files respect the formatting style" }, { "from": "gpt", "value": "scalafmt --config path/to/.scalafmt.conf --test" } ]
[ { "from": "human", "value": "Exclude files or directories" }, { "from": "gpt", "value": "scalafmt --exclude path/to/file_or_directory ..." } ]
[ { "from": "human", "value": "Format only files that were edited against the current Git branch" }, { "from": "gpt", "value": "scalafmt --config path/to/.scalafmt.conf --mode diff" } ]
[ { "from": "human", "value": "Execute a `gcrane` subcommand" }, { "from": "gpt", "value": "gcrane subcommand" } ]
[ { "from": "human", "value": "Allow pushing non-distributable (foreign) layers" }, { "from": "gpt", "value": "gcrane --allow-nondistributable-artifacts subcommand" } ]
[ { "from": "human", "value": "Allow image references to be fetched without TLS" }, { "from": "gpt", "value": "gcrane --insecure subcommand" } ]
[ { "from": "human", "value": "Specify the platform in the form os/arch{{/variant}}{{:osversion}} (e.g. linux/amd64). (default all)" }, { "from": "gpt", "value": "gcrane --platform platform subcommand" } ]
[ { "from": "human", "value": "Enable debug logs" }, { "from": "gpt", "value": "gcrane [-v|--verbose] subcommand" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gcrane [-h|--help]" } ]
[ { "from": "human", "value": "Enter the gitsome shell (optional), to enable autocompletion and interactive help for Git (and gh) commands" }, { "from": "gpt", "value": "gitsome" } ]
[ { "from": "human", "value": "Setup GitHub integration with the current account" }, { "from": "gpt", "value": "gh configure" } ]
[ { "from": "human", "value": "List notifications for the current account (as would be seen in <https://github.com/notifications>)" }, { "from": "gpt", "value": "gh notifications" } ]
[ { "from": "human", "value": "List the current account's starred repos, filtered by a given search string" }, { "from": "gpt", "value": "gh starred \"python 3\"" } ]
[ { "from": "human", "value": "View the recent activity feed of a given GitHub repository" }, { "from": "gpt", "value": "gh feed tldr-pages/tldr" } ]
[ { "from": "human", "value": "View the recent activity feed for a given GitHub user, using the default pager (e.g. `less`)" }, { "from": "gpt", "value": "gh feed torvalds -p" } ]
[ { "from": "human", "value": "Create and switch to a new feature branch" }, { "from": "gpt", "value": "git feature feature_branch" } ]
[ { "from": "human", "value": "Merge a feature branch into the current branch creating a merge commit" }, { "from": "gpt", "value": "git feature finish feature_branch" } ]
[ { "from": "human", "value": "Merge a feature branch into the current branch squashing the changes into one commit" }, { "from": "gpt", "value": "git feature finish --squash feature_branch" } ]
[ { "from": "human", "value": "Send changes from a specific feature branch to its remote counterpart" }, { "from": "gpt", "value": "git feature feature_branch --remote remote_name" } ]
[ { "from": "human", "value": "Recognize text in an image and save it to `output.txt` (the `.txt` extension is added automatically)" }, { "from": "gpt", "value": "tesseract image.png output" } ]
[ { "from": "human", "value": "Specify a custom language (default is English) with an ISO 639-2 code (e.g. deu = Deutsch = German)" }, { "from": "gpt", "value": "tesseract -l deu image.png output" } ]
[ { "from": "human", "value": "List the ISO 639-2 codes of available languages" }, { "from": "gpt", "value": "tesseract --list-langs" } ]
[ { "from": "human", "value": "Specify a custom page segmentation mode (default is 3)" }, { "from": "gpt", "value": "tesseract --psm 0_to_10 image.png output" } ]
[ { "from": "human", "value": "List page segmentation modes and their descriptions" }, { "from": "gpt", "value": "tesseract --help-psm" } ]
[ { "from": "human", "value": "Create TSLint config" }, { "from": "gpt", "value": "tslint --init" } ]
[ { "from": "human", "value": "Lint on a given set of files" }, { "from": "gpt", "value": "tslint path/to/file1.js path/to/file2.js ..." } ]
[ { "from": "human", "value": "Fix lint issues" }, { "from": "gpt", "value": "tslint --fix" } ]
[ { "from": "human", "value": "Lint with the configuration file in the project root" }, { "from": "gpt", "value": "tslint --project path/to/project_root" } ]
[ { "from": "human", "value": "Tag a Git repo and signing the resulting link file" }, { "from": "gpt", "value": "in-toto-run -n tag --products . -k key_file -- git tag v1.0" } ]
[ { "from": "human", "value": "Create a tarball, storing files as materials and the tarball as product" }, { "from": "gpt", "value": "in-toto-run -n package -m project -p project.tar.gz -- tar czf project.tar.gz project" } ]
[ { "from": "human", "value": "Generate signed attestations for review work" }, { "from": "gpt", "value": "in-toto-run -n review -k key_file -m document.pdf -x" } ]
[ { "from": "human", "value": "Scan the image using Trivy and generate link file" }, { "from": "gpt", "value": "in-toto-run -n scan -k key_file -p report.json -- /bin/sh -c \"trivy -o report.json -f json <IMAGE>\"" } ]
[ { "from": "human", "value": "Run a Go file" }, { "from": "gpt", "value": "go run path/to/file.go" } ]
[ { "from": "human", "value": "Run a main Go package" }, { "from": "gpt", "value": "go run path/to/package" } ]
[ { "from": "human", "value": "Run tests with default configuration or as configured in `mocha.opts`" }, { "from": "gpt", "value": "mocha" } ]
[ { "from": "human", "value": "Run tests contained at a specific location" }, { "from": "gpt", "value": "mocha directory/with/tests" } ]
[ { "from": "human", "value": "Run tests that match a specific `grep` pattern" }, { "from": "gpt", "value": "mocha --grep regular_expression" } ]
[ { "from": "human", "value": "Run tests on changes to JavaScript files in the current directory and once initially" }, { "from": "gpt", "value": "mocha --watch" } ]
[ { "from": "human", "value": "Run tests with a specific reporter" }, { "from": "gpt", "value": "mocha --reporter reporter" } ]
[ { "from": "human", "value": "Start an interactive `yacas` session" }, { "from": "gpt", "value": "yacas" } ]
[ { "from": "human", "value": "While in a `yacas` session, execute a statement" }, { "from": "gpt", "value": "Integrate(x)Cos(x);" } ]