conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Check connection with a specific hostname and port via the `pg_isready` command"
},
{
"from": "gpt",
"value": "`pg_isready --host={{hostname}} --port={{port}}`"
}
] |
[
{
"from": "human",
"value": "Check connection displaying a message only when the connection fails via the `pg_isready` command"
},
{
"from": "gpt",
"value": "`pg_isready --quiet`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmbentley`."
},
{
"from": "gpt",
"value": "Bentleyize a PGM image.\nMore information: <https://netpbm.sourceforge.net/doc/pgmbentley.html>.\n"
}
] |
[
{
"from": "human",
"value": "Apply the Bentley Effect on a PGM image via the `pgmbentley` command"
},
{
"from": "gpt",
"value": "`pgmbentley {{path/to/input_file.pgm}} > {{path/to/output_file.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmcrater`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamcrater`, `pamshadedrelief`, and `pamtopnm`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmcrater.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for `pamcrater` via the `pgmcrater` command"
},
{
"from": "gpt",
"value": "`tldr pamcrater`"
}
] |
[
{
"from": "human",
"value": "View documentation for `pamshadedrelief` via the `pgmcrater` command"
},
{
"from": "gpt",
"value": "`tldr pamshadedrelief`"
}
] |
[
{
"from": "human",
"value": "View documentation for `pamtopnm` via the `pgmcrater` command"
},
{
"from": "gpt",
"value": "`tldr pamtopnm`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmdeshadow`."
},
{
"from": "gpt",
"value": "Deshadow a PGM image.\nMore information: <https://netpbm.sourceforge.net/doc/pgmdeshadow.html>.\n"
}
] |
[
{
"from": "human",
"value": "Remove grey shadows from a PGM image via the `pgmdeshadow` command"
},
{
"from": "gpt",
"value": "`pgmdeshadow {{path/to/input_file.pgm}} > {{path/to/output_file.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmedge`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamedge`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmedge.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pgmedge` command"
},
{
"from": "gpt",
"value": "`tldr pamedge`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmenhance`."
},
{
"from": "gpt",
"value": "Edge-enhance a PGM image.\nSee also: `pamedge`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmenhance.html>.\n"
}
] |
[
{
"from": "human",
"value": "Edge-enhance a PGM image via the `pgmenhance` command"
},
{
"from": "gpt",
"value": "`pgmenhance {{path/to/image.pgm}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the level of enhancement via the `pgmenhance` command"
},
{
"from": "gpt",
"value": "`pgmenhance -{{1..9}} {{path/to/image.pgm}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmhist`."
},
{
"from": "gpt",
"value": "Print a histogram of the values present in a PGM image.\nSee also: `ppmhist`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmhist.html>.\n"
}
] |
[
{
"from": "human",
"value": "Display the histogram for human reading via the `pgmhist` command"
},
{
"from": "gpt",
"value": "`pgmhist {{path/to/image.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Display the median grey value via the `pgmhist` command"
},
{
"from": "gpt",
"value": "`pgmhist {{[-me|-median]}} {{path/to/image.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Display four quartile grey value via the `pgmhist` command"
},
{
"from": "gpt",
"value": "`pgmhist {{[-qua|-quartile]}} {{path/to/image.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Report the existence of invalid grey values via the `pgmhist` command"
},
{
"from": "gpt",
"value": "`pgmhist {{[-f|-forensic]}} {{path/to/image.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Display machine-readable output via the `pgmhist` command"
},
{
"from": "gpt",
"value": "`pgmhist {{[-ma|-machine]}} {{path/to/image.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmkernel`."
},
{
"from": "gpt",
"value": "Generate a convolution kernel to be used with `pnmconvol`.\nSee also: `pnmconvol`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmkernel.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a convolution kernel via the `pgmkernel` command"
},
{
"from": "gpt",
"value": "`pgmkernel {{width}} {{height}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Generate a quadratic convolution kernel via the `pgmkernel` command"
},
{
"from": "gpt",
"value": "`pgmkernel {{size}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the weight of the center in the generated kernel via the `pgmkernel` command"
},
{
"from": "gpt",
"value": "`pgmkernel {{[-w|-weight]}} {{value}} {{width}} {{height}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmmake`."
},
{
"from": "gpt",
"value": "Create PGM image with a uniform gray level.\nMore information: <https://netpbm.sourceforge.net/doc/pgmmake.html>.\n"
}
] |
[
{
"from": "human",
"value": "Create PGM image with a uniform gray level (specified as a number between 0 and 1) and the specified dimensions via the `pgmmake` command"
},
{
"from": "gpt",
"value": "`pgmmake {{graylevel}} {{width}} {{height}} > {{path/to/output_file.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmnoise`."
},
{
"from": "gpt",
"value": "Generate white noise.\nMore information: <https://netpbm.sourceforge.net/doc/pgmnoise.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a PGM image containing white noise via the `pgmnoise` command"
},
{
"from": "gpt",
"value": "`pgmnoise {{width}} {{height}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the seed for the pseudo-random number generator via the `pgmnoise` command"
},
{
"from": "gpt",
"value": "`pgmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmnorm`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pnmnorm`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmnorm.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pgmnorm` command"
},
{
"from": "gpt",
"value": "`tldr pnmnorm`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmoil`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamoil`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmoil.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pgmoil` command"
},
{
"from": "gpt",
"value": "`tldr pamoil`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmramp`."
},
{
"from": "gpt",
"value": "Generate a greyscale map.\nMore information: <https://netpbm.sourceforge.net/doc/pgmramp.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a left-to-right greyscale map via the `pgmramp` command"
},
{
"from": "gpt",
"value": "`pgmtexture -lr > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Generate a top-to-bottom greyscale map via the `pgmramp` command"
},
{
"from": "gpt",
"value": "`pgmtexture -tb > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Generate a rectangular greyscale map via the `pgmramp` command"
},
{
"from": "gpt",
"value": "`pgmtexture -rectangle > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Generate a elliptical greyscale map via the `pgmramp` command"
},
{
"from": "gpt",
"value": "`pgmtexture -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Generate a greyscale map from the top-left corner to the bottom-right corner via the `pgmramp` command"
},
{
"from": "gpt",
"value": "`pgmtexture -diagonal {{path/to/image.pgm}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmslice`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamslice`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmslice.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pgmslice` command"
},
{
"from": "gpt",
"value": "`tldr pamslice`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtexture`."
},
{
"from": "gpt",
"value": "Extract textural features from a PGM image.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtexture.html>.\n"
}
] |
[
{
"from": "human",
"value": "Extract textural features from a PGM image via the `pgmtexture` command"
},
{
"from": "gpt",
"value": "`pgmtexture {{path/to/image.pgm}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the distance parameter for the feature extraction algorithm via the `pgmtexture` command"
},
{
"from": "gpt",
"value": "`pgmtexture -d {{distance}} {{path/to/image.pgm}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtofs`."
},
{
"from": "gpt",
"value": "Convert a PGM image to Usenix FaceSaver format.\nSee also: `fstopgm`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtofs.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert the specified PGM image to Usenix FaceSave format via the `pgmtofs` command"
},
{
"from": "gpt",
"value": "`pgmtofs {{path/to/input.pgm}} > {{path/to/output.fs}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtolispm`."
},
{
"from": "gpt",
"value": "Convert a PGM image to Lisp Machine format.\nSee also: `lispmtopgm`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtolispm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert the specified PGM image to Lisp Machine format via the `pgmtolispm` command"
},
{
"from": "gpt",
"value": "`pgmtolispm {{path/to/input.pgm}} > {{path/to/output.lispm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtopbm`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamditherbw`.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtopbm.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pgmtopbm` command"
},
{
"from": "gpt",
"value": "`tldr pamditherbw`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtopgm`."
},
{
"from": "gpt",
"value": "Copy a PGM image file.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtopgm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Copy PGM file from `stdin` to `stderr` via the `pgmtopgm` command"
},
{
"from": "gpt",
"value": "`pgmtopgm`"
}
] |
[
{
"from": "human",
"value": "Display version via the `pgmtopgm` command"
},
{
"from": "gpt",
"value": "`pgmtopgm -version`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtoppm`."
},
{
"from": "gpt",
"value": "Colorize a PGM image.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtoppm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Map all greyscale values of the input image to all colors between the two specified colors via the `pgmtoppm` command"
},
{
"from": "gpt",
"value": "`pgmtoppm {{[-b|-black]}} {{red}} {{[-w|-white]}} {{blue}} {{path/to/input.pgm}} > {{path/to/output.ppm}}`"
}
] |
[
{
"from": "human",
"value": "Map all greyscale values of the input image to colors according to the specified colormap via the `pgmtoppm` command"
},
{
"from": "gpt",
"value": "`pgmtoppm {{[-m|-map]}} {{path/to/colormap.ppm}} {{path/to/input.pgm}} > {{path/to/output.ppm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtosbig`."
},
{
"from": "gpt",
"value": "Convert a PGM image to the SBIG CCDOPS format.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtosbig.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PGM image file to the SBIG CCDOPS format via the `pgmtosbig` command"
},
{
"from": "gpt",
"value": "`pgmtosbig {{path/to/input_file.pgm}} > {{path/to/output.sbig}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgmtost4`."
},
{
"from": "gpt",
"value": "Convert a PGM image to the SBIG ST-4 format.\nMore information: <https://netpbm.sourceforge.net/doc/pgmtost4.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PGM image file to the SBIG ST-4 format via the `pgmtost4` command"
},
{
"from": "gpt",
"value": "`pgmtost4 {{path/to/input_file.pgm}} > {{path/to/output.st4}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pgrep`."
},
{
"from": "gpt",
"value": "Find or signal processes by name.\nMore information: <https://www.manned.org/pgrep>.\n"
}
] |
[
{
"from": "human",
"value": "Return PIDs of any running processes with a matching command string via the `pgrep` command"
},
{
"from": "gpt",
"value": "`pgrep {{process_name}}`"
}
] |
[
{
"from": "human",
"value": "Search for processes including their command-line options via the `pgrep` command"
},
{
"from": "gpt",
"value": "`pgrep {{[-f|--full]}} \"{{process_name}} {{parameter}}\"`"
}
] |
[
{
"from": "human",
"value": "Search for processes run by a specific user via the `pgrep` command"
},
{
"from": "gpt",
"value": "`pgrep {{[-u|--euid]}} root {{process_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pg_restore`."
},
{
"from": "gpt",
"value": "Restore a PostgreSQL database from an archive file created by pg_dump.\nMore information: <https://www.postgresql.org/docs/current/app-pgrestore.html>.\n"
}
] |
[
{
"from": "human",
"value": "Restore an archive into an existing database via the `pg_restore` command"
},
{
"from": "gpt",
"value": "`pg_restore -d {{db_name}} {{archive_file.dump}}`"
}
] |
[
{
"from": "human",
"value": "Same as above, customize username via the `pg_restore` command"
},
{
"from": "gpt",
"value": "`pg_restore -U {{username}} -d {{db_name}} {{archive_file.dump}}`"
}
] |
[
{
"from": "human",
"value": "Same as above, customize host and port via the `pg_restore` command"
},
{
"from": "gpt",
"value": "`pg_restore -h {{host}} -p {{port}} -d {{db_name}} {{archive_file.dump}}`"
}
] |
[
{
"from": "human",
"value": "List database objects included in the archive via the `pg_restore` command"
},
{
"from": "gpt",
"value": "`pg_restore --list {{archive_file.dump}}`"
}
] |
[
{
"from": "human",
"value": "Clean database objects before creating them via the `pg_restore` command"
},
{
"from": "gpt",
"value": "`pg_restore --clean -d {{db_name}} {{archive_file.dump}}`"
}
] |
[
{
"from": "human",
"value": "Use multiple jobs to do the restoring via the `pg_restore` command"
},
{
"from": "gpt",
"value": "`pg_restore -j {{2}} -d {{db_name}} {{archive_file.dump}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `phan`."
},
{
"from": "gpt",
"value": "A static analysis tool for PHP.\nMore information: <https://github.com/phan/phan>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a `.phan/config.php` in the current directory via the `phan` command"
},
{
"from": "gpt",
"value": "`phan --init`"
}
] |
[
{
"from": "human",
"value": "Generate a Phan configuration file using a specific level (1 being strictest to 5 being the least strict) via the `phan` command"
},
{
"from": "gpt",
"value": "`phan --init --init-level {{level}}`"
}
] |
[
{
"from": "human",
"value": "Analyze the current directory via the `phan` command"
},
{
"from": "gpt",
"value": "`phan`"
}
] |
[
{
"from": "human",
"value": "Analyze one or more directories via the `phan` command"
},
{
"from": "gpt",
"value": "`phan --directory {{path/to/directory}} --directory {{path/to/another_directory}}`"
}
] |
[
{
"from": "human",
"value": "Specify a configuration file (defaults to `.phan/config.php`) via the `phan` command"
},
{
"from": "gpt",
"value": "`phan --config-file {{path/to/config.php}}`"
}
] |
[
{
"from": "human",
"value": "Specify the output mode via the `phan` command"
},
{
"from": "gpt",
"value": "`phan --output-mode {{text|verbose|json|csv|codeclimate|checkstyle|pylint|html}}`"
}
] |
[
{
"from": "human",
"value": "Specify the number of parallel processes via the `phan` command"
},
{
"from": "gpt",
"value": "`phan --processes {{number_of_processes}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `phing`."
},
{
"from": "gpt",
"value": "A PHP build tool based on Apache Ant.\nMore information: <https://www.phing.info>.\n"
}
] |
[
{
"from": "human",
"value": "Perform the default task in the `build.xml` file via the `phing` command"
},
{
"from": "gpt",
"value": "`phing`"
}
] |
[
{
"from": "human",
"value": "Initialize a new build file via the `phing` command"
},
{
"from": "gpt",
"value": "`phing -i {{path/to/build.xml}}`"
}
] |
[
{
"from": "human",
"value": "Perform a specific task via the `phing` command"
},
{
"from": "gpt",
"value": "`phing {{task_name}}`"
}
] |
[
{
"from": "human",
"value": "Use the given build file path via the `phing` command"
},
{
"from": "gpt",
"value": "`phing -f {{path/to/build.xml}} {{task_name}}`"
}
] |
[
{
"from": "human",
"value": "Log to the given file via the `phing` command"
},
{
"from": "gpt",
"value": "`phing -logfile {{path/to/log_file}} {{task_name}}`"
}
] |
[
{
"from": "human",
"value": "Use custom properties in the build via the `phing` command"
},
{
"from": "gpt",
"value": "`phing -D{{property}}={{value}} {{task_name}}`"
}
] |
[
{
"from": "human",
"value": "Specify a custom listener class via the `phing` command"
},
{
"from": "gpt",
"value": "`phing -listener {{class_name}} {{task_name}}`"
}
] |
[
{
"from": "human",
"value": "Build using verbose output via the `phing` command"
},
{
"from": "gpt",
"value": "`phing -verbose {{task_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `phive`."
},
{
"from": "gpt",
"value": "The Phar Installation and Verification Environment for secure PHP application deployment.\nMore information: <https://phar.io>.\n"
}
] |
[
{
"from": "human",
"value": "Display a list of available aliased Phars via the `phive` command"
},
{
"from": "gpt",
"value": "`phive list`"
}
] |
[
{
"from": "human",
"value": "Install a specified Phar to the local directory via the `phive` command"
},
{
"from": "gpt",
"value": "`phive install {{alias|url}}`"
}
] |
[
{
"from": "human",
"value": "Install a specified Phar globally via the `phive` command"
},
{
"from": "gpt",
"value": "`phive install {{alias|url}} --global`"
}
] |
[
{
"from": "human",
"value": "Install a specified Phar to a target directory via the `phive` command"
},
{
"from": "gpt",
"value": "`phive install {{alias|url}} --target {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Update all Phar files to the latest version via the `phive` command"
},
{
"from": "gpt",
"value": "`phive update`"
}
] |
[
{
"from": "human",
"value": "Remove a specified Phar file via the `phive` command"
},
{
"from": "gpt",
"value": "`phive remove {{alias|url}}`"
}
] |
[
{
"from": "human",
"value": "Remove unused Phar files via the `phive` command"
},
{
"from": "gpt",
"value": "`phive purge`"
}
] |
[
{
"from": "human",
"value": "List all available commands via the `phive` command"
},
{
"from": "gpt",
"value": "`phive help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `php artisan`."
},
{
"from": "gpt",
"value": "Laravel's Artisan command-line interface.\nMore information: <https://laravel.com/docs/artisan>.\n"
}
] |
[
{
"from": "human",
"value": "Start PHP's built-in web server for the current Laravel application via the `php-artisan` command"
},
{
"from": "gpt",
"value": "`php artisan serve`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.