conversations
listlengths
2
2
[ { "from": "human", "value": "Output a schema of JSON or JSON Lines data from `stdin` to `stdout` (useful for grep) via the `jello` command" }, { "from": "gpt", "value": "`cat {{file.json}} | jello -s`" } ]
[ { "from": "human", "value": "Output all elements from arrays (or all the values from objects) in JSON or JSON-Lines data from `stdin` to `stdout` via the `jello` command" }, { "from": "gpt", "value": "`cat {{file.json}} | jello -l`" } ]
[ { "from": "human", "value": "Output the first element in JSON or JSON-Lines data from `stdin` to `stdout` via the `jello` command" }, { "from": "gpt", "value": "`cat {{file.json}} | jello _[0]`" } ]
[ { "from": "human", "value": "Output the value of a given key of each element in JSON or JSON-Lines data from `stdin` to `stdout` via the `jello` command" }, { "from": "gpt", "value": "`cat {{file.json}} | jello '[i.{{key_name}} for i in _]'`" } ]
[ { "from": "human", "value": "Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name1` and `key_name2`) via the `jello` command" }, { "from": "gpt", "value": "`cat {{file.json}} | jello '{\"{{key1}}\": _.{{key_name1}}, \"{{key_name}}\": _.{{key_name...
[ { "from": "human", "value": "Output the value of a given key to a string (and disable JSON output) via the `jello` command" }, { "from": "gpt", "value": "`cat {{file.json}} | jello -r '\"{{some text}}: \" + _.{{key_name}}'`" } ]
[ { "from": "human", "value": "Tell me about `jenv`." }, { "from": "gpt", "value": "Manage the \"JAVA_HOME\" environment variable.\nMore information: <https://www.jenv.be/>.\n" } ]
[ { "from": "human", "value": "Add a Java version to jEnv via the `jenv` command" }, { "from": "gpt", "value": "`jenv add {{path/to/jdk_home}}`" } ]
[ { "from": "human", "value": "Display the current JDK version used via the `jenv` command" }, { "from": "gpt", "value": "`jenv version`" } ]
[ { "from": "human", "value": "Display all managed JDKs via the `jenv` command" }, { "from": "gpt", "value": "`jenv versions`" } ]
[ { "from": "human", "value": "Set the global JDK version via the `jenv` command" }, { "from": "gpt", "value": "`jenv global {{java_version}}`" } ]
[ { "from": "human", "value": "Set the JDK version for the current shell session via the `jenv` command" }, { "from": "gpt", "value": "`jenv shell {{java_version}}`" } ]
[ { "from": "human", "value": "Enable a jEnv plugin via the `jenv` command" }, { "from": "gpt", "value": "`jenv enable-plugin {{plugin_name}}`" } ]
[ { "from": "human", "value": "Tell me about `jest`." }, { "from": "gpt", "value": "A zero-configuration JavaScript testing platform.\nMore information: <https://jestjs.io>.\n" } ]
[ { "from": "human", "value": "Run all available tests via the `jest` command" }, { "from": "gpt", "value": "`jest`" } ]
[ { "from": "human", "value": "Run the test suites from the given files via the `jest` command" }, { "from": "gpt", "value": "`jest {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Run the test suites from files within the current and subdirectories, whose paths match the given regular expression via the `jest` command" }, { "from": "gpt", "value": "`jest {{regular_expression1}} {{regular_expression2}}`" } ]
[ { "from": "human", "value": "Run the tests whose names match the given regular expression via the `jest` command" }, { "from": "gpt", "value": "`jest --testNamePattern {{regular_expression}}`" } ]
[ { "from": "human", "value": "Run test suites related to a given source file via the `jest` command" }, { "from": "gpt", "value": "`jest --findRelatedTests {{path/to/source_file.js}}`" } ]
[ { "from": "human", "value": "Run test suites related to all uncommitted files via the `jest` command" }, { "from": "gpt", "value": "`jest --onlyChanged`" } ]
[ { "from": "human", "value": "Watch files for changes and automatically re-run related tests via the `jest` command" }, { "from": "gpt", "value": "`jest --watch`" } ]
[ { "from": "human", "value": "Display help via the `jest` command" }, { "from": "gpt", "value": "`jest --help`" } ]
[ { "from": "human", "value": "Tell me about `jetifier`." }, { "from": "gpt", "value": "Jetifier AndroidX transition tool in npm format, with a react-native compatible style.\nMore information: <https://github.com/mikehardy/jetifier>.\n" } ]
[ { "from": "human", "value": "Migrate project dependencies to the AndroidX format via the `jetifier` command" }, { "from": "gpt", "value": "`jetifier`" } ]
[ { "from": "human", "value": "Migrate project dependencies from the AndroidX format via the `jetifier` command" }, { "from": "gpt", "value": "`jetifier reverse`" } ]
[ { "from": "human", "value": "Tell me about `jf`." }, { "from": "gpt", "value": "Interact with JFrog products like Artifactory, Xray, Distribution, Pipelines and Mission Control.\nMore information: <https://jfrog.com/help/r/jfrog-cli/usage>.\n" } ]
[ { "from": "human", "value": "Add a new configuration via the `jf` command" }, { "from": "gpt", "value": "`jf config add`" } ]
[ { "from": "human", "value": "Show the current configuration via the `jf` command" }, { "from": "gpt", "value": "`jf config show`" } ]
[ { "from": "human", "value": "Search for artifacts within the given repository and directory via the `jf` command" }, { "from": "gpt", "value": "`jf rt search --recursive {{repostiory_name}}/{{path}}/`" } ]
[ { "from": "human", "value": "Tell me about `jfrog`." }, { "from": "gpt", "value": "This command is an alias of `jf`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `jfrog` command" }, { "from": "gpt", "value": "`tldr jf`" } ]
[ { "from": "human", "value": "Tell me about `jhat`." }, { "from": "gpt", "value": "Java heap analysis tool.\nMore information: <https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jhat.html>.\n" } ]
[ { "from": "human", "value": "Analyze a heap dump (from `jmap`), view via HTTP on port 7000 via the `jhat` command" }, { "from": "gpt", "value": "`jhat {{dump_file.bin}}`" } ]
[ { "from": "human", "value": "Analyze a heap dump, specifying an alternate port for the HTTP server via the `jhat` command" }, { "from": "gpt", "value": "`jhat -p {{port}} {{dump_file.bin}}`" } ]
[ { "from": "human", "value": "Analyze a dump letting `jhat` use up to 8 GB RAM (2-4x dump size recommended) via the `jhat` command" }, { "from": "gpt", "value": "`jhat -J-mx8G {{dump_file.bin}}`" } ]
[ { "from": "human", "value": "Tell me about `jhipster`." }, { "from": "gpt", "value": "Web application generator using either monolithic or microservices architecture.\nMore information: <https://www.jhipster.tech/>.\n" } ]
[ { "from": "human", "value": "Generate a simple full-stack project (monolithic or microservices) via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster`" } ]
[ { "from": "human", "value": "Generate a simple frontend project via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster --skip-server`" } ]
[ { "from": "human", "value": "Generate a simple backend project via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster --skip-client`" } ]
[ { "from": "human", "value": "Apply latest JHipster updates to the project via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster upgrade`" } ]
[ { "from": "human", "value": "Add a new entity to a generated project via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster entity {{entity_name}}`" } ]
[ { "from": "human", "value": "Import a JDL file to configure your application (see: <https://start.jhipster.tech/jdl-studio/>) via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster import-jdl {{first_file.jh second_file.jh ... n_file.jh}}`" } ]
[ { "from": "human", "value": "Generate a CI/CD pipeline for your application via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster ci-cd`" } ]
[ { "from": "human", "value": "Generate a Kubernetes configuration for your application via the `jhipster` command" }, { "from": "gpt", "value": "`jhipster kubernetes`" } ]
[ { "from": "human", "value": "Tell me about `jhsdb`." }, { "from": "gpt", "value": "Attach to a Java process or launch a postmortem debugger to analyze the core dump from a crashed Java Virtual Machine.\nMore information: <https://manned.org/jhsdb>.\n" } ]
[ { "from": "human", "value": "Print stack and locks information of a Java process via the `jhsdb` command" }, { "from": "gpt", "value": "`jhsdb jstack --pid {{pid}}`" } ]
[ { "from": "human", "value": "Open a core dump in interactive debug mode via the `jhsdb` command" }, { "from": "gpt", "value": "`jhsdb clhsdb --core {{path/to/core_dump}} --exe {{path/to/jdk/bin/java}}`" } ]
[ { "from": "human", "value": "Start a remote debug server via the `jhsdb` command" }, { "from": "gpt", "value": "`jhsdb debugd --pid {{pid}} --serverid {{optional_unique_id}}`" } ]
[ { "from": "human", "value": "Connect to a process in interactive debug mode via the `jhsdb` command" }, { "from": "gpt", "value": "`jhsdb clhsdb --pid {{pid}}`" } ]
[ { "from": "human", "value": "Tell me about `jigsaw`." }, { "from": "gpt", "value": "A Laravel-based static site builder for PHP.\nMore information: <https://jigsaw.tighten.co>.\n" } ]
[ { "from": "human", "value": "Initialize a project via the `jigsaw` command" }, { "from": "gpt", "value": "`jigsaw init`" } ]
[ { "from": "human", "value": "Initialize a project using a starter template via the `jigsaw` command" }, { "from": "gpt", "value": "`jigsaw init {{template_name}}`" } ]
[ { "from": "human", "value": "Build the site for development via the `jigsaw` command" }, { "from": "gpt", "value": "`jigsaw build`" } ]
[ { "from": "human", "value": "Preview the site from the \"build_local\" directory via the `jigsaw` command" }, { "from": "gpt", "value": "`jigsaw serve`" } ]
[ { "from": "human", "value": "Build the site for production via the `jigsaw` command" }, { "from": "gpt", "value": "`jigsaw build production`" } ]
[ { "from": "human", "value": "Preview the site from the \"build_production\" directory via the `jigsaw` command" }, { "from": "gpt", "value": "`jigsaw serve {{build_production}}`" } ]
[ { "from": "human", "value": "Tell me about `jmap`." }, { "from": "gpt", "value": "Java memory map tool.\nMore information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/jmap.html>.\n" } ]
[ { "from": "human", "value": "Print shared object mappings for a Java process (output like pmap) via the `jmap` command" }, { "from": "gpt", "value": "`jmap {{java_pid}}`" } ]
[ { "from": "human", "value": "Print heap summary information via the `jmap` command" }, { "from": "gpt", "value": "`jmap -heap {{filename.jar}} {{java_pid}}`" } ]
[ { "from": "human", "value": "Print histogram of heap usage by type via the `jmap` command" }, { "from": "gpt", "value": "`jmap -histo {{java_pid}}`" } ]
[ { "from": "human", "value": "Dump contents of the heap into a binary file for analysis with jhat via the `jmap` command" }, { "from": "gpt", "value": "`jmap -dump:format=b,file={{path/to/file}} {{java_pid}}`" } ]
[ { "from": "human", "value": "Dump live objects of the heap into a binary file for analysis with jhat via the `jmap` command" }, { "from": "gpt", "value": "`jmap -dump:live,format=b,file={{path/to/file}} {{java_pid}}`" } ]
[ { "from": "human", "value": "Tell me about `jmeter`." }, { "from": "gpt", "value": "Open source Java application designed for load testing functional behavior and measure performance.\nMore information: <https://jmeter.apache.org>.\n" } ]
[ { "from": "human", "value": "Run a specific test plan in nongui mode via the `jmeter` command" }, { "from": "gpt", "value": "`jmeter --nongui --testfile {{path/to/file.jmx}}`" } ]
[ { "from": "human", "value": "Run a test plan in nongui mode using a specific log file via the `jmeter` command" }, { "from": "gpt", "value": "`jmeter --nogui --testfile {{path/to/file.jmx}} --logfile {{path/to/logfile.jtl}}`" } ]
[ { "from": "human", "value": "Run a test plan in nongui mode using a specific proxy via the `jmeter` command" }, { "from": "gpt", "value": "`jmeter --nongui --testfile {{path/to/file.jmx}} --proxyHost {{127.0.0.1}} --proxyPort {{8888}}`" } ]
[ { "from": "human", "value": "Run a test plan in nongui mode using a specific JMeter property via the `jmeter` command" }, { "from": "gpt", "value": "`jmeter --jmeterproperty {{key}}='{{value}}' --nongui --testfile {{path/to/file.jmx}}`" } ]
[ { "from": "human", "value": "Tell me about `jmtpfs`." }, { "from": "gpt", "value": "FUSE-based filesystem for accessing MTP devices.\nMore information: <https://manned.org/jmtpfs>.\n" } ]
[ { "from": "human", "value": "Mount an MTP device to a directory via the `jmtpfs` command" }, { "from": "gpt", "value": "`jmtpfs {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Set mount options via the `jmtpfs` command" }, { "from": "gpt", "value": "`jmtpfs -o {{allow_other,auto_unmount}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "List available MTP devices via the `jmtpfs` command" }, { "from": "gpt", "value": "`jmtpfs --listDevices`" } ]
[ { "from": "human", "value": "If multiple devices are present, mount a specific device via the `jmtpfs` command" }, { "from": "gpt", "value": "`jmtpfs -device={{bus_id}},{{device_id}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Unmount MTP device via the `jmtpfs` command" }, { "from": "gpt", "value": "`fusermount -u {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `jobs`." }, { "from": "gpt", "value": "Display status of jobs in the current session.\nMore information: <https://manned.org/jobs>.\n" } ]
[ { "from": "human", "value": "Show status of all jobs via the `jobs` command" }, { "from": "gpt", "value": "`jobs`" } ]
[ { "from": "human", "value": "Show status of a particular job via the `jobs` command" }, { "from": "gpt", "value": "`jobs %{{job_id}}`" } ]
[ { "from": "human", "value": "Show status and process IDs of all jobs via the `jobs` command" }, { "from": "gpt", "value": "`jobs -l`" } ]
[ { "from": "human", "value": "Show process IDs of all jobs via the `jobs` command" }, { "from": "gpt", "value": "`jobs -p`" } ]
[ { "from": "human", "value": "Tell me about `joe`." }, { "from": "gpt", "value": "Joe's own text editor.\nMore information: <https://joe-editor.sourceforge.io>.\n" } ]
[ { "from": "human", "value": "Open a new file in JOE via the `joe` command" }, { "from": "gpt", "value": "`joe`" } ]
[ { "from": "human", "value": "Open a specific file via the `joe` command" }, { "from": "gpt", "value": "`joe {{path/to/file}}`" } ]
[ { "from": "human", "value": "Open a specific file, positioning the cursor at the specified line via the `joe` command" }, { "from": "gpt", "value": "`joe +{{line}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Open a specific file in read-only mode via the `joe` command" }, { "from": "gpt", "value": "`joe -rdonly {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `john`." }, { "from": "gpt", "value": "Password cracker.\nMore information: <https://www.openwall.com/john/>.\n" } ]
[ { "from": "human", "value": "Crack password hashes via the `john` command" }, { "from": "gpt", "value": "`john {{path/to/hashes.txt}}`" } ]
[ { "from": "human", "value": "Show passwords cracked via the `john` command" }, { "from": "gpt", "value": "`john --show {{path/to/hashes.txt}}`" } ]
[ { "from": "human", "value": "Display users' cracked passwords by user identifier from multiple files via the `john` command" }, { "from": "gpt", "value": "`john --show --users={{user_ids}} {{path/to/hashes1.txt path/to/hashes2.txt ...}}`" } ]
[ { "from": "human", "value": "Crack password hashes, using a custom wordlist via the `john` command" }, { "from": "gpt", "value": "`john --wordlist={{path/to/wordlist.txt}} {{path/to/hashes.txt}}`" } ]
[ { "from": "human", "value": "List available hash formats via the `john` command" }, { "from": "gpt", "value": "`john --list=formats`" } ]
[ { "from": "human", "value": "Crack password hashes, using a specific hash format via the `john` command" }, { "from": "gpt", "value": "`john --format={{md5crypt}} {{path/to/hashes.txt}}`" } ]
[ { "from": "human", "value": "Crack password hashes, enabling word mangling rules via the `john` command" }, { "from": "gpt", "value": "`john --rules {{path/to/hashes.txt}}`" } ]
[ { "from": "human", "value": "Restore an interrupted cracking session from a state file, e.g. `mycrack.rec` via the `john` command" }, { "from": "gpt", "value": "`john --restore={{path/to/mycrack.rec}}`" } ]
[ { "from": "human", "value": "Tell me about `join`." }, { "from": "gpt", "value": "Join lines of two sorted files on a common field.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/join-invocation.html>.\n" } ]
[ { "from": "human", "value": "Join two files on the first (default) field via the `join` command" }, { "from": "gpt", "value": "`join {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Join two files using a comma (instead of a space) as the field separator via the `join` command" }, { "from": "gpt", "value": "`join -t {{','}} {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Join field3 of file1 with field1 of file2 via the `join` command" }, { "from": "gpt", "value": "`join -1 {{3}} -2 {{1}} {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Produce a line for each unpairable line for file1 via the `join` command" }, { "from": "gpt", "value": "`join -a {{1}} {{path/to/file1}} {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Join a file from `stdin` via the `join` command" }, { "from": "gpt", "value": "`cat {{path/to/file1}} | join - {{path/to/file2}}`" } ]
[ { "from": "human", "value": "Tell me about `josm`." }, { "from": "gpt", "value": "Extensible OpenStreetMap editor for Java 8+.\nMore information: <https://josm.openstreetmap.de/>.\n" } ]
[ { "from": "human", "value": "Launch JOSM via the `josm` command" }, { "from": "gpt", "value": "`josm`" } ]