conversations
listlengths
2
2
[ { "from": "human", "value": "Install a package using `pip` via the `python` command" }, { "from": "gpt", "value": "`python -m pip install {{package}}`" } ]
[ { "from": "human", "value": "Interactively debug a Python script via the `python` command" }, { "from": "gpt", "value": "`python -m pdb {{path/to/file.py}}`" } ]
[ { "from": "human", "value": "Start the built-in HTTP server on port 8000 in the current directory via the `python` command" }, { "from": "gpt", "value": "`python -m http.server`" } ]
[ { "from": "human", "value": "Tell me about `qalc`." }, { "from": "gpt", "value": "Powerful and easy to use command-line calculator.\nSee also: `bc`.\nMore information: <https://qalculate.github.io/manual/qalc.html>.\n" } ]
[ { "from": "human", "value": "Launch in interactive mode via the `qalc` command" }, { "from": "gpt", "value": "`qalc {{[-i|--interactive]}}`" } ]
[ { "from": "human", "value": "Launch in terse mode (print the results only) via the `qalc` command" }, { "from": "gpt", "value": "`qalc {{[-t|--terse]}}`" } ]
[ { "from": "human", "value": "Update currency exchange rates via the `qalc` command" }, { "from": "gpt", "value": "`qalc {{[-e|--exrates]}}`" } ]
[ { "from": "human", "value": "Perform calculations non-interactively via the `qalc` command" }, { "from": "gpt", "value": "`qalc {{66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...}}`" } ]
[ { "from": "human", "value": "List all supported functions/prefixes/units/variables via the `qalc` command" }, { "from": "gpt", "value": "`qalc --{{list-functions|list-prefixes|list-units|list-variables}}`" } ]
[ { "from": "human", "value": "Execute commands from a file via the `qalc` command" }, { "from": "gpt", "value": "`qalc {{[-f|--file]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `qc`." }, { "from": "gpt", "value": "Manage and execute command snippets stored in QOwnNotes notes.\nSee also: `qownnotes`.\nMore information: <https://www.qownnotes.org/getting-started/command-line-snippet-manager.html>.\n" } ]
[ { "from": "human", "value": "Configure the snippet manager, e.g. to set the security token from QOwnNotes via the `qc` command" }, { "from": "gpt", "value": "`qc configure`" } ]
[ { "from": "human", "value": "Search and print command snippets stored in your `Commands.md` note and all your notes tagged with `commands` via the `qc` command" }, { "from": "gpt", "value": "`qc search`" } ]
[ { "from": "human", "value": "Execute a snippet and show the command before executing via the `qc` command" }, { "from": "gpt", "value": "`qc exec --command`" } ]
[ { "from": "human", "value": "Execute the last snippet and show the command before executing via the `qc` command" }, { "from": "gpt", "value": "`qc exec --command --last`" } ]
[ { "from": "human", "value": "Switch between note folders in QOwnNotes via the `qc` command" }, { "from": "gpt", "value": "`qc switch`" } ]
[ { "from": "human", "value": "Tell me about `qcp`." }, { "from": "gpt", "value": "Copy files using the default text editor to define the filenames.\nMore information: <https://manned.org/qcp>.\n" } ]
[ { "from": "human", "value": "Copy a single file (open an editor with the source filename on the left and the target filename on the right) via the `qcp` command" }, { "from": "gpt", "value": "`qcp {{source_file}}`" } ]
[ { "from": "human", "value": "Copy multiple JPEG files via the `qcp` command" }, { "from": "gpt", "value": "`qcp {{*.jpg}}`" } ]
[ { "from": "human", "value": "Copy files, but swap the positions of the source and the target filenames in the editor via the `qcp` command" }, { "from": "gpt", "value": "`qcp {{[-o|--option]}} swap {{*.jpg}}`" } ]
[ { "from": "human", "value": "Tell me about `qdbus`." }, { "from": "gpt", "value": "Inter-Process Communication (IPC) and Remote Procedure Calling (RPC) mechanism originally developed for Linux.\nMore information: <https://doc.qt.io/qt-5/qtdbus-index.html>.\n" } ]
[ { "from": "human", "value": "List available service names via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus`" } ]
[ { "from": "human", "value": "List object paths for a specific service via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{service_name}}`" } ]
[ { "from": "human", "value": "List methods, signals and properties available on a specific object via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{service_name}} {{/path/to/object}}`" } ]
[ { "from": "human", "value": "Execute a specific method passing arguments and display the returned value via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{service_name}} {{/path/to/object}} {{method_name}} {{argument1}} {{argument2}}`" } ]
[ { "from": "human", "value": "Display the current brightness value in a KDE Plasma session via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.Brightnes...
[ { "from": "human", "value": "Set a specific brightness to a KDE Plasma session via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.se...
[ { "from": "human", "value": "Invoke volume up shortcut in a KDE Plasma session via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{org.kde.kglobalaccel}} {{/component/kmix}} {{invokeShortcut}} \"{{increase_volume}}\"`" } ]
[ { "from": "human", "value": "Gracefully log out and then do nothing, reboot or shut down via the `qdbus` command" }, { "from": "gpt", "value": "`qdbus {{org.kde.Shutdown}} {{/Shutdown}} {{logout|logoutAndReboot|logoutAndShutdown}}`" } ]
[ { "from": "human", "value": "Tell me about `qemu-img`." }, { "from": "gpt", "value": "Create and manipulate Quick Emulator Virtual HDD images.\nMore information: <https://qemu.readthedocs.io/en/master/tools/qemu-img.html>.\n" } ]
[ { "from": "human", "value": "Create disk image with a specific size (in gigabytes) via the `qemu-img` command" }, { "from": "gpt", "value": "`qemu-img create {{image_name.img}} {{gigabytes}}G`" } ]
[ { "from": "human", "value": "Show information about a disk image via the `qemu-img` command" }, { "from": "gpt", "value": "`qemu-img info {{image_name.img}}`" } ]
[ { "from": "human", "value": "Increase or decrease image size via the `qemu-img` command" }, { "from": "gpt", "value": "`qemu-img resize {{image_name.img}} {{gigabytes}}G`" } ]
[ { "from": "human", "value": "Dump the allocation state of every sector of the specified disk image via the `qemu-img` command" }, { "from": "gpt", "value": "`qemu-img map {{image_name.img}}`" } ]
[ { "from": "human", "value": "Convert a VMware .vmdk disk image to a KVM .qcow2 disk image via the `qemu-img` command" }, { "from": "gpt", "value": "`qemu-img convert -f {{vmdk}} -O {{qcow2}} {{path/to/file/foo.vmdk}} {{path/to/file/foo.qcow2}}`" } ]
[ { "from": "human", "value": "Tell me about `qemu`." }, { "from": "gpt", "value": "Generic machine emulator and virtualizer.\nSupports a large variety of CPU architectures.\nMore information: <https://www.qemu.org>.\n" } ]
[ { "from": "human", "value": "Boot from image emulating i386 architecture via the `qemu` command" }, { "from": "gpt", "value": "`qemu-system-i386 -hda {{image_name.img}}`" } ]
[ { "from": "human", "value": "Boot from image emulating x64 architecture via the `qemu` command" }, { "from": "gpt", "value": "`qemu-system-x86_64 -hda {{image_name.img}}`" } ]
[ { "from": "human", "value": "Boot QEMU instance with a live ISO image via the `qemu` command" }, { "from": "gpt", "value": "`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d`" } ]
[ { "from": "human", "value": "Specify amount of RAM for instance via the `qemu` command" }, { "from": "gpt", "value": "`qemu-system-i386 -m 256 -hda {{image_name.img}} -cdrom {{os-image.iso}} -boot d`" } ]
[ { "from": "human", "value": "Boot from physical device (e.g. from USB to test bootable medium) via the `qemu` command" }, { "from": "gpt", "value": "`qemu-system-i386 -hda {{/dev/storage_device}}`" } ]
[ { "from": "human", "value": "Tell me about `q`." }, { "from": "gpt", "value": "Execute SQL-like queries on CSV and TSV files.\nMore information: <https://harelba.github.io/q>.\n" } ]
[ { "from": "human", "value": "Query a CSV file by specifying the delimiter as ',' via the `q` command" }, { "from": "gpt", "value": "`q -d',' \"SELECT * from {{path/to/file}}\"`" } ]
[ { "from": "human", "value": "Query a TSV file via the `q` command" }, { "from": "gpt", "value": "`q -t \"SELECT * from {{path/to/file}}\"`" } ]
[ { "from": "human", "value": "Query file with header row via the `q` command" }, { "from": "gpt", "value": "`q -d{{delimiter}} -H \"SELECT * from {{path/to/file}}\"`" } ]
[ { "from": "human", "value": "Read data from `stdin`; '-' in the query represents the data from `stdin` via the `q` command" }, { "from": "gpt", "value": "`{{output}} | q \"select * from -\"`" } ]
[ { "from": "human", "value": "Join two files (aliased as `f1` and `f2` in the example) on column `c1`, a common column via the `q` command" }, { "from": "gpt", "value": "`q \"SELECT * FROM {{path/to/file}} f1 JOIN {{path/to/other_file}} f2 ON (f1.c1 = f2.c1)\"`" } ]
[ { "from": "human", "value": "Format output using an output delimiter with an output header line (Note: command will output column names based on the input file header or the column aliases overridden in the query) via the `q` command" }, { "from": "gpt", "value": "`q -D{{delimiter}} -O \"SELECT ...
[ { "from": "human", "value": "Tell me about `qmmp`." }, { "from": "gpt", "value": "An audio player with an interface similar to Winamp or XMMS.\nSee also: `clementine`, `ncmpcpp`, `cmus`.\nMore information: <https://manned.org/qmmp>.\n" } ]
[ { "from": "human", "value": "Launch the GUI via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp`" } ]
[ { "from": "human", "value": "Start or stop the currently playing audio via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp {{[-t|--play-pause]}}`" } ]
[ { "from": "human", "value": "Seek [f]or[w]ar[d]s or [b]ack[w]ar[d]s a specific amount of time in seconds via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp --seek-{{fwd|bwd}} {{time_in_seconds}}`" } ]
[ { "from": "human", "value": "Play the next audio file via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp --next`" } ]
[ { "from": "human", "value": "Play the previous audio file via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp --previous`" } ]
[ { "from": "human", "value": "Display the current volume via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp --volume-status`" } ]
[ { "from": "human", "value": "[inc]rease or [dec]rease the volume of the currently playing audio by 5% via the `qmmp` command" }, { "from": "gpt", "value": "`qmmp --volume-{{inc|dec}}`" } ]
[ { "from": "human", "value": "Tell me about `qmv`." }, { "from": "gpt", "value": "Move files and directories using the default text editor to define the filenames.\nMore information: <https://manned.org/qmv>.\n" } ]
[ { "from": "human", "value": "Move a single file (open an editor with the source filename on the left and the target filename on the right) via the `qmv` command" }, { "from": "gpt", "value": "`qmv {{source_file}}`" } ]
[ { "from": "human", "value": "Move multiple JPEG files via the `qmv` command" }, { "from": "gpt", "value": "`qmv {{*.jpg}}`" } ]
[ { "from": "human", "value": "Move multiple directories via the `qmv` command" }, { "from": "gpt", "value": "`qmv {{[-d|--directory]}} {{path/to/directory1}} {{path/to/directory2}} {{path/to/directory3}}`" } ]
[ { "from": "human", "value": "Move all files and directories inside a directory via the `qmv` command" }, { "from": "gpt", "value": "`qmv {{[-R|--recursive]}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Move files, but swap the positions of the source and the target filenames in the editor via the `qmv` command" }, { "from": "gpt", "value": "`qmv {{[-o|--option]}} swap {{*.jpg}}`" } ]
[ { "from": "human", "value": "Rename all files and folders in the current directory, but show only target filenames in the editor (you can think of it as a kind of simple mode) via the `qmv` command" }, { "from": "gpt", "value": "`qmv {{[-f|--format]}} do .`" } ]
[ { "from": "human", "value": "Tell me about `qoitopam`." }, { "from": "gpt", "value": "Convert a QOI image (Quite OK Image format) to Netpbm.\nMore information: <https://netpbm.sourceforge.net/doc/qoitopam.html>.\n" } ]
[ { "from": "human", "value": "Convert a QOI image to Netpbm via the `qoitopam` command" }, { "from": "gpt", "value": "`qoitopam {{path/to/image.qoi}} > {{path/to/output.pnm}}`" } ]
[ { "from": "human", "value": "Tell me about `qownnotes`." }, { "from": "gpt", "value": "Markdown note-taking application.\nOptionally integrates with the note-taking applications of Nextcloud and ownCloud.\nSee also: `qc`, for managing command snippets.\nMore information: <https://www.qownnotes.o...
[ { "from": "human", "value": "Run in portable mode via the `qownnotes` command" }, { "from": "gpt", "value": "`QOwnNotes --portable`" } ]
[ { "from": "human", "value": "Dump settings and other information about the app and environment in GitHub Markdown via the `qownnotes` command" }, { "from": "gpt", "value": "`QOwnNotes --dump-settings`" } ]
[ { "from": "human", "value": "Specify a different context for settings and internal files via the `qownnotes` command" }, { "from": "gpt", "value": "`QOwnNotes --session {{test}}`" } ]
[ { "from": "human", "value": "Trigger a menu action after the application was started via the `qownnotes` command" }, { "from": "gpt", "value": "`QOwnNotes --action {{actionShow_Todo_List}}`" } ]
[ { "from": "human", "value": "Tell me about `qpdf`." }, { "from": "gpt", "value": "Versatile PDF transformation software.\nMore information: <https://github.com/qpdf/qpdf>.\n" } ]
[ { "from": "human", "value": "Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one via the `qpdf` command" }, { "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 via the `qpdf` command" }, { "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 via the `qpdf` command" }, { "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 via the `qpdf` command" }, { "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 via the `qpdf` command" }, { "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 via the `qpdf` command" }, { "from": "gpt", "value": "`qpdf --password={{password}} --decrypt {{path/to/input.pdf}} {{path/to/output.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `qrencode`." }, { "from": "gpt", "value": "QR Code generator. Supports PNG and EPS.\nMore information: <https://fukuchi.org/works/qrencode>.\n" } ]
[ { "from": "human", "value": "Convert a string to a QR code and save to an output file via the `qrencode` command" }, { "from": "gpt", "value": "`qrencode -o {{path/to/output_file.png}} {{string}}`" } ]
[ { "from": "human", "value": "Convert an input file to a QR code and save to an output file via the `qrencode` command" }, { "from": "gpt", "value": "`qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}`" } ]
[ { "from": "human", "value": "Convert a string to a QR code and print it in terminal via the `qrencode` command" }, { "from": "gpt", "value": "`qrencode -t ansiutf8 {{string}}`" } ]
[ { "from": "human", "value": "Convert input from pipe to a QR code and print it in terminal via the `qrencode` command" }, { "from": "gpt", "value": "`echo {{string}} | qrencode -t ansiutf8`" } ]
[ { "from": "human", "value": "Tell me about `qr`." }, { "from": "gpt", "value": "Generate QR codes in the terminal with ANSI VT-100 escape codes.\nMore information: <https://github.com/lincolnloop/python-qrcode/>.\n" } ]
[ { "from": "human", "value": "Generate a QR code via the `qr` command" }, { "from": "gpt", "value": "`echo \"{{data}}\" | qr`" } ]
[ { "from": "human", "value": "Specify the error correction level (defaults to M) via the `qr` command" }, { "from": "gpt", "value": "`echo \"{{data}}\" | qr --error-correction={{L|M|Q|H}}`" } ]
[ { "from": "human", "value": "Tell me about `qrttoppm`." }, { "from": "gpt", "value": "Convert a QRT ray tracer file to a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/qrttoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert a QRT file to a PPM image via the `qrttoppm` command" }, { "from": "gpt", "value": "`qrttoppm {{path/to/file.qrt}} > {{path/to/image.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `qtcreator`." }, { "from": "gpt", "value": "Cross-platform IDE for Qt applications.\nMore information: <https://doc.qt.io/qtcreator/creator-cli.html>.\n" } ]
[ { "from": "human", "value": "Start Qt Creator via the `qtcreator` command" }, { "from": "gpt", "value": "`qtcreator`" } ]
[ { "from": "human", "value": "Start Qt Creator and restore the last session via the `qtcreator` command" }, { "from": "gpt", "value": "`qtcreator -lastsession`" } ]
[ { "from": "human", "value": "Start Qt Creator but don't load the specified plugin via the `qtcreator` command" }, { "from": "gpt", "value": "`qtcreator -noload {{plugin}}`" } ]
[ { "from": "human", "value": "Start Qt Creator but don't load any plugins via the `qtcreator` command" }, { "from": "gpt", "value": "`qtcreator -noload {{all}}`" } ]
[ { "from": "human", "value": "Start Qt Creator in presentation mode with pop-ups for keyboard shortcuts via the `qtcreator` command" }, { "from": "gpt", "value": "`qtcreator -presentationMode`" } ]
[ { "from": "human", "value": "Start Qt Creator and show the diff from a specific commit via the `qtcreator` command" }, { "from": "gpt", "value": "`qtcreator -git-show {{commit}}`" } ]
[ { "from": "human", "value": "Tell me about `quarkus`." }, { "from": "gpt", "value": "Create Quarkus projects, manage extensions and perform essential build and development tasks.\nMore information: <https://quarkus.io/guides/cli-tooling>.\n" } ]
[ { "from": "human", "value": "Create a new application project in a new directory via the `quarkus` command" }, { "from": "gpt", "value": "`quarkus create app {{project_name}}`" } ]
[ { "from": "human", "value": "Run the current project in live coding mode via the `quarkus` command" }, { "from": "gpt", "value": "`quarkus dev`" } ]
[ { "from": "human", "value": "Run the application via the `quarkus` command" }, { "from": "gpt", "value": "`quarkus run`" } ]
[ { "from": "human", "value": "Run the current project in continuous testing mode via the `quarkus` command" }, { "from": "gpt", "value": "`quarkus test`" } ]
[ { "from": "human", "value": "Add one or more extensions to the current project via the `quarkus` command" }, { "from": "gpt", "value": "`quarkus extension add {{extension_name1 extension_name2 ...}}`" } ]