conversations
listlengths
2
2
[ { "from": "human", "value": "List pods in a project via the `oc` command" }, { "from": "gpt", "value": "`oc get pods`" } ]
[ { "from": "human", "value": "Log out from the current session via the `oc` command" }, { "from": "gpt", "value": "`oc logout`" } ]
[ { "from": "human", "value": "Tell me about `ocrmypdf`." }, { "from": "gpt", "value": "Generate a searchable PDF or PDF/A from a scanned PDF or an image of text.\nMore information: <https://ocrmypdf.readthedocs.io/en/latest/cookbook.html>.\n" } ]
[ { "from": "human", "value": "Create a new searchable PDF/A file from a scanned PDF or image file via the `ocrmypdf` command" }, { "from": "gpt", "value": "`ocrmypdf {{path/to/input_file}} {{path/to/output.pdf}}`" } ]
[ { "from": "human", "value": "Replace a scanned PDF file with a searchable PDF file via the `ocrmypdf` command" }, { "from": "gpt", "value": "`ocrmypdf {{path/to/file.pdf}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Skip pages of a mixed-format input PDF file that already contain text via the `ocrmypdf` command" }, { "from": "gpt", "value": "`ocrmypdf --skip-text {{path/to/input.pdf}} {{path/to/output.pdf}}`" } ]
[ { "from": "human", "value": "Clean, de-skew, and rotate pages of a poor scan via the `ocrmypdf` command" }, { "from": "gpt", "value": "`ocrmypdf --clean --deskew --rotate-pages {{path/to/input_file}} {{path/to/output.pdf}}`" } ]
[ { "from": "human", "value": "Set the metadata of the searchable PDF file via the `ocrmypdf` command" }, { "from": "gpt", "value": "`ocrmypdf --title \"{{title}}\" --author \"{{author}}\" --subject \"{{subject}}\" --keywords \"{{keyword; key phrase; ...}}\" {{path/to/input_file}} {{path/to/output...
[ { "from": "human", "value": "Display help via the `ocrmypdf` command" }, { "from": "gpt", "value": "`ocrmypdf --help`" } ]
[ { "from": "human", "value": "Tell me about `octave`." }, { "from": "gpt", "value": "A programming language for scientific computing.\nMore information: <https://docs.octave.org/latest/Invoking-Octave-from-the-Command-Line.html>.\n" } ]
[ { "from": "human", "value": "Start an interactive session via the `octave` command" }, { "from": "gpt", "value": "`octave`" } ]
[ { "from": "human", "value": "Execute a specific script file via the `octave` command" }, { "from": "gpt", "value": "`octave {{path/to/script.m}}`" } ]
[ { "from": "human", "value": "Execute a script file with specific arguments via the `octave` command" }, { "from": "gpt", "value": "`octave {{path/to/script.m}} {{argument1 argument2 ...}}`" } ]
[ { "from": "human", "value": "Start an interactive session with a GUI via the `octave` command" }, { "from": "gpt", "value": "`octave --gui`" } ]
[ { "from": "human", "value": "Display help via the `octave` command" }, { "from": "gpt", "value": "`octave --help`" } ]
[ { "from": "human", "value": "Display version via the `octave` command" }, { "from": "gpt", "value": "`octave --version`" } ]
[ { "from": "human", "value": "Tell me about `octez-client`." }, { "from": "gpt", "value": "Interact with the Tezos blockchain.\nMore information: <https://tezos.gitlab.io/introduction/howtouse.html#client>.\n" } ]
[ { "from": "human", "value": "Configure the client with a connection to a Tezos RPC node such as <https://rpc.ghostnet.teztnets.com> via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client -E {{endpoint}} config update`" } ]
[ { "from": "human", "value": "Create an account and assign a local alias to it via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client gen keys {{alias}}`" } ]
[ { "from": "human", "value": "Get the balance of an account by alias or address via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client get balance for {{alias_or_address}}`" } ]
[ { "from": "human", "value": "Transfer tez to a different account via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client transfer {{5}} from {{alias|address}} to {{alias|address}}`" } ]
[ { "from": "human", "value": "Originate (deploy) a smart contract, assign it a local alias, and set its initial storage as a Michelson-encoded value via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client originate contract {{alias}} transferring {{0}} from {{alias|address}} r...
[ { "from": "human", "value": "Call a smart contract by its alias or address and pass a Michelson-encoded parameter via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client transfer {{0}} from {{alias|address}} to {{contract}} --entrypoint \"{{entrypoint}}\" --arg \"{{parameter}...
[ { "from": "human", "value": "Display help via the `octez-client` command" }, { "from": "gpt", "value": "`octez-client man`" } ]
[ { "from": "human", "value": "Tell me about `od`." }, { "from": "gpt", "value": "Display file contents in octal, decimal or hexadecimal format.\nOptionally display the byte offsets and/or printable representation for each line.\nMore information: <https://www.gnu.org/software/coreutils/manual/htm...
[ { "from": "human", "value": "Display file using default settings: octal format, 8 bytes per line, byte offsets in octal, and duplicate lines replaced with `*` via the `od` command" }, { "from": "gpt", "value": "`od {{path/to/file}}`" } ]
[ { "from": "human", "value": "Display file in verbose mode, i.e. without replacing duplicate lines with `*` via the `od` command" }, { "from": "gpt", "value": "`od {{[-v|--output-duplicates]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Display file in hexadecimal format (2-byte units), with byte offsets in decimal format via the `od` command" }, { "from": "gpt", "value": "`od {{[-t|--format]}} {{x}} {{[-A|--address-radix]}} {{d}} {{[-v|--output-duplicates]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Display file in hexadecimal format (1-byte units), and 4 bytes per line via the `od` command" }, { "from": "gpt", "value": "`od {{[-t|--format]}} {{x1}} {{[-w|--width=]}}{{4}} {{[-v|--output-duplicates]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Display file in hexadecimal format along with its character representation, and do not print byte offsets via the `od` command" }, { "from": "gpt", "value": "`od {{[-t|--format]}} {{xz}} {{[-A|--address-radix]}} {{n}} {{[-v|--output-duplicates]}} {{path/to/file}}`" ...
[ { "from": "human", "value": "Read only 100 bytes of a file starting from the 500th byte via the `od` command" }, { "from": "gpt", "value": "`od {{[-N|--read-bytes]}} 100 {{[-j|--skip-bytes]}} 500 {{[-v|--output-duplicates]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `odps auth`." }, { "from": "gpt", "value": "User authorities in ODPS (Open Data Processing Service).\nSee also `odps`.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" } ]
[ { "from": "human", "value": "Add a user to the current project via the `odps-auth` command" }, { "from": "gpt", "value": "`add user {{username}};`" } ]
[ { "from": "human", "value": "Grant a set of authorities to a user via the `odps-auth` command" }, { "from": "gpt", "value": "`grant {{action_list}} on {{object_type}} {{object_name}} to user {{username}};`" } ]
[ { "from": "human", "value": "Show authorities of a user via the `odps-auth` command" }, { "from": "gpt", "value": "`show grants for {{username}};`" } ]
[ { "from": "human", "value": "Create a user role via the `odps-auth` command" }, { "from": "gpt", "value": "`create role {{role_name}};`" } ]
[ { "from": "human", "value": "Grant a set of authorities to a role via the `odps-auth` command" }, { "from": "gpt", "value": "`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`" } ]
[ { "from": "human", "value": "Describe authorities of a role via the `odps-auth` command" }, { "from": "gpt", "value": "`desc role {{role_name}};`" } ]
[ { "from": "human", "value": "Grant a role to a user via the `odps-auth` command" }, { "from": "gpt", "value": "`grant {{role_name}} to {{username}};`" } ]
[ { "from": "human", "value": "Tell me about `odps func`." }, { "from": "gpt", "value": "Manage functions in ODPS (Open Data Processing Service).\nSee also `odps`.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" } ]
[ { "from": "human", "value": "Show functions in the current project via the `odps-func` command" }, { "from": "gpt", "value": "`list functions;`" } ]
[ { "from": "human", "value": "Create a Java function using a `.jar` resource via the `odps-func` command" }, { "from": "gpt", "value": "`create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';`" } ]
[ { "from": "human", "value": "Create a Python function using a `.py` resource via the `odps-func` command" }, { "from": "gpt", "value": "`create function {{func_name}} as {{script.Func}} using '{{script.py}}';`" } ]
[ { "from": "human", "value": "Delete a function via the `odps-func` command" }, { "from": "gpt", "value": "`drop function {{func_name}};`" } ]
[ { "from": "human", "value": "Tell me about `odps inst`." }, { "from": "gpt", "value": "Manage instances in ODPS (Open Data Processing Service).\nSee also `odps`.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" } ]
[ { "from": "human", "value": "Show instances created by current user via the `odps-inst` command" }, { "from": "gpt", "value": "`show instances;`" } ]
[ { "from": "human", "value": "Describe the details of an instance via the `odps-inst` command" }, { "from": "gpt", "value": "`desc instance {{instance_id}};`" } ]
[ { "from": "human", "value": "Check the status of an instance via the `odps-inst` command" }, { "from": "gpt", "value": "`status {{instance_id}};`" } ]
[ { "from": "human", "value": "Wait on the termination of an instance, printing log and progress information until then via the `odps-inst` command" }, { "from": "gpt", "value": "`wait {{instance_id}};`" } ]
[ { "from": "human", "value": "Kill an instance via the `odps-inst` command" }, { "from": "gpt", "value": "`kill {{instance_id}};`" } ]
[ { "from": "human", "value": "Tell me about `odps`." }, { "from": "gpt", "value": "Aliyun ODPS (Open Data Processing Service) command-line tool.\nSome subcommands such as `inst` have their own usage documentation.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" }...
[ { "from": "human", "value": "Start the command-line with a custom configuration file via the `odps` command" }, { "from": "gpt", "value": "`odpscmd --config={{odps_config.ini}}`" } ]
[ { "from": "human", "value": "Switch current project via the `odps` command" }, { "from": "gpt", "value": "`use {{project_name}};`" } ]
[ { "from": "human", "value": "Show tables in the current project via the `odps` command" }, { "from": "gpt", "value": "`show tables;`" } ]
[ { "from": "human", "value": "Describe a table via the `odps` command" }, { "from": "gpt", "value": "`desc {{table_name}};`" } ]
[ { "from": "human", "value": "Show table partitions via the `odps` command" }, { "from": "gpt", "value": "`show partitions {{table_name}};`" } ]
[ { "from": "human", "value": "Describe a partition via the `odps` command" }, { "from": "gpt", "value": "`desc {{table_name}} partition ({{partition_spec}});`" } ]
[ { "from": "human", "value": "Tell me about `odps resource`." }, { "from": "gpt", "value": "Manage resources in ODPS (Open Data Processing Service).\nSee also `odps`.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" } ]
[ { "from": "human", "value": "Show resources in the current project via the `odps-resource` command" }, { "from": "gpt", "value": "`list resources;`" } ]
[ { "from": "human", "value": "Add file resource via the `odps-resource` command" }, { "from": "gpt", "value": "`add file {{filename}} as {{alias}};`" } ]
[ { "from": "human", "value": "Add archive resource via the `odps-resource` command" }, { "from": "gpt", "value": "`add archive {{archive.tar.gz}} as {{alias}};`" } ]
[ { "from": "human", "value": "Add .jar resource via the `odps-resource` command" }, { "from": "gpt", "value": "`add jar {{package.jar}};`" } ]
[ { "from": "human", "value": "Add .py resource via the `odps-resource` command" }, { "from": "gpt", "value": "`add py {{script.py}};`" } ]
[ { "from": "human", "value": "Delete resource via the `odps-resource` command" }, { "from": "gpt", "value": "`drop resource {{resource_name}};`" } ]
[ { "from": "human", "value": "Tell me about `odps table`." }, { "from": "gpt", "value": "Create and modify tables in ODPS (Open Data Processing Service).\nSee also `odps`.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" } ]
[ { "from": "human", "value": "Create a table with partition and lifecycle via the `odps-table` command" }, { "from": "gpt", "value": "`create table {{table_name}} ({{col}} {{type}}) partitioned by ({{col}} {{type}}) lifecycle {{days}};`" } ]
[ { "from": "human", "value": "Create a table based on the definition of another table via the `odps-table` command" }, { "from": "gpt", "value": "`create table {{table_name}} like {{another_table}};`" } ]
[ { "from": "human", "value": "Add partition to a table via the `odps-table` command" }, { "from": "gpt", "value": "`alter table {{table_name}} add partition ({{partition_spec}});`" } ]
[ { "from": "human", "value": "Delete partition from a table via the `odps-table` command" }, { "from": "gpt", "value": "`alter table {{table_name}} drop partition ({{partition_spec}});`" } ]
[ { "from": "human", "value": "Delete table via the `odps-table` command" }, { "from": "gpt", "value": "`drop table {{table_name}};`" } ]
[ { "from": "human", "value": "Tell me about `odps tunnel`." }, { "from": "gpt", "value": "Data tunnel in ODPS (Open Data Processing Service).\nSee also `odps`.\nMore information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.\n" } ]
[ { "from": "human", "value": "Download table to local file via the `odps-tunnel` command" }, { "from": "gpt", "value": "`tunnel download {{table_name}} {{path/to/file}};`" } ]
[ { "from": "human", "value": "Upload local file to a table partition via the `odps-tunnel` command" }, { "from": "gpt", "value": "`tunnel upload {{path/to/file}} {{table_name}}/{{partition_spec}};`" } ]
[ { "from": "human", "value": "Upload table specifying field and record delimiters via the `odps-tunnel` command" }, { "from": "gpt", "value": "`tunnel upload {{path/to/file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};`" } ]
[ { "from": "human", "value": "Upload table using multiple threads via the `odps-tunnel` command" }, { "from": "gpt", "value": "`tunnel upload {{path/to/file}} {{table_name}} -threads {{num}};`" } ]
[ { "from": "human", "value": "Tell me about `offlineimap`." }, { "from": "gpt", "value": "Synchronize a remote IMAP server with local Maildir folders.\nMore information: <https://www.offlineimap.org>.\n" } ]
[ { "from": "human", "value": "Synchronize once, without enabling autorefresh via the `offlineimap` command" }, { "from": "gpt", "value": "`offlineimap -o`" } ]
[ { "from": "human", "value": "Synchronize a specific account via the `offlineimap` command" }, { "from": "gpt", "value": "`offlineimap -a {{account}}`" } ]
[ { "from": "human", "value": "Synchronize a specific folder via the `offlineimap` command" }, { "from": "gpt", "value": "`offlineimap -f {{folder}}`" } ]
[ { "from": "human", "value": "Tell me about `ogr2ogr`." }, { "from": "gpt", "value": "Convert geospatial vector data between file formats.\nMore information: <https://gdal.org/programs/ogr2ogr.html>.\n" } ]
[ { "from": "human", "value": "Convert a Shapefile into a GeoPackage via the `ogr2ogr` command" }, { "from": "gpt", "value": "`ogr2ogr -f GPKG {{path/to/output.gpkg}} {{path/to/input.shp}}`" } ]
[ { "from": "human", "value": "Reduce a GeoJSON to features matching a condition via the `ogr2ogr` command" }, { "from": "gpt", "value": "`ogr2ogr -where '{{myProperty > 42}}' -f {{GeoJSON}} {{path/to/output.geojson}} {{path/to/input.geojson}}`" } ]
[ { "from": "human", "value": "Change coordinate reference system of a GeoPackage from `EPSG:4326` to `EPSG:3857` via the `ogr2ogr` command" }, { "from": "gpt", "value": "`ogr2ogr -s_srs {{EPSG:4326}} -t_srs {{EPSG:3857}} -f GPKG {{path/to/output.gpkg}} {{path/to/input.gpkg}}`" } ]
[ { "from": "human", "value": "Convert a CSV file into a GeoPackage, specifying the names of the coordinate columns and assigning a coordinate reference system via the `ogr2ogr` command" }, { "from": "gpt", "value": "`ogr2ogr -f GPKG {{path/to/output.gpkg}} {{path/to/input.csv}} -oo X_POSSIBLE_NAM...
[ { "from": "human", "value": "Load a GeoPackage into a PostGIS database via the `ogr2ogr` command" }, { "from": "gpt", "value": "`ogr2ogr -f PostgreSQL PG:dbname=\"{{database_name}}\" {{path/to/input.gpkg}}`" } ]
[ { "from": "human", "value": "Clip layers of a GeoPackage file to the given bounding box via the `ogr2ogr` command" }, { "from": "gpt", "value": "`ogr2ogr -spat {{min_x}} {{min_y}} {{max_x}} {{max_y}} -f GPKG {{path/to/output.gpkg}} {{path/to/input.gpkg}}`" } ]
[ { "from": "human", "value": "Tell me about `ogrinfo`." }, { "from": "gpt", "value": "List information about an OGR-supported data source.\nMore information: <https://gdal.org/programs/ogrinfo.html>.\n" } ]
[ { "from": "human", "value": "List supported formats via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo --formats`" } ]
[ { "from": "human", "value": "List layers of a data source via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo {{path/to/input.gpkg}}`" } ]
[ { "from": "human", "value": "Get detailed information about a specific layer of a data source via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo {{path/to/input.gpkg}} {{layer_name}}`" } ]
[ { "from": "human", "value": "Show summary information about a specific layer of a data source via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo -so {{path/to/input.gpkg}} {{layer_name}}`" } ]
[ { "from": "human", "value": "Show summary of all layers of the data source via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo -so -al {{path/to/input.gpkg}}`" } ]
[ { "from": "human", "value": "Show detailed information of features matching a condition via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo -where '{{attribute_name > 42}}' {{path/to/input.gpkg}} {{layer_name}}`" } ]
[ { "from": "human", "value": "Update a layer in the data source with SQL via the `ogrinfo` command" }, { "from": "gpt", "value": "`ogrinfo {{path/to/input.geojson}} -dialect SQLite -sql \"{{UPDATE input SET attribute_name = 'foo'}}\"`" } ]
[ { "from": "human", "value": "Tell me about `ogrmerge.py`." }, { "from": "gpt", "value": "Merge several vector datasets into a single one.\nMore information: <https://gdal.org/programs/ogrmerge.html>.\n" } ]
[ { "from": "human", "value": "Create a GeoPackage with a layer for each input Shapefile via the `ogrmerge.py` command" }, { "from": "gpt", "value": "`ogrmerge.py -f {{GPKG}} -o {{path/to/output.gpkg}} {{path/to/input1.shp path/to/input2.shp ...}}`" } ]
[ { "from": "human", "value": "Create a virtual datasource (VRT) with a layer for each input GeoJSON via the `ogrmerge.py` command" }, { "from": "gpt", "value": "`ogrmerge.py -f {{VRT}} -o {{path/to/output.vrt}} {{path/to/input1.geojson path/to/input2.geojson ...}}`" } ]
[ { "from": "human", "value": "Concatenate two vector datasets and store source name of dataset in attribute 'source_name' via the `ogrmerge.py` command" }, { "from": "gpt", "value": "`ogrmerge.py -single -f {{GeoJSON}} -o {{path/to/output.geojson}} -src_layer_field_name country {{source_name}} {{...
[ { "from": "human", "value": "Tell me about `ohdear-cli`." }, { "from": "gpt", "value": "An unofficial Oh Dear CLI written with Laravel Zero.\nMore information: <https://github.com/nunomaduro/ohdear-cli>.\n" } ]
[ { "from": "human", "value": "Display details about the currently authenticated user via the `ohdear-cli` command" }, { "from": "gpt", "value": "`ohdear-cli me`" } ]