conversations
listlengths
2
2
[ { "from": "human", "value": "Delete a helm repository" }, { "from": "gpt", "value": "helm repo remove repository_name" } ]
[ { "from": "human", "value": "Install a helm chart" }, { "from": "gpt", "value": "helm install name repository_name/chart_name" } ]
[ { "from": "human", "value": "Download helm chart as a tar archive" }, { "from": "gpt", "value": "helm get chart_release_name" } ]
[ { "from": "human", "value": "Update helm dependencies" }, { "from": "gpt", "value": "helm dependency update" } ]
[ { "from": "human", "value": "Convert the specified SPOT image to PGM format" }, { "from": "gpt", "value": "spottopgm path/to/file.spot > path/to/output.pgm" } ]
[ { "from": "human", "value": "Extract the specified color channel" }, { "from": "gpt", "value": "spottopgm -1|2|3 path/to/file.spot > path/to/output.pgm" } ]
[ { "from": "human", "value": "Extract the specified rectangle from the input image" }, { "from": "gpt", "value": "spottopgm first_col first_row last_col last_row path/to/file.spot > path/to/output.pgm" } ]
[ { "from": "human", "value": "Merge each row in an image with its two neighbours" }, { "from": "gpt", "value": "pammixinterlace path/to/image.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Use the specified filtering mechanism" }, { "from": "gpt", "value": "pammixinterlace [-f|-filter] linear|fir|ffmpeg path/to/image.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Turn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern" }, { "from": "gpt", "value": "pammixinterlace [-a|-adaptive] path/to/image.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Start the service, using the default configuration file (assumed to be `frps.ini` in the current directory)" }, { "from": "gpt", "value": "frpc" } ]
[ { "from": "human", "value": "Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory" }, { "from": "gpt", "value": "frpc [-c|--config] ./frps.toml" } ]
[ { "from": "human", "value": "Start the service, using a specific configuration file" }, { "from": "gpt", "value": "frpc [-c|--config] path/to/file" } ]
[ { "from": "human", "value": "Check if the configuration file is valid" }, { "from": "gpt", "value": "frpc verify [-c|--config] path/to/file" } ]
[ { "from": "human", "value": "Print autocompletion setup script for Bash, fish, PowerShell, or Zsh" }, { "from": "gpt", "value": "frpc completion bash|fish|powershell|zsh" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "frpc [-v|--version]" } ]
[ { "from": "human", "value": "Open a file with the associated application" }, { "from": "gpt", "value": "open path/to/file.ext" } ]
[ { "from": "human", "value": "Open all the files of a given extension in the current directory with the associated application" }, { "from": "gpt", "value": "open *.ext" } ]
[ { "from": "human", "value": "Open a directory using the default file manager" }, { "from": "gpt", "value": "open path/to/directory" } ]
[ { "from": "human", "value": "Open a website using the default web browser" }, { "from": "gpt", "value": "open https://example.com" } ]
[ { "from": "human", "value": "Open a specific URI using the default application that can handle it" }, { "from": "gpt", "value": "open tel:123" } ]
[ { "from": "human", "value": "Turn on Redshift with a specific [t]emperature during day (e.g., 5700K) and at night (e.g., 3600K)" }, { "from": "gpt", "value": "redshift -t 5700:3600" } ]
[ { "from": "human", "value": "Turn on Redshift with a manually specified custom [l]ocation" }, { "from": "gpt", "value": "redshift -l latitude:longitude" } ]
[ { "from": "human", "value": "Turn on Redshift with a specific screen [b]rightness during the day (e.g, 70%) and at night (e.g., 40%)" }, { "from": "gpt", "value": "redshift -b 0.7:0.4" } ]
[ { "from": "human", "value": "Turn on Redshift with custom [g]amma levels (between 0 and 1)" }, { "from": "gpt", "value": "redshift -g red:green:blue" } ]
[ { "from": "human", "value": "[P]urge existing temperature changes and set a constant unchanging color temperature in [O]ne-shot mode" }, { "from": "gpt", "value": "redshift -PO temperature" } ]
[ { "from": "human", "value": "Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`) and show the progress" }, { "from": "gpt", "value": "dd if=path/to/file.iso of=/dev/usb_drive status=progress" } ]
[ { "from": "human", "value": "Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates" }, { "from": "gpt", "value": "dd bs=4M conv=fsync if=/dev/source_drive of=/dev/dest_drive" } ]
[ { "from": "human", "value": "Generate a file with a specific number of random bytes by using kernel random driver" }, { "from": "gpt", "value": "dd bs=100 count=1 if=/dev/urandom of=path/to/random_file" } ]
[ { "from": "human", "value": "Benchmark the write performance of a disk" }, { "from": "gpt", "value": "dd bs=1M count=1024 if=/dev/zero of=path/to/file_1GB" } ]
[ { "from": "human", "value": "Create a system backup, save it into an IMG file (can be restored later by swapping `if` and `of`), and show the progress" }, { "from": "gpt", "value": "dd if=/dev/drive_device of=path/to/file.img status=progress" } ]
[ { "from": "human", "value": "Check the progress of an ongoing `dd` operation (run this command from another shell)" }, { "from": "gpt", "value": "kill -USR1 $(pgrep -x dd)" } ]
[ { "from": "human", "value": "Get the properties of all the user limits" }, { "from": "gpt", "value": "ulimit -a" } ]
[ { "from": "human", "value": "Get hard limit for the number of simultaneously opened files" }, { "from": "gpt", "value": "ulimit -H -n" } ]
[ { "from": "human", "value": "Get soft limit for the number of simultaneously opened files" }, { "from": "gpt", "value": "ulimit -S -n" } ]
[ { "from": "human", "value": "Set max per-user process limit" }, { "from": "gpt", "value": "ulimit -u 30" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "help ulimit" } ]
[ { "from": "human", "value": "Search for packages" }, { "from": "gpt", "value": "cargo search query" } ]
[ { "from": "human", "value": "Show `n` results (default: 10, max: 100)" }, { "from": "gpt", "value": "cargo search --limit n query" } ]
[ { "from": "human", "value": "Convert a MDA file to a PBM image" }, { "from": "gpt", "value": "mdatopbm path/to/image.mda > path/to/output.pbm" } ]
[ { "from": "human", "value": "Invert the colors in the input image" }, { "from": "gpt", "value": "mdatopbm -i path/to/image.mda > path/to/output.pbm" } ]
[ { "from": "human", "value": "Double the input image's height" }, { "from": "gpt", "value": "mdatopbm -d path/to/image.mda > path/to/output.pbm" } ]
[ { "from": "human", "value": "Initialize an Elm project, generates an elm.json file" }, { "from": "gpt", "value": "elm init" } ]
[ { "from": "human", "value": "Start interactive Elm shell" }, { "from": "gpt", "value": "elm repl" } ]
[ { "from": "human", "value": "Compile an Elm file, output the result to an `index.html` file" }, { "from": "gpt", "value": "elm make source" } ]
[ { "from": "human", "value": "Compile an Elm file, output the result to a JavaScript file" }, { "from": "gpt", "value": "elm make source --output=destination.js" } ]
[ { "from": "human", "value": "Start local web server that compiles Elm files on page load" }, { "from": "gpt", "value": "elm reactor" } ]
[ { "from": "human", "value": "Install Elm package from <https://package.elm-lang.org>" }, { "from": "gpt", "value": "elm install author/package" } ]
[ { "from": "human", "value": "Clean capture and save only the 4-way handshake and a beacon in the result" }, { "from": "gpt", "value": "wpaclean path/to/result.cap path/to/capture.cap" } ]
[ { "from": "human", "value": "Clean multiple captures and save 4-way handshakes and beacons in the result" }, { "from": "gpt", "value": "wpaclean path/to/result.cap path/to/capture1.cap path/to/capture2.cap ..." } ]
[ { "from": "human", "value": "Encode a file and print the result to `stdout`" }, { "from": "gpt", "value": "uuencode path/to/input_file output_file_name_after_decoding" } ]
[ { "from": "human", "value": "Encode a file and write the result to a file" }, { "from": "gpt", "value": "uuencode -o path/to/output_file path/to/input_file output_file_name_after_decoding" } ]
[ { "from": "human", "value": "Encode a file using Base64 instead of the default uuencode encoding and write the result to a file" }, { "from": "gpt", "value": "uuencode -m -o path/to/output_file path/to/input_file output_file_name_after_decoding" } ]
[ { "from": "human", "value": "Start an interactive environment for evaluating Nix expressions" }, { "from": "gpt", "value": "nix repl" } ]
[ { "from": "human", "value": "Load all packages from a flake (e.g. `nixpkgs`) into scope" }, { "from": "gpt", "value": ":lf nixpkgs" } ]
[ { "from": "human", "value": "Build a package from an expression" }, { "from": "gpt", "value": ":b expression" } ]
[ { "from": "human", "value": "Start a shell with package from the expression available" }, { "from": "gpt", "value": ":u expression" } ]
[ { "from": "human", "value": "Start a shell with dependencies of the package from the expression available" }, { "from": "gpt", "value": ":s expression" } ]
[ { "from": "human", "value": "Process macros in a file" }, { "from": "gpt", "value": "m4 path/to/file" } ]
[ { "from": "human", "value": "Define a macro before processing files" }, { "from": "gpt", "value": "m4 [-D|--define] macro_name=macro_value path/to/file" } ]
[ { "from": "human", "value": "Detect file(s) encoding according to the system's locale" }, { "from": "gpt", "value": "enca path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Detect file(s) encoding specifying a language in the POSIX/C locale format (e.g. zh_CN, en_US)" }, { "from": "gpt", "value": "enca -L language path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Convert file(s) to a specific encoding" }, { "from": "gpt", "value": "enca -L language -x to_encoding path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Create a copy of an existing file using a different encoding" }, { "from": "gpt", "value": "enca -L language -x to_encoding < original_file > new_file" } ]
[ { "from": "human", "value": "Start the server" }, { "from": "gpt", "value": "var-dump-server" } ]
[ { "from": "human", "value": "Dump the data in an HTML file" }, { "from": "gpt", "value": "var-dump-server --format=html > path/to/file.html" } ]
[ { "from": "human", "value": "Make the server listen on a specific address and port" }, { "from": "gpt", "value": "var-dump-server --host 127.0.0.1:9912" } ]
[ { "from": "human", "value": "Load a CSV file into a `CSVKitReader` object" }, { "from": "gpt", "value": "csvpy data.csv" } ]
[ { "from": "human", "value": "Load a CSV file into a `CSVKitDictReader` object" }, { "from": "gpt", "value": "csvpy --dict data.csv" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr bundle" } ]
[ { "from": "human", "value": "Run a QEMU virtual machine" }, { "from": "gpt", "value": "virt-qemu-run path/to/guest.xml" } ]
[ { "from": "human", "value": "Run a QEMU virtual machine and store the state in a specific directory" }, { "from": "gpt", "value": "virt-qemu-run --root=path/to/directory path/to/guest.xml" } ]
[ { "from": "human", "value": "Run a QEMU virtual machine and display verbose information about the startup" }, { "from": "gpt", "value": "virt-qemu-run --verbose path/to/guest.xml" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "virt-qemu-run --help" } ]
[ { "from": "human", "value": "List mail" }, { "from": "gpt", "value": "from" } ]
[ { "from": "human", "value": "Display the number of messages stored" }, { "from": "gpt", "value": "from --count" } ]
[ { "from": "human", "value": "List mail in the specified mailbox directory" }, { "from": "gpt", "value": "MAIL=path/to/mailbox from" } ]
[ { "from": "human", "value": "Print the mail from the specified address" }, { "from": "gpt", "value": "from --sender=me@example.com" } ]
[ { "from": "human", "value": "Print information about the Pulumi environment" }, { "from": "gpt", "value": "pulumi about" } ]
[ { "from": "human", "value": "Print information about the Pulumi environment in JSON format" }, { "from": "gpt", "value": "pulumi about --json" } ]
[ { "from": "human", "value": "Print information about the Pulumi environment of a specific stack" }, { "from": "gpt", "value": "pulumi about --stack stack_name" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "pulumi about --help" } ]
[ { "from": "human", "value": "Move a file from local to a specified bucket" }, { "from": "gpt", "value": "aws s3 mv path/to/local_file s3://bucket_name/path/to/remote_file" } ]
[ { "from": "human", "value": "Move a specific S3 object into another bucket" }, { "from": "gpt", "value": "aws s3 mv s3://bucket_name1/path/to/file s3://bucket_name2/path/to/target" } ]
[ { "from": "human", "value": "Move a specific S3 object into another bucket keeping the original name" }, { "from": "gpt", "value": "aws s3 mv s3://bucket_name1/path/to/file s3://bucket_name2" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "aws s3 mv help" } ]
[ { "from": "human", "value": "Share result of command" }, { "from": "gpt", "value": "gotty command" } ]
[ { "from": "human", "value": "Share with write permission" }, { "from": "gpt", "value": "gotty -w shell" } ]
[ { "from": "human", "value": "Share with credential (Basic Auth)" }, { "from": "gpt", "value": "gotty -w -c username:password shell" } ]
[ { "from": "human", "value": "Format a file and print the result to `stdout`" }, { "from": "gpt", "value": "prettier path/to/file" } ]
[ { "from": "human", "value": "Check if a specific file has been formatted" }, { "from": "gpt", "value": "prettier --check path/to/file" } ]
[ { "from": "human", "value": "Run with a specific configuration file" }, { "from": "gpt", "value": "prettier --config path/to/config_file path/to/file" } ]
[ { "from": "human", "value": "Format a file or directory, replacing the original" }, { "from": "gpt", "value": "prettier --write path/to/file_or_directory" } ]
[ { "from": "human", "value": "Format files or directories recursively using single quotes and no trailing commas" }, { "from": "gpt", "value": "prettier --single-quote --trailing-comma none --write path/to/file_or_directory" } ]
[ { "from": "human", "value": "Format JavaScript and TypeScript files recursively, replacing the original" }, { "from": "gpt", "value": "prettier --write \"**/*.{js,jsx,ts,tsx}\"" } ]
[ { "from": "human", "value": "Copy a disk to a raw image file and hash the image using SHA256" }, { "from": "gpt", "value": "dcfldd if=/dev/disk_device of=file.img hash=sha256 hashlog=file.hash" } ]
[ { "from": "human", "value": "Copy a disk to a raw image file, hashing each 1 GB chunk" }, { "from": "gpt", "value": "dcfldd if=/dev/disk_device of=file.img hash=sha512|sha384|sha256|sha1|md5 hashlog=file.hash hashwindow=1G" } ]
[ { "from": "human", "value": "Execute a Git subcommand" }, { "from": "gpt", "value": "git subcommand" } ]
[ { "from": "human", "value": "Execute a Git subcommand on a custom repository root path" }, { "from": "gpt", "value": "git -C path/to/repo subcommand" } ]
[ { "from": "human", "value": "Execute a Git subcommand with a given configuration set" }, { "from": "gpt", "value": "git -c 'config.key=value' subcommand" } ]