conversations
listlengths
2
2
[ { "from": "human", "value": "Find hosts in the local network with SMB shares" }, { "from": "gpt", "value": "nmblookup -S '*'" } ]
[ { "from": "human", "value": "Find hosts in the local network with SMB shares run by SAMBA" }, { "from": "gpt", "value": "nmblookup --status __SAMBA__" } ]
[ { "from": "human", "value": "Start a REPL (interactive shell)" }, { "from": "gpt", "value": "clj" } ]
[ { "from": "human", "value": "Execute a function" }, { "from": "gpt", "value": "clj -X namespace/function_name" } ]
[ { "from": "human", "value": "Run the main function of a specified namespace" }, { "from": "gpt", "value": "clj -M -m namespace args" } ]
[ { "from": "human", "value": "Prepare a project by resolving dependencies, downloading libraries, and making/caching classpaths" }, { "from": "gpt", "value": "clj -P" } ]
[ { "from": "human", "value": "Start an nREPL server with the CIDER middleware" }, { "from": "gpt", "value": "clj -Sdeps '{:deps {nrepl {:mvn/version \"0.7.0\"} cider/cider-nrepl {:mvn/version \"0.25.2\"}}}' -m nrepl.cmdline --middleware '[\"cider.nrepl/cider-middleware\"]' --interactive" } ]
[ { "from": "human", "value": "Start a REPL for ClojureScript and open a web browser" }, { "from": "gpt", "value": "clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version \"1.10.758\"}}}' --main cljs.main --repl" } ]
[ { "from": "human", "value": "Convert a HP PaintJet file to PPM" }, { "from": "gpt", "value": "pjtoppm path/to/input.pj > path/to/output.ppm" } ]
[ { "from": "human", "value": "Update all packages in the current project" }, { "from": "gpt", "value": "npm update" } ]
[ { "from": "human", "value": "Update a specific package in the current project" }, { "from": "gpt", "value": "npm update package" } ]
[ { "from": "human", "value": "Update a package globally" }, { "from": "gpt", "value": "npm update -g package" } ]
[ { "from": "human", "value": "Update multiple packages at once" }, { "from": "gpt", "value": "npm update package1 package2 ..." } ]
[ { "from": "human", "value": "Generate statistics for a local repository" }, { "from": "gpt", "value": "gitstats path/to/git_repo/.git path/to/output_folder" } ]
[ { "from": "human", "value": "View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux" }, { "from": "gpt", "value": "Invoke-Item|open|xdg-open path/to/output_folder/index.html" } ]
[ { "from": "human", "value": "Mount a disk image on the connected device" }, { "from": "gpt", "value": "ideviceimagemounter path/to/image_file path/to/signature_file" } ]
[ { "from": "human", "value": "List currently mounted disk images" }, { "from": "gpt", "value": "ideviceimagemounter --list" } ]
[ { "from": "human", "value": "Create a context using a specific Docker endpoint" }, { "from": "gpt", "value": "docker context create my_context --docker \"host=tcp://remote-host:2375\"" } ]
[ { "from": "human", "value": "Create a context based on the `DOCKER_HOST` environment variable" }, { "from": "gpt", "value": "docker context create my_context" } ]
[ { "from": "human", "value": "Switch to a context" }, { "from": "gpt", "value": "docker context use my_context" } ]
[ { "from": "human", "value": "List all contexts" }, { "from": "gpt", "value": "docker context ls" } ]
[ { "from": "human", "value": "Push image based on a base image" }, { "from": "gpt", "value": "crane append [-b|--base] image_name" } ]
[ { "from": "human", "value": "Push image with appended layer from tarball" }, { "from": "gpt", "value": "crane append [-f|--new_layer] layer_name1 layer_name2 ..." } ]
[ { "from": "human", "value": "Push image with appended layer with new tag" }, { "from": "gpt", "value": "crane append [-t|--new_tag] tag_name" } ]
[ { "from": "human", "value": "Push resulting image to new tarball" }, { "from": "gpt", "value": "crane append [-o|--output] path/to/tarball" } ]
[ { "from": "human", "value": "Use empty base image of type OCI media instead of Docker" }, { "from": "gpt", "value": "crane append --oci-empty-base" } ]
[ { "from": "human", "value": "Annotate resulting image as being based on the base image" }, { "from": "gpt", "value": "crane append --set-base-image-annotations" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "crane append [-h|--help]" } ]
[ { "from": "human", "value": "Invoke `moro` without parameters, to set the current time as the start of the working day" }, { "from": "gpt", "value": "moro" } ]
[ { "from": "human", "value": "Specify a custom time for the start of the working day" }, { "from": "gpt", "value": "moro hi 09:30" } ]
[ { "from": "human", "value": "Invoke `moro` without parameters a second time, to set the current time at the end of the working day" }, { "from": "gpt", "value": "moro" } ]
[ { "from": "human", "value": "Specify a custom time for the end of the working day" }, { "from": "gpt", "value": "moro bye 17:30" } ]
[ { "from": "human", "value": "Add a note on the current working day" }, { "from": "gpt", "value": "moro note 3 hours on project Foo" } ]
[ { "from": "human", "value": "Show a report of time logs and notes for the current working day" }, { "from": "gpt", "value": "moro report" } ]
[ { "from": "human", "value": "Show a report of time logs and notes for all working days on record" }, { "from": "gpt", "value": "moro report --all" } ]
[ { "from": "human", "value": "View documentation for `frpc`, the `frp` client component" }, { "from": "gpt", "value": "tldr frpc" } ]
[ { "from": "human", "value": "View documentation for `frps`, the `frp` server component" }, { "from": "gpt", "value": "tldr frps" } ]
[ { "from": "human", "value": "Scale an image such that the result has the specified dimensions" }, { "from": "gpt", "value": "pamscale [-wid|-width] width [-h|-height] height path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Scale an image such that the result has the specified width, keeping the aspect ratio" }, { "from": "gpt", "value": "pamscale [-wid|-width] width path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Scale an image such that its width and height is changed by the specified factors" }, { "from": "gpt", "value": "pamscale [-xsc|-xscale] x_factor [-ysc|-yscale] y_factor path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Scale an image such that it fits into the specified bounding box while preserving its aspect ratio" }, { "from": "gpt", "value": "pamscale -xyfit bbox_width bbox_height path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Scale an image such that it completely fills the specified box while preserving its aspect ratio" }, { "from": "gpt", "value": "pamscale -xyfill box_width box_height path/to/input.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Start MySQL Shell in interactive mode" }, { "from": "gpt", "value": "mysqlsh" } ]
[ { "from": "human", "value": "Connect to a MySQL server" }, { "from": "gpt", "value": "mysqlsh --user username --host hostname --port port" } ]
[ { "from": "human", "value": "Execute an SQL statement on the server and exit" }, { "from": "gpt", "value": "mysqlsh --user username --execute 'sql_statement'" } ]
[ { "from": "human", "value": "Start MySQL Shell in JavaScript mode" }, { "from": "gpt", "value": "mysqlsh --js" } ]
[ { "from": "human", "value": "Start MySQL Shell in Python mode" }, { "from": "gpt", "value": "mysqlsh --py" } ]
[ { "from": "human", "value": "Import JSON documents into a MySQL collection" }, { "from": "gpt", "value": "mysqlsh --import path/to/file.json --schema schema_name --collection collection_name" } ]
[ { "from": "human", "value": "Enable verbose output" }, { "from": "gpt", "value": "mysqlsh --verbose" } ]
[ { "from": "human", "value": "Update `ibmcloud` to the latest version" }, { "from": "gpt", "value": "ibmcloud update" } ]
[ { "from": "human", "value": "Install the Cloud Foundry module for accessing Cloud Foundry services" }, { "from": "gpt", "value": "ibmcloud cf install" } ]
[ { "from": "human", "value": "List all available IBM Cloud regions" }, { "from": "gpt", "value": "ibmcloud regions" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "ibmcloud help" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "ibmcloud help subcommand" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "ibmcloud version" } ]
[ { "from": "human", "value": "Produce an image containing thumbnails of the specified images in a grid" }, { "from": "gpt", "value": "pnmindex path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm" } ]
[ { "from": "human", "value": "Specify the size of the (quadratic) thumbnails" }, { "from": "gpt", "value": "pnmindex [-s|-size] 50 path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm" } ]
[ { "from": "human", "value": "Specify the number of thumbnails per row" }, { "from": "gpt", "value": "pnmindex [-a|-across] 10 path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm" } ]
[ { "from": "human", "value": "Specify the maximum number of colors in the output" }, { "from": "gpt", "value": "pnmindex [-c|-colors] 512 path/to/input1.pnm path/to/input2.pnm ... > path/to/output.pnm" } ]
[ { "from": "human", "value": "List IPP printers registered on the network with their status" }, { "from": "gpt", "value": "ippfind --ls" } ]
[ { "from": "human", "value": "Send a specific PostScript document to every PostScript printer on the network" }, { "from": "gpt", "value": "ippfind --txt-pdl application/postscript --exec ipptool -f path/to/document.ps '{}' print-job.test \\;" } ]
[ { "from": "human", "value": "Send a PostScript test document to every PostScript printer on the network" }, { "from": "gpt", "value": "ippfind --txt-pdl application/postscript --exec ipptool -f onepage-letter.ps '{}' print-job.test \\;" } ]
[ { "from": "human", "value": "Send a PostScript test document to every PostScript printer on the network, whose name matches a regular expression" }, { "from": "gpt", "value": "ippfind --txt-pdl application/postscript --host regex --exec ipptool -f onepage-letter.ps '{}' print-job.test \\;" } ]
[ { "from": "human", "value": "Convert from CSV to TSV" }, { "from": "gpt", "value": "csv2tsv path/to/input_csv1 path/to/input_csv2 ... > path/to/output_tsv" } ]
[ { "from": "human", "value": "Convert field delimiter separated CSV to TSV" }, { "from": "gpt", "value": "csv2tsv -c'field_delimiter' path/to/input_csv" } ]
[ { "from": "human", "value": "Convert semicolon separated CSV to TSV" }, { "from": "gpt", "value": "csv2tsv -c';' path/to/input_csv" } ]
[ { "from": "human", "value": "Show functions in the current project" }, { "from": "gpt", "value": "list functions;" } ]
[ { "from": "human", "value": "Create a Java function using a `.jar` resource" }, { "from": "gpt", "value": "create function func_name as path.to.package.Func using 'package.jar';" } ]
[ { "from": "human", "value": "Create a Python function using a `.py` resource" }, { "from": "gpt", "value": "create function func_name as script.Func using 'script.py';" } ]
[ { "from": "human", "value": "Delete a function" }, { "from": "gpt", "value": "drop function func_name;" } ]
[ { "from": "human", "value": "Search for a pattern within a Zip archive" }, { "from": "gpt", "value": "zipgrep \"search_pattern\" path/to/file.zip" } ]
[ { "from": "human", "value": "Print file name and line number for each match" }, { "from": "gpt", "value": "zipgrep -H -n \"search_pattern\" path/to/file.zip" } ]
[ { "from": "human", "value": "Search for lines that do not match a pattern" }, { "from": "gpt", "value": "zipgrep -v \"search_pattern\" path/to/file.zip" } ]
[ { "from": "human", "value": "Specify files inside a Zip archive from search" }, { "from": "gpt", "value": "zipgrep \"search_pattern\" path/to/file.zip file/to/search1 file/to/search2" } ]
[ { "from": "human", "value": "Exclude files inside a Zip archive from search" }, { "from": "gpt", "value": "zipgrep \"search_pattern\" path/to/file.zip -x file/to/exclude1 file/to/exclude2" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr git-cola" } ]
[ { "from": "human", "value": "Render a CommonMark Markdown file to HTML" }, { "from": "gpt", "value": "cmark --to html filename.md" } ]
[ { "from": "human", "value": "Convert data from `stdin` to LaTeX" }, { "from": "gpt", "value": "cmark --to latex" } ]
[ { "from": "human", "value": "Convert straight quotes to smart quotes" }, { "from": "gpt", "value": "cmark --smart --to html filename.md" } ]
[ { "from": "human", "value": "Validate UTF-8 characters" }, { "from": "gpt", "value": "cmark --validate-utf8 filename.md" } ]
[ { "from": "human", "value": "Extract a file from an archive, replacing the original file if it exists" }, { "from": "gpt", "value": "gunzip archive.tar.gz" } ]
[ { "from": "human", "value": "Extract a file to a target destination" }, { "from": "gpt", "value": "gunzip --stdout archive.tar.gz > archive.tar" } ]
[ { "from": "human", "value": "Extract a file and keep the archive file" }, { "from": "gpt", "value": "gunzip --keep archive.tar.gz" } ]
[ { "from": "human", "value": "List the contents of a compressed file" }, { "from": "gpt", "value": "gunzip --list file.txt.gz" } ]
[ { "from": "human", "value": "Decompress an archive from `stdin`" }, { "from": "gpt", "value": "cat path/to/archive.gz | gunzip" } ]
[ { "from": "human", "value": "Analyze duplicated code for a specific file or directory" }, { "from": "gpt", "value": "phpcpd path/to/file_or_directory" } ]
[ { "from": "human", "value": "Analyze using fuzzy matching for variable names" }, { "from": "gpt", "value": "phpcpd --fuzzy path/to/file_or_directory" } ]
[ { "from": "human", "value": "Specify a minimum number of identical lines (defaults to 5)" }, { "from": "gpt", "value": "phpcpd --min-lines number_of_lines path/to/file_or_directory" } ]
[ { "from": "human", "value": "Specify a minimum number of identical tokens (defaults to 70)" }, { "from": "gpt", "value": "phpcpd --min-tokens number_of_tokens path/to/file_or_directory" } ]
[ { "from": "human", "value": "Exclude a directory from analysis (must be relative to the source)" }, { "from": "gpt", "value": "phpcpd --exclude path/to/excluded_directory path/to/file_or_directory" } ]
[ { "from": "human", "value": "Output the results to a PHP-CPD XML file" }, { "from": "gpt", "value": "phpcpd --log-pmd path/to/log_file path/to/file_or_directory" } ]
[ { "from": "human", "value": "Show all ID3v1 tags of a specific MP3 file" }, { "from": "gpt", "value": "mp3info path/to/file.mp3" } ]
[ { "from": "human", "value": "Edit ID3v1 tags interactively" }, { "from": "gpt", "value": "mp3info -i path/to/file.mp3" } ]
[ { "from": "human", "value": "Set values for ID3v1 tags in a specific MP3 file" }, { "from": "gpt", "value": "mp3info -a \"artist_name\" -t \"song_title\" -l \"album_title\" -y year -c \"comment_text\" path/to/file.mp3" } ]
[ { "from": "human", "value": "Set the number of the track in the album for a specific MP3 file" }, { "from": "gpt", "value": "mp3info -n track_number path/to/file.mp3" } ]
[ { "from": "human", "value": "Print a list of valid genres and their numeric codes" }, { "from": "gpt", "value": "mp3info -G" } ]
[ { "from": "human", "value": "Set the music genre for a specific MP3 file" }, { "from": "gpt", "value": "mp3info -g genre_number path/to/file.mp3" } ]
[ { "from": "human", "value": "List jobs" }, { "from": "gpt", "value": "aws glue list-jobs" } ]
[ { "from": "human", "value": "Start a job" }, { "from": "gpt", "value": "aws glue start-job-run --job-name job_name" } ]
[ { "from": "human", "value": "Start running a workflow" }, { "from": "gpt", "value": "aws glue start-workflow-run --name workflow_name" } ]