conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Open a file via the `openscad` command"
},
{
"from": "gpt",
"value": "`openscad {{path/to/button.scad}}`"
}
] |
[
{
"from": "human",
"value": "Convert a file to STL via the `openscad` command"
},
{
"from": "gpt",
"value": "`openscad -o {{path/to/button.stl}} {{path/to/button.scad}}`"
}
] |
[
{
"from": "human",
"value": "Render a file to PNG in a specific colorscheme via the `openscad` command"
},
{
"from": "gpt",
"value": "`openscad -o {{path/to/button.png}} --colorscheme {{Sunset}} {{path/to/button.scad}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl dgst`."
},
{
"from": "gpt",
"value": "OpenSSL command to generate digest values and perform signature operations.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-dgst.html>.\n"
}
] |
[
{
"from": "human",
"value": "Calculate the SHA256 digest for a file, saving the result to a specific file via the `openssl-dgst` command"
},
{
"from": "gpt",
"value": "`openssl dgst -sha256 -binary -out {{output_file}} {{input_file}}`"
}
] |
[
{
"from": "human",
"value": "Sign a file using an RSA key, saving the result to a specific file via the `openssl-dgst` command"
},
{
"from": "gpt",
"value": "`openssl dgst -sign {{private_key_file}} -sha256 -sigopt rsa_padding_mode:pss -out {{output_file}} {{input_file}}`"
}
] |
[
{
"from": "human",
"value": "Verify an RSA signature via the `openssl-dgst` command"
},
{
"from": "gpt",
"value": "`openssl dgst -verify {{public_key_file}} -signature {{signature_file}} -sigopt rsa_padding_mode:pss {{signature_message_file}}`"
}
] |
[
{
"from": "human",
"value": "Sign a file using and ECDSA key via the `openssl-dgst` command"
},
{
"from": "gpt",
"value": "`openssl dgst -sign {{private_key_file}} -sha256 -out {{output_file}} {{input_file}}`"
}
] |
[
{
"from": "human",
"value": "Verify an ECDSA signature via the `openssl-dgst` command"
},
{
"from": "gpt",
"value": "`openssl dgst -verify {{public_key_file}} -signature {{signature_file}} {{signature_message_file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl genpkey`."
},
{
"from": "gpt",
"value": "OpenSSL command to generate asymmetric key pairs.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate an RSA private key of 2048 bits, saving it to a specific file via the `openssl-genpkey` command"
},
{
"from": "gpt",
"value": "`openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:{{2048}} -out {{filename.key}}`"
}
] |
[
{
"from": "human",
"value": "Generate an elliptic curve private key using the curve `prime256v1`, saving it to a specific file via the `openssl-genpkey` command"
},
{
"from": "gpt",
"value": "`openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:{{prime256v1}} -out {{filename.key}}`"
}
] |
[
{
"from": "human",
"value": "Generate an `ED25519` elliptic curve private key, saving it to a specific file via the `openssl-genpkey` command"
},
{
"from": "gpt",
"value": "`openssl genpkey -algorithm {{ED25519}} -out {{filename.key}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl genrsa`."
},
{
"from": "gpt",
"value": "OpenSSL command to generate RSA private keys.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-genrsa.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate an RSA private key of 2048 bits to `stdout` via the `openssl-genrsa` command"
},
{
"from": "gpt",
"value": "`openssl genrsa`"
}
] |
[
{
"from": "human",
"value": "Save an RSA private key of an arbitrary number of bits to the output file via the `openssl-genrsa` command"
},
{
"from": "gpt",
"value": "`openssl genrsa -out {{output_file.key}} {{1234}}`"
}
] |
[
{
"from": "human",
"value": "Generate an RSA private key and encrypt it with AES256 (you will be prompted for a passphrase) via the `openssl-genrsa` command"
},
{
"from": "gpt",
"value": "`openssl genrsa {{-aes256}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl`."
},
{
"from": "gpt",
"value": "OpenSSL cryptographic toolkit.\nSome subcommands such as `req` have their own usage documentation.\nMore information: <https://www.openssl.org>.\n"
}
] |
[
{
"from": "human",
"value": "Display help via the `openssl` command"
},
{
"from": "gpt",
"value": "`openssl help`"
}
] |
[
{
"from": "human",
"value": "Display help for a specific subcommand via the `openssl` command"
},
{
"from": "gpt",
"value": "`openssl help {{x509}}`"
}
] |
[
{
"from": "human",
"value": "Display version via the `openssl` command"
},
{
"from": "gpt",
"value": "`openssl version`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl prime`."
},
{
"from": "gpt",
"value": "OpenSSL command to compute prime numbers.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-prime.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a 2048bit prime number and display it in hexadecimal via the `openssl-prime` command"
},
{
"from": "gpt",
"value": "`openssl prime -generate -bits 2048 -hex`"
}
] |
[
{
"from": "human",
"value": "Check if a given number is prime via the `openssl-prime` command"
},
{
"from": "gpt",
"value": "`openssl prime {{number}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl req`."
},
{
"from": "gpt",
"value": "OpenSSL command to manage PKCS#10 Certificate Signing Requests.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-req.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a certificate signing request to be sent to a certificate authority via the `openssl-req` command"
},
{
"from": "gpt",
"value": "`openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}`"
}
] |
[
{
"from": "human",
"value": "Generate a self-signed certificate and a corresponding key-pair, storing both in a file via the `openssl-req` command"
},
{
"from": "gpt",
"value": "`openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj \"{{/C=XX/CN=fo... |
[
{
"from": "human",
"value": "Tell me about `openssl s_client`."
},
{
"from": "gpt",
"value": "OpenSSL command to create TLS client connections.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-s_client.html>.\n"
}
] |
[
{
"from": "human",
"value": "Display the start and expiry dates for a domain's certificate via the `openssl-s_client` command"
},
{
"from": "gpt",
"value": "`openssl s_client -connect {{host}}:{{port}} 2>/dev/null | openssl x509 -noout -dates`"
}
] |
[
{
"from": "human",
"value": "Display the certificate presented by an SSL/TLS server via the `openssl-s_client` command"
},
{
"from": "gpt",
"value": "`openssl s_client -connect {{host}}:{{port}} </dev/null`"
}
] |
[
{
"from": "human",
"value": "Set the Server Name Indicator (SNI) when connecting to the SSL/TLS server via the `openssl-s_client` command"
},
{
"from": "gpt",
"value": "`openssl s_client -connect {{host}}:{{port}} -servername {{hostname}}`"
}
] |
[
{
"from": "human",
"value": "Display the complete certificate chain of an HTTPS server via the `openssl-s_client` command"
},
{
"from": "gpt",
"value": "`openssl s_client -connect {{host}}:443 -showcerts </dev/null`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openssl ts`."
},
{
"from": "gpt",
"value": "OpenSSL command to generate and verify timestamps.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-ts.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a SHA-512 timestamp request of a specific file and output to `file.tsq` via the `openssl-ts` command"
},
{
"from": "gpt",
"value": "`openssl ts -query -data {{path/to/file}} -sha512 -out {{path/to/file.tsq}}`"
}
] |
[
{
"from": "human",
"value": "Check the date and metadata of a specific timestamp response file via the `openssl-ts` command"
},
{
"from": "gpt",
"value": "`openssl ts -reply -in {{path/to/file.tsr}} -text`"
}
] |
[
{
"from": "human",
"value": "Verify a timestamp request file and a timestamp response file from the server with an SSL certificate file via the `openssl-ts` command"
},
{
"from": "gpt",
"value": "`openssl ts -verify -in {{path/to/file.tsr}} -queryfile {{path/to/file.tsq}} -partial_chain -CAfile ... |
[
{
"from": "human",
"value": "Create a timestamp response for request using key and signing certificate and output it to `file.tsr` via the `openssl-ts` command"
},
{
"from": "gpt",
"value": "`openssl ts -reply -queryfile {{path/to/file.tsq}} -inkey {{path/to/tsakey.pem}} -signer tsacert.pem -out... |
[
{
"from": "human",
"value": "Tell me about `openssl x509`."
},
{
"from": "gpt",
"value": "OpenSSL command to manage X.509 certificates.\nMore information: <https://www.openssl.org/docs/manmaster/man1/openssl-x509.html>.\n"
}
] |
[
{
"from": "human",
"value": "Display certificate information via the `openssl-x509` command"
},
{
"from": "gpt",
"value": "`openssl x509 -in {{filename.crt}} -noout -text`"
}
] |
[
{
"from": "human",
"value": "Display a certificate's expiration date via the `openssl-x509` command"
},
{
"from": "gpt",
"value": "`openssl x509 -enddate -noout -in {{filename.pem}}`"
}
] |
[
{
"from": "human",
"value": "Convert a certificate between binary DER encoding and textual PEM encoding via the `openssl-x509` command"
},
{
"from": "gpt",
"value": "`openssl x509 -inform {{der}} -outform {{pem}} -in {{original_certificate_file}} -out {{converted_certificate_file}}`"
}
] |
[
{
"from": "human",
"value": "Store a certificate's public key in a file via the `openssl-x509` command"
},
{
"from": "gpt",
"value": "`openssl x509 -in {{certificate_file}} -noout -pubkey -out {{output_file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openstack help`."
},
{
"from": "gpt",
"value": "Display help information about the openstackclient cli.\nMore information: <https://docs.openstack.org/python-openstackclient/latest/cli/man/openstack.html>.\n"
}
] |
[
{
"from": "human",
"value": "Display a description of a particular command via the `openstack-help` command"
},
{
"from": "gpt",
"value": "`openstack help {{command_name}}`"
}
] |
[
{
"from": "human",
"value": "Get help for Identity v3 via the `openstack-help` command"
},
{
"from": "gpt",
"value": "`openstack --os-identity-api-version 3 --help`"
}
] |
[
{
"from": "human",
"value": "Display help via the `openstack-help` command"
},
{
"from": "gpt",
"value": "`openstack --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openstack image`."
},
{
"from": "gpt",
"value": "OpenStack Image service, aka OpenStack Glance, allows users to upload and discover data assets meant to be used with other services.\nMore information: <https://docs.openstack.org/python-openstackclient/... |
[
{
"from": "human",
"value": "List available images via the `openstack-image` command"
},
{
"from": "gpt",
"value": "`openstack image list {{--private|--shared|--all}}`"
}
] |
[
{
"from": "human",
"value": "Display image details via the `openstack-image` command"
},
{
"from": "gpt",
"value": "`openstack image show --human-readable {{image_id}}`"
}
] |
[
{
"from": "human",
"value": "Create/upload an image via the `openstack-image` command"
},
{
"from": "gpt",
"value": "`openstack image create --file {{path/to/file}} {{--private|--shared|--all}} {{image_name}}`"
}
] |
[
{
"from": "human",
"value": "Delete image(s) via the `openstack-image` command"
},
{
"from": "gpt",
"value": "`openstack image delete {{image_id1 image_id2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Save an image locally via the `openstack-image` command"
},
{
"from": "gpt",
"value": "`openstack image save --file {{filename}} {{image_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openstack server`."
},
{
"from": "gpt",
"value": "Manage OpenStack virtual machines.\nOpenStack Compute service, aka OpenStack Nova, mainly hosts and manages cloud computing systems.\nMore information: <https://docs.openstack.org/python-openstackclient... |
[
{
"from": "human",
"value": "List servers via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server list`"
}
] |
[
{
"from": "human",
"value": "Start server(s) via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server start {{instance_id1 instance_id2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Stop server via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server stop {{instance_id1 instance_id2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Create new server via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server create --image {{image_id}} --flavor {{flavor_id}} --network {{network_id}} --wait {{server_name}}`"
}
] |
[
{
"from": "human",
"value": "Delete server(s) via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server delete {{instance_id1 instance_id2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Migrate server to different host via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server migrate --live {{host_hostname}} {{--shared-migration|--block-migration}} --wait {{instance_id}}`"
}
] |
[
{
"from": "human",
"value": "Perform a soft or hard reset to the server via the `openstack-server` command"
},
{
"from": "gpt",
"value": "`openstack server reboot {{--soft|--hard}} --wait {{instance_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openstack volume`."
},
{
"from": "gpt",
"value": "Manage OpenStack volumes.\nOpenStack Block Storage service, aka OpenStack Cinder, provides volumes to Nova vm's, Ironic bare-metal hosts, containers, and others.\nMore information: <https://docs.opensta... |
[
{
"from": "human",
"value": "List volumes via the `openstack-volume` command"
},
{
"from": "gpt",
"value": "`openstack volume list --all-projects`"
}
] |
[
{
"from": "human",
"value": "Show volume details via the `openstack-volume` command"
},
{
"from": "gpt",
"value": "`openstack volume show {{volume_id}}`"
}
] |
[
{
"from": "human",
"value": "Create new volume via the `openstack-volume` command"
},
{
"from": "gpt",
"value": "`openstack volume create --size {{size_in_GB}} --image {{image_id}} --snapshot {{snapshot_id}} {{--bootable|--non-bootable}} {{volume_name}}`"
}
] |
[
{
"from": "human",
"value": "Delete volumes(s) via the `openstack-volume` command"
},
{
"from": "gpt",
"value": "`openstack volume delete {{volume_id1 volume_id2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Migrate volume to a new host via the `openstack-volume` command"
},
{
"from": "gpt",
"value": "`openstack volume migrate --host {{host_hostname}} {{instance_id}}`"
}
] |
[
{
"from": "human",
"value": "Set volume properties via the `openstack-volume` command"
},
{
"from": "gpt",
"value": "`openstack volume set --name {{volume_new_name}} --size {{volume_new_size}} {{--attached|--detached}} {{--bootable|--non-bootable}} {{volume_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openttd`."
},
{
"from": "gpt",
"value": "Open source clone of the Microprose game \"Transport Tycoon Deluxe\".\nMore information: <https://www.openttd.org>.\n"
}
] |
[
{
"from": "human",
"value": "Start a new game via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -g`"
}
] |
[
{
"from": "human",
"value": "Load save game at start via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -g {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Start with the specified window resolution via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -r {{1920x1080}}`"
}
] |
[
{
"from": "human",
"value": "Start with a custom configuration file via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -c {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Start with selected video, sound, and music drivers via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -v {{video_driver}} -s {{sound_driver}} -m {{music_driver}}`"
}
] |
[
{
"from": "human",
"value": "Start a dedicated server, forked in the background via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -f -D {{host}}:{{port}}`"
}
] |
[
{
"from": "human",
"value": "Join a server with a password via the `openttd` command"
},
{
"from": "gpt",
"value": "`openttd -n {{host}}:{{port}}#{{player_name}} -p {{password}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `openvpn`."
},
{
"from": "gpt",
"value": "OpenVPN client and daemon binary.\nMore information: <https://openvpn.net/>.\n"
}
] |
[
{
"from": "human",
"value": "Connect to server using a configuration file via the `openvpn` command"
},
{
"from": "gpt",
"value": "`sudo openvpn {{path/to/client.conf}}`"
}
] |
[
{
"from": "human",
"value": "Try to set up an insecure peer-to-peer tunnel on bob.example.com host via the `openvpn` command"
},
{
"from": "gpt",
"value": "`sudo openvpn --remote {{alice.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.1}} {{10.4.0.2}}`"
}
] |
[
{
"from": "human",
"value": "Connect to the awaiting bob.example.com host without encryption via the `openvpn` command"
},
{
"from": "gpt",
"value": "`sudo openvpn --remote {{bob.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.2}} {{10.4.0.1}}`"
}
] |
[
{
"from": "human",
"value": "Create a cryptographic key and save it to file via the `openvpn` command"
},
{
"from": "gpt",
"value": "`openvpn --genkey secret {{path/to/key}}`"
}
] |
[
{
"from": "human",
"value": "Try to set up a peer-to-peer tunnel on bob.example.com host with a static key via the `openvpn` command"
},
{
"from": "gpt",
"value": "`sudo openvpn --remote {{alice.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.1}} {{10.4.0.2}} --secret {{path/to/key}}`"
}
] |
[
{
"from": "human",
"value": "Connect to the awaiting bob.example.com host with the same static key as on bob.example.com via the `openvpn` command"
},
{
"from": "gpt",
"value": "`sudo openvpn --remote {{bob.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.2}} {{10.4.0.1}} --secret {{path/to/key}... |
[
{
"from": "human",
"value": "Tell me about `opera`."
},
{
"from": "gpt",
"value": "This command is an alias of `chromium`.\nMore information: <https://opera.com>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `opera` command"
},
{
"from": "gpt",
"value": "`tldr chromium`"
}
] |
[
{
"from": "human",
"value": "Tell me about `op`."
},
{
"from": "gpt",
"value": "Official CLI for 1Password's desktop app.\nMore information: <https://developer.1password.com/docs/cli/reference>.\n"
}
] |
[
{
"from": "human",
"value": "Sign in to a 1Password account via the `op` command"
},
{
"from": "gpt",
"value": "`op signin`"
}
] |
[
{
"from": "human",
"value": "List all vaults via the `op` command"
},
{
"from": "gpt",
"value": "`op vault list`"
}
] |
[
{
"from": "human",
"value": "Print item details in JSON format via the `op` command"
},
{
"from": "gpt",
"value": "`op item get {{item_name}} --format json`"
}
] |
[
{
"from": "human",
"value": "Create a new item with a category in the default vault via the `op` command"
},
{
"from": "gpt",
"value": "`op item create --category {{category_name}}`"
}
] |
[
{
"from": "human",
"value": "Print a referenced secret to `stdout` via the `op` command"
},
{
"from": "gpt",
"value": "`op read {{secret_reference}}`"
}
] |
[
{
"from": "human",
"value": "Pass secret references from exported environment variables to a command via the `op` command"
},
{
"from": "gpt",
"value": "`op run -- {{command}}`"
}
] |
[
{
"from": "human",
"value": "Pass secret references from an environment file to a command via the `op` command"
},
{
"from": "gpt",
"value": "`op run --env-file {{path/to/env_file.env}} -- {{command}}`"
}
] |
[
{
"from": "human",
"value": "Read secret references from a file and save plaintext secrets to a file via the `op` command"
},
{
"from": "gpt",
"value": "`op inject --in-file {{path/to/input_file}} --out-file {{path/to/output_file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `optipng`."
},
{
"from": "gpt",
"value": "PNG file optimization utility.\nMore information: <https://optipng.sourceforge.net>.\n"
}
] |
[
{
"from": "human",
"value": "Compress a PNG with default settings via the `optipng` command"
},
{
"from": "gpt",
"value": "`optipng {{path/to/file.png}}`"
}
] |
[
{
"from": "human",
"value": "Compress a PNG with the best compression via the `optipng` command"
},
{
"from": "gpt",
"value": "`optipng -o{{7}} {{path/to/file.png}}`"
}
] |
[
{
"from": "human",
"value": "Compress a PNG with the fastest compression via the `optipng` command"
},
{
"from": "gpt",
"value": "`optipng -o{{0}} {{path/to/file.png}}`"
}
] |
[
{
"from": "human",
"value": "Compress a PNG and add interlacing via the `optipng` command"
},
{
"from": "gpt",
"value": "`optipng -i {{1}} {{path/to/file.png}}`"
}
] |
[
{
"from": "human",
"value": "Compress a PNG and preserve all metadata (including file timestamps) via the `optipng` command"
},
{
"from": "gpt",
"value": "`optipng -preserve {{path/to/file.png}}`"
}
] |
[
{
"from": "human",
"value": "Compress a PNG and remove all metadata via the `optipng` command"
},
{
"from": "gpt",
"value": "`optipng -strip all {{path/to/file.png}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.