conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Connect to a remote server on the default port (6379)"
},
{
"from": "gpt",
"value": "redis-cli -h host"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server specifying a port number"
},
{
"from": "gpt",
"value": "redis-cli -h host -p port"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server specifying a URI"
},
{
"from": "gpt",
"value": "redis-cli -u uri"
}
] |
[
{
"from": "human",
"value": "Specify a password"
},
{
"from": "gpt",
"value": "redis-cli -a password"
}
] |
[
{
"from": "human",
"value": "Execute Redis command"
},
{
"from": "gpt",
"value": "redis-cli redis_command"
}
] |
[
{
"from": "human",
"value": "Connect to the local cluster"
},
{
"from": "gpt",
"value": "redis-cli -c"
}
] |
[
{
"from": "human",
"value": "Execute a Ruby script"
},
{
"from": "gpt",
"value": "ruby script.rb"
}
] |
[
{
"from": "human",
"value": "Execute a single Ruby command in the command-line"
},
{
"from": "gpt",
"value": "ruby -e command"
}
] |
[
{
"from": "human",
"value": "Check for syntax errors on a given Ruby script"
},
{
"from": "gpt",
"value": "ruby -c script.rb"
}
] |
[
{
"from": "human",
"value": "Start the built-in HTTP server on port 8080 in the current directory"
},
{
"from": "gpt",
"value": "ruby -run -e httpd"
}
] |
[
{
"from": "human",
"value": "Locally execute a Ruby binary without installing the required library it depends on"
},
{
"from": "gpt",
"value": "ruby -I path/to/library_folder -r library_require_name path/to/bin_folder/bin_name"
}
] |
[
{
"from": "human",
"value": "Display Ruby version"
},
{
"from": "gpt",
"value": "ruby -v"
}
] |
[
{
"from": "human",
"value": "Convert PBM image to PGM by averaging the `w`x`h`-sized area surrounding each pixel"
},
{
"from": "gpt",
"value": "pbmtopgm w h path/to/image.pbm > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Run the default binary target"
},
{
"from": "gpt",
"value": "cargo [r|run]"
}
] |
[
{
"from": "human",
"value": "Run the specified binary"
},
{
"from": "gpt",
"value": "cargo [r|run] --bin name"
}
] |
[
{
"from": "human",
"value": "Run the specified example"
},
{
"from": "gpt",
"value": "cargo [r|run] --example name"
}
] |
[
{
"from": "human",
"value": "Activate a space or comma separated list of features"
},
{
"from": "gpt",
"value": "cargo [r|run] [-F|--features] \"feature1 feature2 ...\""
}
] |
[
{
"from": "human",
"value": "Disable the default features"
},
{
"from": "gpt",
"value": "cargo [r|run] --no-default-features"
}
] |
[
{
"from": "human",
"value": "Activate all available features"
},
{
"from": "gpt",
"value": "cargo [r|run] --all-features"
}
] |
[
{
"from": "human",
"value": "Run with the given profile"
},
{
"from": "gpt",
"value": "cargo [r|run] --profile name"
}
] |
[
{
"from": "human",
"value": "List all available plugins"
},
{
"from": "gpt",
"value": "mise plugins list-all"
}
] |
[
{
"from": "human",
"value": "Install a plugin"
},
{
"from": "gpt",
"value": "mise plugins add name"
}
] |
[
{
"from": "human",
"value": "List runtime versions available for install"
},
{
"from": "gpt",
"value": "mise ls-remote name"
}
] |
[
{
"from": "human",
"value": "Install a specific version of a package"
},
{
"from": "gpt",
"value": "mise install name@version"
}
] |
[
{
"from": "human",
"value": "Set global version for a package"
},
{
"from": "gpt",
"value": "mise use --global name@version"
}
] |
[
{
"from": "human",
"value": "Set local version for a package"
},
{
"from": "gpt",
"value": "mise use name@version"
}
] |
[
{
"from": "human",
"value": "Set environment variable in configuration"
},
{
"from": "gpt",
"value": "mise set variable=value"
}
] |
[
{
"from": "human",
"value": "Replace the resource using the resource definition file"
},
{
"from": "gpt",
"value": "kubectl replace -f path/to/file.yml"
}
] |
[
{
"from": "human",
"value": "Replace the resource using the input passed into `stdin`"
},
{
"from": "gpt",
"value": "kubectl replace -f -"
}
] |
[
{
"from": "human",
"value": "Force replace, delete and then re-create the resource"
},
{
"from": "gpt",
"value": "kubectl replace --force -f path/to/file.yml"
}
] |
[
{
"from": "human",
"value": "Search for files containing a string or regular expression in the current directory recursively"
},
{
"from": "gpt",
"value": "ack \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Search for a case-insensitive pattern"
},
{
"from": "gpt",
"value": "ack --ignore-case \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Search for lines matching a pattern, printing [o]nly the matched text and not the rest of the line"
},
{
"from": "gpt",
"value": "ack -o \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Limit search to files of a specific type"
},
{
"from": "gpt",
"value": "ack --type ruby \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Do not search in files of a specific type"
},
{
"from": "gpt",
"value": "ack --type noruby \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Count the total number of matches found"
},
{
"from": "gpt",
"value": "ack --count --no-filename \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Print the file names and the number of matches for each file only"
},
{
"from": "gpt",
"value": "ack --count --files-with-matches \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "List all the values that can be used with `--type`"
},
{
"from": "gpt",
"value": "ack --help-types"
}
] |
[
{
"from": "human",
"value": "Register an existing VM"
},
{
"from": "gpt",
"value": "VBoxManage registervm path/to/filename.vbox"
}
] |
[
{
"from": "human",
"value": "Supply the encryption password file of the VM"
},
{
"from": "gpt",
"value": "VBoxManage registervm path/to/filename.vbox --password path/to/password_file"
}
] |
[
{
"from": "human",
"value": "Prompt for the encryption password on the command-line"
},
{
"from": "gpt",
"value": "VBoxManage registervm path/to/filename.vbox --password -"
}
] |
[
{
"from": "human",
"value": "Find lines that match pattern in a PDF"
},
{
"from": "gpt",
"value": "pdfgrep pattern file.pdf"
}
] |
[
{
"from": "human",
"value": "Include file name and page number for each matched line"
},
{
"from": "gpt",
"value": "pdfgrep --with-filename --page-number pattern file.pdf"
}
] |
[
{
"from": "human",
"value": "Do a case-insensitive search for lines that begin with \"foo\" and return the first 3 matches"
},
{
"from": "gpt",
"value": "pdfgrep --max-count 3 --ignore-case '^foo' file.pdf"
}
] |
[
{
"from": "human",
"value": "Find pattern in files with a `.pdf` extension in the current directory recursively"
},
{
"from": "gpt",
"value": "pdfgrep --recursive pattern"
}
] |
[
{
"from": "human",
"value": "Find pattern on files that match a specific glob in the current directory recursively"
},
{
"from": "gpt",
"value": "pdfgrep --recursive --include '*book.pdf' pattern"
}
] |
[
{
"from": "human",
"value": "Start Caddy in the foreground"
},
{
"from": "gpt",
"value": "caddy run"
}
] |
[
{
"from": "human",
"value": "Start Caddy with the specified Caddyfile"
},
{
"from": "gpt",
"value": "caddy run --config path/to/Caddyfile"
}
] |
[
{
"from": "human",
"value": "Start Caddy in the background"
},
{
"from": "gpt",
"value": "caddy start"
}
] |
[
{
"from": "human",
"value": "Stop a background Caddy process"
},
{
"from": "gpt",
"value": "caddy stop"
}
] |
[
{
"from": "human",
"value": "Run a simple file server on the specified port with a browsable interface"
},
{
"from": "gpt",
"value": "caddy file-server --listen :8000 --browse"
}
] |
[
{
"from": "human",
"value": "Run a reverse proxy server"
},
{
"from": "gpt",
"value": "caddy reverse-proxy --from :80 --to localhost:8000"
}
] |
[
{
"from": "human",
"value": "Take a specific secret key and generate a text file with the secret data"
},
{
"from": "gpt",
"value": "paperkey --secret-key path/to/secret_key.gpg --output path/to/secret_data.txt"
}
] |
[
{
"from": "human",
"value": "Take the secret key data in `secret_data.txt` and combine it with the public key to reconstruct the secret key"
},
{
"from": "gpt",
"value": "paperkey --pubring path/to/public_key.gpg --secrets path/to/secret_data.txt --output secret_key.gpg"
}
] |
[
{
"from": "human",
"value": "Export a specific secret key and generate a text file with the secret data"
},
{
"from": "gpt",
"value": "gpg --export-secret-key key | paperkey --output path/to/secret_data.txt"
}
] |
[
{
"from": "human",
"value": "Log out of a specific cloud backend"
},
{
"from": "gpt",
"value": "pulumi logout url"
}
] |
[
{
"from": "human",
"value": "Log out of all backends simultaneously"
},
{
"from": "gpt",
"value": "pulumi logout --all"
}
] |
[
{
"from": "human",
"value": "Log out of using local mode"
},
{
"from": "gpt",
"value": "pulumi logout [-l|--local]"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pulumi logout [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Add an article to the RSS feed"
},
{
"from": "gpt",
"value": "sup path/to/file.html"
}
] |
[
{
"from": "human",
"value": "List installed libraries"
},
{
"from": "gpt",
"value": "pio lib list"
}
] |
[
{
"from": "human",
"value": "List built-in libraries based on installed development platforms and their frameworks"
},
{
"from": "gpt",
"value": "pio lib builtin"
}
] |
[
{
"from": "human",
"value": "Search for existing libraries"
},
{
"from": "gpt",
"value": "pio lib search keyword"
}
] |
[
{
"from": "human",
"value": "Show details about a library"
},
{
"from": "gpt",
"value": "pio lib show library"
}
] |
[
{
"from": "human",
"value": "Install a library"
},
{
"from": "gpt",
"value": "pio lib install library"
}
] |
[
{
"from": "human",
"value": "Update installed libraries"
},
{
"from": "gpt",
"value": "pio lib update"
}
] |
[
{
"from": "human",
"value": "Uninstall a library"
},
{
"from": "gpt",
"value": "pio lib uninstall library"
}
] |
[
{
"from": "human",
"value": "Show PlatformIO library registry statistics"
},
{
"from": "gpt",
"value": "pio lib stats"
}
] |
[
{
"from": "human",
"value": "Install a Ruby version"
},
{
"from": "gpt",
"value": "rbenv install version"
}
] |
[
{
"from": "human",
"value": "Display a list of the latest stable versions for each Ruby"
},
{
"from": "gpt",
"value": "rbenv install --list"
}
] |
[
{
"from": "human",
"value": "Display a list of installed Ruby versions"
},
{
"from": "gpt",
"value": "rbenv versions"
}
] |
[
{
"from": "human",
"value": "Use a specific Ruby version across the whole system"
},
{
"from": "gpt",
"value": "rbenv global version"
}
] |
[
{
"from": "human",
"value": "Use a specific Ruby version for an application/project directory"
},
{
"from": "gpt",
"value": "rbenv local version"
}
] |
[
{
"from": "human",
"value": "Display the currently selected Ruby version"
},
{
"from": "gpt",
"value": "rbenv version"
}
] |
[
{
"from": "human",
"value": "Uninstall a Ruby version"
},
{
"from": "gpt",
"value": "rbenv uninstall version"
}
] |
[
{
"from": "human",
"value": "Display all Ruby versions that contain the specified executable"
},
{
"from": "gpt",
"value": "rbenv whence executable"
}
] |
[
{
"from": "human",
"value": "Launch in interactive mode"
},
{
"from": "gpt",
"value": "qalc [-i|--interactive]"
}
] |
[
{
"from": "human",
"value": "Launch in terse mode (print the results only)"
},
{
"from": "gpt",
"value": "qalc [-t|--terse]"
}
] |
[
{
"from": "human",
"value": "Update currency exchange rates"
},
{
"from": "gpt",
"value": "qalc [-e|--exrates]"
}
] |
[
{
"from": "human",
"value": "Perform calculations non-interactively"
},
{
"from": "gpt",
"value": "qalc 66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|..."
}
] |
[
{
"from": "human",
"value": "List all supported functions/prefixes/units/variables"
},
{
"from": "gpt",
"value": "qalc --list-functions|list-prefixes|list-units|list-variables"
}
] |
[
{
"from": "human",
"value": "Execute commands from a file"
},
{
"from": "gpt",
"value": "qalc [-f|--file] path/to/file"
}
] |
[
{
"from": "human",
"value": "Display a list of available rulesets and formats"
},
{
"from": "gpt",
"value": "phpmd"
}
] |
[
{
"from": "human",
"value": "Scan a file or directory for problems using comma-separated rulesets"
},
{
"from": "gpt",
"value": "phpmd path/to/file_or_directory xml|text|html ruleset1,ruleset2,..."
}
] |
[
{
"from": "human",
"value": "Specify the minimum priority threshold for rules"
},
{
"from": "gpt",
"value": "phpmd path/to/file_or_directory xml|text|html ruleset1,ruleset2,... --minimumpriority priority"
}
] |
[
{
"from": "human",
"value": "Include only the specified extensions in analysis"
},
{
"from": "gpt",
"value": "phpmd path/to/file_or_directory xml|text|html ruleset1,ruleset2,... --suffixes extensions"
}
] |
[
{
"from": "human",
"value": "Exclude the specified comma-separated directories"
},
{
"from": "gpt",
"value": "phpmd path/to/file_or_directory1,path/to/file_or_directory2,... xml|text|html ruleset1,ruleset2,... --exclude directory_patterns"
}
] |
[
{
"from": "human",
"value": "Output the results to a file instead of `stdout`"
},
{
"from": "gpt",
"value": "phpmd path/to/file_or_directory xml|text|html ruleset1,ruleset2,... --reportfile path/to/report_file"
}
] |
[
{
"from": "human",
"value": "Ignore the use of warning-suppressive PHPDoc comments"
},
{
"from": "gpt",
"value": "phpmd path/to/file_or_directory xml|text|html ruleset1,ruleset2,... --strict"
}
] |
[
{
"from": "human",
"value": "Install the latest stable version of a formula or cask (use `--devel` for development versions)"
},
{
"from": "gpt",
"value": "brew install formula"
}
] |
[
{
"from": "human",
"value": "List all installed formulae and casks"
},
{
"from": "gpt",
"value": "brew list"
}
] |
[
{
"from": "human",
"value": "Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded)"
},
{
"from": "gpt",
"value": "brew upgrade formula"
}
] |
[
{
"from": "human",
"value": "Fetch the newest version of Homebrew and of all formulae and casks from the Homebrew source repository"
},
{
"from": "gpt",
"value": "brew update"
}
] |
[
{
"from": "human",
"value": "Show formulae and casks that have a more recent version available"
},
{
"from": "gpt",
"value": "brew outdated"
}
] |
[
{
"from": "human",
"value": "Search for available formulae (i.e. packages) and casks (i.e. native macOS `.app` packages)"
},
{
"from": "gpt",
"value": "brew search text"
}
] |
[
{
"from": "human",
"value": "Display information about a formula or a cask (version, installation path, dependencies, etc.)"
},
{
"from": "gpt",
"value": "brew info formula"
}
] |
[
{
"from": "human",
"value": "Check the local Homebrew installation for potential problems"
},
{
"from": "gpt",
"value": "brew doctor"
}
] |
[
{
"from": "human",
"value": "Display the list of supported website search scripts (elvi)"
},
{
"from": "gpt",
"value": "surfraw -elvi"
}
] |
[
{
"from": "human",
"value": "Open the elvi's results page for a specific search in the browser"
},
{
"from": "gpt",
"value": "surfraw elvi \"search_terms\""
}
] |
[
{
"from": "human",
"value": "Display an elvi description and its specific options"
},
{
"from": "gpt",
"value": "surfraw elvi -local-help"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.