conversations
listlengths
2
2
[ { "from": "human", "value": "Set the default Node.js version" }, { "from": "gpt", "value": "nvm alias default node_version" } ]
[ { "from": "human", "value": "List all available Node.js versions and highlight the default one" }, { "from": "gpt", "value": "nvm list" } ]
[ { "from": "human", "value": "Uninstall a given Node.js version" }, { "from": "gpt", "value": "nvm uninstall node_version" } ]
[ { "from": "human", "value": "Launch the REPL of a specific version of Node.js" }, { "from": "gpt", "value": "nvm run node_version --version" } ]
[ { "from": "human", "value": "Execute a script in a specific version of Node.js" }, { "from": "gpt", "value": "nvm exec node_version node app.js" } ]
[ { "from": "human", "value": "Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one" }, { "from": "gpt", "value": "qpdf --empty --pages path/to/input.pdf 1-3,5,6-10 -- path/to/output.pdf" } ]
[ { "from": "human", "value": "Merge (concatenate) all the pages of multiple PDF files and save the result as a new PDF" }, { "from": "gpt", "value": "qpdf --empty --pages path/to/file1.pdf file2.pdf ... -- path/to/output.pdf" } ]
[ { "from": "human", "value": "Merge (concatenate) given pages from a list of PDF files and save the result as a new PDF" }, { "from": "gpt", "value": "qpdf --empty --pages path/to/file1.pdf 1,6-8 path/to/file2.pdf 3,4,5 -- path/to/output.pdf" } ]
[ { "from": "human", "value": "Write each group of `n` pages to a separate output file with a given filename pattern" }, { "from": "gpt", "value": "qpdf --split-pages=n path/to/input.pdf path/to/out_%d.pdf" } ]
[ { "from": "human", "value": "Rotate certain pages of a PDF with a given angle" }, { "from": "gpt", "value": "qpdf --rotate=90:2,4,6 --rotate=180:7-8 path/to/input.pdf path/to/output.pdf" } ]
[ { "from": "human", "value": "Remove the password from a password-protected file" }, { "from": "gpt", "value": "qpdf --password=password --decrypt path/to/input.pdf path/to/output.pdf" } ]
[ { "from": "human", "value": "Jump to a directory that contains the given pattern" }, { "from": "gpt", "value": "j pattern" } ]
[ { "from": "human", "value": "Jump to a sub-directory (child) of the current directory that contains the given pattern" }, { "from": "gpt", "value": "jc pattern" } ]
[ { "from": "human", "value": "Open a directory that contains the given pattern in the operating system file manager" }, { "from": "gpt", "value": "jo pattern" } ]
[ { "from": "human", "value": "Remove non-existing directories from the autojump database" }, { "from": "gpt", "value": "j --purge" } ]
[ { "from": "human", "value": "Show the entries in the autojump database" }, { "from": "gpt", "value": "j -s" } ]
[ { "from": "human", "value": "Display key-value pairs of all environment variables" }, { "from": "gpt", "value": "printenv" } ]
[ { "from": "human", "value": "Display the value of a specific variable" }, { "from": "gpt", "value": "printenv HOME" } ]
[ { "from": "human", "value": "Display the value of a variable and end with NUL instead of newline" }, { "from": "gpt", "value": "printenv [-0|--null] HOME" } ]
[ { "from": "human", "value": "Lookup the IP(s) associated with a hostname (A records)" }, { "from": "gpt", "value": "dig +short example.com" } ]
[ { "from": "human", "value": "Get a detailed answer for a given domain (A records)" }, { "from": "gpt", "value": "dig +noall +answer example.com" } ]
[ { "from": "human", "value": "Query a specific DNS record type associated with a given domain name" }, { "from": "gpt", "value": "dig +short example.com A|MX|TXT|CNAME|NS" } ]
[ { "from": "human", "value": "Specify an alternate DNS server to query and optionally use DNS over TLS (DoT)" }, { "from": "gpt", "value": "dig +tls @1.1.1.1|8.8.8.8|9.9.9.9|... example.com" } ]
[ { "from": "human", "value": "Perform a reverse DNS lookup on an IP address (PTR record)" }, { "from": "gpt", "value": "dig -x 8.8.8.8" } ]
[ { "from": "human", "value": "Find authoritative name servers for the zone and display SOA records" }, { "from": "gpt", "value": "dig +nssearch example.com" } ]
[ { "from": "human", "value": "Perform iterative queries and display the entire trace path to resolve a domain name" }, { "from": "gpt", "value": "dig +trace example.com" } ]
[ { "from": "human", "value": "Query a DNS server over a non-standard [p]ort using the TCP protocol" }, { "from": "gpt", "value": "dig +tcp -p port @dns_server_ip example.com" } ]
[ { "from": "human", "value": "Generate an RSA private key of 2048 bits, saving it to a specific file" }, { "from": "gpt", "value": "openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:2048 -out filename.key" } ]
[ { "from": "human", "value": "Generate an elliptic curve private key using the curve `prime256v1`, saving it to a specific file" }, { "from": "gpt", "value": "openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:prime256v1 -out filename.key" } ]
[ { "from": "human", "value": "Generate an `ED25519` elliptic curve private key, saving it to a specific file" }, { "from": "gpt", "value": "openssl genpkey -algorithm ED25519 -out filename.key" } ]
[ { "from": "human", "value": "Give the PPM image an American TV appearance" }, { "from": "gpt", "value": "ppmtv dim_factor path/to/file.ppm > path/to/output.ppm" } ]
[ { "from": "human", "value": "Suppress all informational messages" }, { "from": "gpt", "value": "ppmtv [-q|-quiet]" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "ppmtv [-v|-version]" } ]
[ { "from": "human", "value": "Update virus definitions" }, { "from": "gpt", "value": "freshclam" } ]
[ { "from": "human", "value": "Generate the PBM, PGM, or PNM image as output, for Windows or OS/2 BMP file as input" }, { "from": "gpt", "value": "bmptopnm path/to/file.bmp" } ]
[ { "from": "human", "value": "Report contents of the BMP header to `stderr`" }, { "from": "gpt", "value": "bmptopnm [-verb|-verbose] path/to/file.bmp" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "bmptopnm [-v|-version]" } ]
[ { "from": "human", "value": "Print the values of the pixels in the n'th row in a table" }, { "from": "gpt", "value": "pamslice [-r|-row] n path/to/image.pam" } ]
[ { "from": "human", "value": "Print the values of the pixels in the n'th column in a table" }, { "from": "gpt", "value": "pamslice [-c|-column] n path/to/image.pam" } ]
[ { "from": "human", "value": "Consider the m'th plane of the input image only" }, { "from": "gpt", "value": "pamslice [-r|-row] n -plane m path/to/image.pam" } ]
[ { "from": "human", "value": "Produce output in a format suitable for input to an `xmgr` for visualisation" }, { "from": "gpt", "value": "pamslice [-r|-row] n [-x|-xmgr] path/to/image.pam" } ]
[ { "from": "human", "value": "Check out a specific pull request" }, { "from": "gpt", "value": "git pr pr_number" } ]
[ { "from": "human", "value": "Check out a pull request from a specific remote" }, { "from": "gpt", "value": "git pr pr_number remote" } ]
[ { "from": "human", "value": "Check out a pull request from its URL" }, { "from": "gpt", "value": "git pr url" } ]
[ { "from": "human", "value": "Clean up old pull request branches" }, { "from": "gpt", "value": "git pr clean" } ]
[ { "from": "human", "value": "List all running containers" }, { "from": "gpt", "value": "podman-compose ps" } ]
[ { "from": "human", "value": "Create and start all containers in the background using a local `docker-compose.yml`" }, { "from": "gpt", "value": "podman-compose up -d" } ]
[ { "from": "human", "value": "Start all containers, building if needed" }, { "from": "gpt", "value": "podman-compose up --build" } ]
[ { "from": "human", "value": "Start all containers using an alternate compose file" }, { "from": "gpt", "value": "podman-compose [-f|--file] path/to/file.yaml up" } ]
[ { "from": "human", "value": "Stop all running containers" }, { "from": "gpt", "value": "podman-compose stop" } ]
[ { "from": "human", "value": "Remove all containers, networks, and volumes" }, { "from": "gpt", "value": "podman-compose down --volumes" } ]
[ { "from": "human", "value": "Follow logs for a container (omit all container names)" }, { "from": "gpt", "value": "podman-compose logs --follow container_name" } ]
[ { "from": "human", "value": "Run a one-time command in a service with no ports mapped" }, { "from": "gpt", "value": "podman-compose run service_name command" } ]
[ { "from": "human", "value": "Remove the most recent commit" }, { "from": "gpt", "value": "git undo" } ]
[ { "from": "human", "value": "Remove a specific number of the most recent commits" }, { "from": "gpt", "value": "git undo 3" } ]
[ { "from": "human", "value": "Start Visual Studio Code" }, { "from": "gpt", "value": "code" } ]
[ { "from": "human", "value": "Open specific files/directories" }, { "from": "gpt", "value": "code path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Compare two specific files" }, { "from": "gpt", "value": "code --diff path/to/file1 path/to/file2" } ]
[ { "from": "human", "value": "Open specific files/directories in a new window" }, { "from": "gpt", "value": "code --new-window path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Install/uninstall a specific extension" }, { "from": "gpt", "value": "code --install|uninstall-extension publisher.extension" } ]
[ { "from": "human", "value": "Print installed extensions" }, { "from": "gpt", "value": "code --list-extensions" } ]
[ { "from": "human", "value": "Print installed extensions with their versions" }, { "from": "gpt", "value": "code --list-extensions --show-versions" } ]
[ { "from": "human", "value": "Start the editor as a superuser (root) while storing user data in a specific directory" }, { "from": "gpt", "value": "sudo code --user-data-dir path/to/directory" } ]
[ { "from": "human", "value": "With no additional arguments, `output` will display all outputs for the root module" }, { "from": "gpt", "value": "terraform output" } ]
[ { "from": "human", "value": "Output only a value with specific name" }, { "from": "gpt", "value": "terraform output name" } ]
[ { "from": "human", "value": "Convert the output value to a raw string (useful for shell scripts)" }, { "from": "gpt", "value": "terraform output -raw" } ]
[ { "from": "human", "value": "Format the outputs as a JSON object, with a key per output (useful with jq)" }, { "from": "gpt", "value": "terraform output -json" } ]
[ { "from": "human", "value": "Start SpeedCrunch" }, { "from": "gpt", "value": "speedcrunch" } ]
[ { "from": "human", "value": "Copy the result of the most recent calculation" }, { "from": "gpt", "value": "<Ctrl r>" } ]
[ { "from": "human", "value": "Open the formula book" }, { "from": "gpt", "value": "<Ctrl 1>" } ]
[ { "from": "human", "value": "Clear the calculator of recent calculations" }, { "from": "gpt", "value": "<Ctrl n>" } ]
[ { "from": "human", "value": "Wrap highlighted in parentheses (defaults to wrapping all if nothing selected)" }, { "from": "gpt", "value": "<Ctrl p>" } ]
[ { "from": "human", "value": "Load a speedcrunch session" }, { "from": "gpt", "value": "<Ctrl l>" } ]
[ { "from": "human", "value": "Save a speedcrunch session" }, { "from": "gpt", "value": "<Ctrl s>" } ]
[ { "from": "human", "value": "Toggle keypad" }, { "from": "gpt", "value": "<Ctrl k>" } ]
[ { "from": "human", "value": "Scan a website for broken links" }, { "from": "gpt", "value": "lychee https://example.com" } ]
[ { "from": "human", "value": "Display a breakdown of error types" }, { "from": "gpt", "value": "lychee --format detailed https://example.com" } ]
[ { "from": "human", "value": "Limit the amount of connections to prevent DDOS protection" }, { "from": "gpt", "value": "lychee --max-concurrency 5 links.txt" } ]
[ { "from": "human", "value": "Check files in a directory structure for any broken URLs" }, { "from": "gpt", "value": "grep -r \"pattern\" | lychee -" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lychee --help" } ]
[ { "from": "human", "value": "View documentation for the command under its current name" }, { "from": "gpt", "value": "tldr pcdovtoppm" } ]
[ { "from": "human", "value": "Measure the current download speed" }, { "from": "gpt", "value": "fast" } ]
[ { "from": "human", "value": "Measure the current upload speed in addition to download speed" }, { "from": "gpt", "value": "fast --upload" } ]
[ { "from": "human", "value": "Display results on a single line to reduce spacing" }, { "from": "gpt", "value": "fast --single-line" } ]
[ { "from": "human", "value": "Create the GitHub pages branch inside the repository in the current directory" }, { "from": "gpt", "value": "git gh-pages" } ]
[ { "from": "human", "value": "View documentation for the current command" }, { "from": "gpt", "value": "tldr pbmtosunicon" } ]
[ { "from": "human", "value": "Start an interactive session" }, { "from": "gpt", "value": "bc" } ]
[ { "from": "human", "value": "Start an interactive session with the standard math library enabled" }, { "from": "gpt", "value": "bc [-i|--interactive] [-l|--mathlib]" } ]
[ { "from": "human", "value": "Calculate an expression" }, { "from": "gpt", "value": "echo '5 / 3' | bc" } ]
[ { "from": "human", "value": "Execute a script" }, { "from": "gpt", "value": "bc path/to/script.bc" } ]
[ { "from": "human", "value": "Calculate an expression with the specified scale" }, { "from": "gpt", "value": "echo 'scale = 10; 5 / 3' | bc" } ]
[ { "from": "human", "value": "Calculate a sine/cosine/arctangent/natural logarithm/exponential function using `mathlib`" }, { "from": "gpt", "value": "echo 's|c|a|l|e(1)' | bc [-l|--mathlib]" } ]
[ { "from": "human", "value": "Execute an inline factorial script" }, { "from": "gpt", "value": "echo \"define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial(10)\" | bc" } ]
[ { "from": "human", "value": "Run the web extension in the current directory in Firefox" }, { "from": "gpt", "value": "web-ext run" } ]
[ { "from": "human", "value": "Run a web extension from a specific directory in Firefox" }, { "from": "gpt", "value": "web-ext run --source-dir path/to/directory" } ]
[ { "from": "human", "value": "Display verbose execution output" }, { "from": "gpt", "value": "web-ext run --verbose" } ]
[ { "from": "human", "value": "Run a web extension in Firefox Android" }, { "from": "gpt", "value": "web-ext run --target firefox-android" } ]
[ { "from": "human", "value": "Lint the manifest and source files for errors" }, { "from": "gpt", "value": "web-ext lint" } ]
[ { "from": "human", "value": "Build and package the extension" }, { "from": "gpt", "value": "web-ext build" } ]
[ { "from": "human", "value": "Display verbose build output" }, { "from": "gpt", "value": "web-ext build --verbose" } ]