conversations
listlengths
2
2
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "git --help" } ]
[ { "from": "human", "value": "Display help for a specific subcommand (like `clone`, `add`, `push`, `log`, etc.)" }, { "from": "gpt", "value": "git help subcommand" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "git --version" } ]
[ { "from": "human", "value": "Convert a graph from `gxl` to `gv` format" }, { "from": "gpt", "value": "gxl2gv -o output.gv input.gxl" } ]
[ { "from": "human", "value": "Convert a graph using `stdin` and `stdout`" }, { "from": "gpt", "value": "cat input.gxl | gxl2gv > output.gv" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gxl2gv -?" } ]
[ { "from": "human", "value": "Run a Python web app" }, { "from": "gpt", "value": "waitress-serve import.path:wsgi_func" } ]
[ { "from": "human", "value": "Listen on port 8080 on localhost" }, { "from": "gpt", "value": "waitress-serve --listen=localhost:8080 import.path:wsgi_func" } ]
[ { "from": "human", "value": "Start waitress on a Unix socket" }, { "from": "gpt", "value": "waitress-serve --unix-socket=path/to/socket import.path:wsgi_func" } ]
[ { "from": "human", "value": "Use 4 threads to process requests" }, { "from": "gpt", "value": "waitress-serve --threads=4 import.path:wsgifunc" } ]
[ { "from": "human", "value": "Call a factory method that returns a WSGI object" }, { "from": "gpt", "value": "waitress-serve --call import.path.wsgi_factory" } ]
[ { "from": "human", "value": "Use the HTTPS URL scheme" }, { "from": "gpt", "value": "waitress-serve --url-scheme=https import.path:wsgi_func" } ]
[ { "from": "human", "value": "Compress a file" }, { "from": "gpt", "value": "bzip3 path/to/file_to_compress" } ]
[ { "from": "human", "value": "Decompress a file" }, { "from": "gpt", "value": "bzip3 [-d|--decode] path/to/compressed_file.bz3" } ]
[ { "from": "human", "value": "Decompress a file to `stdout` ([c])" }, { "from": "gpt", "value": "bzip3 [-dc|--decode --stdout] path/to/compressed_file.bz3" } ]
[ { "from": "human", "value": "Test the integrity of each file inside the archive file" }, { "from": "gpt", "value": "bzip3 [-t|--test] path/to/compressed_file.bz3" } ]
[ { "from": "human", "value": "Show the compression ratio for each file processed with detailed information" }, { "from": "gpt", "value": "bzip3 [-v|--verbose] path/to/compressed_files.bz3" } ]
[ { "from": "human", "value": "Decompress a file overwriting existing files" }, { "from": "gpt", "value": "bzip3 [-d|--decode] [-f--force] path/to/compressed_file.bz3" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "bzip3 [-h|--help]" } ]
[ { "from": "human", "value": "Download and install a package, specified by its import path" }, { "from": "gpt", "value": "go get package_path" } ]
[ { "from": "human", "value": "Compile and run a source file (it has to contain a `main` package)" }, { "from": "gpt", "value": "go run file.go" } ]
[ { "from": "human", "value": "Compile a source file into a named executable" }, { "from": "gpt", "value": "go build -o executable file.go" } ]
[ { "from": "human", "value": "Compile the package present in the current directory" }, { "from": "gpt", "value": "go build" } ]
[ { "from": "human", "value": "Execute all test cases of the current package (files have to end with `_test.go`)" }, { "from": "gpt", "value": "go test" } ]
[ { "from": "human", "value": "Compile and install the current package" }, { "from": "gpt", "value": "go install" } ]
[ { "from": "human", "value": "Initialize a new module in the current directory" }, { "from": "gpt", "value": "go mod init module_name" } ]
[ { "from": "human", "value": "Start a synchronization session between a local directory and a remote host" }, { "from": "gpt", "value": "mutagen sync create --name=session_name /path/to/local/directory/ user@host:/path/to/remote/directory/" } ]
[ { "from": "human", "value": "Start a synchronization session between a local directory and a Docker container" }, { "from": "gpt", "value": "mutagen sync create --name=session_name /path/to/local/directory/ docker://user@container_name/path/to/remote/directory/" } ]
[ { "from": "human", "value": "Stop a running session" }, { "from": "gpt", "value": "mutagen sync terminate session_name" } ]
[ { "from": "human", "value": "Start a project" }, { "from": "gpt", "value": "mutagen project start" } ]
[ { "from": "human", "value": "Stop a project" }, { "from": "gpt", "value": "mutagen project terminate" } ]
[ { "from": "human", "value": "List running sessions for the current project" }, { "from": "gpt", "value": "mutagen project list" } ]
[ { "from": "human", "value": "Display current user's ID (UID), group ID (GID) and groups to which they belong" }, { "from": "gpt", "value": "id" } ]
[ { "from": "human", "value": "Display the current user identity" }, { "from": "gpt", "value": "id [-un|--user --name]" } ]
[ { "from": "human", "value": "Display the current user identity as a number" }, { "from": "gpt", "value": "id [-u|--user]" } ]
[ { "from": "human", "value": "Display the current primary group identity" }, { "from": "gpt", "value": "id [-gn|--group --name]" } ]
[ { "from": "human", "value": "Display the current primary group identity as a number" }, { "from": "gpt", "value": "id [-g|--group]" } ]
[ { "from": "human", "value": "Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong" }, { "from": "gpt", "value": "id username" } ]
[ { "from": "human", "value": "Open a file and enter normal mode, to execute commands" }, { "from": "gpt", "value": "kak path/to/file" } ]
[ { "from": "human", "value": "Enter insert mode from normal mode, to write text into the file" }, { "from": "gpt", "value": "<i>" } ]
[ { "from": "human", "value": "Escape insert mode, to go back to normal mode" }, { "from": "gpt", "value": "<Esc>" } ]
[ { "from": "human", "value": "Replace all instances of \"foo\" in the current file with \"bar\"" }, { "from": "gpt", "value": "%sfoo<Enter>cbar<Esc>" } ]
[ { "from": "human", "value": "Unselect all secondary selections, and keep only the main one" }, { "from": "gpt", "value": "<Space>" } ]
[ { "from": "human", "value": "Search for numbers and select the first two" }, { "from": "gpt", "value": "/\\d+<Enter>N" } ]
[ { "from": "human", "value": "Insert the contents of a file" }, { "from": "gpt", "value": "<!>cat path/to/file<Enter>" } ]
[ { "from": "human", "value": "Save the current file" }, { "from": "gpt", "value": "<:>w<Enter>" } ]
[ { "from": "human", "value": "Provide feedback to the `gcloud` team" }, { "from": "gpt", "value": "gcloud feedback" } ]
[ { "from": "human", "value": "Provide feedback to the `gcloud` team and attach a log file" }, { "from": "gpt", "value": "gcloud feedback --log-file log_file" } ]
[ { "from": "human", "value": "Dim the specified PPM image by dimfactor" }, { "from": "gpt", "value": "ppmdim 0.6 path/to/input.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Sniff the specified directory for issues (defaults to the PEAR standard)" }, { "from": "gpt", "value": "phpcs path/to/directory" } ]
[ { "from": "human", "value": "Display a list of installed coding standards" }, { "from": "gpt", "value": "phpcs -i" } ]
[ { "from": "human", "value": "Specify a coding standard to validate against" }, { "from": "gpt", "value": "phpcs path/to/directory --standard standard" } ]
[ { "from": "human", "value": "Specify comma-separated file extensions to include when sniffing" }, { "from": "gpt", "value": "phpcs path/to/directory --extensions file_extension1,file_extension2,..." } ]
[ { "from": "human", "value": "Specify the format of the output report (e.g. `full`, `xml`, `json`, `summary`)" }, { "from": "gpt", "value": "phpcs path/to/directory --report format" } ]
[ { "from": "human", "value": "Set configuration variables to be used during the process" }, { "from": "gpt", "value": "phpcs path/to/directory --config-set key value" } ]
[ { "from": "human", "value": "A comma-separated list of files to load before processing" }, { "from": "gpt", "value": "phpcs path/to/directory --bootstrap path/to/file1,path/to/file2,..." } ]
[ { "from": "human", "value": "Don't recurse into subdirectories" }, { "from": "gpt", "value": "phpcs path/to/directory -l" } ]
[ { "from": "human", "value": "Inspect a remote image from a registry" }, { "from": "gpt", "value": "skopeo inspect docker://registry_hostname/image:tag" } ]
[ { "from": "human", "value": "List available tags for a remote image" }, { "from": "gpt", "value": "skopeo list-tags docker://registry_hostname/image" } ]
[ { "from": "human", "value": "Download an image from a registry" }, { "from": "gpt", "value": "skopeo copy docker://registry_hostname/image:tag dir:path/to/directory" } ]
[ { "from": "human", "value": "Copy an image from one registry to another" }, { "from": "gpt", "value": "skopeo copy docker://source_registry/image:tag docker://destination_registry/image:tag" } ]
[ { "from": "human", "value": "Delete an image from a registry" }, { "from": "gpt", "value": "skopeo delete docker://registry_hostname/image:tag" } ]
[ { "from": "human", "value": "Log in to a registry" }, { "from": "gpt", "value": "skopeo login --username username registry_hostname" } ]
[ { "from": "human", "value": "Ask GPT to improve the code with no extra options" }, { "from": "gpt", "value": "rgpt --i \"$(git diff path/to/file)\"" } ]
[ { "from": "human", "value": "Get a more detailed verbose output from `rgpt` while reviewing the code" }, { "from": "gpt", "value": "rgpt --v --i \"$(git diff path/to/file)\"" } ]
[ { "from": "human", "value": "Ask GPT to improve the code and limit it to a certain amount of GPT3 tokens" }, { "from": "gpt", "value": "rgpt --max 300 --i \"$(git diff path/to/file)\"" } ]
[ { "from": "human", "value": "Ask GPT for a more unique result using a float value between 0 and 2. (higher = more unique)" }, { "from": "gpt", "value": "rgpt --pres 1.2 --i \"$(git diff path/to/file)\"" } ]
[ { "from": "human", "value": "Ask GPT to review your code using a specific model" }, { "from": "gpt", "value": "rgpt --model davinci --i \"$(git diff path/to/file)\"" } ]
[ { "from": "human", "value": "Make `rgpt` use a JSON output" }, { "from": "gpt", "value": "rgpt --json --i \"$(git diff path/to/file)\"" } ]
[ { "from": "human", "value": "Compress a file" }, { "from": "gpt", "value": "ect path/to/file.png" } ]
[ { "from": "human", "value": "Compress a file with specified compression level and multithreading (1=Fastest (Worst), 9=Slowest (Best), default is 3)" }, { "from": "gpt", "value": "ect -9 --mt-deflate path/to/file.zip" } ]
[ { "from": "human", "value": "Compress all files in a directory recursively" }, { "from": "gpt", "value": "ect -recurse path/to/directory" } ]
[ { "from": "human", "value": "Compress a file, keeping the original modification time" }, { "from": "gpt", "value": "ect -keep path/to/file.png" } ]
[ { "from": "human", "value": "Compress a file, stripping metadata" }, { "from": "gpt", "value": "ect -strip path/to/file.png" } ]
[ { "from": "human", "value": "Print logged in usernames" }, { "from": "gpt", "value": "users" } ]
[ { "from": "human", "value": "Print logged in usernames according to a given file" }, { "from": "gpt", "value": "users /var/log/wmtp" } ]
[ { "from": "human", "value": "Scan a network for NetBIOS names" }, { "from": "gpt", "value": "nbtscan 192.168.0.1/24" } ]
[ { "from": "human", "value": "Scan a single IP address" }, { "from": "gpt", "value": "nbtscan 192.168.0.1" } ]
[ { "from": "human", "value": "Display verbose output" }, { "from": "gpt", "value": "nbtscan -v 192.168.0.1/24" } ]
[ { "from": "human", "value": "Display output in `/etc/hosts` format" }, { "from": "gpt", "value": "nbtscan -e 192.168.0.1/24" } ]
[ { "from": "human", "value": "Read IP addresses/networks to scan from a file" }, { "from": "gpt", "value": "nbtscan -f path/to/file.txt" } ]
[ { "from": "human", "value": "Check whether a file or directory is ignored" }, { "from": "gpt", "value": "git check-ignore path/to/file_or_directory" } ]
[ { "from": "human", "value": "Check whether multiple files or directories are ignored" }, { "from": "gpt", "value": "git check-ignore path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Use pathnames, one per line, from `stdin`" }, { "from": "gpt", "value": "git check-ignore --stdin < path/to/file_list" } ]
[ { "from": "human", "value": "Do not check the index (used to debug why paths were tracked and not ignored)" }, { "from": "gpt", "value": "git check-ignore --no-index path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Include details about the matching pattern for each path" }, { "from": "gpt", "value": "git check-ignore --verbose path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Match a variable against string literals to decide which command to run" }, { "from": "gpt", "value": "case $COUNTRULE in words) wc -w README ;; lines) wc -l README ;; esac" } ]
[ { "from": "human", "value": "Combine patterns with |, use * as a fallback pattern" }, { "from": "gpt", "value": "case $COUNTRULE in [wW]|words) wc -w README ;; [lL]|lines) wc -l README ;; *) echo \"what?\" ;; esac" } ]
[ { "from": "human", "value": "Allow matching multiple patterns" }, { "from": "gpt", "value": "case $ANIMAL in cat) echo \"It's a cat\" ;;& cat|dog) echo \"It's a cat or a dog\" ;;& *) echo \"Fallback\" ;; esac" } ]
[ { "from": "human", "value": "Continue to the next pattern's commands without checking the pattern" }, { "from": "gpt", "value": "case $ANIMAL in cat) echo \"It's a cat\" ;& dog) echo \"It's either a dog or cat fell through\" ;& *) echo \"Fallback\" ;; esac" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "help case" } ]
[ { "from": "human", "value": "Start an interactive setup" }, { "from": "gpt", "value": "mysql_secure_installation" } ]
[ { "from": "human", "value": "Use specific host and port" }, { "from": "gpt", "value": "mysql_secure_installation --host host --port port" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "mysql_secure_installation --help" } ]
[ { "from": "human", "value": "Send a file to a specific node" }, { "from": "gpt", "value": "tailscale file cp path/to/file hostname|ip:" } ]
[ { "from": "human", "value": "Store files that were sent to the current node into a specific directory" }, { "from": "gpt", "value": "tailscale file get path/to/directory" } ]
[ { "from": "human", "value": "Display the status of changed files" }, { "from": "gpt", "value": "hg status" } ]
[ { "from": "human", "value": "Display only modified files" }, { "from": "gpt", "value": "hg status --modified" } ]
[ { "from": "human", "value": "Display only added files" }, { "from": "gpt", "value": "hg status --added" } ]
[ { "from": "human", "value": "Display only removed files" }, { "from": "gpt", "value": "hg status --removed" } ]