conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Show column names"
},
{
"from": "gpt",
"value": "trawl -n"
}
] |
[
{
"from": "human",
"value": "Filter interface names using a case-insensitive regular expression"
},
{
"from": "gpt",
"value": "trawl -f wi"
}
] |
[
{
"from": "human",
"value": "List available interfaces"
},
{
"from": "gpt",
"value": "trawl -i"
}
] |
[
{
"from": "human",
"value": "Include the loopback interface"
},
{
"from": "gpt",
"value": "trawl -l"
}
] |
[
{
"from": "human",
"value": "Remove file from repository index and filesystem"
},
{
"from": "gpt",
"value": "git rm path/to/file"
}
] |
[
{
"from": "human",
"value": "Remove directory"
},
{
"from": "gpt",
"value": "git rm -r path/to/directory"
}
] |
[
{
"from": "human",
"value": "Remove file from repository index but keep it untouched locally"
},
{
"from": "gpt",
"value": "git rm --cached path/to/file"
}
] |
[
{
"from": "human",
"value": "Start imerge-based rebase (checkout the branch to be rebased, first)"
},
{
"from": "gpt",
"value": "git imerge rebase branch_to_rebase_onto"
}
] |
[
{
"from": "human",
"value": "Start imerge-based merge (checkout the branch to merge into, first)"
},
{
"from": "gpt",
"value": "git imerge merge branch_to_be_merged"
}
] |
[
{
"from": "human",
"value": "Show ASCII diagram of in-progress merge or rebase"
},
{
"from": "gpt",
"value": "git imerge diagram"
}
] |
[
{
"from": "human",
"value": "Continue imerge operation after resolving conflicts (`git add` the conflicted files, first)"
},
{
"from": "gpt",
"value": "git imerge continue --no-edit"
}
] |
[
{
"from": "human",
"value": "Wrap up imerge operation, after all conflicts are resolved"
},
{
"from": "gpt",
"value": "git imerge finish"
}
] |
[
{
"from": "human",
"value": "Abort imerge operation, and return to the previous branch"
},
{
"from": "gpt",
"value": "git-imerge remove && git checkout previous_branch"
}
] |
[
{
"from": "human",
"value": "Create a cluster from the configuration specification"
},
{
"from": "gpt",
"value": "kops create cluster -f cluster_name.yaml"
}
] |
[
{
"from": "human",
"value": "Create a new SSH public key"
},
{
"from": "gpt",
"value": "kops create secret sshpublickey key_name -i ~/.ssh/id_rsa.pub"
}
] |
[
{
"from": "human",
"value": "Export the cluster configuration to the `~/.kube/config` file"
},
{
"from": "gpt",
"value": "kops export kubecfg cluster_name"
}
] |
[
{
"from": "human",
"value": "Get the cluster configuration as YAML"
},
{
"from": "gpt",
"value": "kops get cluster cluster_name -o yaml"
}
] |
[
{
"from": "human",
"value": "Delete a cluster"
},
{
"from": "gpt",
"value": "kops delete cluster cluster_name --yes"
}
] |
[
{
"from": "human",
"value": "Validate a cluster"
},
{
"from": "gpt",
"value": "kops validate cluster cluster_name --wait wait_time_until_ready --count num_required_validations"
}
] |
[
{
"from": "human",
"value": "Start listening on a specific port"
},
{
"from": "gpt",
"value": "rc -lp port"
}
] |
[
{
"from": "human",
"value": "Start a reverse shell"
},
{
"from": "gpt",
"value": "rc host port -r shell"
}
] |
[
{
"from": "human",
"value": "List all environments"
},
{
"from": "gpt",
"value": "pulumi env ls"
}
] |
[
{
"from": "human",
"value": "Create an environment"
},
{
"from": "gpt",
"value": "pulumi env init environment_name"
}
] |
[
{
"from": "human",
"value": "Set a value in an environment"
},
{
"from": "gpt",
"value": "pulumi env set environment_name key value"
}
] |
[
{
"from": "human",
"value": "Edit an environment definition"
},
{
"from": "gpt",
"value": "pulumi env edit environment_name"
}
] |
[
{
"from": "human",
"value": "Delete a value from an environment"
},
{
"from": "gpt",
"value": "pulumi env rm environment_name key"
}
] |
[
{
"from": "human",
"value": "Delete an environment entirely"
},
{
"from": "gpt",
"value": "pulumi env rm environment_name"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pulumi env --help"
}
] |
[
{
"from": "human",
"value": "Lint a Dockerfile"
},
{
"from": "gpt",
"value": "hadolint path/to/Dockerfile"
}
] |
[
{
"from": "human",
"value": "Lint a Dockerfile, displaying the output in JSON format"
},
{
"from": "gpt",
"value": "hadolint --format json path/to/Dockerfile"
}
] |
[
{
"from": "human",
"value": "Lint a Dockerfile, displaying the output in a specific format"
},
{
"from": "gpt",
"value": "hadolint --format tty|json|checkstyle|codeclimate|codacy path/to/Dockerfile"
}
] |
[
{
"from": "human",
"value": "Lint a Dockerfile ignoring specific rules"
},
{
"from": "gpt",
"value": "hadolint --ignore DL3006 --ignore DL3008 path/to/Dockerfile"
}
] |
[
{
"from": "human",
"value": "Lint multiple Dockerfiles using specific trusted registries"
},
{
"from": "gpt",
"value": "hadolint --trusted-registry docker.io --trusted-registry example.com:5000 path/to/Dockerfile1 path/to/Dockerfile2 ..."
}
] |
[
{
"from": "human",
"value": "Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory"
},
{
"from": "gpt",
"value": "cmake path/to/project_directory"
}
] |
[
{
"from": "human",
"value": "Generate a build recipe, with build type set to `Release` with CMake variable"
},
{
"from": "gpt",
"value": "cmake path/to/project_directory -D CMAKE_BUILD_TYPE=Release"
}
] |
[
{
"from": "human",
"value": "Generate a build recipe using `generator_name` as the underlying build system"
},
{
"from": "gpt",
"value": "cmake -G generator_name path/to/project_directory"
}
] |
[
{
"from": "human",
"value": "Use a generated recipe in a given directory to build artifacts"
},
{
"from": "gpt",
"value": "cmake --build path/to/build_directory"
}
] |
[
{
"from": "human",
"value": "Install the build artifacts into `/usr/local/` and strip debugging symbols"
},
{
"from": "gpt",
"value": "cmake --install path/to/build_directory --strip"
}
] |
[
{
"from": "human",
"value": "Install the build artifacts using the custom prefix for paths"
},
{
"from": "gpt",
"value": "cmake --install path/to/build_directory --strip --prefix path/to/directory"
}
] |
[
{
"from": "human",
"value": "Run a custom build target"
},
{
"from": "gpt",
"value": "cmake --build path/to/build_directory --target target_name"
}
] |
[
{
"from": "human",
"value": "Display help, obtain a list of generators"
},
{
"from": "gpt",
"value": "cmake --help"
}
] |
[
{
"from": "human",
"value": "Change file permissions"
},
{
"from": "gpt",
"value": "yadm perms"
}
] |
[
{
"from": "human",
"value": "Decompress a JPEG XL image to another format"
},
{
"from": "gpt",
"value": "djxl path/to/image.jxl path/to/output.ext"
}
] |
[
{
"from": "human",
"value": "Display an extremely detailed help page"
},
{
"from": "gpt",
"value": "djxl [-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]"
}
] |
[
{
"from": "human",
"value": "Extract elements from an XML document (producing XPATH expressions)"
},
{
"from": "gpt",
"value": "xml elements path/to/input.xml|URI > path/to/elements.xpath"
}
] |
[
{
"from": "human",
"value": "Extract elements and their attributes from an XML document"
},
{
"from": "gpt",
"value": "xml elements -a path/to/input.xml|URI > path/to/elements.xpath"
}
] |
[
{
"from": "human",
"value": "Extract elements and their attributes and values from an XML document"
},
{
"from": "gpt",
"value": "xml elements -v path/to/input.xml|URI > path/to/elements.xpath"
}
] |
[
{
"from": "human",
"value": "Print sorted unique elements from an XML document to see its structure"
},
{
"from": "gpt",
"value": "xml elements -u path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Print sorted unique elements from an XML document up to a depth of 3"
},
{
"from": "gpt",
"value": "xml elements -d3 path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "xml elements --help"
}
] |
[
{
"from": "human",
"value": "Grant a user access to a resource"
},
{
"from": "gpt",
"value": "pio access grant guest|maintainer|admin username resource_urn"
}
] |
[
{
"from": "human",
"value": "Remove a user's access to a resource"
},
{
"from": "gpt",
"value": "pio access revoke username resource_urn"
}
] |
[
{
"from": "human",
"value": "Show all resources that a user or team has access to and the access level"
},
{
"from": "gpt",
"value": "pio access list username"
}
] |
[
{
"from": "human",
"value": "Restrict access to a resource to specific users or team members"
},
{
"from": "gpt",
"value": "pio access private resource_urn"
}
] |
[
{
"from": "human",
"value": "Allow all users access to a resource"
},
{
"from": "gpt",
"value": "pio access public resource_urn"
}
] |
[
{
"from": "human",
"value": "Calculate default CRC32 digests of a file"
},
{
"from": "gpt",
"value": "rhash path/to/file"
}
] |
[
{
"from": "human",
"value": "Recursively process a directory to generate an SFV file using SHA1"
},
{
"from": "gpt",
"value": "rhash --sha1 --recursive path/to/folder > path/to/output.sfv"
}
] |
[
{
"from": "human",
"value": "Verify the integrity of files based on an SFV file"
},
{
"from": "gpt",
"value": "rhash --check path/to/file.sfv"
}
] |
[
{
"from": "human",
"value": "Calculate the SHA3 digest of a text message"
},
{
"from": "gpt",
"value": "rhash --sha3-256 --message 'message'"
}
] |
[
{
"from": "human",
"value": "Calculate CRC32 digest of a file and output digest encoded in base64 using BSD format"
},
{
"from": "gpt",
"value": "rhash --base64 --bsd path/to/file"
}
] |
[
{
"from": "human",
"value": "Use custom output template"
},
{
"from": "gpt",
"value": "rhash --printf '%p\\t%s\\t%{mtime}\\t%m\\n' path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the current date using the default locale's format"
},
{
"from": "gpt",
"value": "date +%c"
}
] |
[
{
"from": "human",
"value": "Display the current date in UTC, using the ISO 8601 format"
},
{
"from": "gpt",
"value": "date [-u|--utc] +%Y-%m-%dT%H:%M:%S%Z"
}
] |
[
{
"from": "human",
"value": "Display the current date as a Unix timestamp (seconds since the Unix epoch)"
},
{
"from": "gpt",
"value": "date +%s"
}
] |
[
{
"from": "human",
"value": "Convert a date specified as a Unix timestamp to the default format"
},
{
"from": "gpt",
"value": "date [-d|--date] @1473305798"
}
] |
[
{
"from": "human",
"value": "Convert a given date to the Unix timestamp format"
},
{
"from": "gpt",
"value": "date [-d|--date] \"2018-09-01 00:00\" +%s [-u|--utc]"
}
] |
[
{
"from": "human",
"value": "Display the current date using the RFC-3339 format (`YYYY-MM-DD hh:mm:ss TZ`)"
},
{
"from": "gpt",
"value": "date --rfc-3339 s"
}
] |
[
{
"from": "human",
"value": "Set the current date using the format `MMDDhhmmYYYY.ss` (`YYYY` and `.ss` are optional)"
},
{
"from": "gpt",
"value": "date 093023592021.59"
}
] |
[
{
"from": "human",
"value": "Display the current ISO week number"
},
{
"from": "gpt",
"value": "date +%V"
}
] |
[
{
"from": "human",
"value": "Push local image to remote registry"
},
{
"from": "gpt",
"value": "crane push path/to/tarball image_name"
}
] |
[
{
"from": "human",
"value": "Path to file with list of published image references"
},
{
"from": "gpt",
"value": "crane push path/to/tarball image_name --image-refs path/to/filename"
}
] |
[
{
"from": "human",
"value": "Push a collection of images as a single index (required if path has multiple images)"
},
{
"from": "gpt",
"value": "crane push path/to/tarball image_name --index"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "crane push [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Convert a HP ThinkJet printer commands file to a PBM file"
},
{
"from": "gpt",
"value": "thinkjettopbm path/to/input > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Print debug information to `stderr`"
},
{
"from": "gpt",
"value": "thinkjettopbm [-d|-debug] path/to/input > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Initialize a project with a skeleton configuration"
},
{
"from": "gpt",
"value": "wrangler init project_name"
}
] |
[
{
"from": "human",
"value": "Authenticate with Cloudflare"
},
{
"from": "gpt",
"value": "wrangler login"
}
] |
[
{
"from": "human",
"value": "Start a local development server"
},
{
"from": "gpt",
"value": "wrangler dev --host hostname"
}
] |
[
{
"from": "human",
"value": "Publish the worker script"
},
{
"from": "gpt",
"value": "wrangler publish"
}
] |
[
{
"from": "human",
"value": "Aggregate logs from the production worker"
},
{
"from": "gpt",
"value": "wrangler tail"
}
] |
[
{
"from": "human",
"value": "Print input"
},
{
"from": "gpt",
"value": "print \"Hello\" \"World\""
}
] |
[
{
"from": "human",
"value": "Print separated by newline(s)"
},
{
"from": "gpt",
"value": "print -l \"Line1\" \"Line 2\" \"Line3\""
}
] |
[
{
"from": "human",
"value": "Print without trailing newline"
},
{
"from": "gpt",
"value": "print -n \"Hello\"; print \"World\""
}
] |
[
{
"from": "human",
"value": "Enable backslash escapes"
},
{
"from": "gpt",
"value": "print -e \"Line 1\\nLine2\""
}
] |
[
{
"from": "human",
"value": "Print arguments as described by `printf` (for greater portability across shells, consider using the `printf` command instead)"
},
{
"from": "gpt",
"value": "print -f \"%s is %d years old.\\n\" \"Alice\" 30"
}
] |
[
{
"from": "human",
"value": "Install pre-commit into your Git hooks"
},
{
"from": "gpt",
"value": "pre-commit install"
}
] |
[
{
"from": "human",
"value": "Run pre-commit hooks on all staged files"
},
{
"from": "gpt",
"value": "pre-commit run"
}
] |
[
{
"from": "human",
"value": "Run pre-commit hooks on all files, staged or unstaged"
},
{
"from": "gpt",
"value": "pre-commit run --all-files"
}
] |
[
{
"from": "human",
"value": "Clean pre-commit cache"
},
{
"from": "gpt",
"value": "pre-commit clean"
}
] |
[
{
"from": "human",
"value": "Update pre-commit config file to the latest repos' versions"
},
{
"from": "gpt",
"value": "pre-commit autoupdate"
}
] |
[
{
"from": "human",
"value": "Clone a GitLab repository locally"
},
{
"from": "gpt",
"value": "glab repo clone owner/repository"
}
] |
[
{
"from": "human",
"value": "Create a new issue"
},
{
"from": "gpt",
"value": "glab issue create"
}
] |
[
{
"from": "human",
"value": "View and filter the open issues of the current repository"
},
{
"from": "gpt",
"value": "glab issue list"
}
] |
[
{
"from": "human",
"value": "View an issue in the default browser"
},
{
"from": "gpt",
"value": "glab issue view --web issue_number"
}
] |
[
{
"from": "human",
"value": "Create a merge request"
},
{
"from": "gpt",
"value": "glab mr create"
}
] |
[
{
"from": "human",
"value": "View a pull request in the default web browser"
},
{
"from": "gpt",
"value": "glab mr view --web pr_number"
}
] |
[
{
"from": "human",
"value": "Check out a specific pull request locally"
},
{
"from": "gpt",
"value": "glab mr checkout pr_number"
}
] |
[
{
"from": "human",
"value": "Build all targets"
},
{
"from": "gpt",
"value": "dune build"
}
] |
[
{
"from": "human",
"value": "Clean up the workspace"
},
{
"from": "gpt",
"value": "dune clean"
}
] |
[
{
"from": "human",
"value": "Run all tests"
},
{
"from": "gpt",
"value": "dune runtest"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.