conversations
listlengths
2
2
[ { "from": "human", "value": "Require a password in (web) server mode via the `glances` command" }, { "from": "gpt", "value": "`glances {{[-s|--server]}} --password`" } ]
[ { "from": "human", "value": "Exit Glances via the `glances` command" }, { "from": "gpt", "value": "`<q>`" } ]
[ { "from": "human", "value": "Display help via the `glances` command" }, { "from": "gpt", "value": "`glances {{[-h|--help]}}`" } ]
[ { "from": "human", "value": "Tell me about `gleam`." }, { "from": "gpt", "value": "The compiler, build tool, package manager and code formatter for Gleam, \"a friendly language for building type-safe systems that scale!\".\nMore information: <https://gleam.run/writing-gleam/command-line-referenc...
[ { "from": "human", "value": "Create a new gleam project via the `gleam` command" }, { "from": "gpt", "value": "`gleam new {{project_name}}`" } ]
[ { "from": "human", "value": "Build and run a gleam project via the `gleam` command" }, { "from": "gpt", "value": "`gleam run`" } ]
[ { "from": "human", "value": "Build the project via the `gleam` command" }, { "from": "gpt", "value": "`gleam build`" } ]
[ { "from": "human", "value": "Run a project for a particular platform and runtime via the `gleam` command" }, { "from": "gpt", "value": "`gleam run --target {{platform}} --runtime {{runtime}}`" } ]
[ { "from": "human", "value": "Add a hex dependency to your project via the `gleam` command" }, { "from": "gpt", "value": "`gleam add {{dependency_name}}`" } ]
[ { "from": "human", "value": "Run project tests via the `gleam` command" }, { "from": "gpt", "value": "`gleam test`" } ]
[ { "from": "human", "value": "Format source code via the `gleam` command" }, { "from": "gpt", "value": "`gleam format`" } ]
[ { "from": "human", "value": "Type check the project via the `gleam` command" }, { "from": "gpt", "value": "`gleam check`" } ]
[ { "from": "human", "value": "Tell me about `glib-compile-resources`." }, { "from": "gpt", "value": "Compiles resource files (e.g. images) into a binary resource bundle.\nThese may be linked into GTK applications using the GResource API.\nMore information: <https://manned.org/glib-compile-resourc...
[ { "from": "human", "value": "Compile resources referenced in `file.gresource.xml` to a .gresource binary via the `glib-compile-resources` command" }, { "from": "gpt", "value": "`glib-compile-resources {{file.gresource.xml}}`" } ]
[ { "from": "human", "value": "Compile resources referenced in `file.gresource.xml` to a C source file via the `glib-compile-resources` command" }, { "from": "gpt", "value": "`glib-compile-resources --generate-source {{file.gresource.xml}}`" } ]
[ { "from": "human", "value": "Compile resources in `file.gresource.xml` to a chosen target file, with `.c`, `.h` or `.gresource` extension via the `glib-compile-resources` command" }, { "from": "gpt", "value": "`glib-compile-resources --generate --target={{file.ext}} {{file.gresource.xml}}`" } ...
[ { "from": "human", "value": "Print a list of resource files referenced in `file.gresource.xml` via the `glib-compile-resources` command" }, { "from": "gpt", "value": "`glib-compile-resources --generate-dependencies {{file.gresource.xml}}`" } ]
[ { "from": "human", "value": "Tell me about `glow`." }, { "from": "gpt", "value": "Render Markdown in the terminal.\nMore information: <https://github.com/charmbracelet/glow>.\n" } ]
[ { "from": "human", "value": "Run glow and select a file to view via the `glow` command" }, { "from": "gpt", "value": "`glow`" } ]
[ { "from": "human", "value": "Render a Markdown file to the terminal via the `glow` command" }, { "from": "gpt", "value": "`glow {{path/to/file}}`" } ]
[ { "from": "human", "value": "View a Markdown file using a paginator via the `glow` command" }, { "from": "gpt", "value": "`glow -p {{path/to/file}}`" } ]
[ { "from": "human", "value": "View a file from a URL via the `glow` command" }, { "from": "gpt", "value": "`glow {{https://example.com/file.md}}`" } ]
[ { "from": "human", "value": "View a GitHub/GitLab README via the `glow` command" }, { "from": "gpt", "value": "`glow {{github.com/owner/repository}}`" } ]
[ { "from": "human", "value": "Tell me about `g++`." }, { "from": "gpt", "value": "Compile C++ source files.\nPart of GCC (GNU Compiler Collection).\nMore information: <https://gcc.gnu.org>.\n" } ]
[ { "from": "human", "value": "Compile a source code file into an executable binary via the `g++` command" }, { "from": "gpt", "value": "`g++ {{path/to/source1.cpp path/to/source2.cpp ...}} {{[-o|--output]}} {{path/to/output_executable}}`" } ]
[ { "from": "human", "value": "Activate output of all errors and warnings via the `g++` command" }, { "from": "gpt", "value": "`g++ {{path/to/source.cpp}} -Wall {{[-o|--output]}} {{output_executable}}`" } ]
[ { "from": "human", "value": "Show common warnings, debug symbols in output, and optimize without affecting debugging via the `g++` command" }, { "from": "gpt", "value": "`g++ {{path/to/source.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}`" } ]
[ { "from": "human", "value": "Choose a language standard to compile for (C++98/C++11/C++14/C++17) via the `g++` command" }, { "from": "gpt", "value": "`g++ {{path/to/source.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{path/to/output_executable}}`" } ]
[ { "from": "human", "value": "Include libraries located at a different path than the source file via the `g++` command" }, { "from": "gpt", "value": "`g++ {{path/to/source.cpp}} {{[-o|--output]}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}`" } ]
[ { "from": "human", "value": "Compile and link multiple source code files into an executable binary via the `g++` command" }, { "from": "gpt", "value": "`g++ {{[-c|--compile]}} {{path/to/source1.cpp path/to/source2.cpp ...}} && g++ {{[-o|--output]}} {{path/to/output_executable}} {{path/to/source1...
[ { "from": "human", "value": "Optimize the compiled program for performance via the `g++` command" }, { "from": "gpt", "value": "`g++ {{path/to/source.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{path/to/output_executable}}`" } ]
[ { "from": "human", "value": "Display version via the `g++` command" }, { "from": "gpt", "value": "`g++ --version`" } ]
[ { "from": "human", "value": "Tell me about `gml2gv`." }, { "from": "gpt", "value": "Convert a graph from `gml` to `gv` format.\nConverters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`.\nMore information: <https://graphviz.org/pdf/gml2gv.1.pdf>.\n" } ]
[ { "from": "human", "value": "Convert a graph from `gml` to `gv` format via the `gml2gv` command" }, { "from": "gpt", "value": "`gml2gv -o {{output.gv}} {{input.gml}}`" } ]
[ { "from": "human", "value": "Convert a graph using `stdin` and `stdout` via the `gml2gv` command" }, { "from": "gpt", "value": "`cat {{input.gml}} | gml2gv > {{output.gv}}`" } ]
[ { "from": "human", "value": "Display help via the `gml2gv` command" }, { "from": "gpt", "value": "`gml2gv -?`" } ]
[ { "from": "human", "value": "Tell me about `gmssl`." }, { "from": "gpt", "value": "GmSSL is a crypto toolkit supporting SM1, SM2, SM3, SM4, SM9, and ZUC/ZUC256.\nMore information: <http://gmssl.org/english.html>.\n" } ]
[ { "from": "human", "value": "Generate an SM3 hash for a file via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl sm3 {{path/to/file}}`" } ]
[ { "from": "human", "value": "Encrypt a file using the SM4 cipher via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl sms4 -e -in {{path/to/file}} -out {{path/to/file.sms4}}`" } ]
[ { "from": "human", "value": "Decrypt a file using the SM4 cipher via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl sms4 -d -in {{path/to/file.sms4}}`" } ]
[ { "from": "human", "value": "Generate an SM2 private key via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl sm2 -genkey -out {{path/to/file.pem}}`" } ]
[ { "from": "human", "value": "Generate an SM2 public key from an existing private key via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl sm2 -pubout -in {{path/to/file.pem}} -out {{path/to/file.pem.pub}}`" } ]
[ { "from": "human", "value": "Encrypt a file using the ZUC cipher via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl zuc -e -in {{path/to/file}} -out {{path/to/file.zuc}}`" } ]
[ { "from": "human", "value": "Decrypt a file using the ZUC cipher via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl zuc -d -in {{path/to/file.zuc}}`" } ]
[ { "from": "human", "value": "Display version via the `gmssl` command" }, { "from": "gpt", "value": "`gmssl version`" } ]
[ { "from": "human", "value": "Tell me about `gnatmake`." }, { "from": "gpt", "value": "A low-level build tool for Ada programs (part of the GNAT toolchain).\nMore information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Switches-for-gnatmake.html>.\n" } ]
[ { "from": "human", "value": "Compile an executable via the `gnatmake` command" }, { "from": "gpt", "value": "`gnatmake {{source_file1.adb source_file2.adb ...}}`" } ]
[ { "from": "human", "value": "Set a custom executable name via the `gnatmake` command" }, { "from": "gpt", "value": "`gnatmake -o {{executable_name}} {{source_file.adb}}`" } ]
[ { "from": "human", "value": "[f]orce recompilation via the `gnatmake` command" }, { "from": "gpt", "value": "`gnatmake -f {{source_file.adb}}`" } ]
[ { "from": "human", "value": "Tell me about `gnatprep`." }, { "from": "gpt", "value": "Preprocessor for Ada source code files (part of the GNAT toolchain).\nMore information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Preprocessing-with-gnatprep.html>.\n" } ]
[ { "from": "human", "value": "Use symbol definitions from a file via the `gnatprep` command" }, { "from": "gpt", "value": "`gnatprep {{source_file}} {{target_file}} {{definitions_file}}`" } ]
[ { "from": "human", "value": "Specify symbol values in the command-line via the `gnatprep` command" }, { "from": "gpt", "value": "`gnatprep -D{{name}}={{value}} {{source_file}} {{target_file}}`" } ]
[ { "from": "human", "value": "Tell me about `gnmic get`." }, { "from": "gpt", "value": "Get a snapshot of a gnmi network device operation data.\nMore information: <https://gnmic.kmrd.dev/cmd/get>.\n" } ]
[ { "from": "human", "value": "Get a snapshot of the device state at a specific path via the `gnmic-get` command" }, { "from": "gpt", "value": "`gnmic --address {{ip:port}} get --path {{path}}`" } ]
[ { "from": "human", "value": "Query the device state at multiple paths via the `gnmic-get` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} get --path {{path/to/file_or_directory1}} --path {{path/to/file_or_directory2}}`" } ]
[ { "from": "human", "value": "Query the device state at multiple paths with a common prefix via the `gnmic-get` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} get --prefix {{prefix}} --path {{path/to/file_or_directory1}} --path {{path/to/file_or_directory2}}`" } ]
[ { "from": "human", "value": "Query the device state and specify response encoding (json_ietf) via the `gnmic-get` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} get --path {{path}} --encoding json_ietf`" } ]
[ { "from": "human", "value": "Tell me about `gnmic`." }, { "from": "gpt", "value": "A gNMI command-line client.\nManage gNMI network device configuration and view operational data.\nMore information: <https://gnmic.kmrd.dev>.\n" } ]
[ { "from": "human", "value": "Request device capabilities via the `gnmic` command" }, { "from": "gpt", "value": "`gnmic --address {{ip:port}} capabilities`" } ]
[ { "from": "human", "value": "Provide a username and password to fetch device capabilities via the `gnmic` command" }, { "from": "gpt", "value": "`gnmic --address {{ip:port}} --username {{username}} --password {{password}} capabilities`" } ]
[ { "from": "human", "value": "Get a snapshot of the device state at a specific path via the `gnmic` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} get --path {{path}}`" } ]
[ { "from": "human", "value": "Update device state at a specific path via the `gnmic` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} set --update-path {{path}} --update-value {{value}}`" } ]
[ { "from": "human", "value": "Subscribe to target state updates under the subtree at a specific path via the `gnmic` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} subscribe --path {{path}}`" } ]
[ { "from": "human", "value": "Tell me about `gnmic set`." }, { "from": "gpt", "value": "Modify gnmi network device configuration.\nMore information: <https://gnmic.kmrd.dev/cmd/set>.\n" } ]
[ { "from": "human", "value": "Update the value of a path via the `gnmic-set` command" }, { "from": "gpt", "value": "`gnmic --address {{ip:port}} set --update-path {{path}} --update-value {{value}}`" } ]
[ { "from": "human", "value": "Update the value of a path to match the contents of a JSON file via the `gnmic-set` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} set --update-path {{path}} --update-file {{filepath}}`" } ]
[ { "from": "human", "value": "Replace the value of a path to match the contents of a JSON file via the `gnmic-set` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} set --replace-path {{path}} --replace-file {{filepath}}`" } ]
[ { "from": "human", "value": "Delete the node at a given path via the `gnmic-set` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} set --delete {{path}}`" } ]
[ { "from": "human", "value": "Tell me about `gnmic sub`." }, { "from": "gpt", "value": "This command is an alias of `gnmic subscribe`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `gnmic-sub` command" }, { "from": "gpt", "value": "`tldr gnmic subscribe`" } ]
[ { "from": "human", "value": "Tell me about `gnmic subscribe`." }, { "from": "gpt", "value": "Subscribe to a gnmic network device state updates.\nMore information: <https://gnmic.kmrd.dev/cmd/subscribe>.\n" } ]
[ { "from": "human", "value": "Subscribe to target state updates under the subtree of a specific path via the `gnmic-subscribe` command" }, { "from": "gpt", "value": "`gnmic --address {{ip:port}} subscribe --path {{path}}`" } ]
[ { "from": "human", "value": "Subscribe to a target with a sample interval of 30s (default is 10s) via the `gnmic-subscribe` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} subscribe --path {{path}} --sample-interval 30s`" } ]
[ { "from": "human", "value": "Subscribe to a target with sample interval and updates only on change via the `gnmic-subscribe` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} subscribe --path {{path}} --stream-mode on-change --heartbeat-interval 1m`" } ]
[ { "from": "human", "value": "Subscribe to a target for only one update via the `gnmic-subscribe` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} subscribe --path {{path}} --mode once`" } ]
[ { "from": "human", "value": "Subscribe to a target and specify response encoding (json_ietf) via the `gnmic-subscribe` command" }, { "from": "gpt", "value": "`gnmic -a {{ip:port}} subscribe --path {{path}} --encoding json_ietf`" } ]
[ { "from": "human", "value": "Tell me about `gnomon`." }, { "from": "gpt", "value": "Utility to annotate console logging statements with timestamps and find slow processes.\nMore information: <https://github.com/paypal/gnomon>.\n" } ]
[ { "from": "human", "value": "Use UNIX (or DOS) pipes to pipe `stdout` of any command through gnomon via the `gnomon` command" }, { "from": "gpt", "value": "`{{npm test}} | gnomon`" } ]
[ { "from": "human", "value": "Show number of seconds since the start of the process via the `gnomon` command" }, { "from": "gpt", "value": "`{{npm test}} | gnomon --type=elapsed-total`" } ]
[ { "from": "human", "value": "Show an absolute timestamp in UTC via the `gnomon` command" }, { "from": "gpt", "value": "`{{npm test}} | gnomon --type=absolute`" } ]
[ { "from": "human", "value": "Use a high threshold of 0.5 seconds, exceeding which the timestamp will be colored bright red via the `gnomon` command" }, { "from": "gpt", "value": "`{{npm test}} | gnomon --high 0.5`" } ]
[ { "from": "human", "value": "Use a medium threshold of 0.2 seconds, exceeding which the timestamp will be colored bright yellow via the `gnomon` command" }, { "from": "gpt", "value": "`{{npm test}} | gnomon --medium {{0.2}}`" } ]
[ { "from": "human", "value": "Tell me about `gnucash-cli`." }, { "from": "gpt", "value": "A command-line version of GnuCash.\nMore information: <https://gnucash.org>.\n" } ]
[ { "from": "human", "value": "Get quotes for currencies and stocks specified in a file and print them via the `gnucash-cli` command" }, { "from": "gpt", "value": "`gnucash-cli --quotes get {{path/to/file.gnucash}}`" } ]
[ { "from": "human", "value": "Generate a financial report of a specific type, specified by `--name` via the `gnucash-cli` command" }, { "from": "gpt", "value": "`gnucash-cli --report run --name \"{{Balance Sheet}}\" {{path/to/file.gnucash}}`" } ]
[ { "from": "human", "value": "Tell me about `gnucash`." }, { "from": "gpt", "value": "Personal and small-business financial-accounting software.\nMore information: <https://gnucash.org>.\n" } ]
[ { "from": "human", "value": "Launch GnuCash and load the previously opened file via the `gnucash` command" }, { "from": "gpt", "value": "`gnucash`" } ]
[ { "from": "human", "value": "Launch GnuCash and load the specified file via the `gnucash` command" }, { "from": "gpt", "value": "`gnucash {{path/to/file.gnucash}}`" } ]
[ { "from": "human", "value": "Launch GnuCash and load an empty file via the `gnucash` command" }, { "from": "gpt", "value": "`gnucash --nofile`" } ]
[ { "from": "human", "value": "Tell me about `gnuplot`." }, { "from": "gpt", "value": "A graph plotter that outputs in several formats.\nMore information: <http://www.gnuplot.info/>.\n" } ]
[ { "from": "human", "value": "Start the interactive graph plotting shell via the `gnuplot` command" }, { "from": "gpt", "value": "`gnuplot`" } ]
[ { "from": "human", "value": "Plot the graph for the specified graph definition file via the `gnuplot` command" }, { "from": "gpt", "value": "`gnuplot {{path/to/definition.plt}}`" } ]
[ { "from": "human", "value": "Set the output format by executing a command before loading the definition file via the `gnuplot` command" }, { "from": "gpt", "value": "`gnuplot -e \"{{set output \"path/to/filename.png\" size 1024,768}}\" {{path/to/definition.plt}}`" } ]
[ { "from": "human", "value": "Persist the graph plot preview window after gnuplot exits via the `gnuplot` command" }, { "from": "gpt", "value": "`gnuplot {{[-p|--persist]}} {{path/to/definition.plt}}`" } ]
[ { "from": "human", "value": "Tell me about `go bug`." }, { "from": "gpt", "value": "Report a bug.\nMore information: <https://golang.org/cmd/go/#hdr-Start_a_bug_report>.\n" } ]
[ { "from": "human", "value": "Open a web page to start a bug report via the `go-bug` command" }, { "from": "gpt", "value": "`go bug`" } ]
[ { "from": "human", "value": "Tell me about `go build`." }, { "from": "gpt", "value": "Compile Go sources.\nMore information: <https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies>.\n" } ]
[ { "from": "human", "value": "Compile a 'package main' file (output will be the filename without extension) via the `go-build` command" }, { "from": "gpt", "value": "`go build {{path/to/main.go}}`" } ]
[ { "from": "human", "value": "Compile, specifying the output filename via the `go-build` command" }, { "from": "gpt", "value": "`go build -o {{path/to/binary}} {{path/to/source.go}}`" } ]
[ { "from": "human", "value": "Compile a package via the `go-build` command" }, { "from": "gpt", "value": "`go build -o {{path/to/binary}} {{path/to/package}}`" } ]