conversations
listlengths
2
2
[ { "from": "human", "value": "Show the 10 most recent logs in a pod" }, { "from": "gpt", "value": "kubectl logs --tail=10 pod_name" } ]
[ { "from": "human", "value": "Show all pod logs for a given deployment" }, { "from": "gpt", "value": "kubectl logs deployment/deployment_name" } ]
[ { "from": "human", "value": "Run the default application in the flake in the current directory" }, { "from": "gpt", "value": "nix run" } ]
[ { "from": "human", "value": "Run a command whose name matches the package name from nixpkgs (if you want a different command from that package, see `tldr nix3 shell`)" }, { "from": "gpt", "value": "nix run nixpkgs#pkg" } ]
[ { "from": "human", "value": "Run a command with provided arguments" }, { "from": "gpt", "value": "nix run nixpkgs#vim -- path/to/file" } ]
[ { "from": "human", "value": "Run from a remote repository" }, { "from": "gpt", "value": "nix run remote_name:owner/repo" } ]
[ { "from": "human", "value": "Run from a remote repository using a specific tag, revision or branch" }, { "from": "gpt", "value": "nix run remote_name:owner/repo/reference" } ]
[ { "from": "human", "value": "Run from a remote repository specifying a subdirectory and a program" }, { "from": "gpt", "value": "nix run \"remote_name:owner/repo?dir=dir_name#app\"" } ]
[ { "from": "human", "value": "Run the flake of a GitHub pull request" }, { "from": "gpt", "value": "nix run github:owner/repo/pull/number/head" } ]
[ { "from": "human", "value": "Check the architecture of a single target system" }, { "from": "gpt", "value": "getArch.py -target target" } ]
[ { "from": "human", "value": "Check the architecture of multiple targets from a file (one per line)" }, { "from": "gpt", "value": "getArch.py -targets path/to/targets_file" } ]
[ { "from": "human", "value": "Set a custom socket timeout (default is 2 seconds)" }, { "from": "gpt", "value": "getArch.py -target target -timeout seconds" } ]
[ { "from": "human", "value": "Enable debug mode for detailed output" }, { "from": "gpt", "value": "getArch.py -target target -debug" } ]
[ { "from": "human", "value": "List all objects of a specific type" }, { "from": "gpt", "value": "aws sns list-origination-numbers|phone-numbers-opted-out|platform-applications|sms-sandbox-phone-numbers|subscriptions|topics" } ]
[ { "from": "human", "value": "Create a topic with a specific name and show its Amazon Resource Name (ARN)" }, { "from": "gpt", "value": "aws sns create-topic --name name" } ]
[ { "from": "human", "value": "Subscribe an email address to the topic with a specific ARN and show the subscription ARN" }, { "from": "gpt", "value": "aws sns subscribe --topic-arn topic_ARN --protocol email --notification-endpoint email" } ]
[ { "from": "human", "value": "Publish a message to a specific topic or phone number and show the message ID" }, { "from": "gpt", "value": "aws sns publish --topic-arn \"arn:aws:sns:us-west-2:123456789012:topic-name\"||--phone-number +1-555-555-0100 --message file://path/to/file" } ]
[ { "from": "human", "value": "Delete the subscription with a specific ARN from its topic" }, { "from": "gpt", "value": "aws sns unsubscribe --subscription-arn subscription_ARN" } ]
[ { "from": "human", "value": "Create a platform endpoint" }, { "from": "gpt", "value": "aws sns create-platform-endpoint --platform-application-arn platform_application_ARN --token token" } ]
[ { "from": "human", "value": "Add a statement to a topic's access control policy" }, { "from": "gpt", "value": "aws sns add-permission --topic-arn topic_ARN --label topic_label --aws-account-id account_id --action-name AddPermission|CreatePlatformApplication|DeleteEndpoint|GetDataProtectionPolicy...
[ { "from": "human", "value": "Add a tag to the topic with a specific ARN" }, { "from": "gpt", "value": "aws sns tag-resource --resource-arn topic_ARN --tags Key=tag1_key Key=tag2_key,Value=tag2_value ..." } ]
[ { "from": "human", "value": "Convert a file to a C source file and header and display it to the console" }, { "from": "gpt", "value": "wasm2c file.wasm" } ]
[ { "from": "human", "value": "Write the output to a given file (`file.h` gets additionally generated)" }, { "from": "gpt", "value": "wasm2c file.wasm -o file.c" } ]
[ { "from": "human", "value": "View documentation for the `[[` keyword" }, { "from": "gpt", "value": "tldr [[" } ]
[ { "from": "human", "value": "Compile binary to default `a.out` with gprof information and run it to get `gmon.out`" }, { "from": "gpt", "value": "gcc [-p|-pg] program.c && ./a.out" } ]
[ { "from": "human", "value": "Run gprof on default `a.out` and `gmon.out` to obtain profile output" }, { "from": "gpt", "value": "gprof" } ]
[ { "from": "human", "value": "Run gprof on a named binary" }, { "from": "gpt", "value": "gprof path/to/binary path/to/gmon.out" } ]
[ { "from": "human", "value": "Suppress profile field's description" }, { "from": "gpt", "value": "gprof [-b|--brief]" } ]
[ { "from": "human", "value": "Display routines that have zero usage" }, { "from": "gpt", "value": "gprof [-bz|--brief --display-unused-functions]" } ]
[ { "from": "human", "value": "Interactively pick a specific option to print to `stdout`" }, { "from": "gpt", "value": "gum choose \"option_1\" \"option_2\" \"option_3\"" } ]
[ { "from": "human", "value": "Open an interactive prompt for the user to input a string with a specific placeholder" }, { "from": "gpt", "value": "gum input --placeholder \"value\"" } ]
[ { "from": "human", "value": "Open an interactive confirmation prompt and exit with either `<0>` or `<1>`" }, { "from": "gpt", "value": "gum confirm \"Continue?\" --default=false --affirmative \"Yes\" --negative \"No\" && echo \"Yes selected\" || echo \"No selected\"" } ]
[ { "from": "human", "value": "Show a spinner while a command is taking place with text alongside" }, { "from": "gpt", "value": "gum spin --spinner dot|line|minidot|jump|pulse|points|globe|moon|monkey|meter|hamburger --title \"loading...\" -- command" } ]
[ { "from": "human", "value": "Format text to include emojis" }, { "from": "gpt", "value": "gum format -t emoji \":smile: :heart: hello\"" } ]
[ { "from": "human", "value": "Interactively prompt for multi-line text (`<Ctrl d>` to save) and write to `data.txt`" }, { "from": "gpt", "value": "gum write > data.txt" } ]
[ { "from": "human", "value": "Dump all databases" }, { "from": "gpt", "value": "pg_dumpall > path/to/file.sql" } ]
[ { "from": "human", "value": "Dump all databases using a specific username" }, { "from": "gpt", "value": "pg_dumpall [-U|--username] username > path/to/file.sql" } ]
[ { "from": "human", "value": "Same as above, customize host and port" }, { "from": "gpt", "value": "pg_dumpall [-h|--host] host [-p|--port] port > output_file.sql" } ]
[ { "from": "human", "value": "Dump only database data into an SQL-script file" }, { "from": "gpt", "value": "pg_dumpall [-a|--data-only] > path/to/file.sql" } ]
[ { "from": "human", "value": "Dump only schema (data definitions) into an SQL-script file" }, { "from": "gpt", "value": "pg_dumpall [-s|--schema-only] > output_file.sql" } ]
[ { "from": "human", "value": "Run qmake build" }, { "from": "gpt", "value": "sfdk qmake" } ]
[ { "from": "human", "value": "Run shadow qmake build in a specified project" }, { "from": "gpt", "value": "sfdk qmake project" } ]
[ { "from": "human", "value": "Run build with extra qmake arguments" }, { "from": "gpt", "value": "sfdk qmake -- arguments" } ]
[ { "from": "human", "value": "Run shadow qmake build with extra qmake arguments" }, { "from": "gpt", "value": "sfdk qmake project arguments" } ]
[ { "from": "human", "value": "List currently running Docker containers" }, { "from": "gpt", "value": "docker container ls" } ]
[ { "from": "human", "value": "Start one or more stopped containers" }, { "from": "gpt", "value": "docker container start container1_name container2_name" } ]
[ { "from": "human", "value": "Kill one or more running containers" }, { "from": "gpt", "value": "docker container kill container_name" } ]
[ { "from": "human", "value": "Stop one or more running containers" }, { "from": "gpt", "value": "docker container stop container_name" } ]
[ { "from": "human", "value": "Pause all processes within one or more containers" }, { "from": "gpt", "value": "docker container pause container_name" } ]
[ { "from": "human", "value": "Display detailed information on one or more containers" }, { "from": "gpt", "value": "docker container inspect container_name" } ]
[ { "from": "human", "value": "Export a container's filesystem as a tar archive" }, { "from": "gpt", "value": "docker container export container_name" } ]
[ { "from": "human", "value": "Create a new image from a container's changes" }, { "from": "gpt", "value": "docker container commit container_name" } ]
[ { "from": "human", "value": "List all tags" }, { "from": "gpt", "value": "git tag" } ]
[ { "from": "human", "value": "Create a tag with the given name pointing to the current commit" }, { "from": "gpt", "value": "git tag tag_name" } ]
[ { "from": "human", "value": "Create a tag with the given name pointing to a given commit" }, { "from": "gpt", "value": "git tag tag_name commit" } ]
[ { "from": "human", "value": "Create an annotated tag with the given message" }, { "from": "gpt", "value": "git tag tag_name [-m|--message] tag_message" } ]
[ { "from": "human", "value": "Delete the tag with the given name" }, { "from": "gpt", "value": "git tag [-d|--delete] tag_name" } ]
[ { "from": "human", "value": "Get updated tags from remote" }, { "from": "gpt", "value": "git fetch [-t|--tags]" } ]
[ { "from": "human", "value": "Push a tag to remote" }, { "from": "gpt", "value": "git push origin tag tag_name" } ]
[ { "from": "human", "value": "List all tags whose ancestors include a given commit" }, { "from": "gpt", "value": "git tag --contains commit" } ]
[ { "from": "human", "value": "Decode an APK file" }, { "from": "gpt", "value": "apktool d path/to/file.apk" } ]
[ { "from": "human", "value": "Build an APK file from a directory" }, { "from": "gpt", "value": "apktool b path/to/directory" } ]
[ { "from": "human", "value": "Install and store a framework" }, { "from": "gpt", "value": "apktool if path/to/framework.apk" } ]
[ { "from": "human", "value": "Compress a file" }, { "from": "gpt", "value": "bzip2 path/to/file_to_compress" } ]
[ { "from": "human", "value": "Decompress a file" }, { "from": "gpt", "value": "bzip2 [-d|--decompress] path/to/compressed_file.bz2" } ]
[ { "from": "human", "value": "Decompress a file to `stdout`" }, { "from": "gpt", "value": "bzip2 [-dc|--decompress --stdout] path/to/compressed_file.bz2" } ]
[ { "from": "human", "value": "Test the integrity of each file inside the archive file" }, { "from": "gpt", "value": "bzip2 [-t|--test] path/to/compressed_file.bz2" } ]
[ { "from": "human", "value": "Show the compression ratio for each file processed with detailed information" }, { "from": "gpt", "value": "bzip2 [-v|--verbose] path/to/compressed_files.bz2" } ]
[ { "from": "human", "value": "Decompress a file overwriting existing files" }, { "from": "gpt", "value": "bzip2 [-f|--force] path/to/compressed_file.bz2" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "bzip2 [-h|--help]" } ]
[ { "from": "human", "value": "Render a PNG image with a filename based on the input filename and output format (uppercase -O)" }, { "from": "gpt", "value": "patchwork -T png -O path/to/input.gv" } ]
[ { "from": "human", "value": "Render a SVG image with the specified output filename (lowercase -o)" }, { "from": "gpt", "value": "patchwork -T svg -o path/to/image.svg path/to/input.gv" } ]
[ { "from": "human", "value": "Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format" }, { "from": "gpt", "value": "patchwork -T format -O path/to/input.gv" } ]
[ { "from": "human", "value": "Render a `gif` image using `stdin` and `stdout`" }, { "from": "gpt", "value": "echo \"digraph {this -> that} \" | patchwork -T gif > path/to/image.gif" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "patchwork -?" } ]
[ { "from": "human", "value": "Unfreeze one or more specified stages" }, { "from": "gpt", "value": "dvc unfreeze stage_name1 stage_name2 ..." } ]
[ { "from": "human", "value": "Configure the client with a connection to a Tezos RPC node such as <https://rpc.ghostnet.teztnets.com>" }, { "from": "gpt", "value": "octez-client -E endpoint config update" } ]
[ { "from": "human", "value": "Create an account and assign a local alias to it" }, { "from": "gpt", "value": "octez-client gen keys alias" } ]
[ { "from": "human", "value": "Get the balance of an account by alias or address" }, { "from": "gpt", "value": "octez-client get balance for alias_or_address" } ]
[ { "from": "human", "value": "Transfer tez to a different account" }, { "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" }, { "from": "gpt", "value": "octez-client originate contract alias transferring 0 from alias|address running path/to/source_file.tz --init \"initi...
[ { "from": "human", "value": "Call a smart contract by its alias or address and pass a Michelson-encoded parameter" }, { "from": "gpt", "value": "octez-client transfer 0 from alias|address to contract --entrypoint \"entrypoint\" --arg \"parameter\" --burn-cap 1" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "octez-client man" } ]
[ { "from": "human", "value": "Log a message to syslog" }, { "from": "gpt", "value": "logger message" } ]
[ { "from": "human", "value": "Take input from `stdin` and log to syslog" }, { "from": "gpt", "value": "echo log_entry | logger" } ]
[ { "from": "human", "value": "Send the output to a remote syslog server running at a given port. Default port is 514" }, { "from": "gpt", "value": "echo log_entry | logger [-n|--server] hostname [-P|--port] port" } ]
[ { "from": "human", "value": "Use a specific tag for every line logged. Default is the name of logged in user" }, { "from": "gpt", "value": "echo log_entry | logger [-t|--tag] tag" } ]
[ { "from": "human", "value": "Log messages with a given priority. Default is `user.notice`. See `man logger` for all priority options" }, { "from": "gpt", "value": "echo log_entry | logger [-p|--priority] user.warning" } ]
[ { "from": "human", "value": "Create a new version containing all the changes in the current checkout; user will be prompted for a comment" }, { "from": "gpt", "value": "fossil commit" } ]
[ { "from": "human", "value": "Create a new version containing all the changes in the current checkout, using the specified comment" }, { "from": "gpt", "value": "fossil commit --comment \"comment\"" } ]
[ { "from": "human", "value": "Create a new version containing all the changes in the current checkout with a comment read from a specific file" }, { "from": "gpt", "value": "fossil commit --message-file path/to/commit_message_file" } ]
[ { "from": "human", "value": "Create a new version containing changes from the specified files; user will be prompted for a comment" }, { "from": "gpt", "value": "fossil commit path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Import a JSON file into a specific collection" }, { "from": "gpt", "value": "mongoimport --file=path/to/file.json --uri=mongodb_uri --collection=collection_name" } ]
[ { "from": "human", "value": "Import a CSV file, using the first line of the file to determine field names" }, { "from": "gpt", "value": "mongoimport --type=csv --file=path/to/file.csv --db=database_name --collection=collection_name" } ]
[ { "from": "human", "value": "Import a JSON array, using each element as a separate document" }, { "from": "gpt", "value": "mongoimport --jsonArray --file=path/to/file.json" } ]
[ { "from": "human", "value": "Import a JSON file using a specific mode and a query to match existing documents" }, { "from": "gpt", "value": "mongoimport --file=path/to/file.json --mode=delete|merge|upsert --upsertFields=\"field1,field2,...\"" } ]
[ { "from": "human", "value": "Import a CSV file, reading field names from a separate CSV file and ignoring fields with empty values" }, { "from": "gpt", "value": "mongoimport --type=csv --file=path/to/file.csv --fieldFile=path/to/field_file.csv --ignoreBlanks" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "mongoimport --help" } ]
[ { "from": "human", "value": "Format a file, overwriting the original file in-place" }, { "from": "gpt", "value": "rustfmt path/to/source.rs" } ]
[ { "from": "human", "value": "Check a file for formatting and display any changes on the console" }, { "from": "gpt", "value": "rustfmt --check path/to/source.rs" } ]