conversations
listlengths
2
2
[ { "from": "human", "value": "Log into a registry with password from `stdin`" }, { "from": "gpt", "value": "echo \"password\" | docker login --username username --password-stdin" } ]
[ { "from": "human", "value": "Get all contexts in the default kubeconfig file" }, { "from": "gpt", "value": "kubectl config get-contexts" } ]
[ { "from": "human", "value": "Get all clusters/contexts/users in a custom kubeconfig file" }, { "from": "gpt", "value": "kubectl config get-clusters|get-contexts|get-users --kubeconfig path/to/kubeconfig.yaml" } ]
[ { "from": "human", "value": "Get the current context" }, { "from": "gpt", "value": "kubectl config current-context" } ]
[ { "from": "human", "value": "Switch to another context" }, { "from": "gpt", "value": "kubectl config use|use-context context_name" } ]
[ { "from": "human", "value": "Delete clusters/contexts/users" }, { "from": "gpt", "value": "kubectl config delete-cluster|delete-context|delete-user cluster|context|user" } ]
[ { "from": "human", "value": "Permanently add custom kubeconfig files" }, { "from": "gpt", "value": "export KUBECONFIG=\"$HOME.kube/config:path/to/custom/kubeconfig.yaml\" kubectl config get-contexts" } ]
[ { "from": "human", "value": "Extract the second column from a CSV file" }, { "from": "gpt", "value": "csvtool --column 2 path/to/file.csv" } ]
[ { "from": "human", "value": "Extract the second and fourth columns from a CSV file" }, { "from": "gpt", "value": "csvtool --column 2,4 path/to/file.csv" } ]
[ { "from": "human", "value": "Extract lines from a CSV file where the second column exactly matches 'Foo'" }, { "from": "gpt", "value": "csvtool --column 2 --search '^Foo$' path/to/file.csv" } ]
[ { "from": "human", "value": "Extract lines from a CSV file where the second column starts with 'Bar'" }, { "from": "gpt", "value": "csvtool --column 2 --search '^Bar' path/to/file.csv" } ]
[ { "from": "human", "value": "Find lines in a CSV file where the second column ends with 'Baz' and then extract the third and sixth columns" }, { "from": "gpt", "value": "csvtool --column 2 --search 'Baz$' path/to/file.csv | csvtool --no-header --column 3,6" } ]
[ { "from": "human", "value": "List hosts belonging to a group" }, { "from": "gpt", "value": "ansible group --list-hosts" } ]
[ { "from": "human", "value": "Ping a group of hosts by invoking the ping module" }, { "from": "gpt", "value": "ansible group [-m|--module-name] ping" } ]
[ { "from": "human", "value": "Display facts about a group of hosts by invoking the setup [m]odule" }, { "from": "gpt", "value": "ansible group [-m|--module-name] setup" } ]
[ { "from": "human", "value": "Execute a command on a group of hosts by invoking command module with arguments" }, { "from": "gpt", "value": "ansible group [-m|--module-name] command [-a|--args] 'my_command'" } ]
[ { "from": "human", "value": "Execute a command with administrative privileges" }, { "from": "gpt", "value": "ansible group [-b|--become] --ask-become-pass [-m|--module-name] command [-a|--args] 'my_command'" } ]
[ { "from": "human", "value": "Execute a command using a custom inventory file" }, { "from": "gpt", "value": "ansible group [-i|--inventory] inventory_file [-m|--module-name] command [-a|--args] 'my_command'" } ]
[ { "from": "human", "value": "List the groups in an inventory" }, { "from": "gpt", "value": "ansible localhost [-m|--module-name] debug [-a|--args] 'var=groups.keys()'" } ]
[ { "from": "human", "value": "List all devices" }, { "from": "gpt", "value": "kdeconnect-cli --list-devices" } ]
[ { "from": "human", "value": "List available (paired and reachable) devices" }, { "from": "gpt", "value": "kdeconnect-cli --list-available" } ]
[ { "from": "human", "value": "Request pairing with a specific device, specifying its ID" }, { "from": "gpt", "value": "kdeconnect-cli --pair --device device_id" } ]
[ { "from": "human", "value": "Ring a device, specifying its name" }, { "from": "gpt", "value": "kdeconnect-cli --ring --name \"device_name\"" } ]
[ { "from": "human", "value": "Share an URL or file with a paired device, specifying its ID" }, { "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" }, { "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" }, { "from": "gpt", "value": "kdeconnect-cli --name \"device_name\" --unlock" } ]
[ { "from": "human", "value": "Simulate a key press on a specific device" }, { "from": "gpt", "value": "kdeconnect-cli --name \"device_name\" --send-keys key" } ]
[ { "from": "human", "value": "Start an interactive shell session" }, { "from": "gpt", "value": "pwsh" } ]
[ { "from": "human", "value": "Start an interactive shell session without loading startup configs" }, { "from": "gpt", "value": "pwsh -NoProfile" } ]
[ { "from": "human", "value": "Execute specific commands" }, { "from": "gpt", "value": "pwsh -Command \"echo 'powershell is executed'\"" } ]
[ { "from": "human", "value": "Execute a specific script" }, { "from": "gpt", "value": "pwsh -File path/to/script.ps1" } ]
[ { "from": "human", "value": "Start a session with a specific version of PowerShell" }, { "from": "gpt", "value": "pwsh -Version version" } ]
[ { "from": "human", "value": "Prevent a shell from exit after running startup commands" }, { "from": "gpt", "value": "pwsh -NoExit" } ]
[ { "from": "human", "value": "Describe the format of data sent to PowerShell" }, { "from": "gpt", "value": "pwsh -InputFormat Text|XML" } ]
[ { "from": "human", "value": "Determine how an output from PowerShell is formatted" }, { "from": "gpt", "value": "pwsh -OutputFormat Text|XML" } ]
[ { "from": "human", "value": "Convert a PCX file to a PPM image" }, { "from": "gpt", "value": "pcxtoppm path/to/file.pcx > path/to/file.ppm" } ]
[ { "from": "human", "value": "Use a predefined standard palette even if the PCX file provides one" }, { "from": "gpt", "value": "pcxtoppm [-s|-stdpalette] path/to/file.pcx > path/to/file.ppm" } ]
[ { "from": "human", "value": "Print information on the PCX header to `stdout`" }, { "from": "gpt", "value": "pcxtoppm [-verb|-verbose] path/to/file.pcx > path/to/file.ppm" } ]
[ { "from": "human", "value": "Watch a binary file (defaults to `.goreload`)" }, { "from": "gpt", "value": "goreload -b path/to/binary path/to/file.go" } ]
[ { "from": "human", "value": "Set a custom log prefix (defaults to `goreload`)" }, { "from": "gpt", "value": "goreload --logPrefix prefix path/to/file.go" } ]
[ { "from": "human", "value": "Reload whenever any file changes" }, { "from": "gpt", "value": "goreload --all" } ]
[ { "from": "human", "value": "Launch the Text-based User Interface" }, { "from": "gpt", "value": "pop" } ]
[ { "from": "human", "value": "Send an email using the content of a Markdown file as body" }, { "from": "gpt", "value": "pop < path/to/message.md --from me@example.com --to you@example.com --subject \"On the Subject of Ducks...\" --attach path/to/attachment" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "pop --help" } ]
[ { "from": "human", "value": "Create an S3 bucket" }, { "from": "gpt", "value": "aws s3 mb s3://bucket_name" } ]
[ { "from": "human", "value": "Create an S3 bucket in a specific region" }, { "from": "gpt", "value": "aws s3 mb s3://bucket_name --region region" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "aws s3 mb help" } ]
[ { "from": "human", "value": "List e-books in the library with additional information" }, { "from": "gpt", "value": "calibredb list" } ]
[ { "from": "human", "value": "Search for e-books displaying additional information" }, { "from": "gpt", "value": "calibredb list --search search_term" } ]
[ { "from": "human", "value": "Search for just ids of e-books" }, { "from": "gpt", "value": "calibredb search search_term" } ]
[ { "from": "human", "value": "Add one or more e-books to the library" }, { "from": "gpt", "value": "calibredb add path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Recursively add all e-books under a directory to the library" }, { "from": "gpt", "value": "calibredb add [-r|--recurse] path/to/directory" } ]
[ { "from": "human", "value": "Remove one or more e-books from the library. You need the e-book IDs (see above)" }, { "from": "gpt", "value": "calibredb remove id1 id2 ..." } ]
[ { "from": "human", "value": "View documentation for managing `cron` entries" }, { "from": "gpt", "value": "tldr crontab" } ]
[ { "from": "human", "value": "Look for security issues in the project dependencies (based on the `composer.lock` file in the current directory)" }, { "from": "gpt", "value": "security-checker security:check" } ]
[ { "from": "human", "value": "Use a specific `composer.lock` file" }, { "from": "gpt", "value": "security-checker security:check path/to/composer.lock" } ]
[ { "from": "human", "value": "Return results as a JSON object" }, { "from": "gpt", "value": "security-checker security:check --format=json" } ]
[ { "from": "human", "value": "Scan websites/targets for web technologies" }, { "from": "gpt", "value": "whatweb website1 website2 ..." } ]
[ { "from": "human", "value": "Read targets/websites from a file" }, { "from": "gpt", "value": "whatweb -i targets_file" } ]
[ { "from": "human", "value": "Scan a website/target in verbose mode" }, { "from": "gpt", "value": "whatweb -v example.com" } ]
[ { "from": "human", "value": "Run an aggressive scan on a website" }, { "from": "gpt", "value": "whatweb -a 3 example.com" } ]
[ { "from": "human", "value": "Scan a network and suppress errors" }, { "from": "gpt", "value": "whatweb --no-errors 192.168.0.0/24" } ]
[ { "from": "human", "value": "List plugins" }, { "from": "gpt", "value": "whatweb -l" } ]
[ { "from": "human", "value": "List plugin details" }, { "from": "gpt", "value": "whatweb -I plugin_name" } ]
[ { "from": "human", "value": "Mimic the default output of `cmatrix` (no unicode, works in a TTY)" }, { "from": "gpt", "value": "unimatrix --no-bold --speed 96 --character-list o" } ]
[ { "from": "human", "value": "No bold characters, slowly, with emojis, numbers, and a few symbols" }, { "from": "gpt", "value": "unimatrix --no-bold --speed 50 --character-list ens" } ]
[ { "from": "human", "value": "Change the color of characters" }, { "from": "gpt", "value": "unimatrix --color red|green|blue|white|..." } ]
[ { "from": "human", "value": "Select character set(s) using letter codes (see `unimatrix --help` for available character sets)" }, { "from": "gpt", "value": "unimatrix --character-list character_sets" } ]
[ { "from": "human", "value": "Change the scrolling speed" }, { "from": "gpt", "value": "unimatrix --speed number" } ]
[ { "from": "human", "value": "Search a single directory" }, { "from": "gpt", "value": "fdupes path/to/directory" } ]
[ { "from": "human", "value": "Search multiple directories" }, { "from": "gpt", "value": "fdupes directory1 directory2" } ]
[ { "from": "human", "value": "Search a directory recursively" }, { "from": "gpt", "value": "fdupes -r path/to/directory" } ]
[ { "from": "human", "value": "Search multiple directories, one recursively" }, { "from": "gpt", "value": "fdupes directory1 -R directory2" } ]
[ { "from": "human", "value": "Search recursively, considering hardlinks as duplicates" }, { "from": "gpt", "value": "fdupes -rH path/to/directory" } ]
[ { "from": "human", "value": "Search recursively for duplicates and display interactive prompt to pick which ones to keep, deleting the others" }, { "from": "gpt", "value": "fdupes -rd path/to/directory" } ]
[ { "from": "human", "value": "Search recursively and delete duplicates without prompting" }, { "from": "gpt", "value": "fdupes -rdN path/to/directory" } ]
[ { "from": "human", "value": "Capture packets for default protocols (ICMP, TCP, UDP)" }, { "from": "gpt", "value": "sniffer.py" } ]
[ { "from": "human", "value": "Capture packets for specific protocols (e.g., ICMP, TCP)" }, { "from": "gpt", "value": "sniffer.py protocol1 protocol2" } ]
[ { "from": "human", "value": "Capture packets for specific protocols (e.g., TCP)" }, { "from": "gpt", "value": "sniffer.py tcp" } ]
[ { "from": "human", "value": "Resume all tasks in the default group" }, { "from": "gpt", "value": "pueue start" } ]
[ { "from": "human", "value": "Resume a specific task" }, { "from": "gpt", "value": "pueue start task_id" } ]
[ { "from": "human", "value": "Resume multiple tasks at once" }, { "from": "gpt", "value": "pueue start task_id task_id" } ]
[ { "from": "human", "value": "Resume all tasks and start their children" }, { "from": "gpt", "value": "pueue start --all --children" } ]
[ { "from": "human", "value": "Resume all tasks in a specific group" }, { "from": "gpt", "value": "pueue start group group_name" } ]
[ { "from": "human", "value": "Make WirePlumber start with the user session immediately (for systemd systems)" }, { "from": "gpt", "value": "systemctl --user --now enable wireplumber" } ]
[ { "from": "human", "value": "Run WirePlumber, after `pipewire` is started (for non-systemd systems)" }, { "from": "gpt", "value": "wireplumber" } ]
[ { "from": "human", "value": "Specify a different context configuration file" }, { "from": "gpt", "value": "wireplumber --config-file path/to/file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "wireplumber --help" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "wireplumber --version" } ]
[ { "from": "human", "value": "List all files in a Zip file in long format (permissions, ownership, size, and modification date)" }, { "from": "gpt", "value": "zipinfo path/to/archive.zip" } ]
[ { "from": "human", "value": "List all files in a Zip file" }, { "from": "gpt", "value": "zipinfo -1 path/to/archive.zip" } ]
[ { "from": "human", "value": "Initialize a new project of the given type" }, { "from": "gpt", "value": "sfdk init -t type" } ]
[ { "from": "human", "value": "Initialize a new project with a specified builder" }, { "from": "gpt", "value": "sfdk init -t type -b builder" } ]
[ { "from": "human", "value": "Initialize a new project ignoring non-empty directory" }, { "from": "gpt", "value": "sfdk init -t type --force" } ]
[ { "from": "human", "value": "List available project types" }, { "from": "gpt", "value": "sfdk init -l" } ]
[ { "from": "human", "value": "Show a given author's commits from the last 10 days" }, { "from": "gpt", "value": "git standup -a name|email -d 10" } ]
[ { "from": "human", "value": "Show a given author's commits from the last 10 days and whether they are GPG signed" }, { "from": "gpt", "value": "git standup -a name|email -d 10 -g" } ]
[ { "from": "human", "value": "Show all the commits from all contributors for the last 10 days" }, { "from": "gpt", "value": "git standup -a all -d 10" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "git standup -h" } ]
[ { "from": "human", "value": "Extract the password hash from an archive, listing all files in the archive" }, { "from": "gpt", "value": "zip2john path/to/file.zip" } ]