conversations
listlengths
2
2
[ { "from": "human", "value": "Take the secret key data in `secret_data.txt` and combine it with the public key to reconstruct the secret key via the `paperkey` command" }, { "from": "gpt", "value": "`paperkey --pubring {{path/to/public_key.gpg}} --secrets {{path/to/secret_data.txt}} --output {{se...
[ { "from": "human", "value": "Export a specific secret key and generate a text file with the secret data via the `paperkey` command" }, { "from": "gpt", "value": "`gpg --export-secret-key {{key}} | paperkey --output {{path/to/secret_data.txt}}`" } ]
[ { "from": "human", "value": "Tell me about `par2`." }, { "from": "gpt", "value": "File verification and repair using PAR 2.0 compatible parity archives (.par2 files).\nMore information: <https://github.com/Parchive/par2cmdline/>.\n" } ]
[ { "from": "human", "value": "Create a parity archive with a set percentage level of redundancy via the `par2` command" }, { "from": "gpt", "value": "`par2 create -r{{1..100}} -- {{path/to/file}}`" } ]
[ { "from": "human", "value": "Create a parity archive with a chosen number of volume files (in addition to the index file) via the `par2` command" }, { "from": "gpt", "value": "`par2 create -n{{1..32768}} -- {{path/to/file}}`" } ]
[ { "from": "human", "value": "Verify a file with a parity archive via the `par2` command" }, { "from": "gpt", "value": "`par2 verify -- {{path/to/file.par2}}`" } ]
[ { "from": "human", "value": "Repair a file with a parity archive via the `par2` command" }, { "from": "gpt", "value": "`par2 repair -- {{path/to/file.par2}}`" } ]
[ { "from": "human", "value": "Tell me about `parallel-lint`." }, { "from": "gpt", "value": "Check the syntax of PHP files in parallel.\nMore information: <https://github.com/JakubOnderka/PHP-Parallel-Lint>.\n" } ]
[ { "from": "human", "value": "Lint a specific directory via the `parallel-lint` command" }, { "from": "gpt", "value": "`parallel-lint {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Lint a directory using the specified number of parallel processes via the `parallel-lint` command" }, { "from": "gpt", "value": "`parallel-lint -j {{processes}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Lint a directory, excluding the specified directory via the `parallel-lint` command" }, { "from": "gpt", "value": "`parallel-lint --exclude {{path/to/excluded_directory}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Lint a directory of files using a comma-separated list of extension(s) via the `parallel-lint` command" }, { "from": "gpt", "value": "`parallel-lint -e {{php,html,phpt}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Lint a directory and output the results as JSON via the `parallel-lint` command" }, { "from": "gpt", "value": "`parallel-lint --json {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Lint a directory and show Git Blame results for rows containing errors via the `parallel-lint` command" }, { "from": "gpt", "value": "`parallel-lint --blame {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `parallel`." }, { "from": "gpt", "value": "Run commands on multiple CPU cores.\nMore information: <https://www.gnu.org/software/parallel>.\n" } ]
[ { "from": "human", "value": "Gzip several files at once, using all cores via the `parallel` command" }, { "from": "gpt", "value": "`parallel gzip ::: {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Read arguments from `stdin`, run 4 jobs at once via the `parallel` command" }, { "from": "gpt", "value": "`ls *.txt | parallel -j4 gzip`" } ]
[ { "from": "human", "value": "Convert JPEG images to PNG using replacement strings via the `parallel` command" }, { "from": "gpt", "value": "`parallel convert {} {.}.png ::: *.jpg`" } ]
[ { "from": "human", "value": "Parallel xargs, cram as many args as possible onto one command via the `parallel` command" }, { "from": "gpt", "value": "`{{args}} | parallel -X {{command}}`" } ]
[ { "from": "human", "value": "Break `stdin` into ~1M blocks, feed each block to `stdin` of new command via the `parallel` command" }, { "from": "gpt", "value": "`cat {{big_file.txt}} | parallel --pipe --block 1M {{command}}`" } ]
[ { "from": "human", "value": "Run on multiple machines via SSH via the `parallel` command" }, { "from": "gpt", "value": "`parallel -S {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}`" } ]
[ { "from": "human", "value": "Download 4 files simultaneously from a text file containing links showing progress via the `parallel` command" }, { "from": "gpt", "value": "`parallel -j4 --bar --eta wget {{[-q|--quote]}} {} :::: {{path/to/links.txt}}`" } ]
[ { "from": "human", "value": "Print the jobs which `parallel` is running in `stderr` via the `parallel` command" }, { "from": "gpt", "value": "`parallel {{[-t|--verbose]}} {{command}} ::: {{args}}`" } ]
[ { "from": "human", "value": "Tell me about `parquet-tools`." }, { "from": "gpt", "value": "Show, inspect and manipulate Parquet file.\nMore information: <https://github.com/apache/parquet-mr>.\n" } ]
[ { "from": "human", "value": "Display the content of a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools cat {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Display the first few lines of a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools head {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Print the schema of a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools schema {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Print the metadata of a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools meta {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Print the content and metadata of a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools dump {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Concatenate several Parquet files into the target one via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools merge {{path/to/parquet1}} {{path/to/parquet2}} {{path/to/target_parquet}}`" } ]
[ { "from": "human", "value": "Print the count of rows in a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools rowcount {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Print the column and offset indexes of a Parquet file via the `parquet-tools` command" }, { "from": "gpt", "value": "`parquet-tools column-index {{path/to/parquet}}`" } ]
[ { "from": "human", "value": "Tell me about `particle`." }, { "from": "gpt", "value": "Interact with Particle devices.\nMore information: <https://docs.particle.io/tutorials/developer-tools/cli>.\n" } ]
[ { "from": "human", "value": "Log in or create an account for the Particle CLI via the `particle` command" }, { "from": "gpt", "value": "`particle setup`" } ]
[ { "from": "human", "value": "Display a list of devices via the `particle` command" }, { "from": "gpt", "value": "`particle list`" } ]
[ { "from": "human", "value": "Create a new Particle project interactively via the `particle` command" }, { "from": "gpt", "value": "`particle project create`" } ]
[ { "from": "human", "value": "Compile a Particle project via the `particle` command" }, { "from": "gpt", "value": "`particle compile {{device_type}} {{path/to/source_code.ino}}`" } ]
[ { "from": "human", "value": "Update a device to use a specific app remotely via the `particle` command" }, { "from": "gpt", "value": "`particle flash {{device_name}} {{path/to/program.bin}}`" } ]
[ { "from": "human", "value": "Update a device to use the latest firmware via serial via the `particle` command" }, { "from": "gpt", "value": "`particle flash --serial {{path/to/firmware.bin}}`" } ]
[ { "from": "human", "value": "Execute a function on a device via the `particle` command" }, { "from": "gpt", "value": "`particle call {{device_name}} {{function_name}} {{function_arguments}}`" } ]
[ { "from": "human", "value": "Tell me about `pass`." }, { "from": "gpt", "value": "Store and read passwords or other sensitive data.\nAll data is GPG-encrypted, and managed with a Git repository.\nMore information: <https://www.passwordstore.org>.\n" } ]
[ { "from": "human", "value": "Initialize (or re-encrypt) the storage using one or more GPG IDs via the `pass` command" }, { "from": "gpt", "value": "`pass init {{gpg_id_1}} {{gpg_id_2}}`" } ]
[ { "from": "human", "value": "Save a new password and additional information (press `<Ctrl d>` on a new line to complete) via the `pass` command" }, { "from": "gpt", "value": "`pass insert --multiline {{path/to/data}}`" } ]
[ { "from": "human", "value": "Edit an entry via the `pass` command" }, { "from": "gpt", "value": "`pass edit {{path/to/data}}`" } ]
[ { "from": "human", "value": "Copy a password (first line of the data file) to the clipboard via the `pass` command" }, { "from": "gpt", "value": "`pass -c {{path/to/data}}`" } ]
[ { "from": "human", "value": "List the whole store tree via the `pass` command" }, { "from": "gpt", "value": "`pass`" } ]
[ { "from": "human", "value": "Generate a new random password with a given length, and copy it to the clipboard via the `pass` command" }, { "from": "gpt", "value": "`pass generate -c {{path/to/data}} {{num}}`" } ]
[ { "from": "human", "value": "Initialize a new Git repository (any changes done by pass will be committed automatically) via the `pass` command" }, { "from": "gpt", "value": "`pass git init`" } ]
[ { "from": "human", "value": "Run a Git command on behalf of the password storage via the `pass` command" }, { "from": "gpt", "value": "`pass git {{command}}`" } ]
[ { "from": "human", "value": "Tell me about `pass otp`." }, { "from": "gpt", "value": "A pass extension for managing one-time-password (OTP) tokens.\nMore information: <https://github.com/tadfisher/pass-otp#readme>.\n" } ]
[ { "from": "human", "value": "Prompt for an otpauth URI token and create a new pass file via the `pass-otp` command" }, { "from": "gpt", "value": "`pass otp insert {{path/to/pass}}`" } ]
[ { "from": "human", "value": "Prompt for an otpauth URI token and append to an existing pass file via the `pass-otp` command" }, { "from": "gpt", "value": "`pass otp append {{path/to/pass}}`" } ]
[ { "from": "human", "value": "Print a 2FA code using the OTP token in a pass file via the `pass-otp` command" }, { "from": "gpt", "value": "`pass otp {{path/to/pass}}`" } ]
[ { "from": "human", "value": "Copy and don't print a 2FA code using the OTP token in a pass file via the `pass-otp` command" }, { "from": "gpt", "value": "`pass otp --clip {{path/to/pass}}`" } ]
[ { "from": "human", "value": "Display a QR code using the OTP token stored in a pass file via the `pass-otp` command" }, { "from": "gpt", "value": "`pass otp uri --qrcode {{path/to/pass}}`" } ]
[ { "from": "human", "value": "Prompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file via the `pass-otp` command" }, { "from": "gpt", "value": "`pass otp append --secret --issuer {{issuer_name}} --account {{account_name}} {{pa...
[ { "from": "human", "value": "Tell me about `passwd`." }, { "from": "gpt", "value": "Change a user's password.\nMore information: <https://manned.org/passwd>.\n" } ]
[ { "from": "human", "value": "Change the password of the current user interactively via the `passwd` command" }, { "from": "gpt", "value": "`passwd`" } ]
[ { "from": "human", "value": "Change the password of a specific user via the `passwd` command" }, { "from": "gpt", "value": "`passwd {{username}}`" } ]
[ { "from": "human", "value": "Get the current status of the user via the `passwd` command" }, { "from": "gpt", "value": "`passwd {{[-S|--status]}}`" } ]
[ { "from": "human", "value": "Make the password of the account blank (it will set the named account passwordless) via the `passwd` command" }, { "from": "gpt", "value": "`passwd {{[-d|--delete]}}`" } ]
[ { "from": "human", "value": "Set password programmatically (ideal for install scripts) via the `passwd` command" }, { "from": "gpt", "value": "`yes {{password}} | passwd`" } ]
[ { "from": "human", "value": "Tell me about `pastel`." }, { "from": "gpt", "value": "Generate, analyze, convert and manipulate colors.\nMore information: <https://github.com/sharkdp/pastel>.\n" } ]
[ { "from": "human", "value": "Convert colors from one format to another. Here from RGB to HSL via the `pastel` command" }, { "from": "gpt", "value": "`pastel format {{hsl}} {{ff8000}}`" } ]
[ { "from": "human", "value": "Show and analyze colors on the terminal via the `pastel` command" }, { "from": "gpt", "value": "`pastel color \"{{rgb(255,50,127)}}\"`" } ]
[ { "from": "human", "value": "Pick a color from somewhere on the screen via the `pastel` command" }, { "from": "gpt", "value": "`pastel pick`" } ]
[ { "from": "human", "value": "Generate a set of N visually distinct colors via the `pastel` command" }, { "from": "gpt", "value": "`pastel distinct {{8}}`" } ]
[ { "from": "human", "value": "List all X11/CSS color names via the `pastel` command" }, { "from": "gpt", "value": "`pastel list`" } ]
[ { "from": "human", "value": "Tell me about `paste`." }, { "from": "gpt", "value": "Merge lines of files.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/paste-invocation.html>.\n" } ]
[ { "from": "human", "value": "Join all the lines into a single line, using TAB as delimiter via the `paste` command" }, { "from": "gpt", "value": "`paste {{[-s|--serial]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Join all the lines into a single line, using the specified delimiter via the `paste` command" }, { "from": "gpt", "value": "`paste {{[-s|--serial]}} {{[-d|--delimiters]}} {{delimiter}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Merge two files side by side, each in its column, using TAB as delimiter via the `paste` command" }, { "from": "gpt", "value": "`paste {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Merge two files side by side, each in its column, using the specified delimiter via the `paste` command" }, { "from": "gpt", "value": "`paste {{[-d|--delimiters]}} {{delimiter}} {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Merge two files, with lines added alternatively via the `paste` command" }, { "from": "gpt", "value": "`paste {{[-d|--delimiters]}} '\\n' {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Tell me about `patator`." }, { "from": "gpt", "value": "A multi-purpose brute-forcer, with a modular design and a flexible usage.\nMore information: <https://github.com/lanjelot/patator/wiki/Usage>.\n" } ]
[ { "from": "human", "value": "Brute force ssh login with rate limit and timeout options (successful login will show login banner or something similar) via the `patator` command" }, { "from": "gpt", "value": "`patator ssh_login host={{ip_or_host}} user=FILE0 password=FILE1 0={{path/to/users.txt}} ...
[ { "from": "human", "value": "Brute force encrypted zip file via the `patator` command" }, { "from": "gpt", "value": "`patator unzip_pass zipfile={{path/to/file.zip}} password=FILE0 0={{path/to/passwords.txt}} -x ignore:code!=0`" } ]
[ { "from": "human", "value": "Brute force http basic auth (payload file `userpass.txt` should be in the format `username:password`) via the `patator` command" }, { "from": "gpt", "value": "`patator http_fuzz url={{http://host:port}} auth_type=basic user_pass=COMBO00:COMBO01 0={{path/to/userpass.t...
[ { "from": "human", "value": "Brute force FTP/FTPS login via the `patator` command" }, { "from": "gpt", "value": "`patator ftp_login host={{ip_or_host}} user=FILE0 password=FILE1 0={{path/to/users.txt}} 1={{path/to/passwords.txt}} tls={{0|1}} -x ignore:mesg='Login incorrect.' -x ignore,reset,retr...
[ { "from": "human", "value": "List all available modules via the `patator` command" }, { "from": "gpt", "value": "`patator --help`" } ]
[ { "from": "human", "value": "Show help for a particular module via the `patator` command" }, { "from": "gpt", "value": "`patator {{module_name}} --help`" } ]
[ { "from": "human", "value": "Tell me about `patch`." }, { "from": "gpt", "value": "Patch a file (or files) with a diff file.\nNote that diff files should be generated by the `diff` command.\nMore information: <https://manned.org/patch>.\n" } ]
[ { "from": "human", "value": "Apply a patch using a diff file (filenames must be included in the diff file) via the `patch` command" }, { "from": "gpt", "value": "`patch < {{patch.diff}}`" } ]
[ { "from": "human", "value": "Apply a patch to a specific file via the `patch` command" }, { "from": "gpt", "value": "`patch {{path/to/file}} < {{patch.diff}}`" } ]
[ { "from": "human", "value": "Patch a file writing the result to a different file via the `patch` command" }, { "from": "gpt", "value": "`patch {{path/to/input_file}} -o {{path/to/output_file}} < {{patch.diff}}`" } ]
[ { "from": "human", "value": "Apply a patch to the current directory via the `patch` command" }, { "from": "gpt", "value": "`patch -p1 < {{patch.diff}}`" } ]
[ { "from": "human", "value": "Apply the reverse of a patch via the `patch` command" }, { "from": "gpt", "value": "`patch -R < {{patch.diff}}`" } ]
[ { "from": "human", "value": "Tell me about `patchwork`." }, { "from": "gpt", "value": "Render an image of a `squareified treemap` network graph from a `graphviz` file.\nLayouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.\nMore information: <https://graphviz.org/doc/i...
[ { "from": "human", "value": "Render a PNG image with a filename based on the input filename and output format (uppercase -O) via the `patchwork` command" }, { "from": "gpt", "value": "`patchwork -T {{png}} -O {{path/to/input.gv}}`" } ]
[ { "from": "human", "value": "Render a SVG image with the specified output filename (lowercase -o) via the `patchwork` command" }, { "from": "gpt", "value": "`patchwork -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 via the `patchwork` command" }, { "from": "gpt", "value": "`patchwork -T {{format}} -O {{path/to/input.gv}}`" } ]
[ { "from": "human", "value": "Render a `gif` image using `stdin` and `stdout` via the `patchwork` command" }, { "from": "gpt", "value": "`echo \"{{digraph {this -> that} }}\" | patchwork -T {{gif}} > {{path/to/image.gif}}`" } ]
[ { "from": "human", "value": "Display help via the `patchwork` command" }, { "from": "gpt", "value": "`patchwork -?`" } ]
[ { "from": "human", "value": "Tell me about `pathchk`." }, { "from": "gpt", "value": "Check the validity and portability of pathnames.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/pathchk-invocation.html>.\n" } ]
[ { "from": "human", "value": "Check pathnames for validity in the current system via the `pathchk` command" }, { "from": "gpt", "value": "`pathchk {{path1 path2 …}}`" } ]
[ { "from": "human", "value": "Check pathnames for validity on a wider range of POSIX compliant systems via the `pathchk` command" }, { "from": "gpt", "value": "`pathchk -p {{path1 path2 …}}`" } ]
[ { "from": "human", "value": "Check pathnames for validity on all POSIX compliant systems via the `pathchk` command" }, { "from": "gpt", "value": "`pathchk --portability {{path1 path2 …}}`" } ]
[ { "from": "human", "value": "Only check for empty pathnames or leading dashes (-) via the `pathchk` command" }, { "from": "gpt", "value": "`pathchk -P {{path1 path2 …}}`" } ]
[ { "from": "human", "value": "Tell me about `pax`." }, { "from": "gpt", "value": "Archiving and copying utility.\nMore information: <https://manned.org/pax.1p>.\n" } ]
[ { "from": "human", "value": "List the contents of an archive via the `pax` command" }, { "from": "gpt", "value": "`pax -f {{archive.tar}}`" } ]