conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Generate a `.phan/config.php` in the current directory"
},
{
"from": "gpt",
"value": "phan --init"
}
] |
[
{
"from": "human",
"value": "Generate a Phan configuration file using a specific level (1 being strictest to 5 being the least strict)"
},
{
"from": "gpt",
"value": "phan --init --init-level level"
}
] |
[
{
"from": "human",
"value": "Analyze the current directory"
},
{
"from": "gpt",
"value": "phan"
}
] |
[
{
"from": "human",
"value": "Analyze one or more directories"
},
{
"from": "gpt",
"value": "phan --directory path/to/directory --directory path/to/another_directory"
}
] |
[
{
"from": "human",
"value": "Specify a configuration file (defaults to `.phan/config.php`)"
},
{
"from": "gpt",
"value": "phan --config-file path/to/config.php"
}
] |
[
{
"from": "human",
"value": "Specify the output mode"
},
{
"from": "gpt",
"value": "phan --output-mode text|verbose|json|csv|codeclimate|checkstyle|pylint|html"
}
] |
[
{
"from": "human",
"value": "Specify the number of parallel processes"
},
{
"from": "gpt",
"value": "phan --processes number_of_processes"
}
] |
[
{
"from": "human",
"value": "Display help for a specific package"
},
{
"from": "gpt",
"value": "godoc fmt"
}
] |
[
{
"from": "human",
"value": "Display help for the function \"Printf\" of \"fmt\" package"
},
{
"from": "gpt",
"value": "godoc fmt Printf"
}
] |
[
{
"from": "human",
"value": "Serve documentation as a web server on port 6060"
},
{
"from": "gpt",
"value": "godoc -http=:6060"
}
] |
[
{
"from": "human",
"value": "Create an index file"
},
{
"from": "gpt",
"value": "godoc -write_index -index_files=path/to/file"
}
] |
[
{
"from": "human",
"value": "Use the given index file to search the docs"
},
{
"from": "gpt",
"value": "godoc -http=:6060 -index -index_files=path/to/file"
}
] |
[
{
"from": "human",
"value": "Type check a specific file"
},
{
"from": "gpt",
"value": "mypy path/to/file.py"
}
] |
[
{
"from": "human",
"value": "Type check a specific module"
},
{
"from": "gpt",
"value": "mypy [-m|--module] module_name"
}
] |
[
{
"from": "human",
"value": "Type check a specific package"
},
{
"from": "gpt",
"value": "mypy [-p|--package] package_name"
}
] |
[
{
"from": "human",
"value": "Type check a string of code"
},
{
"from": "gpt",
"value": "mypy [-c|--command] \"code\""
}
] |
[
{
"from": "human",
"value": "Ignore missing imports"
},
{
"from": "gpt",
"value": "mypy --ignore-missing-imports path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Show detailed error messages"
},
{
"from": "gpt",
"value": "mypy [--tb|--show-traceback] path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Specify a custom configuration file"
},
{
"from": "gpt",
"value": "mypy --config-file path/to/config_file"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "mypy [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Pull from the \"default\" source path"
},
{
"from": "gpt",
"value": "hg pull"
}
] |
[
{
"from": "human",
"value": "Pull from a specified source repository"
},
{
"from": "gpt",
"value": "hg pull path/to/source_repository"
}
] |
[
{
"from": "human",
"value": "Update the local repository to the head of the remote"
},
{
"from": "gpt",
"value": "hg pull --update"
}
] |
[
{
"from": "human",
"value": "Pull changes even when the remote repository is unrelated"
},
{
"from": "gpt",
"value": "hg pull --force"
}
] |
[
{
"from": "human",
"value": "Specify a specific revision changeset to pull up to"
},
{
"from": "gpt",
"value": "hg pull --rev revision"
}
] |
[
{
"from": "human",
"value": "Specify a specific branch to pull"
},
{
"from": "gpt",
"value": "hg pull --branch branch"
}
] |
[
{
"from": "human",
"value": "Specify a specific bookmark to pull"
},
{
"from": "gpt",
"value": "hg pull --bookmark bookmark"
}
] |
[
{
"from": "human",
"value": "Show the system stats dashboard"
},
{
"from": "gpt",
"value": "gtop"
}
] |
[
{
"from": "human",
"value": "Sort by CPU usage"
},
{
"from": "gpt",
"value": "<c>"
}
] |
[
{
"from": "human",
"value": "Sort by memory usage"
},
{
"from": "gpt",
"value": "<m>"
}
] |
[
{
"from": "human",
"value": "Create a new Django project"
},
{
"from": "gpt",
"value": "django-admin startproject project_name"
}
] |
[
{
"from": "human",
"value": "Create a new app for the current project"
},
{
"from": "gpt",
"value": "django-admin startapp app_name"
}
] |
[
{
"from": "human",
"value": "Check the current version of Django"
},
{
"from": "gpt",
"value": "django-admin --version"
}
] |
[
{
"from": "human",
"value": "Display help for a specific command"
},
{
"from": "gpt",
"value": "django-admin help command"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command"
},
{
"from": "gpt",
"value": "tldr pngtopam"
}
] |
[
{
"from": "human",
"value": "Create an empty temporary file and print its absolute path"
},
{
"from": "gpt",
"value": "mktemp"
}
] |
[
{
"from": "human",
"value": "Use a custom directory (defaults to `$TMPDIR`, or `/tmp`)"
},
{
"from": "gpt",
"value": "mktemp [-p |--tmpdir=]/path/to/tempdir"
}
] |
[
{
"from": "human",
"value": "Use a custom path template (`X`s are replaced with random alphanumeric characters)"
},
{
"from": "gpt",
"value": "mktemp /tmp/example.XXXXXXXX"
}
] |
[
{
"from": "human",
"value": "Use a custom file name template"
},
{
"from": "gpt",
"value": "mktemp -t example.XXXXXXXX"
}
] |
[
{
"from": "human",
"value": "Create an empty temporary file with the given suffix and print its absolute path"
},
{
"from": "gpt",
"value": "mktemp --suffix .ext"
}
] |
[
{
"from": "human",
"value": "Create an empty temporary directory and print its absolute path"
},
{
"from": "gpt",
"value": "mktemp [-d|--directory]"
}
] |
[
{
"from": "human",
"value": "List installed applications"
},
{
"from": "gpt",
"value": "cs list"
}
] |
[
{
"from": "human",
"value": "Install a specific application"
},
{
"from": "gpt",
"value": "cs install application_name"
}
] |
[
{
"from": "human",
"value": "Uninstall a specific application"
},
{
"from": "gpt",
"value": "cs uninstall application_name"
}
] |
[
{
"from": "human",
"value": "Setup machine for the Scala development"
},
{
"from": "gpt",
"value": "cs setup"
}
] |
[
{
"from": "human",
"value": "Update all the installed applications"
},
{
"from": "gpt",
"value": "cs update"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "cs version"
}
] |
[
{
"from": "human",
"value": "Fork a GitHub repository by its slug"
},
{
"from": "gpt",
"value": "hub fork tldr-pages/tldr"
}
] |
[
{
"from": "human",
"value": "Fork a GitHub repository by its URL"
},
{
"from": "gpt",
"value": "hub fork https://github.com/tldr-pages/tldr"
}
] |
[
{
"from": "human",
"value": "Fork current GitHub repository, set remote name to origin"
},
{
"from": "gpt",
"value": "hub fork --remote-name origin"
}
] |
[
{
"from": "human",
"value": "Start an HTTP server listening on the default port to serve the current directory"
},
{
"from": "gpt",
"value": "serve"
}
] |
[
{
"from": "human",
"value": "Start an HTTP server on a specific [p]ort to serve a specific directory"
},
{
"from": "gpt",
"value": "serve -p port path/to/directory"
}
] |
[
{
"from": "human",
"value": "Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses"
},
{
"from": "gpt",
"value": "serve --cors"
}
] |
[
{
"from": "human",
"value": "Start an HTTP server on the default port rewriting all not-found requests to the `index.html` file"
},
{
"from": "gpt",
"value": "serve --single"
}
] |
[
{
"from": "human",
"value": "Start an HTTPS server on the default port using the specified certificate"
},
{
"from": "gpt",
"value": "serve --ssl-cert path/to/cert.pem --ssl-key path/to/key.pem"
}
] |
[
{
"from": "human",
"value": "Start an HTTP server on the default port using a specific configuration file"
},
{
"from": "gpt",
"value": "serve --config path/to/serve.json"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "serve --help"
}
] |
[
{
"from": "human",
"value": "Move a file inside the repo and add the movement to the next commit"
},
{
"from": "gpt",
"value": "git mv path/to/file new/path/to/file"
}
] |
[
{
"from": "human",
"value": "Rename a file or directory and add the renaming to the next commit"
},
{
"from": "gpt",
"value": "git mv path/to/file_or_directory path/to/destination"
}
] |
[
{
"from": "human",
"value": "Overwrite the file or directory in the target path if it exists"
},
{
"from": "gpt",
"value": "git mv --force path/to/file_or_directory path/to/destination"
}
] |
[
{
"from": "human",
"value": "Show events from a specific binary log file"
},
{
"from": "gpt",
"value": "mysqlbinlog path/to/binlog"
}
] |
[
{
"from": "human",
"value": "Show entries from a binary log for a specific database"
},
{
"from": "gpt",
"value": "mysqlbinlog --database database_name path/to/binlog"
}
] |
[
{
"from": "human",
"value": "Show events from a binary log between specific dates"
},
{
"from": "gpt",
"value": "mysqlbinlog --start-datetime='2022-01-01 01:00:00' --stop-datetime='2022-02-01 01:00:00' path/to/binlog"
}
] |
[
{
"from": "human",
"value": "Show events from a binary log between specific positions"
},
{
"from": "gpt",
"value": "mysqlbinlog --start-position=100 --stop-position=200 path/to/binlog"
}
] |
[
{
"from": "human",
"value": "Show binary log from a MySQL server on the given host"
},
{
"from": "gpt",
"value": "mysqlbinlog --host=hostname path/to/binlog"
}
] |
[
{
"from": "human",
"value": "Create specific directories"
},
{
"from": "gpt",
"value": "mkdir path/to/directory1 path/to/directory2 ..."
}
] |
[
{
"from": "human",
"value": "Create specific directories and their parents if needed"
},
{
"from": "gpt",
"value": "mkdir [-p|--parents] path/to/directory1 path/to/directory2 ..."
}
] |
[
{
"from": "human",
"value": "Create directories with specific permissions"
},
{
"from": "gpt",
"value": "mkdir [-m|--mode] rwxrw-r-- path/to/directory1 path/to/directory2 ..."
}
] |
[
{
"from": "human",
"value": "Add a new task to a board"
},
{
"from": "gpt",
"value": "tb --task task_description @board_name"
}
] |
[
{
"from": "human",
"value": "Add a new note to a board"
},
{
"from": "gpt",
"value": "tb --note note_description @board_name"
}
] |
[
{
"from": "human",
"value": "Edit item's priority"
},
{
"from": "gpt",
"value": "tb --priority @item_id priority"
}
] |
[
{
"from": "human",
"value": "Check/uncheck item"
},
{
"from": "gpt",
"value": "tb --check item_id"
}
] |
[
{
"from": "human",
"value": "Archive all checked items"
},
{
"from": "gpt",
"value": "tb --clear"
}
] |
[
{
"from": "human",
"value": "Move item to a board"
},
{
"from": "gpt",
"value": "tb --move @item_id board_name"
}
] |
[
{
"from": "human",
"value": "Build a recursive fls list over a device, output paths will start with C"
},
{
"from": "gpt",
"value": "fls -r -m C: /dev/loop1p1"
}
] |
[
{
"from": "human",
"value": "Analyze a single partition, providing the sector offset at which the filesystem starts in the image"
},
{
"from": "gpt",
"value": "fls -r -m C: -o sector path/to/image_file"
}
] |
[
{
"from": "human",
"value": "Analyze a single partition, providing the timezone of the original system"
},
{
"from": "gpt",
"value": "fls -r -m C: -z timezone /dev/loop1p1"
}
] |
[
{
"from": "human",
"value": "Generate the PPM image as output for an Atari Neochrome NEO file as input"
},
{
"from": "gpt",
"value": "neotoppm path/to/file.neo"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "neotoppm [-v|-version]"
}
] |
[
{
"from": "human",
"value": "View available components for installation"
},
{
"from": "gpt",
"value": "gcloud components list"
}
] |
[
{
"from": "human",
"value": "Install one or more components (installs any dependencies as well)"
},
{
"from": "gpt",
"value": "gcloud components install component_id1 component_id2 ..."
}
] |
[
{
"from": "human",
"value": "Check the current version of Google Cloud CLI"
},
{
"from": "gpt",
"value": "gcloud version"
}
] |
[
{
"from": "human",
"value": "Update Google Cloud CLI to the latest version"
},
{
"from": "gpt",
"value": "gcloud components update"
}
] |
[
{
"from": "human",
"value": "Kill all tasks and remove everything (logs, status, groups, task IDs)"
},
{
"from": "gpt",
"value": "pueue reset"
}
] |
[
{
"from": "human",
"value": "Kill all tasks, terminate their children, and reset everything"
},
{
"from": "gpt",
"value": "pueue reset --children"
}
] |
[
{
"from": "human",
"value": "Reset without asking for confirmation"
},
{
"from": "gpt",
"value": "pueue reset --force"
}
] |
[
{
"from": "human",
"value": "List the name, state, and whether autostart is enabled or disabled for active storage pools"
},
{
"from": "gpt",
"value": "virsh pool-list"
}
] |
[
{
"from": "human",
"value": "List information for active and inactive or just inactive storage pools"
},
{
"from": "gpt",
"value": "virsh pool-list --all|inactive"
}
] |
[
{
"from": "human",
"value": "List extended information about persistence, capacity, allocation, and available space for active storage pools"
},
{
"from": "gpt",
"value": "virsh pool-list --details"
}
] |
[
{
"from": "human",
"value": "List information for active storage pools with either autostart enabled or disabled"
},
{
"from": "gpt",
"value": "virsh pool-list --autostart|no-autostart"
}
] |
[
{
"from": "human",
"value": "List information for active storage pools that are either persistent or transient"
},
{
"from": "gpt",
"value": "virsh pool-list --persistent|transient"
}
] |
[
{
"from": "human",
"value": "List the name and UUID of active storage pools"
},
{
"from": "gpt",
"value": "virsh pool-list --name --uuid"
}
] |
[
{
"from": "human",
"value": "Format Go source files in the current directory"
},
{
"from": "gpt",
"value": "go fmt"
}
] |
[
{
"from": "human",
"value": "Format a specific Go package in your import path (`$GOPATH/src`)"
},
{
"from": "gpt",
"value": "go fmt path/to/package"
}
] |
[
{
"from": "human",
"value": "Format the package in the current directory and all subdirectories (note the `...`)"
},
{
"from": "gpt",
"value": "go fmt ./..."
}
] |
[
{
"from": "human",
"value": "Print what format commands would've been run, without modifying anything"
},
{
"from": "gpt",
"value": "go fmt -n"
}
] |
[
{
"from": "human",
"value": "Print which format commands are run as they are run"
},
{
"from": "gpt",
"value": "go fmt -x"
}
] |
[
{
"from": "human",
"value": "Display all bookmarks matching \"keyword\" and with \"privacy\" tag"
},
{
"from": "gpt",
"value": "buku keyword --stag privacy"
}
] |
[
{
"from": "human",
"value": "Add bookmark with tags \"search engine\" and \"privacy\""
},
{
"from": "gpt",
"value": "buku --add https://example.com search engine, privacy"
}
] |
[
{
"from": "human",
"value": "Delete a bookmark"
},
{
"from": "gpt",
"value": "buku --delete bookmark_id"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.