conversations
listlengths
2
2
[ { "from": "human", "value": "Encode a JSON string to a JWT via the `jwt` command" }, { "from": "gpt", "value": "`jwt encode --alg {{HS256}} --secret {{1234567890}} '{{json_string}}'`" } ]
[ { "from": "human", "value": "Encode key pair payload to JWT via the `jwt` command" }, { "from": "gpt", "value": "`jwt encode --alg {{HS256}} --secret {{1234567890}} -P {{key=value}}`" } ]
[ { "from": "human", "value": "Tell me about `k3d`." }, { "from": "gpt", "value": "A wrapper to easily create k3s clusters inside Docker.\nMore information: <https://k3d.io>.\n" } ]
[ { "from": "human", "value": "Create a cluster via the `k3d` command" }, { "from": "gpt", "value": "`k3d cluster create {{cluster_name}}`" } ]
[ { "from": "human", "value": "Delete a cluster via the `k3d` command" }, { "from": "gpt", "value": "`k3d cluster delete {{cluster_name}}`" } ]
[ { "from": "human", "value": "Create a new containerized k3s node via the `k3d` command" }, { "from": "gpt", "value": "`k3d node create {{node_name}}`" } ]
[ { "from": "human", "value": "Import an image from Docker into a k3d cluster via the `k3d` command" }, { "from": "gpt", "value": "`k3d image import {{image_name}} --cluster {{cluster_name}}`" } ]
[ { "from": "human", "value": "Create a new registry via the `k3d` command" }, { "from": "gpt", "value": "`k3d registry create {{registry_name}}`" } ]
[ { "from": "human", "value": "Tell me about `k6`." }, { "from": "gpt", "value": "Open source load testing tool and SaaS for engineering teams.\nMore information: <https://k6.io>.\n" } ]
[ { "from": "human", "value": "Run load test locally via the `k6` command" }, { "from": "gpt", "value": "`k6 run {{script.js}}`" } ]
[ { "from": "human", "value": "Run load test locally with a given number of virtual users and duration via the `k6` command" }, { "from": "gpt", "value": "`k6 run --vus {{10}} --duration {{30s}} {{script.js}}`" } ]
[ { "from": "human", "value": "Run load test locally with a given environment variable via the `k6` command" }, { "from": "gpt", "value": "`k6 run -e {{HOSTNAME=example.com}} {{script.js}}`" } ]
[ { "from": "human", "value": "Run load test locally using InfluxDB to store results via the `k6` command" }, { "from": "gpt", "value": "`k6 run --out influxdb={{http://localhost:8086/k6db}} {{script.js}}`" } ]
[ { "from": "human", "value": "Run load test locally and discard response bodies (significantly faster) via the `k6` command" }, { "from": "gpt", "value": "`k6 run --discard-response-bodies {{script.js}}`" } ]
[ { "from": "human", "value": "Run load test locally using the base JavaScript compatibility mode (significantly faster) via the `k6` command" }, { "from": "gpt", "value": "`k6 run --compatibility-mode=base {{script.js}}`" } ]
[ { "from": "human", "value": "Log in to cloud service using secret token via the `k6` command" }, { "from": "gpt", "value": "`k6 login cloud --token {{secret}}`" } ]
[ { "from": "human", "value": "Run load test on cloud infrastructure via the `k6` command" }, { "from": "gpt", "value": "`k6 cloud {{script.js}}`" } ]
[ { "from": "human", "value": "Tell me about `k8sec`." }, { "from": "gpt", "value": "Manage Kubernetes secrets.\nMore information: <https://github.com/dtan4/k8sec>.\n" } ]
[ { "from": "human", "value": "List all secrets via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec list`" } ]
[ { "from": "human", "value": "List a specific secret as a base64-encoded string via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec list {{secret_name}} --base64`" } ]
[ { "from": "human", "value": "Set a secret's value via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec set {{secret_name}} {{key=value}}`" } ]
[ { "from": "human", "value": "Set a base64-encoded value via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec set --base64 {{secret_name}} {{key=encoded_value}}`" } ]
[ { "from": "human", "value": "Unset a secret via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec unset {{secret_name}}`" } ]
[ { "from": "human", "value": "Load secrets from a file via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec load -f {{path/to/file}} {{secret_name}}`" } ]
[ { "from": "human", "value": "Dump secrets to a file via the `k8sec` command" }, { "from": "gpt", "value": "`k8sec dump -f {{path/to/file}} {{secret_name}}`" } ]
[ { "from": "human", "value": "Tell me about `k8s-unused-secret-detector`." }, { "from": "gpt", "value": "Detect unused Kubernetes secrets.\nMore information: <https://github.com/dtan4/k8s-unused-secret-detector>.\n" } ]
[ { "from": "human", "value": "Detect unused secrets via the `k8s-unused-secret-detector` command" }, { "from": "gpt", "value": "`k8s-unused-secret-detector`" } ]
[ { "from": "human", "value": "Detect unused secrets in a specific namespace via the `k8s-unused-secret-detector` command" }, { "from": "gpt", "value": "`k8s-unused-secret-detector -n {{namespace}}`" } ]
[ { "from": "human", "value": "Delete unused secrets in a specific namespace via the `k8s-unused-secret-detector` command" }, { "from": "gpt", "value": "`k8s-unused-secret-detector -n {{namespace}} | kubectl delete secret -n {{namespace}}`" } ]
[ { "from": "human", "value": "Tell me about `k9s`." }, { "from": "gpt", "value": "View and manage Kubernetes clusters.\nMore information: <https://k9scli.io/topics/commands/>.\n" } ]
[ { "from": "human", "value": "Manage a cluster using a kubeconfig context via the `k9s` command" }, { "from": "gpt", "value": "`k9s --context {{kubeconfig_context_name}}`" } ]
[ { "from": "human", "value": "Manage a cluster in read-only mode (disabling all commands that may cause modifications) via the `k9s` command" }, { "from": "gpt", "value": "`k9s --readonly --cluster {{cluster_name}}`" } ]
[ { "from": "human", "value": "Manage a cluster using a given kubernetes namespace via the `k9s` command" }, { "from": "gpt", "value": "`k9s --namespace {{kubernetes_namespace}} --cluster {{cluster_name}}`" } ]
[ { "from": "human", "value": "Manage a cluster launching k9s in the pod view and enable debug logging via the `k9s` command" }, { "from": "gpt", "value": "`k9s --command {{pod}} --logLevel debug --cluster {{cluster_name}}`" } ]
[ { "from": "human", "value": "Tell me about `kafkacat`." }, { "from": "gpt", "value": "This command is an alias of `kcat`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `kafkacat` command" }, { "from": "gpt", "value": "`tldr kcat`" } ]
[ { "from": "human", "value": "Tell me about `kaggle`." }, { "from": "gpt", "value": "Official CLI for Kaggle implemented in Python 3.\nMore information: <https://github.com/Kaggle/kaggle-api>.\n" } ]
[ { "from": "human", "value": "View current configuration values via the `kaggle` command" }, { "from": "gpt", "value": "`kaggle config view`" } ]
[ { "from": "human", "value": "Download a specific file from a competition dataset via the `kaggle` command" }, { "from": "gpt", "value": "`kaggle competitions download {{competition}} -f {{filename}}`" } ]
[ { "from": "human", "value": "Tell me about `kahlan`." }, { "from": "gpt", "value": "A unit and Behaviour Driven Development test framework for PHP.\nMore information: <https://kahlan.github.io>.\n" } ]
[ { "from": "human", "value": "Run all specifications in the \"spec\" directory via the `kahlan` command" }, { "from": "gpt", "value": "`kahlan`" } ]
[ { "from": "human", "value": "Run specifications using a specific configuration file via the `kahlan` command" }, { "from": "gpt", "value": "`kahlan --config={{path/to/configuration_file}}`" } ]
[ { "from": "human", "value": "Run specifications and output using a reporter via the `kahlan` command" }, { "from": "gpt", "value": "`kahlan --reporter={{dot|bar|json|tap|verbose}}`" } ]
[ { "from": "human", "value": "Run specifications with code coverage (detail can be between 0 and 4) via the `kahlan` command" }, { "from": "gpt", "value": "`kahlan --coverage={{detail_level}}`" } ]
[ { "from": "human", "value": "Tell me about `kak`." }, { "from": "gpt", "value": "Kakoune is a mode-based code editor implementing the \"multiple selections\" paradigm.\nData can be selected and simultaneously edited in different locations, using multiple selections; users can also connect to the...
[ { "from": "human", "value": "Open a file and enter normal mode, to execute commands via the `kak` command" }, { "from": "gpt", "value": "`kak {{path/to/file}}`" } ]
[ { "from": "human", "value": "Enter insert mode from normal mode, to write text into the file via the `kak` command" }, { "from": "gpt", "value": "`<i>`" } ]
[ { "from": "human", "value": "Escape insert mode, to go back to normal mode via the `kak` command" }, { "from": "gpt", "value": "`<Esc>`" } ]
[ { "from": "human", "value": "Replace all instances of \"foo\" in the current file with \"bar\" via the `kak` command" }, { "from": "gpt", "value": "`%s{{foo}}<Enter>c{{bar}}<Esc>`" } ]
[ { "from": "human", "value": "Unselect all secondary selections, and keep only the main one via the `kak` command" }, { "from": "gpt", "value": "`<Space>`" } ]
[ { "from": "human", "value": "Search for numbers and select the first two via the `kak` command" }, { "from": "gpt", "value": "`/\\d+<Enter>N`" } ]
[ { "from": "human", "value": "Insert the contents of a file via the `kak` command" }, { "from": "gpt", "value": "`<!>cat {{path/to/file}}<Enter>`" } ]
[ { "from": "human", "value": "Save the current file via the `kak` command" }, { "from": "gpt", "value": "`<:>w<Enter>`" } ]
[ { "from": "human", "value": "Tell me about `katana`." }, { "from": "gpt", "value": "A fast crawler focused on execution in automation pipelines offering both headless and non-headless crawling.\nSee also: `gau`, `scrapy`, `waymore`.\nMore information: <https://github.com/projectdiscovery/katana>...
[ { "from": "human", "value": "Crawl a list of URLs via the `katana` command" }, { "from": "gpt", "value": "`katana -list {{https://example.com,https://google.com,...}}`" } ]
[ { "from": "human", "value": "Crawl a [u]RL using headless mode using Chromium via the `katana` command" }, { "from": "gpt", "value": "`katana -u {{https://example.com}} {{[-hl|-headless]}}`" } ]
[ { "from": "human", "value": "Use `subfinder` to find subdomains, and then use [p]a[s]sive sources (Wayback Machine, Common Crawl, and AlienVault) for URL discovery via the `katana` command" }, { "from": "gpt", "value": "`subfinder {{[-dL|-list]}} {{path/to/domains.txt}} | katana -passive`" } ]
[ { "from": "human", "value": "Pass requests through a proxy (http/socks5) and use custom headers from a file via the `katana` command" }, { "from": "gpt", "value": "`katana -proxy {{http://127.0.0.1:8080}} {{[-H|-headers]}} {{path/to/headers.txt}} -u {{https://example.com}}`" } ]
[ { "from": "human", "value": "Specify the crawling strategy, depth of subdirectories to crawl, and rate limiting (requests per second) via the `katana` command" }, { "from": "gpt", "value": "`katana {{[-s|-strategy]}} {{depth-first|breadth-first}} {{[-d|-depth]}} {{value}} {{[-rl|-rate-limit]}} {...
[ { "from": "human", "value": "Find subdomains using `subfinder`, crawl each for a maximum number of seconds, and write results to an output file via the `katana` command" }, { "from": "gpt", "value": "`subfinder {{[-dL|-list]}} {{path/to/domains.txt}} | katana {{[-ct|-crawl-duration]}} {{value}} ...
[ { "from": "human", "value": "Tell me about `kate`." }, { "from": "gpt", "value": "KDE's advanced text editor.\nMore information: <https://kate-editor.org/>.\n" } ]
[ { "from": "human", "value": "Open specific files via the `kate` command" }, { "from": "gpt", "value": "`kate {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Open specific remote files via the `kate` command" }, { "from": "gpt", "value": "`kate {{https://example.com/path/to/file1 https://example.com/path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Create a new editor instance even if one is already open via the `kate` command" }, { "from": "gpt", "value": "`kate --new`" } ]
[ { "from": "human", "value": "Open a file with the cursor at the specific line via the `kate` command" }, { "from": "gpt", "value": "`kate --line {{line_number}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Open a file with the cursor at the specific line and column via the `kate` command" }, { "from": "gpt", "value": "`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Create a file from `stdin` via the `kate` command" }, { "from": "gpt", "value": "`cat {{path/to/file}} | kate --stdin`" } ]
[ { "from": "human", "value": "Display help via the `kate` command" }, { "from": "gpt", "value": "`kate --help`" } ]
[ { "from": "human", "value": "Tell me about `kcadm.sh`." }, { "from": "gpt", "value": "Perform administration tasks.\nMore information: <https://www.keycloak.org/docs/latest/server_admin/#admin-cli>.\n" } ]
[ { "from": "human", "value": "Start an authenticated session via the `kcadm.sh` command" }, { "from": "gpt", "value": "`kcadm.sh config credentials --server {{host}} --realm {{realm_name}} --user {{username}} --password {{password}}`" } ]
[ { "from": "human", "value": "Create a user via the `kcadm.sh` command" }, { "from": "gpt", "value": "`kcadm.sh create users -s username={{username}} -r {{realm_name}}`" } ]
[ { "from": "human", "value": "List all realms via the `kcadm.sh` command" }, { "from": "gpt", "value": "`kcadm.sh get realms`" } ]
[ { "from": "human", "value": "Update a realm with JSON config via the `kcadm.sh` command" }, { "from": "gpt", "value": "`kcadm.sh update realms/{{realm_name}} -f {{path/to/file.json}}`" } ]
[ { "from": "human", "value": "Tell me about `kcat`." }, { "from": "gpt", "value": "Apache Kafka producer and consumer tool.\nMore information: <https://github.com/edenhill/kcat>.\n" } ]
[ { "from": "human", "value": "Consume messages starting with the newest offset via the `kcat` command" }, { "from": "gpt", "value": "`kcat -C -t {{topic}} -b {{brokers}}`" } ]
[ { "from": "human", "value": "Consume messages starting with the oldest offset and exit after the last message is received via the `kcat` command" }, { "from": "gpt", "value": "`kcat -C -t {{topic}} -b {{brokers}} -o beginning -e`" } ]
[ { "from": "human", "value": "Consume messages as a Kafka consumer group via the `kcat` command" }, { "from": "gpt", "value": "`kcat -G {{group_id}} {{topic}} -b {{brokers}}`" } ]
[ { "from": "human", "value": "Publish message by reading from `stdin` via the `kcat` command" }, { "from": "gpt", "value": "`echo {{message}} | kcat -P -t {{topic}} -b {{brokers}}`" } ]
[ { "from": "human", "value": "Publish messages by reading from a file via the `kcat` command" }, { "from": "gpt", "value": "`kcat -P -t {{topic}} -b {{brokers}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "List metadata for all topics and brokers via the `kcat` command" }, { "from": "gpt", "value": "`kcat -L -b {{brokers}}`" } ]
[ { "from": "human", "value": "List metadata for a specific topic via the `kcat` command" }, { "from": "gpt", "value": "`kcat -L -t {{topic}} -b {{brokers}}`" } ]
[ { "from": "human", "value": "Get offset for a topic/partition for a specific point in time via the `kcat` command" }, { "from": "gpt", "value": "`kcat -Q -t {{topic}}:{{partition}}:{{unix_timestamp}} -b {{brokers}}`" } ]
[ { "from": "human", "value": "Tell me about `kdeconnect-cli`." }, { "from": "gpt", "value": "Use KDE Connect for sharing files or text to a device, ringing it, unlocking it, and much more.\nMore information: <https://kdeconnect.kde.org>.\n" } ]
[ { "from": "human", "value": "List all devices via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --list-devices`" } ]
[ { "from": "human", "value": "List available (paired and reachable) devices via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --list-available`" } ]
[ { "from": "human", "value": "Request pairing with a specific device, specifying its ID via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --pair --device {{device_id}}`" } ]
[ { "from": "human", "value": "Ring a device, specifying its name via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --ring --name \"{{device_name}}\"`" } ]
[ { "from": "human", "value": "Share an URL or file with a paired device, specifying its ID via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --share {{url|path/to/file}} --device {{device_id}}`" } ]
[ { "from": "human", "value": "Send an SMS with an optional attachment to a specific number via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --name \"{{device_name}}\" --send-sms \"{{message}}\" --destination {{phone_number}} --attachment {{path/to/file}}`" } ]
[ { "from": "human", "value": "Unlock a specific device via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --name \"{{device_name}}\" --unlock`" } ]
[ { "from": "human", "value": "Simulate a key press on a specific device via the `kdeconnect-cli` command" }, { "from": "gpt", "value": "`kdeconnect-cli --name \"{{device_name}}\" --send-keys {{key}}`" } ]
[ { "from": "human", "value": "Tell me about `kdenlive`." }, { "from": "gpt", "value": "KDE's non-linear video editor.\nMore information: <https://manned.org/kdenlive>.\n" } ]
[ { "from": "human", "value": "Start the video editor via the `kdenlive` command" }, { "from": "gpt", "value": "`kdenlive`" } ]
[ { "from": "human", "value": "Open a specific file via the `kdenlive` command" }, { "from": "gpt", "value": "`kdenlive {{path/to/file.kdenlive}}`" } ]
[ { "from": "human", "value": "Use a specific path for an MLT environment via the `kdenlive` command" }, { "from": "gpt", "value": "`kdenlive --mlt-path {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Use a specific log level for an MLT environment via the `kdenlive` command" }, { "from": "gpt", "value": "`kdenlive --mlt-log {{verbose|debug}}`" } ]
[ { "from": "human", "value": "Display help via the `kdenlive` command" }, { "from": "gpt", "value": "`kdenlive --help`" } ]
[ { "from": "human", "value": "Display version via the `kdenlive` command" }, { "from": "gpt", "value": "`kdenlive --version`" } ]
[ { "from": "human", "value": "Tell me about `kdig`." }, { "from": "gpt", "value": "Advanced DNS lookup utility.\nMore information: <https://www.knot-dns.cz/docs/latest/html/man_kdig.html>.\n" } ]
[ { "from": "human", "value": "Lookup the IP(s) associated with a hostname (A records) via the `kdig` command" }, { "from": "gpt", "value": "`kdig {{example.com}}`" } ]