conversations
listlengths
2
2
[ { "from": "human", "value": "Check a specific script for syntax errors without executing it" }, { "from": "gpt", "value": "ksh -n path/to/script.ksh" } ]
[ { "from": "human", "value": "Execute a specific script, printing each command in the script before executing it" }, { "from": "gpt", "value": "ksh -x path/to/script.ksh" } ]
[ { "from": "human", "value": "List all the extensions created by a publisher" }, { "from": "gpt", "value": "vsce list publisher" } ]
[ { "from": "human", "value": "Publish an extension as major, minor or patch version" }, { "from": "gpt", "value": "vsce publish major|minor|patch" } ]
[ { "from": "human", "value": "Unpublish an extension" }, { "from": "gpt", "value": "vsce unpublish extension_id" } ]
[ { "from": "human", "value": "Package the current working directory as a `.vsix` file" }, { "from": "gpt", "value": "vsce package" } ]
[ { "from": "human", "value": "Show the metadata associated with an extension" }, { "from": "gpt", "value": "vsce show extension_id" } ]
[ { "from": "human", "value": "Run all request files from the current directory" }, { "from": "gpt", "value": "bru run" } ]
[ { "from": "human", "value": "Run a single request from the current directory by specifying its filename" }, { "from": "gpt", "value": "bru run file.bru" } ]
[ { "from": "human", "value": "Run requests using an environment" }, { "from": "gpt", "value": "bru run --env environment_name" } ]
[ { "from": "human", "value": "Run requests using an environment with a variable" }, { "from": "gpt", "value": "bru run --env environment_name --env-var variable_name=variable_value" } ]
[ { "from": "human", "value": "Run request and collect the results in an output file" }, { "from": "gpt", "value": "bru run --output path/to/output.json" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "bru run --help" } ]
[ { "from": "human", "value": "Add a new configuration" }, { "from": "gpt", "value": "jf config add" } ]
[ { "from": "human", "value": "Show the current configuration" }, { "from": "gpt", "value": "jf config show" } ]
[ { "from": "human", "value": "Search for artifacts within the given repository and directory" }, { "from": "gpt", "value": "jf rt search --recursive repostiory_name/path/" } ]
[ { "from": "human", "value": "List the name, UUID, state, persistence type, autostart status, capacity, space allocated, and space available for the storage pool specified by name or UUID (determine using `virsh pool-list`)" }, { "from": "gpt", "value": "virsh pool-info --pool name|uuid" } ]
[ { "from": "human", "value": "Encrypt files listed in the designated encrypt file" }, { "from": "gpt", "value": "yadm encrypt" } ]
[ { "from": "human", "value": "Create the necessary files and folders for encryption" }, { "from": "gpt", "value": "touch path/to/encrypt_file && mkdir path/to/archive_folder" } ]
[ { "from": "human", "value": "Delete an empty S3 bucket" }, { "from": "gpt", "value": "aws s3 rb s3://bucket_name" } ]
[ { "from": "human", "value": "Force delete an S3 bucket and its non-versioned objects (will crash if versioned objects are present)" }, { "from": "gpt", "value": "aws s3 rb s3://bucket_name --force" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr pamtopnm" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr gpg" } ]
[ { "from": "human", "value": "Start an interactive search for a city and fetch data for it" }, { "from": "gpt", "value": "peludna-prognoza" } ]
[ { "from": "human", "value": "Fetch data for a city" }, { "from": "gpt", "value": "peludna-prognoza \"city\"" } ]
[ { "from": "human", "value": "Display data in a machine-readable format" }, { "from": "gpt", "value": "peludna-prognoza \"city\" --json|xml" } ]
[ { "from": "human", "value": "Display the pollen measurement page for a city at <https://plivazdravlje.hr> in the default web browser" }, { "from": "gpt", "value": "peludna-prognoza \"city\" --web" } ]
[ { "from": "human", "value": "Display information about the currently loaded program on a Pico" }, { "from": "gpt", "value": "picotool info" } ]
[ { "from": "human", "value": "Load a binary onto a Pico" }, { "from": "gpt", "value": "picotool load path/to/binary" } ]
[ { "from": "human", "value": "Convert an ELF or BIN file to UF2" }, { "from": "gpt", "value": "picotool uf2 convert path/to/elf_or_bin path/to/output" } ]
[ { "from": "human", "value": "Reboot a Pico" }, { "from": "gpt", "value": "picotool reboot" } ]
[ { "from": "human", "value": "List all known registers" }, { "from": "gpt", "value": "picotool otp list" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "picotool version" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "picotool help" } ]
[ { "from": "human", "value": "List supported formats" }, { "from": "gpt", "value": "ogrinfo --formats" } ]
[ { "from": "human", "value": "List layers of a data source" }, { "from": "gpt", "value": "ogrinfo path/to/input.gpkg" } ]
[ { "from": "human", "value": "Get detailed information about a specific layer of a data source" }, { "from": "gpt", "value": "ogrinfo path/to/input.gpkg layer_name" } ]
[ { "from": "human", "value": "Show summary information about a specific layer of a data source" }, { "from": "gpt", "value": "ogrinfo -so path/to/input.gpkg layer_name" } ]
[ { "from": "human", "value": "Show summary of all layers of the data source" }, { "from": "gpt", "value": "ogrinfo -so -al path/to/input.gpkg" } ]
[ { "from": "human", "value": "Show detailed information of features matching a condition" }, { "from": "gpt", "value": "ogrinfo -where 'attribute_name > 42' path/to/input.gpkg layer_name" } ]
[ { "from": "human", "value": "Update a layer in the data source with SQL" }, { "from": "gpt", "value": "ogrinfo path/to/input.geojson -dialect SQLite -sql \"UPDATE input SET attribute_name = 'foo'\"" } ]
[ { "from": "human", "value": "Log in to a registry user account and save the credentials to the `.npmrc` file" }, { "from": "gpt", "value": "npm login" } ]
[ { "from": "human", "value": "Log in using a custom registry" }, { "from": "gpt", "value": "npm login --registry=registry_url" } ]
[ { "from": "human", "value": "Log in using a specific authentication strategy" }, { "from": "gpt", "value": "npm login --auth-type=legacy|web" } ]
[ { "from": "human", "value": "Create a container in a storage account" }, { "from": "gpt", "value": "az storage container create --account-name storage_account_name --name container_name --public-access access_level --fail-on-exist" } ]
[ { "from": "human", "value": "Generate a shared access signature for the container" }, { "from": "gpt", "value": "az storage container generate-sas --account-name storage_account_name --name container_name --permissions sas_permissions --expiry expiry_date --https-only" } ]
[ { "from": "human", "value": "List containers in a storage account" }, { "from": "gpt", "value": "az storage container list --account-name storage_account_name --prefix filter_prefix" } ]
[ { "from": "human", "value": "Mark the specified container for deletion" }, { "from": "gpt", "value": "az storage container delete --account-name storage_account_name --name container_name --fail-not-exist" } ]
[ { "from": "human", "value": "List installed roles or collections" }, { "from": "gpt", "value": "ansible-galaxy role|collection list" } ]
[ { "from": "human", "value": "Search for a role with various levels of verbosely (`-v` should be specified at the end)" }, { "from": "gpt", "value": "ansible-galaxy role search keyword -vvvvvv" } ]
[ { "from": "human", "value": "Install or remove role(s)" }, { "from": "gpt", "value": "ansible-galaxy role install|remove role_name1 role_name2 ..." } ]
[ { "from": "human", "value": "Create a new role" }, { "from": "gpt", "value": "ansible-galaxy role init role_name" } ]
[ { "from": "human", "value": "Get information about a role" }, { "from": "gpt", "value": "ansible-galaxy role info role_name" } ]
[ { "from": "human", "value": "Install or remove collection(s)" }, { "from": "gpt", "value": "ansible-galaxy collection install|remove collection_name1 collection_name2 ..." } ]
[ { "from": "human", "value": "Display help about roles or collections" }, { "from": "gpt", "value": "ansible-galaxy role|collection [-h|--help]" } ]
[ { "from": "human", "value": "Copy `stdin` to each file, and also to `stdout`" }, { "from": "gpt", "value": "echo \"example\" | tee path/to/file" } ]
[ { "from": "human", "value": "Append to the given files, do not overwrite" }, { "from": "gpt", "value": "echo \"example\" | tee [-a|--append] path/to/file" } ]
[ { "from": "human", "value": "Print `stdin` to the terminal, and also pipe it into another program for further processing" }, { "from": "gpt", "value": "echo \"example\" | tee /dev/tty | xargs printf \"[%s]\"" } ]
[ { "from": "human", "value": "Create a directory called \"example\", count the number of characters in \"example\" and write \"example\" to the terminal" }, { "from": "gpt", "value": "echo \"example\" | tee >(xargs mkdir) >(wc -c)" } ]
[ { "from": "human", "value": "Print PDF file fonts information" }, { "from": "gpt", "value": "pdffonts path/to/file.pdf" } ]
[ { "from": "human", "value": "Specify user password for PDF file to bypass security restrictions" }, { "from": "gpt", "value": "pdffonts -upw password path/to/file.pdf" } ]
[ { "from": "human", "value": "Specify owner password for PDF file to bypass security restrictions" }, { "from": "gpt", "value": "pdffonts -opw password path/to/file.pdf" } ]
[ { "from": "human", "value": "Print additional information on location of the font that will be used when the PDF file is rasterized" }, { "from": "gpt", "value": "pdffonts -loc path/to/file.pdf" } ]
[ { "from": "human", "value": "Print additional information on location of the font that will be used when the PDF file is converted to PostScript" }, { "from": "gpt", "value": "pdffonts -locPS path/to/file.pdf" } ]
[ { "from": "human", "value": "Display an image in the terminal" }, { "from": "gpt", "value": "img2sixel path/to/image" } ]
[ { "from": "human", "value": "Resize the image to the specified width and height before displaying it" }, { "from": "gpt", "value": "img2sixel [-w|--width] number [-h|--height] number path/to/image" } ]
[ { "from": "human", "value": "Tag a specific file with multiple tags" }, { "from": "gpt", "value": "tmsu tag path/to/file.mp3 music big-jazz mp3" } ]
[ { "from": "human", "value": "Tag multiple files" }, { "from": "gpt", "value": "tmsu tag --tags \"music mp3\" *.mp3" } ]
[ { "from": "human", "value": "List tags of specified file(s)" }, { "from": "gpt", "value": "tmsu tags *.mp3" } ]
[ { "from": "human", "value": "List files with specified tag(s)" }, { "from": "gpt", "value": "tmsu files big-jazz music" } ]
[ { "from": "human", "value": "List files with tags matching boolean expression" }, { "from": "gpt", "value": "tmsu files \"(year >= 1990 and year <= 2000) and grunge\"" } ]
[ { "from": "human", "value": "Mount tmsu virtual filesystem to an existing directory" }, { "from": "gpt", "value": "tmsu mount path/to/directory" } ]
[ { "from": "human", "value": "Draw a histogram of a PNM image" }, { "from": "gpt", "value": "pnmhistmap path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Draw the histogram as dots instead of bars" }, { "from": "gpt", "value": "pnmhistmap [-d|-dots] path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Specify the range of intensity values to include" }, { "from": "gpt", "value": "pnmhistmap [-l|-lval] minval [-rv|-rval] maxval path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Clear the screen" }, { "from": "gpt", "value": "clear" } ]
[ { "from": "human", "value": "Clear the screen but keep the terminal's scrollback buffer (equivalent to pressing `<Ctrl l>` in Bash)" }, { "from": "gpt", "value": "clear -x" } ]
[ { "from": "human", "value": "Indicate the type of terminal to clean (defaults to the value of the environment variable `TERM`)" }, { "from": "gpt", "value": "clear -T type_of_terminal" } ]
[ { "from": "human", "value": "Display the version of `ncurses` used by `clear`" }, { "from": "gpt", "value": "clear -V" } ]
[ { "from": "human", "value": "Render a PNG image with a filename based on the input filename and output format (uppercase -O)" }, { "from": "gpt", "value": "sfdp -T png -O path/to/input.gv" } ]
[ { "from": "human", "value": "Render a SVG image with the specified output filename (lowercase -o)" }, { "from": "gpt", "value": "sfdp -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": "sfdp -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} \" | sfdp -T gif > path/to/image.gif" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "sfdp -?" } ]
[ { "from": "human", "value": "Show changed files which are not yet added for commit" }, { "from": "gpt", "value": "git status" } ]
[ { "from": "human", "value": "Give output in short format" }, { "from": "gpt", "value": "git status [-s|--short]" } ]
[ { "from": "human", "value": "Show verbose information on changes in both the staging area and working directory" }, { "from": "gpt", "value": "git status [-vv|--verbose --verbose]" } ]
[ { "from": "human", "value": "Show the branch and tracking info" }, { "from": "gpt", "value": "git status [-b|--branch]" } ]
[ { "from": "human", "value": "Show output in short format along with branch info" }, { "from": "gpt", "value": "git status [-sb|--short --branch]" } ]
[ { "from": "human", "value": "Show the number of entries currently stashed away" }, { "from": "gpt", "value": "git status --show-stash" } ]
[ { "from": "human", "value": "Don't show untracked files in the output" }, { "from": "gpt", "value": "git status [-uno|--untracked-files=no]" } ]
[ { "from": "human", "value": "Pipe two commands and return the exit status of the first command" }, { "from": "gpt", "value": "mispipe command1 command2" } ]
[ { "from": "human", "value": "Fetch a specific version of a jar" }, { "from": "gpt", "value": "cs fetch group_id:artifact_id:artifact_version" } ]
[ { "from": "human", "value": "Fetch a package and evaluate the classpath corresponding to the selected package in an env var" }, { "from": "gpt", "value": "CP=\"$(cs fetch --classpath org.scalameta::scalafmt-cli:latest.release)\"" } ]
[ { "from": "human", "value": "Fetch a source of a specific jar" }, { "from": "gpt", "value": "cs fetch --sources group_id:artifact_id:artifact_version" } ]
[ { "from": "human", "value": "Fetch the javadoc jars" }, { "from": "gpt", "value": "cs fetch --javadoc group_id:artifact_id:artifact_version" } ]
[ { "from": "human", "value": "Fetch dependency with javadoc jars and source jars" }, { "from": "gpt", "value": "cs fetch --default=true --sources --javadoc group_id:artifact_id:artifact_version" } ]
[ { "from": "human", "value": "Fetch jars coming from dependency files" }, { "from": "gpt", "value": "cs fetch --dependency-file path/to/file1 --dependency-file path/to/file2 ..." } ]
[ { "from": "human", "value": "Break out of a single loop" }, { "from": "gpt", "value": "while :; do break; done" } ]
[ { "from": "human", "value": "Break out of nested loops" }, { "from": "gpt", "value": "while :; do while :; do break 2; done; done" } ]