conversations
listlengths
2
2
[ { "from": "human", "value": "Re-compile on every modification to a file" }, { "from": "gpt", "value": "v watch path/to/file.v" } ]
[ { "from": "human", "value": "Re-run on every modification to a file" }, { "from": "gpt", "value": "v watch run path/to/file.v" } ]
[ { "from": "human", "value": "Open the v repl" }, { "from": "gpt", "value": "v repl" } ]
[ { "from": "human", "value": "Format a file and [w]rite to it" }, { "from": "gpt", "value": "v fmt -w path/to/file.v" } ]
[ { "from": "human", "value": "Add a border of the specified size to a PNM image" }, { "from": "gpt", "value": "pnmmargin size path/to/image.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Specify the color of the border" }, { "from": "gpt", "value": "pnmmargin [-c|-color] color size path/to/image.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Start an interactive shell session" }, { "from": "gpt", "value": "fish" } ]
[ { "from": "human", "value": "Start an interactive shell session without loading startup configs" }, { "from": "gpt", "value": "fish --no-config" } ]
[ { "from": "human", "value": "Execute specific commands" }, { "from": "gpt", "value": "fish --command \"echo 'fish is executed'\"" } ]
[ { "from": "human", "value": "Execute a specific script" }, { "from": "gpt", "value": "fish path/to/script.fish" } ]
[ { "from": "human", "value": "Check a specific script for syntax errors" }, { "from": "gpt", "value": "fish --no-execute path/to/script.fish" } ]
[ { "from": "human", "value": "Execute specific commands from `stdin`" }, { "from": "gpt", "value": "echo \"echo 'fish is executed'\" | fish" } ]
[ { "from": "human", "value": "Start an interactive shell session in private mode, where the shell does not access old history or save new history" }, { "from": "gpt", "value": "fish --private" } ]
[ { "from": "human", "value": "Define and export an environmental variable that persists across shell restarts (builtin)" }, { "from": "gpt", "value": "set --universal --export variable_name variable_value" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "docker inspect" } ]
[ { "from": "human", "value": "Display information about a container, image, or volume using a name or ID" }, { "from": "gpt", "value": "docker inspect container|image|ID" } ]
[ { "from": "human", "value": "Display a container's IP address" }, { "from": "gpt", "value": "docker inspect --format '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container" } ]
[ { "from": "human", "value": "Display the path to the container's log file" }, { "from": "gpt", "value": "docker inspect --format='{{.LogPath}}' container" } ]
[ { "from": "human", "value": "Display the image name of the container" }, { "from": "gpt", "value": "docker inspect --format='{{.Config.Image}}' container" } ]
[ { "from": "human", "value": "Display the configuration information as JSON" }, { "from": "gpt", "value": "docker inspect --format='{{json .Config}}' container" } ]
[ { "from": "human", "value": "Display all port bindings" }, { "from": "gpt", "value": "docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}} {{$p}} -> {{(index $conf 0).HostPort}} {{end}}' container" } ]
[ { "from": "human", "value": "Commit changes with a generated message" }, { "from": "gpt", "value": "git magic" } ]
[ { "from": "human", "value": "[a]dd untracked files and commit changes with a generated message" }, { "from": "gpt", "value": "git magic -a" } ]
[ { "from": "human", "value": "Commit changes with a custom [m]essage" }, { "from": "gpt", "value": "git magic -m \"custom_commit_message\"" } ]
[ { "from": "human", "value": "[e]dit the commit [m]essage before committing" }, { "from": "gpt", "value": "git magic -em \"custom_commit_message\"" } ]
[ { "from": "human", "value": "Commit changes and [p]ush to remote" }, { "from": "gpt", "value": "git magic -p" } ]
[ { "from": "human", "value": "Commit changes with a [f]orce [p]ush to remote" }, { "from": "gpt", "value": "git magic -fp" } ]
[ { "from": "human", "value": "Start Krita" }, { "from": "gpt", "value": "krita" } ]
[ { "from": "human", "value": "Open specific files" }, { "from": "gpt", "value": "krita path/to/image1 path/to/image2 ..." } ]
[ { "from": "human", "value": "Start without a splash screen" }, { "from": "gpt", "value": "krita --nosplash" } ]
[ { "from": "human", "value": "Start with a specific workspace" }, { "from": "gpt", "value": "krita --workspace Animation" } ]
[ { "from": "human", "value": "Start in fullscreen mode" }, { "from": "gpt", "value": "krita --fullscreen" } ]
[ { "from": "human", "value": "Login to Hugging Face Hub" }, { "from": "gpt", "value": "huggingface-cli login" } ]
[ { "from": "human", "value": "Display the name of the logged in user" }, { "from": "gpt", "value": "huggingface-cli whoami" } ]
[ { "from": "human", "value": "Log out" }, { "from": "gpt", "value": "huggingface-cli logout" } ]
[ { "from": "human", "value": "Print information about the environment" }, { "from": "gpt", "value": "huggingface-cli env" } ]
[ { "from": "human", "value": "Download files from an repository and print out the path (omit filenames to download entire repository)" }, { "from": "gpt", "value": "huggingface-cli download --repo-type repo_type repo_id filename1 filename2 ..." } ]
[ { "from": "human", "value": "Upload an entire folder or a file to Hugging Face" }, { "from": "gpt", "value": "huggingface-cli upload --repo-type repo_type repo_id path/to/local_file_or_directory path/to/repo_file_or_directory" } ]
[ { "from": "human", "value": "Scan cache to see downloaded repositories and their disk usage" }, { "from": "gpt", "value": "huggingface-cli scan-cache" } ]
[ { "from": "human", "value": "Delete the cache interactively" }, { "from": "gpt", "value": "huggingface-cli delete-cache" } ]
[ { "from": "human", "value": "Print the username of the currently logged in user" }, { "from": "gpt", "value": "pulumi whoami" } ]
[ { "from": "human", "value": "Print detailed information about the currently logged in user" }, { "from": "gpt", "value": "pulumi whoami [-v|--verbose]" } ]
[ { "from": "human", "value": "Print detailed information about the currently logged in user as JSON" }, { "from": "gpt", "value": "pulumi whoami [-j|--json]" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "pulumi whoami [-h|--help]" } ]
[ { "from": "human", "value": "Print all versions of direct dependencies to `stdout`" }, { "from": "gpt", "value": "npm ls" } ]
[ { "from": "human", "value": "Print all installed packages including peer dependencies" }, { "from": "gpt", "value": "npm ls --all" } ]
[ { "from": "human", "value": "Print dependencies with extended information" }, { "from": "gpt", "value": "npm ls --long" } ]
[ { "from": "human", "value": "Print dependencies in parseable format" }, { "from": "gpt", "value": "npm ls --parseable" } ]
[ { "from": "human", "value": "Print dependencies in JSON format" }, { "from": "gpt", "value": "npm ls --json" } ]
[ { "from": "human", "value": "List all secrets" }, { "from": "gpt", "value": "k8sec list" } ]
[ { "from": "human", "value": "List a specific secret as a base64-encoded string" }, { "from": "gpt", "value": "k8sec list secret_name --base64" } ]
[ { "from": "human", "value": "Set a secret's value" }, { "from": "gpt", "value": "k8sec set secret_name key=value" } ]
[ { "from": "human", "value": "Set a base64-encoded value" }, { "from": "gpt", "value": "k8sec set --base64 secret_name key=encoded_value" } ]
[ { "from": "human", "value": "Unset a secret" }, { "from": "gpt", "value": "k8sec unset secret_name" } ]
[ { "from": "human", "value": "Load secrets from a file" }, { "from": "gpt", "value": "k8sec load -f path/to/file secret_name" } ]
[ { "from": "human", "value": "Dump secrets to a file" }, { "from": "gpt", "value": "k8sec dump -f path/to/file secret_name" } ]
[ { "from": "human", "value": "Compile a binary crate" }, { "from": "gpt", "value": "rustc path/to/main.rs" } ]
[ { "from": "human", "value": "Compile with optimizations (`s` means optimize for binary size; `z` is the same with even more optimizations)" }, { "from": "gpt", "value": "rustc -C lto -C opt-level=0|1|2|3|s|z path/to/main.rs" } ]
[ { "from": "human", "value": "Compile with debugging information" }, { "from": "gpt", "value": "rustc -g path/to/main.rs" } ]
[ { "from": "human", "value": "Explain an error message" }, { "from": "gpt", "value": "rustc --explain error_code" } ]
[ { "from": "human", "value": "Compile with architecture-specific optimizations for the current CPU" }, { "from": "gpt", "value": "rustc -C target-cpu=native path/to/main.rs" } ]
[ { "from": "human", "value": "Display the target list (Note: you have to add a target using `rustup` first to be able to compile for it)" }, { "from": "gpt", "value": "rustc --print target-list" } ]
[ { "from": "human", "value": "Compile for a specific target" }, { "from": "gpt", "value": "rustc --target target_triple path/to/main.rs" } ]
[ { "from": "human", "value": "List the custom images under a resource group" }, { "from": "gpt", "value": "az image list --resource-group resource_group" } ]
[ { "from": "human", "value": "Create a custom image from managed disks or snapshots" }, { "from": "gpt", "value": "az image create --resource-group resource_group --name name --os-type windows|linux --source os_disk_source" } ]
[ { "from": "human", "value": "Delete a custom image" }, { "from": "gpt", "value": "az image delete --name name --resource-group resource_group" } ]
[ { "from": "human", "value": "Show details of a custom image" }, { "from": "gpt", "value": "az image show --name name --resource-group resource_group" } ]
[ { "from": "human", "value": "Update custom images" }, { "from": "gpt", "value": "az image update --name name --resource-group resource_group --set property=value" } ]
[ { "from": "human", "value": "Format a single file" }, { "from": "gpt", "value": "uncrustify -f path/to/file.cpp -o path/to/output.cpp" } ]
[ { "from": "human", "value": "Read filenames from `stdin`, and take backups before writing output back to the original filepaths" }, { "from": "gpt", "value": "find . -name \"*.cpp\" | uncrustify -F - --replace" } ]
[ { "from": "human", "value": "Don't make backups (useful if files are under version control)" }, { "from": "gpt", "value": "find . -name \"*.cpp\" | uncrustify -F - --no-backup" } ]
[ { "from": "human", "value": "Use a custom configuration file and write the result to `stdout`" }, { "from": "gpt", "value": "uncrustify -c path/to/uncrustify.cfg -f path/to/file.cpp" } ]
[ { "from": "human", "value": "Explicitly set a configuration variable's value" }, { "from": "gpt", "value": "uncrustify --set option=value" } ]
[ { "from": "human", "value": "Generate a new configuration file" }, { "from": "gpt", "value": "uncrustify --update-config -o path/to/new.cfg" } ]
[ { "from": "human", "value": "View a summary of all the commits made, grouped alphabetically by author name" }, { "from": "gpt", "value": "git shortlog" } ]
[ { "from": "human", "value": "View a summary of all the commits made, sorted by the number of commits made" }, { "from": "gpt", "value": "git shortlog [-n|--numbered]" } ]
[ { "from": "human", "value": "View a summary of all the commits made, grouped by the committer identities (name and email)" }, { "from": "gpt", "value": "git shortlog [-c|--committer]" } ]
[ { "from": "human", "value": "View a summary of the last 5 commits (i.e. specify a revision range)" }, { "from": "gpt", "value": "git shortlog HEAD~5..HEAD" } ]
[ { "from": "human", "value": "View all users, emails and the number of commits in the current branch" }, { "from": "gpt", "value": "git shortlog [-s|--summary] [-n|--numbered] [-e|--email]" } ]
[ { "from": "human", "value": "View all users, emails and the number of commits in all branches" }, { "from": "gpt", "value": "git shortlog [-s|--summary] [-n|--numbered] [-e|--email] --all" } ]
[ { "from": "human", "value": "Scan a subnet or full IPv4 space for a specific TCP port (default: 80)" }, { "from": "gpt", "value": "zmap SUBNETS -p port" } ]
[ { "from": "human", "value": "Scan specific ports or port ranges across a subnet" }, { "from": "gpt", "value": "zmap --target-ports port1,port2-port3,... SUBNETS" } ]
[ { "from": "human", "value": "Output results to a CSV file with custom fields" }, { "from": "gpt", "value": "zmap [-o|--output-file] path/to/output_file.csv [-f|--output-fields] \"saddr,daddr,sport,dport\" SUBNETS" } ]
[ { "from": "human", "value": "Limit the scan rate to a specific number of packets per second" }, { "from": "gpt", "value": "zmap [-r|--rate] packets_per_second SUBNETS" } ]
[ { "from": "human", "value": "Perform a dry run without sending packets" }, { "from": "gpt", "value": "zmap [-d|--dryrun] SUBNETS" } ]
[ { "from": "human", "value": "Exclude subnets using a blocklist file in CIDR notation" }, { "from": "gpt", "value": "zmap [-b|--blocklist-file] path/to/blocklist.txt SUBNETS" } ]
[ { "from": "human", "value": "Set a specific source IP for scan packets" }, { "from": "gpt", "value": "zmap [-S|--source-ip] source_ip SUBNETS" } ]
[ { "from": "human", "value": "Cap the number/percentage of targets to probe (e.g. 1000 IP/port pairs)" }, { "from": "gpt", "value": "zmap [-n|--max-targets] 1000 SUBNETS [-p|--target-ports] port1,port2-port3" } ]
[ { "from": "human", "value": "Recursively check the current directory, showing progress on the screen and logging error messages to a file" }, { "from": "gpt", "value": "cppcheck . 2> cppcheck.log" } ]
[ { "from": "human", "value": "Recursively check a given directory, and don't print progress messages" }, { "from": "gpt", "value": "cppcheck --quiet path/to/directory" } ]
[ { "from": "human", "value": "Check a given file, specifying which tests to perform (by default only errors are shown)" }, { "from": "gpt", "value": "cppcheck --enable error|warning|style|performance|portability|information|all path/to/file.cpp" } ]
[ { "from": "human", "value": "List available tests" }, { "from": "gpt", "value": "cppcheck --errorlist" } ]
[ { "from": "human", "value": "Check a given file, ignoring specific tests" }, { "from": "gpt", "value": "cppcheck --suppress test_id1 --suppress test_id2 path/to/file.cpp" } ]
[ { "from": "human", "value": "Check the current directory, providing paths for include files located outside it (e.g. external libraries)" }, { "from": "gpt", "value": "cppcheck -I include/directory_1 -I include/directory_2 ." } ]
[ { "from": "human", "value": "Check a Microsoft Visual Studio project (`*.vcxproj`) or solution (`*.sln`)" }, { "from": "gpt", "value": "cppcheck --project path/to/project.sln" } ]
[ { "from": "human", "value": "Show logs for a single-container pod" }, { "from": "gpt", "value": "kubectl logs pod_name" } ]
[ { "from": "human", "value": "Show logs for a specified container in a pod" }, { "from": "gpt", "value": "kubectl logs --container container_name pod_name" } ]
[ { "from": "human", "value": "Show logs for all containers in a pod" }, { "from": "gpt", "value": "kubectl logs --all-containers=true pod_name" } ]
[ { "from": "human", "value": "Stream pod logs" }, { "from": "gpt", "value": "kubectl logs --follow pod_name" } ]
[ { "from": "human", "value": "Show pod logs newer than a relative time like `10s`, `5m`, or `1h`" }, { "from": "gpt", "value": "kubectl logs --since=relative_time pod_name" } ]