conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Convert an image from JPEG to PNG via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/input_image.jpg}} {{path/to/output_image.png}}`"
}
] |
[
{
"from": "human",
"value": "Scale an image to 50% of its original size via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/input_image.png}} -resize 50% {{path/to/output_image.png}}`"
}
] |
[
{
"from": "human",
"value": "Scale an image keeping the original aspect ratio to a maximum dimension of 640x480 via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/input_image.png}} -resize 640x480 {{path/to/output_image.png}}`"
}
] |
[
{
"from": "human",
"value": "Scale an image to have a specified file size via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/input_image.png}} -define jpeg:extent=512kb {{path/to/output_image.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Vertically/horizontally append images via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}`"
}
] |
[
{
"from": "human",
"value": "Create a GIF from a series of images with 100ms delay between them via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/image1.png path/to/image2.png ...}} -delay {{10}} {{path/to/animation.gif}}`"
}
] |
[
{
"from": "human",
"value": "Create an image with nothing but a solid red background via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert -size {{800x600}} \"xc:{{#ff0000}}\" {{path/to/image.png}}`"
}
] |
[
{
"from": "human",
"value": "Create a favicon from several images of different sizes via the `magick-convert` command"
},
{
"from": "gpt",
"value": "`magick convert {{path/to/image1.png path/to/image2.png ...}} {{path/to/favicon.ico}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `magick identify`."
},
{
"from": "gpt",
"value": "Describe the format and characteristics of image files.\nSee also: `magick`.\nMore information: <https://imagemagick.org/script/identify.php>.\n"
}
] |
[
{
"from": "human",
"value": "Describe the format and basic characteristics of an image via the `magick-identify` command"
},
{
"from": "gpt",
"value": "`magick identify {{path/to/image}}`"
}
] |
[
{
"from": "human",
"value": "Describe the format and verbose characteristics of an image via the `magick-identify` command"
},
{
"from": "gpt",
"value": "`magick identify -verbose {{path/to/image}}`"
}
] |
[
{
"from": "human",
"value": "Collect dimensions of all JPEG files in the current directory and save them into a CSV file via the `magick-identify` command"
},
{
"from": "gpt",
"value": "`magick identify -format \"{{%f,%w,%h\\n}}\" {{*.jpg}} > {{path/to/filelist.csv}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `magick import`."
},
{
"from": "gpt",
"value": "Capture some or all of an X server screen and save the image to a file.\nSee also: `magick`.\nMore information: <https://imagemagick.org/script/import.php>.\n"
}
] |
[
{
"from": "human",
"value": "Capture the entire X server screen into a PostScript file via the `magick-import` command"
},
{
"from": "gpt",
"value": "`magick import -window root {{path/to/output.ps}}`"
}
] |
[
{
"from": "human",
"value": "Capture contents of a remote X server screen into a PNG image via the `magick-import` command"
},
{
"from": "gpt",
"value": "`magick import -window root -display {{remote_host}}:{{screen}}.{{display}} {{path/to/output.png}}`"
}
] |
[
{
"from": "human",
"value": "Capture a specific window given its ID as displayed by `xwininfo` into a JPEG image via the `magick-import` command"
},
{
"from": "gpt",
"value": "`magick import -window {{window_id}} {{path/to/output.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `magick`."
},
{
"from": "gpt",
"value": "Create, edit, compose, or convert between image formats.\nThis tool replaces `convert` in ImageMagick 7+. See `magick convert` to use the old tool in versions 7+.\nSome subcommands, such as `mogrify` have their o... |
[
{
"from": "human",
"value": "Convert between image formats via the `magick` command"
},
{
"from": "gpt",
"value": "`magick {{path/to/input_image.png}} {{path/to/output_image.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Resize an image, making a new copy via the `magick` command"
},
{
"from": "gpt",
"value": "`magick {{path/to/input_image.jpg}} -resize {{100x100}} {{path/to/output_image.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Create a GIF out of all JPEG images in the current directory via the `magick` command"
},
{
"from": "gpt",
"value": "`magick {{*.jpg}} {{path/to/images.gif}}`"
}
] |
[
{
"from": "human",
"value": "Create a checkerboard pattern via the `magick` command"
},
{
"from": "gpt",
"value": "`magick -size {{640x480}} pattern:checkerboard {{path/to/checkerboard.png}}`"
}
] |
[
{
"from": "human",
"value": "Create a PDF file out of all JPEG images in the current directory via the `magick` command"
},
{
"from": "gpt",
"value": "`magick {{*.jpg}} -adjoin {{path/to/file.pdf}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `magick mogrify`."
},
{
"from": "gpt",
"value": "Perform operations on multiple images, such as resizing, cropping, flipping, and adding effects.\nChanges are applied directly to the original file.\nSee also: `magick`.\nMore information: <https://imagem... |
[
{
"from": "human",
"value": "Resize all JPEG images in the directory to 50% of their initial size via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -resize {{50%}} {{*.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Resize all images starting with `DSC` to 800x600 via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -resize {{800x600}} {{DSC*}}`"
}
] |
[
{
"from": "human",
"value": "Convert all PNGs in the directory to JPEG via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -format {{jpg}} {{*.png}}`"
}
] |
[
{
"from": "human",
"value": "Halve the saturation of all image files in the current directory via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -modulate {{100,50}} {{*}}`"
}
] |
[
{
"from": "human",
"value": "Double the brightness of all image files in the current directory via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -modulate {{200}} {{*}}`"
}
] |
[
{
"from": "human",
"value": "Reduce file sizes of all GIF images in the current directory by reducing quality via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -layers 'optimize' -fuzz {{7%}} {{*.gif}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `magick-mogrify` command"
},
{
"from": "gpt",
"value": "`magick mogrify -help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `magick montage`."
},
{
"from": "gpt",
"value": "Tile images into a customizable grid.\nSee also: `magick`.\nMore information: <https://imagemagick.org/script/montage.php>.\n"
}
] |
[
{
"from": "human",
"value": "Tile images into a grid, automatically resizing images larger than the grid cell size via the `magick-montage` command"
},
{
"from": "gpt",
"value": "`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} {{path/to/montage.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Tile images into a grid, automatically calculating the grid cell size from the largest image via the `magick-montage` command"
},
{
"from": "gpt",
"value": "`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} {{path/to/montage.jpg}}`"
}... |
[
{
"from": "human",
"value": "Specify the grid cell size and resize images to fit it before tiling via the `magick-montage` command"
},
{
"from": "gpt",
"value": "`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{640x480+0+0}} {{path/to/montage.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Limit the number of rows and columns in the grid, causing input images to overflow into multiple output montages via the `magick-montage` command"
},
{
"from": "gpt",
"value": "`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} -tile {{2... |
[
{
"from": "human",
"value": "Resize and crop images to fill their grid cells before tiling via the `magick-montage` command"
},
{
"from": "gpt",
"value": "`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0... |
[
{
"from": "human",
"value": "Tell me about `mail`."
},
{
"from": "gpt",
"value": "The command operates on the user's mailbox if no argument is given.\nTo send an email the message body is built from `stdin`.\nMore information: <https://manned.org/mail>.\n"
}
] |
[
{
"from": "human",
"value": "Open an interactive prompt to check personal mail via the `mail` command"
},
{
"from": "gpt",
"value": "`mail`"
}
] |
[
{
"from": "human",
"value": "Send a typed email message with optional CC. The command-line below continues after pressing `<Enter>`. Input message text (can be multiline). Press `<Ctrl d>` to complete the message text via the `mail` command"
},
{
"from": "gpt",
"value": "`mail --subject \"{{subj... |
[
{
"from": "human",
"value": "Send an email that contains file content via the `mail` command"
},
{
"from": "gpt",
"value": "`mail --subject \"{{$HOSTNAME filename.txt}}\" {{to_user@example.com}} < {{path/to/filename.txt}}`"
}
] |
[
{
"from": "human",
"value": "Send a `tar.gz` file as an attachment via the `mail` command"
},
{
"from": "gpt",
"value": "`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject \"{{subject_line}}\" {{to_user@example.com}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `mail` command"
},
{
"from": "gpt",
"value": "`mail {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mailx`."
},
{
"from": "gpt",
"value": "Send and receive mail.\nMore information: <https://manned.org/mailx>.\n"
}
] |
[
{
"from": "human",
"value": "Send mail (the content should be typed after the command, and ended with `<Ctrl d>`) via the `mailx` command"
},
{
"from": "gpt",
"value": "`mailx -s \"{{subject}}\" {{to_addr}}`"
}
] |
[
{
"from": "human",
"value": "Send mail with content passed from another command via the `mailx` command"
},
{
"from": "gpt",
"value": "`echo \"{{content}}\" | mailx -s \"{{subject}}\" {{to_addr}}`"
}
] |
[
{
"from": "human",
"value": "Send mail with content read from a file via the `mailx` command"
},
{
"from": "gpt",
"value": "`mailx -s \"{{subject}}\" {{to_addr}} < {{content.txt}}`"
}
] |
[
{
"from": "human",
"value": "Send mail to a recipient and CC to another address via the `mailx` command"
},
{
"from": "gpt",
"value": "`mailx -s \"{{subject}}\" -c {{cc_addr}} {{to_addr}}`"
}
] |
[
{
"from": "human",
"value": "Send mail specifying the sender address via the `mailx` command"
},
{
"from": "gpt",
"value": "`mailx -s \"{{subject}}\" -r {{from_addr}} {{to_addr}}`"
}
] |
[
{
"from": "human",
"value": "Send mail with an attachment via the `mailx` command"
},
{
"from": "gpt",
"value": "`mailx -a {{path/to/file}} -s \"{{subject}}\" {{to_addr}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `makebuildserver`."
},
{
"from": "gpt",
"value": "Create an F-Droid build server virtual machine.\nMore information: <https://f-droid.org/en/docs/Build_Server_Setup/>.\n"
}
] |
[
{
"from": "human",
"value": "Create a new virtual machine or update an existing one (if available) via the `makebuildserver` command"
},
{
"from": "gpt",
"value": "`makebuildserver`"
}
] |
[
{
"from": "human",
"value": "Force creating a fresh virtual machine via the `makebuildserver` command"
},
{
"from": "gpt",
"value": "`makebuildserver --clean`"
}
] |
[
{
"from": "human",
"value": "Tell me about `make`."
},
{
"from": "gpt",
"value": "Task runner for targets described in Makefile.\nMostly used to control the compilation of an executable from source code.\nMore information: <https://www.gnu.org/software/make/manual/make.html>.\n"
}
] |
[
{
"from": "human",
"value": "Call the first target specified in the Makefile (usually named \"all\") via the `make` command"
},
{
"from": "gpt",
"value": "`make`"
}
] |
[
{
"from": "human",
"value": "Call a specific target via the `make` command"
},
{
"from": "gpt",
"value": "`make {{target}}`"
}
] |
[
{
"from": "human",
"value": "Call a specific target, executing 4 jobs at a time in parallel via the `make` command"
},
{
"from": "gpt",
"value": "`make {{[-j|--jobs]}} {{4}} {{target}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific Makefile via the `make` command"
},
{
"from": "gpt",
"value": "`make {{[-f|--file]}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Execute make from another directory via the `make` command"
},
{
"from": "gpt",
"value": "`make {{[-C|--directory]}} {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Force making of a target, even if source files are unchanged via the `make` command"
},
{
"from": "gpt",
"value": "`make {{[-B|--always-make]}} {{target}}`"
}
] |
[
{
"from": "human",
"value": "Override a variable defined in the Makefile via the `make` command"
},
{
"from": "gpt",
"value": "`make {{target}} {{variable}}={{new_value}}`"
}
] |
[
{
"from": "human",
"value": "Override variables defined in the Makefile by the environment via the `make` command"
},
{
"from": "gpt",
"value": "`make {{[-e|--environment-overrides]}} {{target}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `makensis`."
},
{
"from": "gpt",
"value": "Cross-platform compiler for NSIS installers.\nIt compiles a NSIS script into a Windows installer executable.\nMore information: <https://nsis.sourceforge.io/Docs/Chapter3.html>.\n"
}
] |
[
{
"from": "human",
"value": "Compile a NSIS script via the `makensis` command"
},
{
"from": "gpt",
"value": "`makensis {{path/to/file.nsi}}`"
}
] |
[
{
"from": "human",
"value": "Compile a NSIS script in strict mode (treat warnings as errors) via the `makensis` command"
},
{
"from": "gpt",
"value": "`makensis -WX {{path/to/file.nsi}}`"
}
] |
[
{
"from": "human",
"value": "Display help for a specific command via the `makensis` command"
},
{
"from": "gpt",
"value": "`makensis -CMDHELP {{command}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `makepasswd`."
},
{
"from": "gpt",
"value": "Generate and encrypt passwords.\nMore information: <https://manpages.debian.org/latest/makepasswd/makepasswd.1.en.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate a random password (8 to 10 characters long, containing letters and numbers) via the `makepasswd` command"
},
{
"from": "gpt",
"value": "`makepasswd`"
}
] |
[
{
"from": "human",
"value": "Generate a 10 characters long password via the `makepasswd` command"
},
{
"from": "gpt",
"value": "`makepasswd --chars {{10}}`"
}
] |
[
{
"from": "human",
"value": "Generate a 5 to 10 characters long password via the `makepasswd` command"
},
{
"from": "gpt",
"value": "`makepasswd --minchars {{5}} --maxchars {{10}}`"
}
] |
[
{
"from": "human",
"value": "Generate a password containing only the characters \"b\", \"a\" or \"r\" via the `makepasswd` command"
},
{
"from": "gpt",
"value": "`makepasswd --string {{bar}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mamba`."
},
{
"from": "gpt",
"value": "Fast, cross-platform package manager, intended as a drop-in replacement for conda.\nSome subcommands such as `repoquery` have their own usage documentation.\nMore information: <https://mamba.readthedocs.io/en/late... |
[
{
"from": "human",
"value": "Create a new environment, installing the specified packages into it via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba create {{[-n|--name]}} {{environment_name}} {{python=3.10 matplotlib}}`"
}
] |
[
{
"from": "human",
"value": "Install packages into the current environment, specifying the package channel via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba install {{[-c|--channel]}} {{conda-forge}} {{python=3.6 numpy}}`"
}
] |
[
{
"from": "human",
"value": "Update all packages in the current environment via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba update --all`"
}
] |
[
{
"from": "human",
"value": "Search for a specific package across repositories via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba repoquery search {{numpy}}`"
}
] |
[
{
"from": "human",
"value": "List all environments via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba info --envs`"
}
] |
[
{
"from": "human",
"value": "Remove unused [p]ackages and [t]arballs from the cache via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba clean -pt`"
}
] |
[
{
"from": "human",
"value": "Activate an environment via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba activate {{environment_name}}`"
}
] |
[
{
"from": "human",
"value": "List all installed packages in the currently activated environment via the `mamba` command"
},
{
"from": "gpt",
"value": "`mamba list`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mamba repoquery`."
},
{
"from": "gpt",
"value": "Efficiently query conda and mamba package repositories and package dependencies.\nMore information: <https://mamba.readthedocs.io/en/latest/user_guide/mamba.html#repoquery>.\n"
}
] |
[
{
"from": "human",
"value": "Search for all available versions of a particular package via the `mamba-repoquery` command"
},
{
"from": "gpt",
"value": "`mamba repoquery search {{package}}`"
}
] |
[
{
"from": "human",
"value": "Search for all packages satisfying specific constraints via the `mamba-repoquery` command"
},
{
"from": "gpt",
"value": "`mamba repoquery search {{sphinx<5}}`"
}
] |
[
{
"from": "human",
"value": "List the dependencies of a package installed in the currently activated environment, in a tree format via the `mamba-repoquery` command"
},
{
"from": "gpt",
"value": "`mamba repoquery depends --tree {{scipy}}`"
}
] |
[
{
"from": "human",
"value": "Print packages in the current environment that require a particular package to be installed (i.e. inverse of `depends`) via the `mamba-repoquery` command"
},
{
"from": "gpt",
"value": "`mamba repoquery whoneeds {{ipython}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `man`."
},
{
"from": "gpt",
"value": "Format and display manual pages.\nMore information: <https://manned.org/man>.\n"
}
] |
[
{
"from": "human",
"value": "Display the man page for a command via the `man` command"
},
{
"from": "gpt",
"value": "`man {{command}}`"
}
] |
[
{
"from": "human",
"value": "Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`) via the `man` command"
},
{
"from": "gpt",
"value": "`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}`"
}
] |
[
{
"from": "human",
"value": "Display the man page for a command from section 7 via the `man` command"
},
{
"from": "gpt",
"value": "`man {{7}} {{command}}`"
}
] |
[
{
"from": "human",
"value": "List all available sections for a command via the `man` command"
},
{
"from": "gpt",
"value": "`man {{[-f|--whatis]}} {{command}}`"
}
] |
[
{
"from": "human",
"value": "Display the path searched for manpages via the `man` command"
},
{
"from": "gpt",
"value": "`man {{[-w|--path]}}`"
}
] |
[
{
"from": "human",
"value": "Display the location of a manpage rather than the manpage itself via the `man` command"
},
{
"from": "gpt",
"value": "`man {{[-w|--where]}} {{command}}`"
}
] |
[
{
"from": "human",
"value": "Display the man page using a specific locale via the `man` command"
},
{
"from": "gpt",
"value": "`man {{[-L|--locale]}} {{locale}} {{command}}`"
}
] |
[
{
"from": "human",
"value": "Search for manpages containing a search string via the `man` command"
},
{
"from": "gpt",
"value": "`man {{[-k|--apropos]}} \"{{search_string}}\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mapfile`."
},
{
"from": "gpt",
"value": "This command is an alias of `readarray`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `mapfile` command"
},
{
"from": "gpt",
"value": "`tldr readarray`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mariadb-install-db`."
},
{
"from": "gpt",
"value": "Initialize a MariaDB database.\nMore information: <https://manned.org/mariadb-install-db>.\n"
}
] |
[
{
"from": "human",
"value": "Initialize a database via the `mariadb-install-db` command"
},
{
"from": "gpt",
"value": "`sudo mariadb-install-db --user {{user}} --basedir {{/usr}} --datadir {{/var/lib/mysql}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `mariadb-install-db` command"
},
{
"from": "gpt",
"value": "`mariadb-install-db --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mariadb`."
},
{
"from": "gpt",
"value": "The mariadb client tool.\nMore information: <https://mariadb.com/kb/en/mariadb-command-line-client/>.\n"
}
] |
[
{
"from": "human",
"value": "Connect to a specific MariaDB database via the `mariadb` command"
},
{
"from": "gpt",
"value": "`mariadb {{db_name}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.