conversations
listlengths
2
2
[ { "from": "human", "value": "Rename an account" }, { "from": "gpt", "value": "ykman oath accounts rename keyword issuer:name|name" } ]
[ { "from": "human", "value": "Delete an account" }, { "from": "gpt", "value": "ykman oath accounts delete keyword" } ]
[ { "from": "human", "value": "Delete all accounts and restore factory settings" }, { "from": "gpt", "value": "ykman oath reset" } ]
[ { "from": "human", "value": "Print a balance report showing totals" }, { "from": "gpt", "value": "ledger balance --file path/to/ledger.journal" } ]
[ { "from": "human", "value": "List all postings in Expenses ordered by amount" }, { "from": "gpt", "value": "ledger register expenses --sorted amount" } ]
[ { "from": "human", "value": "Print total Expenses other than Drinks and Food" }, { "from": "gpt", "value": "ledger balance Expenses and not (Drinks or Food)" } ]
[ { "from": "human", "value": "Print a budget report" }, { "from": "gpt", "value": "ledger budget" } ]
[ { "from": "human", "value": "Print summary information about all the postings" }, { "from": "gpt", "value": "ledger stats" } ]
[ { "from": "human", "value": "Format the configuration in the current directory" }, { "from": "gpt", "value": "terraform fmt" } ]
[ { "from": "human", "value": "Format the configuration in the current directory and subdirectories" }, { "from": "gpt", "value": "terraform fmt -recursive" } ]
[ { "from": "human", "value": "Display diffs of formatting changes" }, { "from": "gpt", "value": "terraform fmt -diff" } ]
[ { "from": "human", "value": "Do not list files that were formatted to `stdout`" }, { "from": "gpt", "value": "terraform fmt -list=false" } ]
[ { "from": "human", "value": "Automatically commit any changes made to a file or directory" }, { "from": "gpt", "value": "gitwatch path/to/file_or_directory" } ]
[ { "from": "human", "value": "Automatically commit changes and push them to a remote repository" }, { "from": "gpt", "value": "gitwatch -r remote_name path/to/file_or_directory" } ]
[ { "from": "human", "value": "Automatically commit changes and push them to a specific branch of a remote repository" }, { "from": "gpt", "value": "gitwatch -r remote_name -b branch_name path/to/file_or_directory" } ]
[ { "from": "human", "value": "Start an interactive shell of `tlmgr`" }, { "from": "gpt", "value": "tlmgr shell" } ]
[ { "from": "human", "value": "Run any `tlmgr` subcommand in the interactive shell" }, { "from": "gpt", "value": "subcommand arguments" } ]
[ { "from": "human", "value": "Quit the interactive shell" }, { "from": "gpt", "value": "quit" } ]
[ { "from": "human", "value": "List all TeX Live variables" }, { "from": "gpt", "value": "get" } ]
[ { "from": "human", "value": "Get the value of a TeX Live variable" }, { "from": "gpt", "value": "get variable" } ]
[ { "from": "human", "value": "Set the value of a TeX Live variable" }, { "from": "gpt", "value": "set variable value" } ]
[ { "from": "human", "value": "Restart the interactive shell" }, { "from": "gpt", "value": "restart" } ]
[ { "from": "human", "value": "Display the version of the current protocol" }, { "from": "gpt", "value": "protocol" } ]
[ { "from": "human", "value": "Generate a shaded relief image with the input image interpreted as an elevation map" }, { "from": "gpt", "value": "pamshadedrelief < path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Gamma adjust the image by the specified factor" }, { "from": "gpt", "value": "pamshadedrelief [-g|-gamma] factor < path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr xz" } ]
[ { "from": "human", "value": "Convert file to a specific encoding, and print to `stdout`" }, { "from": "gpt", "value": "iconv -f from_encoding -t to_encoding input_file" } ]
[ { "from": "human", "value": "Convert file to the current locale's encoding, and output to a file" }, { "from": "gpt", "value": "iconv -f from_encoding input_file > output_file" } ]
[ { "from": "human", "value": "List supported encodings" }, { "from": "gpt", "value": "iconv -l" } ]
[ { "from": "human", "value": "Run the server with a specific service name" }, { "from": "gpt", "value": "ippeveprinter \"service_name\"" } ]
[ { "from": "human", "value": "Load printer attributes from a PPD file" }, { "from": "gpt", "value": "ippeveprinter -P path/to/file.ppd \"service_name\"" } ]
[ { "from": "human", "value": "Run the `file` command whenever a job is sent to the server" }, { "from": "gpt", "value": "ippeveprinter -c /usr/bin/file \"service_name\"" } ]
[ { "from": "human", "value": "Specify the directory that will hold the print files (by default, a directory under the user's temporary directory)" }, { "from": "gpt", "value": "ippeveprinter -d spool_directory \"service_name\"" } ]
[ { "from": "human", "value": "Keep the print documents in the spool directory rather than deleting them" }, { "from": "gpt", "value": "ippeveprinter -k \"service_name\"" } ]
[ { "from": "human", "value": "Specify the printer speed in pages/minute unit (10 by default)" }, { "from": "gpt", "value": "ippeveprinter -s speed \"service_name\"" } ]
[ { "from": "human", "value": "Apply a commit to the current branch" }, { "from": "gpt", "value": "git cherry-pick commit" } ]
[ { "from": "human", "value": "Apply a range of commits to the current branch (see also `git rebase --onto`)" }, { "from": "gpt", "value": "git cherry-pick start_commit~..end_commit" } ]
[ { "from": "human", "value": "Apply multiple (non-sequential) commits to the current branch" }, { "from": "gpt", "value": "git cherry-pick commit1 commit2 ..." } ]
[ { "from": "human", "value": "Add the changes of a commit to the working directory, without creating a commit" }, { "from": "gpt", "value": "git cherry-pick --no-commit commit" } ]
[ { "from": "human", "value": "Recursively search for a pattern in the current working directory" }, { "from": "gpt", "value": "rgrep \"search_pattern\"" } ]
[ { "from": "human", "value": "Recursively search for a case-insensitive pattern in the current working directory" }, { "from": "gpt", "value": "rgrep [-i|--ignore-case] \"search_pattern\"" } ]
[ { "from": "human", "value": "Recursively search for an extended regular expression pattern (supports `?`, `+`, `{}`, `()` and `|`) in the current working directory" }, { "from": "gpt", "value": "rgrep [-E|--extended-regexp] \"search_pattern\"" } ]
[ { "from": "human", "value": "Recursively search for an exact string (disables regular expressions) in the current working directory" }, { "from": "gpt", "value": "rgrep [-F|--fixed-strings] \"exact_string\"" } ]
[ { "from": "human", "value": "Recursively search for a pattern in a specified directory (or file)" }, { "from": "gpt", "value": "rgrep \"search_pattern\" path/to/file_or_directory" } ]
[ { "from": "human", "value": "Show all clipboards" }, { "from": "gpt", "value": "cb" } ]
[ { "from": "human", "value": "Copy a file to the clipboard" }, { "from": "gpt", "value": "cb copy path/to/file" } ]
[ { "from": "human", "value": "Copy some text to the clipboard" }, { "from": "gpt", "value": "cb copy \"Some example text\"" } ]
[ { "from": "human", "value": "Copy piped data to the clipboard" }, { "from": "gpt", "value": "echo \"Some example text\" | cb" } ]
[ { "from": "human", "value": "Paste clipboard content" }, { "from": "gpt", "value": "cb paste" } ]
[ { "from": "human", "value": "Pipe out clipboard content" }, { "from": "gpt", "value": "cb | cat" } ]
[ { "from": "human", "value": "Show clipboard history" }, { "from": "gpt", "value": "cb history" } ]
[ { "from": "human", "value": "Show clipboard information" }, { "from": "gpt", "value": "cb info" } ]
[ { "from": "human", "value": "List the namespaces" }, { "from": "gpt", "value": "kubens" } ]
[ { "from": "human", "value": "Change the active namespace" }, { "from": "gpt", "value": "kubens name" } ]
[ { "from": "human", "value": "Switch to the previous namespace" }, { "from": "gpt", "value": "kubens -" } ]
[ { "from": "human", "value": "Create a new application project in a new directory" }, { "from": "gpt", "value": "quarkus create app project_name" } ]
[ { "from": "human", "value": "Run the current project in live coding mode" }, { "from": "gpt", "value": "quarkus dev" } ]
[ { "from": "human", "value": "Run the application" }, { "from": "gpt", "value": "quarkus run" } ]
[ { "from": "human", "value": "Run the current project in continuous testing mode" }, { "from": "gpt", "value": "quarkus test" } ]
[ { "from": "human", "value": "Add one or more extensions to the current project" }, { "from": "gpt", "value": "quarkus extension add extension_name1 extension_name2 ..." } ]
[ { "from": "human", "value": "Build a container image using Docker" }, { "from": "gpt", "value": "quarkus image build docker" } ]
[ { "from": "human", "value": "Deploy the application to Kubernetes" }, { "from": "gpt", "value": "quarkus deploy kubernetes" } ]
[ { "from": "human", "value": "Update project" }, { "from": "gpt", "value": "quarkus update" } ]
[ { "from": "human", "value": "Uninstall a package" }, { "from": "gpt", "value": "adb uninstall com.example.app" } ]
[ { "from": "human", "value": "Uninstall a package, but keep user data" }, { "from": "gpt", "value": "adb uninstall -k com.example.app" } ]
[ { "from": "human", "value": "Convert to HTML" }, { "from": "gpt", "value": "gladtex path/to/input.htex" } ]
[ { "from": "human", "value": "Save the converted file to a specific location" }, { "from": "gpt", "value": "gladtex path/to/input.htex -o path/to/output.html" } ]
[ { "from": "human", "value": "Save the generated images to a specific [d]irectory" }, { "from": "gpt", "value": "gladtex path/to/input.htex -d path/to/image_output_directory" } ]
[ { "from": "human", "value": "Set image [r]esolution (in dpi, default is 100)" }, { "from": "gpt", "value": "gladtex path/to/input.htex -r resolution" } ]
[ { "from": "human", "value": "[k]eep LaTeX files after conversion" }, { "from": "gpt", "value": "gladtex path/to/input.htex -k" } ]
[ { "from": "human", "value": "Set [b]ackground and [f]oreground color of the images" }, { "from": "gpt", "value": "gladtex path/to/input.htex -b background_color -f foreground_color" } ]
[ { "from": "human", "value": "Convert Markdown to HTML using `pandoc` and `gladtex`" }, { "from": "gpt", "value": "pandoc -s -t html --gladtex path/to/input.md | gladtex -o path/to/output.html" } ]
[ { "from": "human", "value": "List the available event names (e.g. `SIGWINCH`)" }, { "from": "gpt", "value": "trap -l" } ]
[ { "from": "human", "value": "List the commands and the names of the expected events" }, { "from": "gpt", "value": "trap" } ]
[ { "from": "human", "value": "Execute a command when a signal is received" }, { "from": "gpt", "value": "trap 'echo \"Caught signal SIGHUP\"' SIGHUP" } ]
[ { "from": "human", "value": "Remove commands" }, { "from": "gpt", "value": "trap - SIGHUP SIGINT" } ]
[ { "from": "human", "value": "Ignore a signal" }, { "from": "gpt", "value": "trap '' SIGINT" } ]
[ { "from": "human", "value": "Print the mcfly integration code for the specified shell" }, { "from": "gpt", "value": "mcfly init bash|fish|zsh" } ]
[ { "from": "human", "value": "Search the history for a command, with 20 results" }, { "from": "gpt", "value": "mcfly search --results 20 \"search_terms\"" } ]
[ { "from": "human", "value": "Add a new command to the history" }, { "from": "gpt", "value": "mcfly add \"command\"" } ]
[ { "from": "human", "value": "Record that a directory has moved and transfer the historical records from the old path to the new one" }, { "from": "gpt", "value": "mcfly move \"path/to/old_directory\" \"path/to/new_directory\"" } ]
[ { "from": "human", "value": "Train the suggestion engine (developer tool)" }, { "from": "gpt", "value": "mcfly train" } ]
[ { "from": "human", "value": "Display help for a specific subcommand" }, { "from": "gpt", "value": "mcfly help subcommand" } ]
[ { "from": "human", "value": "Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as \"ele\"" }, { "from": "gpt", "value": "gdal_contour -a ele -i 100.0 path/to/input.tif path/to/output.gpkg" } ]
[ { "from": "human", "value": "Create a vector dataset with [p]olygons spread over an 100-meter [i]nterval" }, { "from": "gpt", "value": "gdal_contour -i 100.0 -p path/to/input.tif path/to/output.gpkg" } ]
[ { "from": "human", "value": "Produce an image consisting of the input's even-numbered rows" }, { "from": "gpt", "value": "pamdeinterlace path/to/image.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Produce an image consisting of the input's odd-numbered rows" }, { "from": "gpt", "value": "pamdeinterlace [-takeo|-takeodd] path/to/image.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Run gource in a directory (if it isn't the repository's root directory, the root is sought up from there)" }, { "from": "gpt", "value": "gource path/to/repository" } ]
[ { "from": "human", "value": "Run gource in the current directory, with a custom output resolution" }, { "from": "gpt", "value": "gource -widthxheight" } ]
[ { "from": "human", "value": "Specify the timescale for the animation" }, { "from": "gpt", "value": "gource -c time_scale_multiplier" } ]
[ { "from": "human", "value": "Specify how long each day should be in the animation (this combines with -c, if provided)" }, { "from": "gpt", "value": "gource -s seconds" } ]
[ { "from": "human", "value": "Use fullscreen mode and a custom background color" }, { "from": "gpt", "value": "gource -f -b hex_color_code" } ]
[ { "from": "human", "value": "Specify the animation title" }, { "from": "gpt", "value": "gource --title title" } ]
[ { "from": "human", "value": "Create a new repository (if the repository name is not set, the default name will be the name of the current directory)" }, { "from": "gpt", "value": "glab repo create name" } ]
[ { "from": "human", "value": "Clone a repository" }, { "from": "gpt", "value": "glab repo clone owner/repository" } ]
[ { "from": "human", "value": "Fork and clone a repository" }, { "from": "gpt", "value": "glab repo fork owner/repository --clone" } ]
[ { "from": "human", "value": "View a repository in the default web browser" }, { "from": "gpt", "value": "glab repo view owner/repository --web" } ]
[ { "from": "human", "value": "Search some repositories in the GitLab instance" }, { "from": "gpt", "value": "glab repo search -s search_string" } ]
[ { "from": "human", "value": "Build in the current directory" }, { "from": "gpt", "value": "ninja" } ]
[ { "from": "human", "value": "Build in the current directory, executing 4 jobs at a time in parallel" }, { "from": "gpt", "value": "ninja -j 4" } ]