conversations
listlengths
2
2
[ { "from": "human", "value": "Tell me about `ppmtompeg`." }, { "from": "gpt", "value": "Encode an MPEG-1 stream.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtompeg.html>.\n" } ]
[ { "from": "human", "value": "Produce an MPEG-1 stream using the parameter file to specify inputs and outputs via the `ppmtompeg` command" }, { "from": "gpt", "value": "`ppmtompeg {{path/to/parameter_file}}`" } ]
[ { "from": "human", "value": "Encode the GOP with the specified number only via the `ppmtompeg` command" }, { "from": "gpt", "value": "`ppmtompeg {{[-g|-gop]}} {{gop_num}} {{path/to/parameter_file}}`" } ]
[ { "from": "human", "value": "Specify the first and last frame to encode via the `ppmtompeg` command" }, { "from": "gpt", "value": "`ppmtompeg {{[-fr|-frames]}} {{first_frame}} {{last_frame}} {{path/to/parameter_file}}`" } ]
[ { "from": "human", "value": "Combine multiple MPEG frames into a single MPEG-1 stream via the `ppmtompeg` command" }, { "from": "gpt", "value": "`ppmtompeg -combine_frames {{path/to/parameter_file}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtoneo`." }, { "from": "gpt", "value": "Convert a PPM image to an Atari Neochrome file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtoneo.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to a NEO file via the `ppmtoneo` command" }, { "from": "gpt", "value": "`ppmtoneo {{path/to/file.ppm}} > {{path/to/file.neo}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopcx`." }, { "from": "gpt", "value": "Convert a PPM image to a PCX file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopcx.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to a PCX file via the `ppmtopcx` command" }, { "from": "gpt", "value": "`ppmtopcx {{path/to/file.ppm}} > {{path/to/file.pcx}}`" } ]
[ { "from": "human", "value": "Produce a PCX file with the specified color depth via the `ppmtopcx` command" }, { "from": "gpt", "value": "`ppmtopcx -{{8bit|24bit}} {{path/to/file.ppm}} > {{path/to/file.pcx}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopgm`." }, { "from": "gpt", "value": "Convert a PPM image to a PGM image.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopgm.html>.\n" } ]
[ { "from": "human", "value": "Convert PPM image to PGM image via the `ppmtopgm` command" }, { "from": "gpt", "value": "`ppmtopgm {{path/to/file.ppm}} > {{path/to/file.pgm}}`" } ]
[ { "from": "human", "value": "Display version via the `ppmtopgm` command" }, { "from": "gpt", "value": "`ppmtopgm {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopi1`." }, { "from": "gpt", "value": "Convert a PPM image to an Atari Degas PI1 image.\nSee also: `pi1toppm`.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopi1.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image into an Atari Degas PI1 image via the `ppmtopi1` command" }, { "from": "gpt", "value": "`ppmtopi1 {{path/to/image.ppm}} > {{path/to/output_image.pi1}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopict`." }, { "from": "gpt", "value": "Convert a PPM image to a Macintosh PICT file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopict.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to a PICT file via the `ppmtopict` command" }, { "from": "gpt", "value": "`ppmtopict {{path/to/file.ppm}} > {{path/to/file.pict}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopj`." }, { "from": "gpt", "value": "Convert a PPM file to an HP PaintJet file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopj.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM file to an HP PaintJet file via the `ppmtopj` command" }, { "from": "gpt", "value": "`ppmtopj {{path/to/input.ppm}} > {{path/to/output.pj}}`" } ]
[ { "from": "human", "value": "Move the image in the x and y direction via the `ppmtopj` command" }, { "from": "gpt", "value": "`ppmtopj {{[-x|-xpos]}} {{dx}} {{[-y|-ypos]}} {{dy}} {{path/to/input.ppm}} > {{path/to/output.pj}}`" } ]
[ { "from": "human", "value": "Explicitly specify a gamma value via the `ppmtopj` command" }, { "from": "gpt", "value": "`ppmtopj {{[-g|-gamma]}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.pj}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopjxl`." }, { "from": "gpt", "value": "Convert a PPM image into an HP PaintJet XL PCL file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopjxl.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image into an PJXL file via the `ppmtopjxl` command" }, { "from": "gpt", "value": "`ppmtopjxl {{path/to/image.ppm}} > {{path/to/output.pjxl}}`" } ]
[ { "from": "human", "value": "Resize the input image via the `ppmtopjxl` command" }, { "from": "gpt", "value": "`ppmtopjxl {{[-xsi|-xsize]}} {{10cm}} {{[-ysi|-ysize]}} {{5cm}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`" } ]
[ { "from": "human", "value": "Shift the input image via the `ppmtopjxl` command" }, { "from": "gpt", "value": "`ppmtopjxl {{[-xsh|-xshift]}} {{10pt}} {{[-ysh|-yshift]}} {{5pt}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`" } ]
[ { "from": "human", "value": "Do not use the normal TIFF 4.0 compression method via the `ppmtopjxl` command" }, { "from": "gpt", "value": "`ppmtopjxl {{[-n|-nopack]}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtoppm`." }, { "from": "gpt", "value": "Copy a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtoppm.html>.\n" } ]
[ { "from": "human", "value": "Copy a PPM image (i.e. a PBM, PGM or PPM image) from `stdin` to `stdout` via the `ppmtoppm` command" }, { "from": "gpt", "value": "`ppmtoppm < {{path/to/image.ppm}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Display version via the `ppmtoppm` command" }, { "from": "gpt", "value": "`ppmtoppm {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtopuzz`." }, { "from": "gpt", "value": "Convert a PPM image to an X11 puzzle file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtopuzz.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to an X11 puzzle file via the `ppmtopuzz` command" }, { "from": "gpt", "value": "`ppmtopuzz {{path/to/file.ppm}} > {{path/to/file.puzz}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtorgb3`." }, { "from": "gpt", "value": "Separate the color components of a PPM file into three separate PGM files.\nSee also: `rgb3toppm`.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtorgb3.html>.\n" } ]
[ { "from": "human", "value": "Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu` via the `ppmtorgb3` command" }, { "from": "gpt", "value": "`ppmtorgb3 {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtosixel`." }, { "from": "gpt", "value": "Convert a PPM image to DEC sixel format.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtosixel.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to DEC sixel format via the `ppmtosixel` command" }, { "from": "gpt", "value": "`ppmtosixel {{path/to/file.ppm}} > {{path/to/file.sixel}}`" } ]
[ { "from": "human", "value": "Produce an uncompressed SIXEL file that is much slower to print via the `ppmtosixel` command" }, { "from": "gpt", "value": "`ppmtosixel {{[-r|-raw]}} {{path/to/file.ppm}} > {{path/to/file.sixel}}`" } ]
[ { "from": "human", "value": "Add a left margin of 1.5 inches via the `ppmtosixel` command" }, { "from": "gpt", "value": "`ppmtosixel {{[-m|-margin]}} {{path/to/file.ppm}} > {{path/to/file.sixel}}`" } ]
[ { "from": "human", "value": "Encode control codes in a more portable (although less space-efficient) way via the `ppmtosixel` command" }, { "from": "gpt", "value": "`ppmtosixel -7bit {{path/to/file.ppm}} > {{path/to/file.sixel}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtospu`." }, { "from": "gpt", "value": "Convert a PPM file to an Atari Spectrum 512 image.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtospu.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM file to an Atari Spectrum 512 image via the `ppmtospu` command" }, { "from": "gpt", "value": "`ppmtospu {{path/to/input.ppm}} > {{path/to/output.spu}}`" } ]
[ { "from": "human", "value": "Use a dithering matrix of the specified size (0 means no dithering) via the `ppmtospu` command" }, { "from": "gpt", "value": "`ppmtospu -d{{0|2|4}} {{path/to/input.ppm}} > {{path/to/output.spu}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtoterm`." }, { "from": "gpt", "value": "Convert a PPM image to an ANSI ISO 6429 ASCII image.\nSee also: `ppmtoascii`, `pbmtoascii`, `pbmto4425`.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtoterm.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to an ANSI ISO 6429 ASCII image, mapping each pixel to an individual character via the `ppmtoterm` command" }, { "from": "gpt", "value": "`ppmtoterm {{path/to/input.ppm}} > {{path/to/output.txt}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtotga`." }, { "from": "gpt", "value": "This command has been superseded by `pamtotga`.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtotga.html>.\n" } ]
[ { "from": "human", "value": "View documentation for the current command via the `ppmtotga` command" }, { "from": "gpt", "value": "`tldr pamtotga`" } ]
[ { "from": "human", "value": "Tell me about `ppmtouil`." }, { "from": "gpt", "value": "This command has been superseded by `pamtouil`.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtouil.html>.\n" } ]
[ { "from": "human", "value": "View documentation for the current command via the `ppmtouil` command" }, { "from": "gpt", "value": "`tldr pamtouil`" } ]
[ { "from": "human", "value": "Tell me about `ppmtowinicon`." }, { "from": "gpt", "value": "This command has been superseded by `pamtowinicon`.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtowinicon.html>.\n" } ]
[ { "from": "human", "value": "View documentation for the current command via the `ppmtowinicon` command" }, { "from": "gpt", "value": "`tldr pamtowinicon`" } ]
[ { "from": "human", "value": "Tell me about `ppmtoxpm`." }, { "from": "gpt", "value": "Convert a PPM image to an X11 version 3 pixmap.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtoxpm.html>.\n" } ]
[ { "from": "human", "value": "Convert a PPM image to a XPM image via the `ppmtoxpm` command" }, { "from": "gpt", "value": "`ppmtoxpm {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}`" } ]
[ { "from": "human", "value": "Specify the prefix string in the output XPM image via the `ppmtoxpm` command" }, { "from": "gpt", "value": "`ppmtoxpm {{[-n|-name]}} {{prefix_string}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}`" } ]
[ { "from": "human", "value": "In the output XPM file, specify colors by their hexadecimal code instead of their name via the `ppmtoxpm` command" }, { "from": "gpt", "value": "`ppmtoxpm {{[-h|-hexonly]}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}`" } ]
[ { "from": "human", "value": "Use the specified PGM file as a transparency mask via the `ppmtoxpm` command" }, { "from": "gpt", "value": "`ppmtoxpm {{[-a|-alphamask]}} {{path/to/alpha_file.pgm}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtoyuv`." }, { "from": "gpt", "value": "Convert a PPM image to an Abekas YUV file.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtoyuv.html>.\n" } ]
[ { "from": "human", "value": "Read a PPM image from the input file, convert it to an Abekas YUV image and store it in the specified output file via the `ppmtoyuv` command" }, { "from": "gpt", "value": "`ppmtoyuv {{path/to/input_file.ppm}} > {{path/to/output_file.yuv}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmtoyuvsplit`." }, { "from": "gpt", "value": "Convert a PPM image to three subsampled Abekas YUV files.\nMore information: <https://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html>.\n" } ]
[ { "from": "human", "value": "Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename via the `ppmtoyuvsplit` command" }, { "from": "gpt", "value": "`ppmtoyuvsplit {{basename}} {{path/to/inpu...
[ { "from": "human", "value": "Tell me about `ppmtv`." }, { "from": "gpt", "value": "Make a PPM Image look like taken from an American TV.\nDim every other row of image data down by the specified dim factor (a number between 0 and 1).\nMore information: <https://netpbm.sourceforge.net/doc/ppmtv.ht...
[ { "from": "human", "value": "Give the PPM image an American TV appearance via the `ppmtv` command" }, { "from": "gpt", "value": "`ppmtv {{dim_factor}} {{path/to/file.ppm}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Suppress all informational messages via the `ppmtv` command" }, { "from": "gpt", "value": "`ppmtv {{[-q|-quiet]}}`" } ]
[ { "from": "human", "value": "Display version via the `ppmtv` command" }, { "from": "gpt", "value": "`ppmtv {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `ppmwheel`." }, { "from": "gpt", "value": "Generate a PPM image of a color wheel.\nMore information: <https://netpbm.sourceforge.net/doc/ppmwheel.html>.\n" } ]
[ { "from": "human", "value": "Generate a color wheel of type `Ppmcirc` via the `ppmwheel` command" }, { "from": "gpt", "value": "`ppmwheel {{diameter}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Generate a color wheel of type `Hue-value` via the `ppmwheel` command" }, { "from": "gpt", "value": "`ppmwheel {{[-huev|-huevalue]}} {{diameter}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Generate a color wheel of type `Hue-saturation` via the `ppmwheel` command" }, { "from": "gpt", "value": "`ppmwheel {{[-hues|-huesaturation]}} {{diameter}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `pppd`." }, { "from": "gpt", "value": "Establish Point-to-Point connection to another computer.\nIt should not be invoked manually.\nMore information: <https://ppp.samba.org/pppd.html>.\n" } ]
[ { "from": "human", "value": "Start the daemon via the `pppd` command" }, { "from": "gpt", "value": "`pppd`" } ]
[ { "from": "human", "value": "Tell me about `pprof`." }, { "from": "gpt", "value": "Command-line tool for visualization and analysis of profile data.\nMore information: <https://github.com/google/pprof>.\n" } ]
[ { "from": "human", "value": "Generate a text report from a specific profiling file, on fibbo binary via the `pprof` command" }, { "from": "gpt", "value": "`pprof -top {{./fibbo}} {{./fibbo-profile.pb.gz}}`" } ]
[ { "from": "human", "value": "Generate a graph and open it on a web browser via the `pprof` command" }, { "from": "gpt", "value": "`pprof -svg {{./fibbo}} {{./fibbo-profile.pb.gz}}`" } ]
[ { "from": "human", "value": "Run pprof in interactive mode to be able to manually launch `pprof` on a file via the `pprof` command" }, { "from": "gpt", "value": "`pprof {{./fibbo}} {{./fibbo-profile.pb.gz}}`" } ]
[ { "from": "human", "value": "Run a web server that serves a web interface on top of `pprof` via the `pprof` command" }, { "from": "gpt", "value": "`pprof -http={{localhost:8080}} {{./fibbo}} {{./fibbo-profile.pb.gz}}`" } ]
[ { "from": "human", "value": "Fetch a profile from an HTTP server and generate a report via the `pprof` command" }, { "from": "gpt", "value": "`pprof {{http://localhost:8080/debug/pprof}}`" } ]
[ { "from": "human", "value": "Tell me about `pre-commit`." }, { "from": "gpt", "value": "Create Git hooks that get run before a commit.\nMore information: <https://pre-commit.com>.\n" } ]
[ { "from": "human", "value": "Install pre-commit into your Git hooks via the `pre-commit` command" }, { "from": "gpt", "value": "`pre-commit install`" } ]
[ { "from": "human", "value": "Run pre-commit hooks on all staged files via the `pre-commit` command" }, { "from": "gpt", "value": "`pre-commit run`" } ]
[ { "from": "human", "value": "Run pre-commit hooks on all files, staged or unstaged via the `pre-commit` command" }, { "from": "gpt", "value": "`pre-commit run --all-files`" } ]
[ { "from": "human", "value": "Clean pre-commit cache via the `pre-commit` command" }, { "from": "gpt", "value": "`pre-commit clean`" } ]
[ { "from": "human", "value": "Update pre-commit config file to the latest repos' versions via the `pre-commit` command" }, { "from": "gpt", "value": "`pre-commit autoupdate`" } ]
[ { "from": "human", "value": "Tell me about `prettier`." }, { "from": "gpt", "value": "An opinionated code formatter for JavaScript, JSON, CSS, YAML, and more.\nMore information: <https://prettier.io/>.\n" } ]
[ { "from": "human", "value": "Format a file and print the result to `stdout` via the `prettier` command" }, { "from": "gpt", "value": "`prettier {{path/to/file}}`" } ]
[ { "from": "human", "value": "Check if a specific file has been formatted via the `prettier` command" }, { "from": "gpt", "value": "`prettier --check {{path/to/file}}`" } ]
[ { "from": "human", "value": "Run with a specific configuration file via the `prettier` command" }, { "from": "gpt", "value": "`prettier --config {{path/to/config_file}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Format a file or directory, replacing the original via the `prettier` command" }, { "from": "gpt", "value": "`prettier --write {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Format files or directories recursively using single quotes and no trailing commas via the `prettier` command" }, { "from": "gpt", "value": "`prettier --single-quote --trailing-comma {{none}} --write {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Format JavaScript and TypeScript files recursively, replacing the original via the `prettier` command" }, { "from": "gpt", "value": "`prettier --write \"**/*.{js,jsx,ts,tsx}\"`" } ]
[ { "from": "human", "value": "Tell me about `pretty-bytes`." }, { "from": "gpt", "value": "Convert bytes to a human-readable string.\nMore information: <https://github.com/sindresorhus/pretty-bytes-cli>.\n" } ]
[ { "from": "human", "value": "Convert numeric bytes value to a human-readable string via the `pretty-bytes` command" }, { "from": "gpt", "value": "`pretty-bytes {{1337}}`" } ]
[ { "from": "human", "value": "Convert numeric bytes value from `stdin` to a human-readable string via the `pretty-bytes` command" }, { "from": "gpt", "value": "`echo {{1337}} | pretty-bytes`" } ]
[ { "from": "human", "value": "Display help via the `pretty-bytes` command" }, { "from": "gpt", "value": "`pretty-bytes --help`" } ]
[ { "from": "human", "value": "Tell me about `printenv`." }, { "from": "gpt", "value": "Print values of all or environment variables.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/printenv-invocation.html>.\n" } ]
[ { "from": "human", "value": "Display key-value pairs of all environment variables via the `printenv` command" }, { "from": "gpt", "value": "`printenv`" } ]
[ { "from": "human", "value": "Display the value of a specific variable via the `printenv` command" }, { "from": "gpt", "value": "`printenv {{HOME}}`" } ]
[ { "from": "human", "value": "Display the value of a variable and end with NUL instead of newline via the `printenv` command" }, { "from": "gpt", "value": "`printenv {{[-0|--null]}} {{HOME}}`" } ]
[ { "from": "human", "value": "Tell me about `printf`." }, { "from": "gpt", "value": "Format and print text.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/printf-invocation.html>.\n" } ]
[ { "from": "human", "value": "Print a text message via the `printf` command" }, { "from": "gpt", "value": "`printf \"{{%s\\n}}\" \"{{Hello world}}\"`" } ]
[ { "from": "human", "value": "Print an integer in bold blue via the `printf` command" }, { "from": "gpt", "value": "`printf \"{{\\e[1;34m%.3d\\e[0m\\n}}\" {{42}}`" } ]
[ { "from": "human", "value": "Print a float number with the Unicode Euro sign via the `printf` command" }, { "from": "gpt", "value": "`printf \"{{\\u20AC %.2f\\n}}\" {{123.4}}`" } ]
[ { "from": "human", "value": "Print a text message composed with environment variables via the `printf` command" }, { "from": "gpt", "value": "`printf \"{{var1: %s\\tvar2: %s\\n}}\" \"{{$VAR1}}\" \"{{$VAR2}}\"`" } ]