conversations
listlengths
2
2
[ { "from": "human", "value": "Terminate a background job" }, { "from": "gpt", "value": "kill %job_id" } ]
[ { "from": "human", "value": "Terminate a program using the SIGHUP (hang up) signal. Many daemons will reload instead of terminating" }, { "from": "gpt", "value": "kill -1|HUP process_id" } ]
[ { "from": "human", "value": "Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `<Ctrl c>`" }, { "from": "gpt", "value": "kill -2|INT process_id" } ]
[ { "from": "human", "value": "Signal the operating system to immediately terminate a program (which gets no chance to capture the signal)" }, { "from": "gpt", "value": "kill -9|KILL process_id" } ]
[ { "from": "human", "value": "Signal the operating system to pause a program until a SIGCONT (\"continue\") signal is received" }, { "from": "gpt", "value": "kill -17|STOP process_id" } ]
[ { "from": "human", "value": "Send a `SIGUSR1` signal to all processes with the given GID (group id)" }, { "from": "gpt", "value": "kill -SIGUSR1 -group_id" } ]
[ { "from": "human", "value": "Share files or directories" }, { "from": "gpt", "value": "airshare code path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Receive a file" }, { "from": "gpt", "value": "airshare code" } ]
[ { "from": "human", "value": "Host a receiving server (use this to be able to upload files using the web interface)" }, { "from": "gpt", "value": "airshare --upload code" } ]
[ { "from": "human", "value": "Send files or directories to a receiving server" }, { "from": "gpt", "value": "airshare --upload code path/to/file_or_directory1 path/to/file_or_directory2 ..." } ]
[ { "from": "human", "value": "Send files whose paths have been copied to the clipboard" }, { "from": "gpt", "value": "airshare --file-path code" } ]
[ { "from": "human", "value": "Receive a file and copy it to the clipboard" }, { "from": "gpt", "value": "airshare --clip-receive code" } ]
[ { "from": "human", "value": "Serve a registry implementation" }, { "from": "gpt", "value": "crane registry serve" } ]
[ { "from": "human", "value": "Address to listen on" }, { "from": "gpt", "value": "crane registry serve --address address_name" } ]
[ { "from": "human", "value": "Path to a directory where blobs will be stored" }, { "from": "gpt", "value": "crane registry serve --disk path/to/store_dir" } ]
[ { "from": "human", "value": "Display help for `crane registry`" }, { "from": "gpt", "value": "crane registry [-h|--help]" } ]
[ { "from": "human", "value": "Display help for `crane registry serve`" }, { "from": "gpt", "value": "crane registry serve [-h|--help]" } ]
[ { "from": "human", "value": "Remove a package from the current project" }, { "from": "gpt", "value": "npm uninstall package_name" } ]
[ { "from": "human", "value": "Remove a package globally" }, { "from": "gpt", "value": "npm uninstall -g package_name" } ]
[ { "from": "human", "value": "Remove multiple packages at once" }, { "from": "gpt", "value": "npm uninstall package_name1 package_name2 ..." } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "go version" } ]
[ { "from": "human", "value": "Display the Go version used to build a specific executable file" }, { "from": "gpt", "value": "go version path/to/executable" } ]
[ { "from": "human", "value": "Auto-format a file or entire directory" }, { "from": "gpt", "value": "black path/to/file_or_directory" } ]
[ { "from": "human", "value": "Format the code passed in as a string" }, { "from": "gpt", "value": "black [-c|--code] \"code\"" } ]
[ { "from": "human", "value": "Show whether a file or a directory would have changes made to them if they were to be formatted" }, { "from": "gpt", "value": "black --check path/to/file_or_directory" } ]
[ { "from": "human", "value": "Show changes that would be made to a file or a directory without performing them (dry-run)" }, { "from": "gpt", "value": "black --diff path/to/file_or_directory" } ]
[ { "from": "human", "value": "Auto-format a file or directory, emitting exclusively error messages to `stderr`" }, { "from": "gpt", "value": "black [-q|--quiet] path/to/file_or_directory" } ]
[ { "from": "human", "value": "Auto-format a file or directory without replacing single quotes with double quotes (adoption helper, avoid using this for new projects)" }, { "from": "gpt", "value": "black [-S|--skip-string-normalization] path/to/file_or_directory" } ]
[ { "from": "human", "value": "Add a Java version to jEnv" }, { "from": "gpt", "value": "jenv add path/to/jdk_home" } ]
[ { "from": "human", "value": "Display the current JDK version used" }, { "from": "gpt", "value": "jenv version" } ]
[ { "from": "human", "value": "Display all managed JDKs" }, { "from": "gpt", "value": "jenv versions" } ]
[ { "from": "human", "value": "Set the global JDK version" }, { "from": "gpt", "value": "jenv global java_version" } ]
[ { "from": "human", "value": "Set the JDK version for the current shell session" }, { "from": "gpt", "value": "jenv shell java_version" } ]
[ { "from": "human", "value": "Enable a jEnv plugin" }, { "from": "gpt", "value": "jenv enable-plugin plugin_name" } ]
[ { "from": "human", "value": "Commit all staged changes, opening the editor specified by `$EDITOR` to enter the commit message" }, { "from": "gpt", "value": "dolt commit" } ]
[ { "from": "human", "value": "Commit all staged changes with the specified message" }, { "from": "gpt", "value": "dolt commit --message \"commit_message\"" } ]
[ { "from": "human", "value": "Stage all unstaged changes to tables before committing" }, { "from": "gpt", "value": "dolt commit --all" } ]
[ { "from": "human", "value": "Use the specified ISO 8601 commit date (defaults to current date and time)" }, { "from": "gpt", "value": "dolt commit --date \"2021-12-31T00:00:00\"" } ]
[ { "from": "human", "value": "Use the specified author for the commit" }, { "from": "gpt", "value": "dolt commit --author \"author_name <author_email>\"" } ]
[ { "from": "human", "value": "Allow creating an empty commit, with no changes" }, { "from": "gpt", "value": "dolt commit --allow-empty" } ]
[ { "from": "human", "value": "Ignore foreign key warnings" }, { "from": "gpt", "value": "dolt commit --force" } ]
[ { "from": "human", "value": "Enable module \"foo\"" }, { "from": "gpt", "value": "drush en foo" } ]
[ { "from": "human", "value": "Uninstall module \"foo\"" }, { "from": "gpt", "value": "drush pmu foo" } ]
[ { "from": "human", "value": "Clear all caches" }, { "from": "gpt", "value": "drush cr" } ]
[ { "from": "human", "value": "Clear CSS and JavaScript caches" }, { "from": "gpt", "value": "drush cc css-js" } ]
[ { "from": "human", "value": "Run a sub-shell with all Git variables set" }, { "from": "gpt", "value": "yadm enter" } ]
[ { "from": "human", "value": "Exit the sub-shell" }, { "from": "gpt", "value": "exit" } ]
[ { "from": "human", "value": "Start a new named session" }, { "from": "gpt", "value": "zellij --session name" } ]
[ { "from": "human", "value": "List existing sessions" }, { "from": "gpt", "value": "zellij list-sessions" } ]
[ { "from": "human", "value": "Attach to the most recently used session" }, { "from": "gpt", "value": "zellij attach" } ]
[ { "from": "human", "value": "Open a new pane (inside a zellij session)" }, { "from": "gpt", "value": "<Alt n>" } ]
[ { "from": "human", "value": "Detach from the current session (inside a zellij session)" }, { "from": "gpt", "value": "<Ctrl o><d>" } ]
[ { "from": "human", "value": "Evaluate an expression" }, { "from": "gpt", "value": "bb [-e|--eval] \"(+ 1 2 3)\"" } ]
[ { "from": "human", "value": "Evaluate a script file" }, { "from": "gpt", "value": "bb [-f|--file] path/to/script.clj" } ]
[ { "from": "human", "value": "Bind [i]nput to a sequence of lines from `stdin`" }, { "from": "gpt", "value": "printf \"first\\nsecond\" | bb -i \"(map clojure.string/capitalize *input*)\"" } ]
[ { "from": "human", "value": "Bind [I]nput to a sequence of EDN (Extensible Data Notation) values from `stdin`" }, { "from": "gpt", "value": "echo \"{:key 'val}\" | bb -I \"(:key (first *input*))\"" } ]
[ { "from": "human", "value": "List domains" }, { "from": "gpt", "value": "cli53 list" } ]
[ { "from": "human", "value": "Create a domain" }, { "from": "gpt", "value": "cli53 create mydomain.com --comment \"comment\"" } ]
[ { "from": "human", "value": "Export a bind zone file to `stdout`" }, { "from": "gpt", "value": "cli53 export mydomain.com" } ]
[ { "from": "human", "value": "Create a `www` subdomain pointing to a relative record in the same zone" }, { "from": "gpt", "value": "cli53 rc|rrcreate mydomain.com 'www 300 CNAME lb'" } ]
[ { "from": "human", "value": "Create a `www` subdomain pointing to an external address (must end with a dot)" }, { "from": "gpt", "value": "cli53 rc|rrcreate mydomain.com 'www 300 CNAME lb.externalhost.com.'" } ]
[ { "from": "human", "value": "Create a `www` subdomain pointing to an IP address" }, { "from": "gpt", "value": "cli53 rc|rrcreate mydomain.com 'www 300 A 150.130.110.1'" } ]
[ { "from": "human", "value": "Replace a `www` subdomain pointing to a different IP" }, { "from": "gpt", "value": "cli53 rc|rrcreate --replace 'www 300 A 150.130.110.2'" } ]
[ { "from": "human", "value": "Delete a record A" }, { "from": "gpt", "value": "cli53 rd|rrdelete mydomain.com www A" } ]
[ { "from": "human", "value": "Halt the currently running Vagrant machine gracefully" }, { "from": "gpt", "value": "vagrant halt" } ]
[ { "from": "human", "value": "Halt a specific machine by its ID or name gracefully" }, { "from": "gpt", "value": "vagrant halt id_or_name" } ]
[ { "from": "human", "value": "Forcefully halt the current running machine(s) (This can affect multiple running machines if they are part of the same Vagrant environment)" }, { "from": "gpt", "value": "vagrant halt [-f|--force]" } ]
[ { "from": "human", "value": "Forcefully halt a specific machine by its ID or name" }, { "from": "gpt", "value": "vagrant halt [-f|--force] id_or_name" } ]
[ { "from": "human", "value": "Debug an executable" }, { "from": "gpt", "value": "lldb executable" } ]
[ { "from": "human", "value": "Attach `lldb` to a running process with a given PID" }, { "from": "gpt", "value": "lldb -p pid" } ]
[ { "from": "human", "value": "Wait for a new process to launch with a given name, and attach to it" }, { "from": "gpt", "value": "lldb -w -n process_name" } ]
[ { "from": "human", "value": "Switch to directory and push it on the stack" }, { "from": "gpt", "value": "pushd path/to/directory" } ]
[ { "from": "human", "value": "Switch first and second directories on the stack" }, { "from": "gpt", "value": "pushd" } ]
[ { "from": "human", "value": "Rotate stack by making the 5th element the top of the stack" }, { "from": "gpt", "value": "pushd +4" } ]
[ { "from": "human", "value": "Rotate the stack 4 times to the left (the current directory stays at the top by replacing the 5th element)" }, { "from": "gpt", "value": "pushd -n +4" } ]
[ { "from": "human", "value": "Convert an SBIG ST-4 file to a PGM file" }, { "from": "gpt", "value": "st4topgm path/to/input_file.st4 > path/to/output.pgm" } ]
[ { "from": "human", "value": "Process a `grap` file and save the output file for future processing with `pic` and `groff`" }, { "from": "gpt", "value": "grap path/to/input.grap > path/to/output.pic" } ]
[ { "from": "human", "value": "Typeset a `grap` file to PDF using the [me] macro package, saving the output to a file" }, { "from": "gpt", "value": "grap path/to/input.grap | pic -T pdf | groff -me -T pdf > path/to/output.pdf" } ]
[ { "from": "human", "value": "Start the current application in development mode" }, { "from": "gpt", "value": "next dev" } ]
[ { "from": "human", "value": "Start the current application and listen on a specific port" }, { "from": "gpt", "value": "next dev --port port" } ]
[ { "from": "human", "value": "Build the current application optimized for production" }, { "from": "gpt", "value": "next build" } ]
[ { "from": "human", "value": "Start the compiled application in production mode" }, { "from": "gpt", "value": "next start" } ]
[ { "from": "human", "value": "Start the compiled application and listen on a specific port" }, { "from": "gpt", "value": "next start --port port" } ]
[ { "from": "human", "value": "Export the current application to static HTML pages" }, { "from": "gpt", "value": "next export" } ]
[ { "from": "human", "value": "Display the Next.js telemetry status" }, { "from": "gpt", "value": "next telemetry" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "next build|dev|export|start|telemetry --help" } ]
[ { "from": "human", "value": "Run text-to-speech with the default models, writing the output to \"tts_output.wav\"" }, { "from": "gpt", "value": "tts --text \"text\"" } ]
[ { "from": "human", "value": "List provided models" }, { "from": "gpt", "value": "tts --list_models" } ]
[ { "from": "human", "value": "Query info for a model by idx" }, { "from": "gpt", "value": "tts --model_info_by_idx model_type/model_query_idx" } ]
[ { "from": "human", "value": "Query info for a model by name" }, { "from": "gpt", "value": "tts --model_info_by_name model_type/language/dataset/model_name" } ]
[ { "from": "human", "value": "Run a text-to-speech model with its default vocoder model" }, { "from": "gpt", "value": "tts --text \"text\" --model_name model_type/language/dataset/model_name" } ]
[ { "from": "human", "value": "Run your own text-to-speech model (using the Griffin-Lim vocoder)" }, { "from": "gpt", "value": "tts --text \"text\" --model_path path/to/model.pth --config_path path/to/config.json --out_path path/to/file.wav" } ]
[ { "from": "human", "value": "Display the names, values and descriptions of all PlatformIO settings" }, { "from": "gpt", "value": "pio settings get" } ]
[ { "from": "human", "value": "Display the name, value and description of a specific PlatformIO setting" }, { "from": "gpt", "value": "pio settings get setting" } ]
[ { "from": "human", "value": "Set a specific setting value" }, { "from": "gpt", "value": "pio settings set setting value" } ]
[ { "from": "human", "value": "Reset the values of all modified settings to their factory defaults" }, { "from": "gpt", "value": "pio settings reset" } ]
[ { "from": "human", "value": "Create a backup of the device in the specified directory" }, { "from": "gpt", "value": "idevicebackup2 backup path/to/directory" } ]
[ { "from": "human", "value": "Restore a backup from the specified directory" }, { "from": "gpt", "value": "idevicebackup2 restore path/to/directory" } ]
[ { "from": "human", "value": "Enable encryption for backups" }, { "from": "gpt", "value": "idevicebackup2 encryption on password" } ]
[ { "from": "human", "value": "List the files in the last completed backup" }, { "from": "gpt", "value": "idevicebackup2 list" } ]