conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Convert dates in filenames from \"M-D-Y\" format to \"D-M-Y\" format via the `mmv` command"
},
{
"from": "gpt",
"value": "`mmv \"{{[0-1][0-9]-[0-3][0-9]-[0-9][0-9][0-9][0-9].txt}}\" \"{{#3#4-#1#2-#5#6#7#8.txt}}\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mocha`."
},
{
"from": "gpt",
"value": "A feature-rich JavaScript test framework.\nMore information: <https://mochajs.org>.\n"
}
] |
[
{
"from": "human",
"value": "Run tests with default configuration or as configured in `mocha.opts` via the `mocha` command"
},
{
"from": "gpt",
"value": "`mocha`"
}
] |
[
{
"from": "human",
"value": "Run tests contained at a specific location via the `mocha` command"
},
{
"from": "gpt",
"value": "`mocha {{directory/with/tests}}`"
}
] |
[
{
"from": "human",
"value": "Run tests that match a specific `grep` pattern via the `mocha` command"
},
{
"from": "gpt",
"value": "`mocha --grep {{regular_expression}}`"
}
] |
[
{
"from": "human",
"value": "Run tests on changes to JavaScript files in the current directory and once initially via the `mocha` command"
},
{
"from": "gpt",
"value": "`mocha --watch`"
}
] |
[
{
"from": "human",
"value": "Run tests with a specific reporter via the `mocha` command"
},
{
"from": "gpt",
"value": "`mocha --reporter {{reporter}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mods`."
},
{
"from": "gpt",
"value": "AI for the command-line, built for pipelines.\nMore information: <https://github.com/charmbracelet/mods>.\n"
}
] |
[
{
"from": "human",
"value": "Ask a generic question via the `mods` command"
},
{
"from": "gpt",
"value": "`mods \"{{write me a poem about platypuses}}\"`"
}
] |
[
{
"from": "human",
"value": "Open settings in your `$EDITOR` via the `mods` command"
},
{
"from": "gpt",
"value": "`mods --settings`"
}
] |
[
{
"from": "human",
"value": "Ask for comments on your code, in markdown format via the `mods` command"
},
{
"from": "gpt",
"value": "`mods --format \"{{what are your thoughts on improving this code?}}\" < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Ask for help with your documentation, in markdown format via the `mods` command"
},
{
"from": "gpt",
"value": "`mods --format \"{{write a new section to this readme for a feature that sends you a free rabbit if you hit r}}\" < {{README.md}}`"
}
] |
[
{
"from": "human",
"value": "Organize your videos, in markdown format via the `mods` command"
},
{
"from": "gpt",
"value": "`ls {{path/to/videos}} | mods --format \"{{organize these by decade and summarize}}\"`"
}
] |
[
{
"from": "human",
"value": "Read through raw HTML and summarize the contents, in markdown format via the `mods` command"
},
{
"from": "gpt",
"value": "`curl \"{{https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00¤t_weather=true&hourly=temperature_2m,relativehumidity_2m,... |
[
{
"from": "human",
"value": "Display help via the `mods` command"
},
{
"from": "gpt",
"value": "`mods --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `moe`."
},
{
"from": "gpt",
"value": "A WYSIWYG text editor for ISO-8859-15 encoded text.\nMore information: <https://www.gnu.org/software/moe/moe.html>.\n"
}
] |
[
{
"from": "human",
"value": "Open moe and create a backup file (file~) when saving edits via the `moe` command"
},
{
"from": "gpt",
"value": "`moe {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Open a file as read-only via the `moe` command"
},
{
"from": "gpt",
"value": "`moe {{[-o|--read-only]}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Edit a file without creating backups via the `moe` command"
},
{
"from": "gpt",
"value": "`moe {{[-B|--no-backup]}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Edit a file ignoring case in searches via the `moe` command"
},
{
"from": "gpt",
"value": "`moe {{[-i|--ignore-case]}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Save and Quit via the `moe` command"
},
{
"from": "gpt",
"value": "`<Ctrl x>`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mogrify`."
},
{
"from": "gpt",
"value": "This command is an alias of `magick mogrify`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `mogrify` command"
},
{
"from": "gpt",
"value": "`tldr magick mogrify`"
}
] |
[
{
"from": "human",
"value": "Tell me about `molecule`."
},
{
"from": "gpt",
"value": "Molecule helps testing Ansible roles.\nMore information: <https://molecule.readthedocs.io>.\n"
}
] |
[
{
"from": "human",
"value": "Create a new Ansible role via the `molecule` command"
},
{
"from": "gpt",
"value": "`molecule init role --role-name {{role_name}}`"
}
] |
[
{
"from": "human",
"value": "Run tests via the `molecule` command"
},
{
"from": "gpt",
"value": "`molecule test`"
}
] |
[
{
"from": "human",
"value": "Start the instance via the `molecule` command"
},
{
"from": "gpt",
"value": "`molecule create`"
}
] |
[
{
"from": "human",
"value": "Configure the instance via the `molecule` command"
},
{
"from": "gpt",
"value": "`molecule converge`"
}
] |
[
{
"from": "human",
"value": "List scenarios of the instance via the `molecule` command"
},
{
"from": "gpt",
"value": "`molecule matrix converge`"
}
] |
[
{
"from": "human",
"value": "Log in into the instance via the `molecule` command"
},
{
"from": "gpt",
"value": "`molecule login`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mongod`."
},
{
"from": "gpt",
"value": "The MongoDB database server.\nMore information: <https://docs.mongodb.com/manual/reference/program/mongod>.\n"
}
] |
[
{
"from": "human",
"value": "Specify the storage directory (default: `/data/db` on Linux and macOS, `C:\\data\\db` on Windows) via the `mongod` command"
},
{
"from": "gpt",
"value": "`mongod --dbpath {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Specify a configuration file via the `mongod` command"
},
{
"from": "gpt",
"value": "`mongod --config {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Specify the port to listen on (default: 27017) via the `mongod` command"
},
{
"from": "gpt",
"value": "`mongod --port {{port}}`"
}
] |
[
{
"from": "human",
"value": "Specify the database profiling level. 0 is off, 1 is only slow operations, 2 is all (default: 0) via the `mongod` command"
},
{
"from": "gpt",
"value": "`mongod --profile {{0|1|2}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mongodump`."
},
{
"from": "gpt",
"value": "Utility to export the contents of a MongoDB instance.\nMore information: <https://docs.mongodb.com/database-tools/mongodump/>.\n"
}
] |
[
{
"from": "human",
"value": "Create a dump of all databases (this will place the files inside a directory called \"dump\") via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump`"
}
] |
[
{
"from": "human",
"value": "Specify an output location for the dump via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump --out {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Create a dump of a given database via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump --db {{database_name}}`"
}
] |
[
{
"from": "human",
"value": "Create a dump of a given collection within a given database via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump --collection {{collection_name}} --db {{database_name}}`"
}
] |
[
{
"from": "human",
"value": "Connect to a given host running on a given port, and create a dump via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump --host {{host}} --port {{port}}`"
}
] |
[
{
"from": "human",
"value": "Create a dump of a given database with a given username; user will be prompted for password via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump --username {{username}} {{database}} --password`"
}
] |
[
{
"from": "human",
"value": "Create a dump from a specific instance; host, user, password and database will be defined in the connection string via the `mongodump` command"
},
{
"from": "gpt",
"value": "`mongodump --uri {{connection_string}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mongoexport`."
},
{
"from": "gpt",
"value": "Produce exports of data stored in a MongoDB instance formatted as JSON or CSV.\nMore information: <https://docs.mongodb.com/database-tools/mongoexport/>.\n"
}
] |
[
{
"from": "human",
"value": "Export a collection to `stdout`, formatted as JSON via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --uri={{connection_string}} --collection={{collection_name}}`"
}
] |
[
{
"from": "human",
"value": "Export the documents in the specified collection that match a query to a JSON file via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --db={{database_name}} --collection={{collection_name}} --query=\"{{query_object}}\" --out={{path/to/file.json... |
[
{
"from": "human",
"value": "Export documents as a JSON array instead of one object per line via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --collection={{collection_name}} --jsonArray`"
}
] |
[
{
"from": "human",
"value": "Export documents to a CSV file via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --collection={{collection_name}} --type={{csv}} --fields=\"{{field1,field2,...}}\" --out={{path/to/file.csv}}`"
}
] |
[
{
"from": "human",
"value": "Export documents that match the query in the specified file to a CSV file, omitting the list of field names on the first line via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --collection={{collection_name}} --type={{csv}} --fields=\"{{field1... |
[
{
"from": "human",
"value": "Export documents to `stdout`, formatted as human-readable JSON via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --uri={{mongodb_uri}} --collection={{collection_name}} --pretty`"
}
] |
[
{
"from": "human",
"value": "Display help via the `mongoexport` command"
},
{
"from": "gpt",
"value": "`mongoexport --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mongoimport`."
},
{
"from": "gpt",
"value": "Imports content from a JSON, CSV, or TSV file into a MongoDB database.\nMore information: <https://docs.mongodb.com/database-tools/mongoimport/>.\n"
}
] |
[
{
"from": "human",
"value": "Import a JSON file into a specific collection via the `mongoimport` command"
},
{
"from": "gpt",
"value": "`mongoimport --file={{path/to/file.json}} --uri={{mongodb_uri}} --collection={{collection_name}}`"
}
] |
[
{
"from": "human",
"value": "Import a CSV file, using the first line of the file to determine field names via the `mongoimport` command"
},
{
"from": "gpt",
"value": "`mongoimport --type={{csv}} --file={{path/to/file.csv}} --db={{database_name}} --collection={{collection_name}}`"
}
] |
[
{
"from": "human",
"value": "Import a JSON array, using each element as a separate document via the `mongoimport` command"
},
{
"from": "gpt",
"value": "`mongoimport --jsonArray --file={{path/to/file.json}}`"
}
] |
[
{
"from": "human",
"value": "Import a JSON file using a specific mode and a query to match existing documents via the `mongoimport` command"
},
{
"from": "gpt",
"value": "`mongoimport --file={{path/to/file.json}} --mode={{delete|merge|upsert}} --upsertFields=\"{{field1,field2,...}}\"`"
}
] |
[
{
"from": "human",
"value": "Import a CSV file, reading field names from a separate CSV file and ignoring fields with empty values via the `mongoimport` command"
},
{
"from": "gpt",
"value": "`mongoimport --type={{csv}} --file={{path/to/file.csv}} --fieldFile={{path/to/field_file.csv}} --ignoreB... |
[
{
"from": "human",
"value": "Display help via the `mongoimport` command"
},
{
"from": "gpt",
"value": "`mongoimport --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mongo`."
},
{
"from": "gpt",
"value": "The legacy MongoDB shell. See `mongosh` for the new shell.\nNote: all connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`.\nMore information: <https://docs... |
[
{
"from": "human",
"value": "Connect to a local database on the default port (`mongodb://localhost:27017`) via the `mongo` command"
},
{
"from": "gpt",
"value": "`mongo`"
}
] |
[
{
"from": "human",
"value": "Connect to a database via the `mongo` command"
},
{
"from": "gpt",
"value": "`mongo --host {{host}} --port {{port}} {{db_name}}`"
}
] |
[
{
"from": "human",
"value": "Authenticate using the specified username on the specified database (you will be prompted for a password) via the `mongo` command"
},
{
"from": "gpt",
"value": "`mongo --host {{host}} --port {{port}} --username {{username}} --authenticationDatabase {{authdb_name}} {{... |
[
{
"from": "human",
"value": "Evaluate a JavaScript expression on a database via the `mongo` command"
},
{
"from": "gpt",
"value": "`mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{db_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mongorestore`."
},
{
"from": "gpt",
"value": "Utility to import a collection or database from a binary dump into a MongoDB instance.\nMore information: <https://docs.mongodb.com/database-tools/mongorestore/>.\n"
}
] |
[
{
"from": "human",
"value": "Import a BSON data dump from a directory to a MongoDB database via the `mongorestore` command"
},
{
"from": "gpt",
"value": "`mongorestore --db {{database_name}} {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Import a BSON data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password) via the `mongorestore` command"
},
{
"from": "gpt",
"value": "`mongorestore --host {{database... |
[
{
"from": "human",
"value": "Import a collection from a BSON file to a MongoDB database via the `mongorestore` command"
},
{
"from": "gpt",
"value": "`mongorestore --db {{database_name}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Import a collection from a BSON file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password) via the `mongorestore` command"
},
{
"from": "gpt",
"value": "`mongorestore --host {{database_hos... |
[
{
"from": "human",
"value": "Tell me about `mongosh`."
},
{
"from": "gpt",
"value": "A new shell for MongoDB, replacement for `mongo`.\nNote: all connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`.\nMore information: <https://www.mongodb... |
[
{
"from": "human",
"value": "Connect to a local database on the default port (`mongodb://localhost:27017`) via the `mongosh` command"
},
{
"from": "gpt",
"value": "`mongosh`"
}
] |
[
{
"from": "human",
"value": "Connect to a database via the `mongosh` command"
},
{
"from": "gpt",
"value": "`mongosh --host {{host}} --port {{port}} {{db_name}}`"
}
] |
[
{
"from": "human",
"value": "Authenticate using the specified username on the specified database (you will be prompted for a password) via the `mongosh` command"
},
{
"from": "gpt",
"value": "`mongosh --host {{host}} --port {{port}} --username {{username}} --authenticationDatabase {{authdb_name}... |
[
{
"from": "human",
"value": "Evaluate a JavaScript expression on a database via the `mongosh` command"
},
{
"from": "gpt",
"value": "`mongosh --eval '{{JSON.stringify(db.foo.findOne())}}' {{db_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `monodevelop`."
},
{
"from": "gpt",
"value": "Cross platform IDE for C#, F# and more.\nMore information: <https://www.monodevelop.com/>.\n"
}
] |
[
{
"from": "human",
"value": "Start MonoDevelop via the `monodevelop` command"
},
{
"from": "gpt",
"value": "`monodevelop`"
}
] |
[
{
"from": "human",
"value": "Open a specific file via the `monodevelop` command"
},
{
"from": "gpt",
"value": "`monodevelop {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Open a specific file with the caret at a specific position via the `monodevelop` command"
},
{
"from": "gpt",
"value": "`monodevelop {{path/to/file}};{{line_number}};{{column_number}}`"
}
] |
[
{
"from": "human",
"value": "Force opening a new window instead of switching to an existing one via the `monodevelop` command"
},
{
"from": "gpt",
"value": "`monodevelop --new-window`"
}
] |
[
{
"from": "human",
"value": "Disable redirection of `stdout` and `stderr` to a log file via the `monodevelop` command"
},
{
"from": "gpt",
"value": "`monodevelop --no-redirect`"
}
] |
[
{
"from": "human",
"value": "Enable performance monitoring via the `monodevelop` command"
},
{
"from": "gpt",
"value": "`monodevelop --perf-log`"
}
] |
[
{
"from": "human",
"value": "Tell me about `monodis`."
},
{
"from": "gpt",
"value": "The Mono Common Intermediate Language (CIL) disassembler.\nMore information: <https://www.mono-project.com/docs/tools+libraries/tools/monodis/>.\n"
}
] |
[
{
"from": "human",
"value": "Disassemble an assembly to textual CIL via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis {{path/to/assembly.exe}}`"
}
] |
[
{
"from": "human",
"value": "Save the output to a file via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis --output={{path/to/output.il}} {{path/to/assembly.exe}}`"
}
] |
[
{
"from": "human",
"value": "Show information about an assembly via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis --assembly {{path/to/assembly.dll}}`"
}
] |
[
{
"from": "human",
"value": "List the references of an assembly via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis --assemblyref {{path/to/assembly.exe}}`"
}
] |
[
{
"from": "human",
"value": "List all the methods in an assembly via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis --method {{path/to/assembly.exe}}`"
}
] |
[
{
"from": "human",
"value": "List resources embedded within an assembly via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis --manifest {{path/to/assembly.dll}}`"
}
] |
[
{
"from": "human",
"value": "Extract all the embedded resources to the current directory via the `monodis` command"
},
{
"from": "gpt",
"value": "`monodis --mresources {{path/to/assembly.dll}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `monop`."
},
{
"from": "gpt",
"value": "Finds and displays signatures of Types and methods inside .NET assemblies.\nMore information: <https://manned.org/monop>.\n"
}
] |
[
{
"from": "human",
"value": "Show the structure of a Type built-in of the .NET Framework via the `monop` command"
},
{
"from": "gpt",
"value": "`monop {{System.String}}`"
}
] |
[
{
"from": "human",
"value": "List the types in an assembly via the `monop` command"
},
{
"from": "gpt",
"value": "`monop -r:{{path/to/assembly.exe}}`"
}
] |
[
{
"from": "human",
"value": "Show the structure of a Type in a specific assembly via the `monop` command"
},
{
"from": "gpt",
"value": "`monop -r:{{path/to/assembly.dll}} {{Namespace.Path.To.Type}}`"
}
] |
[
{
"from": "human",
"value": "Only show members defined in the specified Type via the `monop` command"
},
{
"from": "gpt",
"value": "`monop -r:{{path/to/assembly.dll}} --only-declared {{Namespace.Path.To.Type}}`"
}
] |
[
{
"from": "human",
"value": "Show private members via the `monop` command"
},
{
"from": "gpt",
"value": "`monop -r:{{path/to/assembly.dll}} --private {{Namespace.Path.To.Type}}`"
}
] |
[
{
"from": "human",
"value": "Hide obsolete members via the `monop` command"
},
{
"from": "gpt",
"value": "`monop -r:{{path/to/assembly.dll}} --filter-obsolete {{Namespace.Path.To.Type}}`"
}
] |
[
{
"from": "human",
"value": "List the other assemblies that a specified assembly references via the `monop` command"
},
{
"from": "gpt",
"value": "`monop -r:{{path/to/assembly.dll}} --refs`"
}
] |
[
{
"from": "human",
"value": "Tell me about `montage`."
},
{
"from": "gpt",
"value": "This command is an alias of `magick montage`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `montage` command"
},
{
"from": "gpt",
"value": "`tldr magick montage`"
}
] |
[
{
"from": "human",
"value": "Tell me about `more`."
},
{
"from": "gpt",
"value": "Interactively display a file, allowing scrolling and searching.\nSee also: `less`.\nMore information: <https://manned.org/more.1p>.\n"
}
] |
[
{
"from": "human",
"value": "Open a file via the `more` command"
},
{
"from": "gpt",
"value": "`more {{path/to/file}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.