conversations
listlengths
2
2
[ { "from": "human", "value": "Launch the default shell as root" }, { "from": "gpt", "value": "doas -s" } ]
[ { "from": "human", "value": "Parse a configuration file and check if the execution of a command as another user is allowed" }, { "from": "gpt", "value": "doas -C config_file command" } ]
[ { "from": "human", "value": "Make `doas` request a password even after it was supplied earlier" }, { "from": "gpt", "value": "doas -L" } ]
[ { "from": "human", "value": "Generate an image using only `n_colors` or less colors as close as possible to the input image" }, { "from": "gpt", "value": "pnmquant n_colors path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Install packages and plugins" }, { "from": "gpt", "value": "pulumi install" } ]
[ { "from": "human", "value": "Install packages and plugins but skip dependencies" }, { "from": "gpt", "value": "pulumi install --no-dependencies" } ]
[ { "from": "human", "value": "Install packages and reinstall existing plugins" }, { "from": "gpt", "value": "pulumi install --reinstall" } ]
[ { "from": "human", "value": "Add a new user to an organization" }, { "from": "gpt", "value": "npm org set organization_name username" } ]
[ { "from": "human", "value": "Change a user's role in an organization" }, { "from": "gpt", "value": "npm org set organization_name username developer|admin|owner" } ]
[ { "from": "human", "value": "Remove a user from an organization" }, { "from": "gpt", "value": "npm org rm organization_name username" } ]
[ { "from": "human", "value": "List all users in an organization" }, { "from": "gpt", "value": "npm org ls organization_name" } ]
[ { "from": "human", "value": "List all users in an organization, output in JSON format" }, { "from": "gpt", "value": "npm org ls organization_name --json" } ]
[ { "from": "human", "value": "Display a user's role in an organization" }, { "from": "gpt", "value": "npm org ls organization_name username" } ]
[ { "from": "human", "value": "Start an interactive Git shell" }, { "from": "gpt", "value": "git repl" } ]
[ { "from": "human", "value": "Run a Git command while in the interactive Git shell" }, { "from": "gpt", "value": "git_subcommand command_arguments" } ]
[ { "from": "human", "value": "Run an external (non-Git) command while in the interactive Git shell" }, { "from": "gpt", "value": "!command command_arguments" } ]
[ { "from": "human", "value": "Exit the interactive Git shell (or press `<Ctrl d>`)" }, { "from": "gpt", "value": "exit" } ]
[ { "from": "human", "value": "List all available project targets" }, { "from": "gpt", "value": "pio run --list-targets" } ]
[ { "from": "human", "value": "List all available project targets of a specific environment" }, { "from": "gpt", "value": "pio run --list-targets --environment environment" } ]
[ { "from": "human", "value": "Run all targets" }, { "from": "gpt", "value": "pio run" } ]
[ { "from": "human", "value": "Run all targets of specified environments" }, { "from": "gpt", "value": "pio run --environment environment1 --environment environment2" } ]
[ { "from": "human", "value": "Run specified targets" }, { "from": "gpt", "value": "pio run --target target1 --target target2" } ]
[ { "from": "human", "value": "Run the targets of a specified configuration file" }, { "from": "gpt", "value": "pio run --project-conf path/to/platformio.ini" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr ," } ]
[ { "from": "human", "value": "Import bookmarks from HTML Netscape bookmark format file" }, { "from": "gpt", "value": "shiori import path/to/bookmarks.html" } ]
[ { "from": "human", "value": "Save the specified URL as bookmark" }, { "from": "gpt", "value": "shiori add url" } ]
[ { "from": "human", "value": "List the saved bookmarks" }, { "from": "gpt", "value": "shiori print" } ]
[ { "from": "human", "value": "Open the saved bookmark in a browser" }, { "from": "gpt", "value": "shiori open bookmark_id" } ]
[ { "from": "human", "value": "Start the web interface for managing bookmarks at port 8181" }, { "from": "gpt", "value": "shiori serve --port 8181" } ]
[ { "from": "human", "value": "Prompt for an otpauth URI token and create a new pass file" }, { "from": "gpt", "value": "pass otp insert path/to/pass" } ]
[ { "from": "human", "value": "Prompt for an otpauth URI token and append to an existing pass file" }, { "from": "gpt", "value": "pass otp append path/to/pass" } ]
[ { "from": "human", "value": "Print a 2FA code using the OTP token in a pass file" }, { "from": "gpt", "value": "pass otp path/to/pass" } ]
[ { "from": "human", "value": "Copy and don't print a 2FA code using the OTP token in a pass file" }, { "from": "gpt", "value": "pass otp --clip path/to/pass" } ]
[ { "from": "human", "value": "Display a QR code using the OTP token stored in a pass file" }, { "from": "gpt", "value": "pass otp uri --qrcode path/to/pass" } ]
[ { "from": "human", "value": "Prompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file" }, { "from": "gpt", "value": "pass otp append --secret --issuer issuer_name --account account_name path/to/pass" } ]
[ { "from": "human", "value": "Decompose one or more graphs into their biconnected components" }, { "from": "gpt", "value": "bcomps path/to/input1.gv path/to/input2.gv ... > path/to/output.gv" } ]
[ { "from": "human", "value": "Print the number of blocks and cutvertices in one or more graphs" }, { "from": "gpt", "value": "bcomps -v -s path/to/input1.gv path/to/input2.gv ..." } ]
[ { "from": "human", "value": "Write each block and block-cutvertex tree to multiple numbered filenames based on `output.gv`" }, { "from": "gpt", "value": "bcomps -x -o path/to/output.gv path/to/input1.gv path/to/input2.gv ..." } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "bcomps -?" } ]
[ { "from": "human", "value": "Launch CopyQ to store clipboard history" }, { "from": "gpt", "value": "copyq" } ]
[ { "from": "human", "value": "Show current clipboard content" }, { "from": "gpt", "value": "copyq clipboard" } ]
[ { "from": "human", "value": "Insert raw text into the clipboard history" }, { "from": "gpt", "value": "copyq add -- text1 text2 text3" } ]
[ { "from": "human", "value": "Insert text containing escape sequences ('\\n', '\\t') into the clipboard history" }, { "from": "gpt", "value": "copyq add firstline\\nsecondline" } ]
[ { "from": "human", "value": "Print the content of the first 3 items in the clipboard history" }, { "from": "gpt", "value": "copyq read 0 1 2" } ]
[ { "from": "human", "value": "Copy a file's contents into the clipboard" }, { "from": "gpt", "value": "copyq copy < path/to/file.txt" } ]
[ { "from": "human", "value": "Copy a JPEG image into the clipboard" }, { "from": "gpt", "value": "copyq copy image/jpeg < path/to/image.jpg" } ]
[ { "from": "human", "value": "Remove all unused formulae" }, { "from": "gpt", "value": "brew autoremove" } ]
[ { "from": "human", "value": "Print what would be removed, but don't actually remove anything" }, { "from": "gpt", "value": "brew autoremove --dry-run" } ]
[ { "from": "human", "value": "Launch a specific application with arguments" }, { "from": "gpt", "value": "cs launch application_name -- argument1 argument2 ..." } ]
[ { "from": "human", "value": "Launch a specific application version with arguments" }, { "from": "gpt", "value": "cs launch application_name:application_version -- argument1 argument2 ..." } ]
[ { "from": "human", "value": "Launch a specific version of an application specifying which is the main file" }, { "from": "gpt", "value": "cs launch group_id:artifact_id:artifact_version --main-class path/to/main_class_file" } ]
[ { "from": "human", "value": "Launch an application with specific Java options and JVM memory ones" }, { "from": "gpt", "value": "cs launch --java-opt -Doption_name1:option_value1 -Doption_name2:option_value2 ... --java-opt -Xjvm_option1 -Xjvm_option2 ... application_name" } ]
[ { "from": "human", "value": "Call `echo` with the \"foo\" argument" }, { "from": "gpt", "value": "eval \"echo foo\"" } ]
[ { "from": "human", "value": "Set a variable in the current shell" }, { "from": "gpt", "value": "eval \"foo=bar\"" } ]
[ { "from": "human", "value": "List all valid generators" }, { "from": "gpt", "value": "fakedata --generators" } ]
[ { "from": "human", "value": "Generate data using one or more generators" }, { "from": "gpt", "value": "fakedata generator1 generator2" } ]
[ { "from": "human", "value": "Generate data with a specific output format" }, { "from": "gpt", "value": "fakedata --format csv|tab|sql generator" } ]
[ { "from": "human", "value": "Generate a given number of data items (defaults to 10)" }, { "from": "gpt", "value": "fakedata --limit n generator" } ]
[ { "from": "human", "value": "Generate data using a custom output template (the first letter of generator names must be capitalized)" }, { "from": "gpt", "value": "echo \"{{Generator}}\" | fakedata" } ]
[ { "from": "human", "value": "Show the reflog for HEAD" }, { "from": "gpt", "value": "git reflog" } ]
[ { "from": "human", "value": "Show the reflog for a given branch" }, { "from": "gpt", "value": "git reflog branch_name" } ]
[ { "from": "human", "value": "Show only the 5 latest entries in the reflog" }, { "from": "gpt", "value": "git reflog [-n|--max-count] 5" } ]
[ { "from": "human", "value": "Add a file from local to the filesystem, pin it and print the relative hash" }, { "from": "gpt", "value": "ipfs add path/to/file" } ]
[ { "from": "human", "value": "Add a directory and its files recursively from local to the filesystem and print the relative hash" }, { "from": "gpt", "value": "ipfs add -r path/to/directory" } ]
[ { "from": "human", "value": "Save a remote file and give it a name but not pin it" }, { "from": "gpt", "value": "ipfs get hash -o path/to/file" } ]
[ { "from": "human", "value": "Pin a remote file locally" }, { "from": "gpt", "value": "ipfs pin add hash" } ]
[ { "from": "human", "value": "Display pinned files" }, { "from": "gpt", "value": "ipfs pin ls" } ]
[ { "from": "human", "value": "Unpin a file from the local storage" }, { "from": "gpt", "value": "ipfs pin rm hash" } ]
[ { "from": "human", "value": "Remove unpinned files from local storage" }, { "from": "gpt", "value": "ipfs repo gc" } ]
[ { "from": "human", "value": "Check validity of a Logstash configuration" }, { "from": "gpt", "value": "logstash --configtest --config logstash_config.conf" } ]
[ { "from": "human", "value": "Run Logstash using configuration" }, { "from": "gpt", "value": "sudo logstash --config logstash_config.conf" } ]
[ { "from": "human", "value": "Run Logstash with the most basic inline configuration string" }, { "from": "gpt", "value": "sudo logstash -e 'input {} filter {} output {}'" } ]
[ { "from": "human", "value": "Start an interactive shell session" }, { "from": "gpt", "value": "nu" } ]
[ { "from": "human", "value": "Execute specific commands" }, { "from": "gpt", "value": "nu --commands \"echo 'nu is executed'\"" } ]
[ { "from": "human", "value": "Execute a specific script" }, { "from": "gpt", "value": "nu path/to/script.nu" } ]
[ { "from": "human", "value": "Execute a specific script with logging" }, { "from": "gpt", "value": "nu --log-level error|warn|info|debug|trace path/to/script.nu" } ]
[ { "from": "human", "value": "Compile a sketch" }, { "from": "gpt", "value": "arduino-builder -compile path/to/sketch.ino" } ]
[ { "from": "human", "value": "Specify the debug level (default: 5)" }, { "from": "gpt", "value": "arduino-builder -debug-level 1..10" } ]
[ { "from": "human", "value": "Specify a custom build directory" }, { "from": "gpt", "value": "arduino-builder -build-path path/to/build_directory" } ]
[ { "from": "human", "value": "Use a build option file, instead of specifying `-hardware`, `-tools`, etc. manually every time" }, { "from": "gpt", "value": "arduino-builder -build-options-file path/to/build.options.json" } ]
[ { "from": "human", "value": "Enable verbose mode" }, { "from": "gpt", "value": "arduino-builder -verbose true" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr sniffer.py" } ]
[ { "from": "human", "value": "Generate an auto login link for the admin user and print it" }, { "from": "gpt", "value": "plesk login" } ]
[ { "from": "human", "value": "Show product version information" }, { "from": "gpt", "value": "plesk version" } ]
[ { "from": "human", "value": "List all hosted domains" }, { "from": "gpt", "value": "plesk bin domain --list" } ]
[ { "from": "human", "value": "Start watching for changes in the `panel.log` file" }, { "from": "gpt", "value": "plesk log panel.log" } ]
[ { "from": "human", "value": "Start the interactive MySQL console" }, { "from": "gpt", "value": "plesk db" } ]
[ { "from": "human", "value": "Open the Plesk main configuration file in the default editor" }, { "from": "gpt", "value": "plesk conf panel.ini" } ]
[ { "from": "human", "value": "Open the front page" }, { "from": "gpt", "value": "/front" } ]
[ { "from": "human", "value": "Open a subreddit" }, { "from": "gpt", "value": "/r/subreddit_name" } ]
[ { "from": "human", "value": "Expand/collapse comments" }, { "from": "gpt", "value": "<Space>" } ]
[ { "from": "human", "value": "Open link" }, { "from": "gpt", "value": "<o>" } ]
[ { "from": "human", "value": "Log in" }, { "from": "gpt", "value": "<u>" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "<?>" } ]
[ { "from": "human", "value": "List the sizes of a directory and any subdirectories, in the given unit (B/KiB/MiB)" }, { "from": "gpt", "value": "du -b|k|m path/to/directory" } ]
[ { "from": "human", "value": "List the sizes of a directory and any subdirectories, in human-readable form (i.e. auto-selecting the appropriate unit for each size)" }, { "from": "gpt", "value": "du [-h|--human-readable] path/to/directory" } ]
[ { "from": "human", "value": "Show the size of a single directory, in human-readable units" }, { "from": "gpt", "value": "du [-sh|--summarize --human-readable] path/to/directory" } ]
[ { "from": "human", "value": "List the human-readable sizes of a directory and of all the files and directories within it" }, { "from": "gpt", "value": "du [-ah|--all --human-readable] path/to/directory" } ]
[ { "from": "human", "value": "List the human-readable sizes of a directory and any subdirectories, up to N levels deep" }, { "from": "gpt", "value": "du [-h|--human-readable] [-d|--max-depth] N path/to/directory" } ]
[ { "from": "human", "value": "List the human-readable size of all `.jpg` files in current directory, and show a cumulative total at the end" }, { "from": "gpt", "value": "du [-ch|--total --human-readable] ./*.jpg" } ]