conversations
listlengths
2
2
[ { "from": "human", "value": "Start the typing test with the default wordlist" }, { "from": "gpt", "value": "toipe" } ]
[ { "from": "human", "value": "Use a specific wordlist" }, { "from": "gpt", "value": "toipe [-w|--wordlist] wordlist_name" } ]
[ { "from": "human", "value": "Use a custom wordlist" }, { "from": "gpt", "value": "toipe [-f|--file] path/to/file" } ]
[ { "from": "human", "value": "Specify the number of words on each test" }, { "from": "gpt", "value": "toipe [-n|--num] number_of_words" } ]
[ { "from": "human", "value": "Include punctuation" }, { "from": "gpt", "value": "toipe [-p|--punctuation]" } ]
[ { "from": "human", "value": "Append file content to the source file" }, { "from": "gpt", "value": "cat path/to/file | sponge -a path/to/file" } ]
[ { "from": "human", "value": "Remove all lines starting with # in a file" }, { "from": "gpt", "value": "grep -v '^#' path/to/file | sponge path/to/file" } ]
[ { "from": "human", "value": "Listen on all interfaces (`0.0.0.0`) and port `8080`" }, { "from": "gpt", "value": "xsp" } ]
[ { "from": "human", "value": "Listen on a specific IP address and port" }, { "from": "gpt", "value": "xsp --address 127.0.0.1 --port 8000" } ]
[ { "from": "human", "value": "Start `peco` on all files in the specified directory" }, { "from": "gpt", "value": "find path/to/directory -type f | peco" } ]
[ { "from": "human", "value": "Start `peco` for running processes" }, { "from": "gpt", "value": "ps aux | peco" } ]
[ { "from": "human", "value": "Start `peco` with a specified query" }, { "from": "gpt", "value": "peco --query \"query\"" } ]
[ { "from": "human", "value": "Show the current pinning data" }, { "from": "gpt", "value": "tlmgr pinning show" } ]
[ { "from": "human", "value": "Pin the matching the packages to the given repository" }, { "from": "gpt", "value": "tlmgr pinning add repository package1 package2 ..." } ]
[ { "from": "human", "value": "Remove any packages recorded in the pinning file matching the packages for the given repository" }, { "from": "gpt", "value": "tlmgr pinning remove repository package1 package2 ..." } ]
[ { "from": "human", "value": "Remove all pinning data for the given repository" }, { "from": "gpt", "value": "tlmgr pinning remove repository --all" } ]
[ { "from": "human", "value": "Run all tests defined in the CMake project, executing 4 jobs at a time in parallel" }, { "from": "gpt", "value": "ctest -j4 --output-on-failure" } ]
[ { "from": "human", "value": "List available tests" }, { "from": "gpt", "value": "ctest -N" } ]
[ { "from": "human", "value": "Run a single test based on its name, or filter on a regular expression" }, { "from": "gpt", "value": "ctest --output-on-failure -R '^test_name$'" } ]
[ { "from": "human", "value": "Configure the AWS Command-line" }, { "from": "gpt", "value": "aws configure wizard" } ]
[ { "from": "human", "value": "Configure the AWS Command-line using SSO" }, { "from": "gpt", "value": "aws configure sso" } ]
[ { "from": "human", "value": "Get the caller identity (used to troubleshoot permissions)" }, { "from": "gpt", "value": "aws sts get-caller-identity" } ]
[ { "from": "human", "value": "List AWS resources in a region and output in YAML" }, { "from": "gpt", "value": "aws dynamodb list-tables --region us-east-1 --output yaml" } ]
[ { "from": "human", "value": "Use auto prompt to help with a command" }, { "from": "gpt", "value": "aws iam create-user --cli-auto-prompt" } ]
[ { "from": "human", "value": "Get an interactive wizard for an AWS resource" }, { "from": "gpt", "value": "aws dynamodb wizard new_table" } ]
[ { "from": "human", "value": "Generate a JSON CLI Skeleton (useful for infrastructure as code)" }, { "from": "gpt", "value": "aws dynamodb update-table --generate-cli-skeleton" } ]
[ { "from": "human", "value": "Display help for a specific command" }, { "from": "gpt", "value": "aws command help" } ]
[ { "from": "human", "value": "Convert a PPM image to text as specified by the given template" }, { "from": "gpt", "value": "ppmtoarbtxt path/to/template path/to/image.ppm > path/to/output_file.txt" } ]
[ { "from": "human", "value": "Convert a PPM image to text as specified by the given template, prepend the contents of the specified head template" }, { "from": "gpt", "value": "ppmtoarbtxt path/to/template -hd path/to/head_template path/to/image.ppm > path/to/output_file.txt" } ]
[ { "from": "human", "value": "Convert a PPM image to text as specified by the given template, append the contents of the specified tail template" }, { "from": "gpt", "value": "ppmtoarbtxt path/to/template -hd path/to/tail_template path/to/image.ppm > path/to/output_file.txt" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "ppmtoarbtxt [-v|-version]" } ]
[ { "from": "human", "value": "Pretty print an HTML file" }, { "from": "gpt", "value": "tidy path/to/file.html" } ]
[ { "from": "human", "value": "Enable indentation, wrapping lines in 100, saving to `output.html`" }, { "from": "gpt", "value": "tidy [-i|--indent] y [-w|--wrap] 100 [-o|-output] path/to/output.html path/to/file.html" } ]
[ { "from": "human", "value": "Modify an HTML file in-place using a configuration file" }, { "from": "gpt", "value": "tidy -config path/to/configuration [-m|-modify] path/to/file.html" } ]
[ { "from": "human", "value": "Search for URLs of a domain (output will typically be in `~/.config/waymore/results/`)" }, { "from": "gpt", "value": "waymore -i example.com" } ]
[ { "from": "human", "value": "Limit search results to only include a list of URLs for a domain and store outputs to the specified file" }, { "from": "gpt", "value": "waymore -mode U -oU path/to/example.com-urls.txt -i example.com" } ]
[ { "from": "human", "value": "Only output the content bodies of URLs and store outputs to the specified directory" }, { "from": "gpt", "value": "waymore -mode R -oR path/to/example.com-url-responses -i example.com" } ]
[ { "from": "human", "value": "Filter the results by specifying date ranges" }, { "from": "gpt", "value": "waymore -from YYYYMMDD|YYYYMM|YYYY -to YYYYMMDD|YYYYMM|YYYY -i example.com" } ]
[ { "from": "human", "value": "List available diff tools" }, { "from": "gpt", "value": "git difftool --tool-help" } ]
[ { "from": "human", "value": "Set the default diff tool to meld" }, { "from": "gpt", "value": "git config --global diff.tool \"meld\"" } ]
[ { "from": "human", "value": "Use the default diff tool to show staged changes" }, { "from": "gpt", "value": "git difftool --staged" } ]
[ { "from": "human", "value": "Use a specific tool (opendiff) to show changes since a given commit" }, { "from": "gpt", "value": "git difftool --tool=opendiff commit" } ]
[ { "from": "human", "value": "Start a bisect session on a commit range bounded by a known buggy commit, and a known clean (typically older) one" }, { "from": "gpt", "value": "git bisect start bad_commit good_commit" } ]
[ { "from": "human", "value": "For each commit that `git bisect` selects, mark it as \"bad\" or \"good\" after testing it for the issue" }, { "from": "gpt", "value": "git bisect good|bad" } ]
[ { "from": "human", "value": "After `git bisect` pinpoints the faulty commit, end the bisect session and return to the previous branch" }, { "from": "gpt", "value": "git bisect reset" } ]
[ { "from": "human", "value": "Skip a commit during a bisect (e.g. one that fails the tests due to a different issue)" }, { "from": "gpt", "value": "git bisect skip" } ]
[ { "from": "human", "value": "Display a log of what has been done so far" }, { "from": "gpt", "value": "git bisect log" } ]
[ { "from": "human", "value": "View documentation for the current command" }, { "from": "gpt", "value": "tldr pamcut" } ]
[ { "from": "human", "value": "Start in chat mode" }, { "from": "gpt", "value": "chatgpt" } ]
[ { "from": "human", "value": "Give a prompt to answer to" }, { "from": "gpt", "value": "chatgpt [-p|--prompt] \"What is the regex to match an email address?\"" } ]
[ { "from": "human", "value": "Start in chat mode using a specific model (default is `gpt-3.5-turbo`)" }, { "from": "gpt", "value": "chatgpt [-m|--model] gpt-4" } ]
[ { "from": "human", "value": "Start in chat mode with an initial prompt" }, { "from": "gpt", "value": "chatgpt [-i|--init-prompt] \"You are Rick, from Rick and Morty. Respond to questions using his mannerism and include insulting jokes.\"" } ]
[ { "from": "human", "value": "Pipe the result of a command to `chatgpt` as a prompt" }, { "from": "gpt", "value": "echo \"How to view running processes on Ubuntu?\" | chatgpt" } ]
[ { "from": "human", "value": "Generate an image using DALL-E" }, { "from": "gpt", "value": "chatgpt [-p|--prompt] \"image: A white cat\"" } ]
[ { "from": "human", "value": "Show last 'count' lines in file" }, { "from": "gpt", "value": "tail [-n|--lines] count path/to/file" } ]
[ { "from": "human", "value": "Print a file from a specific line number" }, { "from": "gpt", "value": "tail [-n|--lines] +count path/to/file" } ]
[ { "from": "human", "value": "Print a specific count of bytes from the end of a given file" }, { "from": "gpt", "value": "tail [-c|--bytes] count path/to/file" } ]
[ { "from": "human", "value": "Print the last lines of a given file and keep reading it until `<Ctrl c>`" }, { "from": "gpt", "value": "tail [-f|--follow] path/to/file" } ]
[ { "from": "human", "value": "Keep reading file until `<Ctrl c>`, even if the file is inaccessible" }, { "from": "gpt", "value": "tail [-F|--retry --follow] path/to/file" } ]
[ { "from": "human", "value": "Show last 'num' lines in 'file' and refresh every 'n' seconds" }, { "from": "gpt", "value": "tail [-n|--lines] count [-s|--sleep-interval] seconds [-f|--follow] path/to/file" } ]
[ { "from": "human", "value": "List directiory toolchain overrides" }, { "from": "gpt", "value": "rustup override list" } ]
[ { "from": "human", "value": "Set the override toolchain for the current directory (i.e. tell `rustup` to run `cargo`, `rustc`, etc. from a specific toolchain when in that directory)" }, { "from": "gpt", "value": "rustup override set toolchain" } ]
[ { "from": "human", "value": "Remove the toolchain override for the current directory" }, { "from": "gpt", "value": "rustup override unset" } ]
[ { "from": "human", "value": "Remove all toolchain overrides for directories that no longer exist" }, { "from": "gpt", "value": "rustup override unset --nonexistent" } ]
[ { "from": "human", "value": "Find files by extension" }, { "from": "gpt", "value": "bfs root_path -name '*.ext'" } ]
[ { "from": "human", "value": "Find files matching multiple path/name patterns" }, { "from": "gpt", "value": "bfs root_path -path '**/path/**/*.ext' -or -name '*pattern*'" } ]
[ { "from": "human", "value": "Find directories matching a given name, in case-insensitive mode" }, { "from": "gpt", "value": "bfs root_path -type d -iname '*lib*'" } ]
[ { "from": "human", "value": "Find files matching a given pattern, excluding specific paths" }, { "from": "gpt", "value": "bfs root_path -name '*.py' -not -path '*/site-packages/*'" } ]
[ { "from": "human", "value": "Find files matching a given size range, limiting the recursive depth to \"1\"" }, { "from": "gpt", "value": "bfs root_path -maxdepth 1 -size +500k -size -10M" } ]
[ { "from": "human", "value": "Run a command for each file (use `{}` within the command to access the filename)" }, { "from": "gpt", "value": "bfs root_path -name '*.ext' -exec wc -l {} \\;" } ]
[ { "from": "human", "value": "Find all files modified today and pass the results to a single command as arguments" }, { "from": "gpt", "value": "bfs root_path -daystart -mtime -1 -exec tar -cvf archive.tar {} \\+" } ]
[ { "from": "human", "value": "Find empty files (0 byte) or directories and delete them verbosely" }, { "from": "gpt", "value": "bfs root_path -type f|d -empty -delete -print" } ]
[ { "from": "human", "value": "Show current cache statistics" }, { "from": "gpt", "value": "ccache [-s|--show-stats]" } ]
[ { "from": "human", "value": "Clear all cache" }, { "from": "gpt", "value": "ccache [-C|--clear]" } ]
[ { "from": "human", "value": "Reset statistics (but not cache itself)" }, { "from": "gpt", "value": "ccache [-z|--zero-stats]" } ]
[ { "from": "human", "value": "Compile C code and cache compiled output (to use `ccache` on all `gcc` invocations, see the note above)" }, { "from": "gpt", "value": "ccache gcc path/to/file.c" } ]
[ { "from": "human", "value": "Connect to a Zapier account" }, { "from": "gpt", "value": "zapier login" } ]
[ { "from": "human", "value": "Initialize a new Zapier integration with a project template" }, { "from": "gpt", "value": "zapier init path/to/directory" } ]
[ { "from": "human", "value": "Add a starting trigger, create, search, or resource to your integration" }, { "from": "gpt", "value": "zapier scaffold trigger|create|search|resource name" } ]
[ { "from": "human", "value": "Test an integration" }, { "from": "gpt", "value": "zapier test" } ]
[ { "from": "human", "value": "Build and upload an integration to Zapier" }, { "from": "gpt", "value": "zapier push" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "zapier help" } ]
[ { "from": "human", "value": "Display help for a specific command" }, { "from": "gpt", "value": "zapier help command" } ]
[ { "from": "human", "value": "Open an SVG file in the Inkscape GUI" }, { "from": "gpt", "value": "inkscape path/to/filename.svg" } ]
[ { "from": "human", "value": "Export an SVG file into a bitmap with the default format (PNG) and the default resolution (96 DPI)" }, { "from": "gpt", "value": "inkscape path/to/filename.svg -o path/to/filename.png" } ]
[ { "from": "human", "value": "Export an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur)" }, { "from": "gpt", "value": "inkscape path/to/filename.svg -o path/to/filename.png -w 600 -h 400" } ]
[ { "from": "human", "value": "Export the drawing (bounding box of all objects) of an SVG file into a bitmap" }, { "from": "gpt", "value": "inkscape path/to/filename.svg -o path/to/filename.png -D" } ]
[ { "from": "human", "value": "Export a single object, given its ID, into a bitmap" }, { "from": "gpt", "value": "inkscape path/to/filename.svg -i id -o object.png" } ]
[ { "from": "human", "value": "Export an SVG document to PDF, converting all texts to paths" }, { "from": "gpt", "value": "inkscape path/to/filename.svg -o path/to/filename.pdf --export-text-to-path" } ]
[ { "from": "human", "value": "Duplicate the object with id=\"path123\", rotate the duplicate 90 degrees, save the file, and quit Inkscape" }, { "from": "gpt", "value": "inkscape path/to/filename.svg --select=path123 --verb=\"EditDuplicate;ObjectRotate90;FileSave;FileQuit\"" } ]
[ { "from": "human", "value": "Show the default paper size used by all TeX Live programs" }, { "from": "gpt", "value": "tlmgr paper" } ]
[ { "from": "human", "value": "Set the default paper size for all TeX Live programs to A4" }, { "from": "gpt", "value": "sudo tlmgr paper a4" } ]
[ { "from": "human", "value": "Show the default paper size used by a specific TeX Live program" }, { "from": "gpt", "value": "tlmgr pdftex paper" } ]
[ { "from": "human", "value": "Set the default paper size for a specific TeX Live program to A4" }, { "from": "gpt", "value": "sudo tlmgr pdftex paper a4" } ]
[ { "from": "human", "value": "List all available paper sizes for a specific TeX Live program" }, { "from": "gpt", "value": "tlmgr pdftex paper --list" } ]
[ { "from": "human", "value": "Dump the default paper size used by all TeX Live programs in JSON format" }, { "from": "gpt", "value": "tlmgr paper --json" } ]
[ { "from": "human", "value": "Compile a file and output its executable" }, { "from": "gpt", "value": "v path/to/file.v" } ]
[ { "from": "human", "value": "Compile the current project or directory" }, { "from": "gpt", "value": "v ." } ]
[ { "from": "human", "value": "Compile a file and run it" }, { "from": "gpt", "value": "v run path/to/file.v" } ]
[ { "from": "human", "value": "Compile a file and run it, output its executable" }, { "from": "gpt", "value": "v crun path/to/file.v" } ]