conversations
listlengths
2
2
[ { "from": "human", "value": "Land a change in a local branch or on a review request via the `rbt` command" }, { "from": "gpt", "value": "`rbt land {{branch_name}}`" } ]
[ { "from": "human", "value": "Patch your tree with a change on a review request via the `rbt` command" }, { "from": "gpt", "value": "`rbt patch {{review_request_id}}`" } ]
[ { "from": "human", "value": "Set up RBTool to talk to a repository via the `rbt` command" }, { "from": "gpt", "value": "`rbt setup-repo`" } ]
[ { "from": "human", "value": "Tell me about `rcat`." }, { "from": "gpt", "value": "This command is an alias of `rc`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `rcat` command" }, { "from": "gpt", "value": "`tldr rc`" } ]
[ { "from": "human", "value": "Tell me about `rclone`." }, { "from": "gpt", "value": "Copy, synchronize or move files and directories to and from many cloud services.\nMore information: <https://rclone.org>.\n" } ]
[ { "from": "human", "value": "Launch an interactive menu to setup rclone via the `rclone` command" }, { "from": "gpt", "value": "`rclone config`" } ]
[ { "from": "human", "value": "List contents of a directory on an rclone remote via the `rclone` command" }, { "from": "gpt", "value": "`rclone lsf {{remote_name}}:{{path/to/directory}}`" } ]
[ { "from": "human", "value": "Copy a file or directory from the local machine to the remote destination via the `rclone` command" }, { "from": "gpt", "value": "`rclone copy {{path/to/source_file_or_directory}} {{remote_name}}:{{path/to/directory}}`" } ]
[ { "from": "human", "value": "Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file via the `rclone` command" }, { "from": "gpt", "value": "`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local...
[ { "from": "human", "value": "Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally) via the `rclone` command" }, { "from": "gpt", "value": "`rclone sync {{path/to/file_or_directory}} {{remote_name}}:{{path/to/directory}}`" } ]
[ { "from": "human", "value": "Delete a remote file or directory (Note: `--dry-run` means test, remove it from the command to actually delete) via the `rclone` command" }, { "from": "gpt", "value": "`rclone --dry-run delete {{remote_name}}:{{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Mount rclone remote (experimental) via the `rclone` command" }, { "from": "gpt", "value": "`rclone mount {{remote_name}}:{{path/to/directory}} {{path/to/mount_point}}`" } ]
[ { "from": "human", "value": "Unmount rclone remote if `<Ctrl c>` fails (experimental) via the `rclone` command" }, { "from": "gpt", "value": "`fusermount -u {{path/to/mount_point}}`" } ]
[ { "from": "human", "value": "Tell me about `rc`." }, { "from": "gpt", "value": "A modern simplistic port listener & reverse shell.\nSimilar to `nc`.\nMore information: <https://github.com/robiot/rustcat/wiki/Basic-Usage>.\n" } ]
[ { "from": "human", "value": "Start listening on a specific port via the `rc` command" }, { "from": "gpt", "value": "`rc -lp {{port}}`" } ]
[ { "from": "human", "value": "Start a reverse shell via the `rc` command" }, { "from": "gpt", "value": "`rc {{host}} {{port}} -r {{shell}}`" } ]
[ { "from": "human", "value": "Tell me about `rdfind`." }, { "from": "gpt", "value": "Find files with duplicate content and get rid of them.\nMore information: <https://rdfind.pauldreik.se>.\n" } ]
[ { "from": "human", "value": "Identify all duplicates in a given directory and output a summary via the `rdfind` command" }, { "from": "gpt", "value": "`rdfind -dryrun true {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Replace all duplicates with hardlinks via the `rdfind` command" }, { "from": "gpt", "value": "`rdfind -makehardlinks true {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Replace all duplicates with symlinks/soft links via the `rdfind` command" }, { "from": "gpt", "value": "`rdfind -makesymlinks true {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Delete all duplicates and do not ignore empty files via the `rdfind` command" }, { "from": "gpt", "value": "`rdfind -deleteduplicates true -ignoreempty false {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `react-native`." }, { "from": "gpt", "value": "A framework for building native apps with React.\nMore information: <https://reactnative.dev>.\n" } ]
[ { "from": "human", "value": "Initialize a new React Native project in a directory of the same name via the `react-native` command" }, { "from": "gpt", "value": "`react-native init {{project_name}}`" } ]
[ { "from": "human", "value": "Start the metro bundler via the `react-native` command" }, { "from": "gpt", "value": "`react-native start`" } ]
[ { "from": "human", "value": "Start the metro bundler with a clean cache via the `react-native` command" }, { "from": "gpt", "value": "`react-native start --reset-cache`" } ]
[ { "from": "human", "value": "Build the current application and start it on a connected Android device or emulator via the `react-native` command" }, { "from": "gpt", "value": "`react-native run-android`" } ]
[ { "from": "human", "value": "Build the current application and start it on an iOS simulator via the `react-native` command" }, { "from": "gpt", "value": "`react-native run-ios`" } ]
[ { "from": "human", "value": "Build the current application in `release` mode and start it on a connected Android device or emulator via the `react-native` command" }, { "from": "gpt", "value": "`react-native run-android --variant={{release}}`" } ]
[ { "from": "human", "value": "Start `logkitty` and print logs to `stdout` via the `react-native` command" }, { "from": "gpt", "value": "`react-native log-android`" } ]
[ { "from": "human", "value": "Start `tail system.log` for an iOS simulator and print logs to `stdout` via the `react-native` command" }, { "from": "gpt", "value": "`react-native log-ios`" } ]
[ { "from": "human", "value": "Tell me about `react-native start`." }, { "from": "gpt", "value": "Command-line tools to start the React Native server.\nMore information: <https://github.com/react-native-community/cli/blob/master/docs/commands.md#start>.\n" } ]
[ { "from": "human", "value": "Start the server that communicates with connected devices via the `react-native-start` command" }, { "from": "gpt", "value": "`react-native start`" } ]
[ { "from": "human", "value": "Start the metro bundler with a clean cache via the `react-native-start` command" }, { "from": "gpt", "value": "`react-native start --reset-cache`" } ]
[ { "from": "human", "value": "Start the server in a custom port (defaults to 8081) via the `react-native-start` command" }, { "from": "gpt", "value": "`react-native start --port {{3000}}`" } ]
[ { "from": "human", "value": "Start the server in verbose mode via the `react-native-start` command" }, { "from": "gpt", "value": "`react-native start --verbose`" } ]
[ { "from": "human", "value": "Specify the maximum number of workers for transforming files (default is the number of CPU cores) via the `react-native-start` command" }, { "from": "gpt", "value": "`react-native start --max-workers {{count}}`" } ]
[ { "from": "human", "value": "Disable interactive mode via the `react-native-start` command" }, { "from": "gpt", "value": "`react-native start --no-interactive`" } ]
[ { "from": "human", "value": "Tell me about `readarray`." }, { "from": "gpt", "value": "Read lines from `stdin` into an array.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-readarray>.\n" } ]
[ { "from": "human", "value": "Interactively input lines into an array via the `readarray` command" }, { "from": "gpt", "value": "`readarray {{array_name}}`" } ]
[ { "from": "human", "value": "Read lines from a file and insert them in an array via the `readarray` command" }, { "from": "gpt", "value": "`readarray {{array_name}} < {{path/to/file.txt}}`" } ]
[ { "from": "human", "value": "Remove trailing deliminators (newline by default) via the `readarray` command" }, { "from": "gpt", "value": "`readarray -t {{array_name}} < {{path/to/file.txt}}`" } ]
[ { "from": "human", "value": "Copy at most `n` lines via the `readarray` command" }, { "from": "gpt", "value": "`readarray -n {{n}} {{array_name}} < {{path/to/file.txt}}`" } ]
[ { "from": "human", "value": "Display help via the `readarray` command" }, { "from": "gpt", "value": "`help mapfile`" } ]
[ { "from": "human", "value": "Tell me about `readlink`." }, { "from": "gpt", "value": "Follow symlinks and get symlink information.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/readlink-invocation.html>.\n" } ]
[ { "from": "human", "value": "Get the actual file to which the symlink points via the `readlink` command" }, { "from": "gpt", "value": "`readlink {{path/to/file}}`" } ]
[ { "from": "human", "value": "Get the absolute path to a file via the `readlink` command" }, { "from": "gpt", "value": "`readlink {{[-f|--canonicalize]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `read`." }, { "from": "gpt", "value": "Shell builtin for retrieving data from `stdin`.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-read>.\n" } ]
[ { "from": "human", "value": "Store data that you type from the keyboard via the `read` command" }, { "from": "gpt", "value": "`read {{variable}}`" } ]
[ { "from": "human", "value": "Store each of the next lines you enter as values of an array via the `read` command" }, { "from": "gpt", "value": "`read -a {{array}}`" } ]
[ { "from": "human", "value": "Specify the number of maximum characters to be read via the `read` command" }, { "from": "gpt", "value": "`read -n {{character_count}} {{variable}}`" } ]
[ { "from": "human", "value": "Assign multiple values to multiple variables via the `read` command" }, { "from": "gpt", "value": "`read {{_ variable1 _ variable2}} <<< \"{{The surname is Bond}}\"`" } ]
[ { "from": "human", "value": "Do not let backslash (\\\\) act as an escape character via the `read` command" }, { "from": "gpt", "value": "`read -r {{variable}}`" } ]
[ { "from": "human", "value": "Display a prompt before the input via the `read` command" }, { "from": "gpt", "value": "`read -p \"{{Enter your input here: }}\" {{variable}}`" } ]
[ { "from": "human", "value": "Do not echo typed characters (silent mode) via the `read` command" }, { "from": "gpt", "value": "`read -s {{variable}}`" } ]
[ { "from": "human", "value": "Read `stdin` and perform an action on every line via the `read` command" }, { "from": "gpt", "value": "`while read line; do {{echo|ls|rm|...}} \"$line\"; done < {{/dev/stdin|path/to/file|...}}`" } ]
[ { "from": "human", "value": "Tell me about `readonly`." }, { "from": "gpt", "value": "Set read-only shell variables.\nMore information: <https://manned.org/readonly.1posix>.\n" } ]
[ { "from": "human", "value": "Set a read-only variable via the `readonly` command" }, { "from": "gpt", "value": "`readonly {{variable_name}}={{value}}`" } ]
[ { "from": "human", "value": "Mark a variable as read-only via the `readonly` command" }, { "from": "gpt", "value": "`readonly {{existing_variable}}`" } ]
[ { "from": "human", "value": "[p]rint the names and values of all read-only variables to `stdout` via the `readonly` command" }, { "from": "gpt", "value": "`readonly -p`" } ]
[ { "from": "human", "value": "Tell me about `realpath`." }, { "from": "gpt", "value": "Display the resolved absolute path for a file or directory.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/realpath-invocation.html>.\n" } ]
[ { "from": "human", "value": "Display the absolute path for a file or directory via the `realpath` command" }, { "from": "gpt", "value": "`realpath {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Require all path components to exist via the `realpath` command" }, { "from": "gpt", "value": "`realpath {{[-e|--canonicalize-existing]}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Resolve \"..\" components before symlinks via the `realpath` command" }, { "from": "gpt", "value": "`realpath {{[-L|--logical]}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Disable symlink expansion via the `realpath` command" }, { "from": "gpt", "value": "`realpath {{[-s|--no-symlinks]}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Suppress error messages via the `realpath` command" }, { "from": "gpt", "value": "`realpath {{[-q|--quiet]}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Tell me about `recsel`." }, { "from": "gpt", "value": "Print records from a recfile: a human-editable, plain text database.\nMore information: <https://www.gnu.org/software/recutils/manual/recutils.html#Invoking-recsel>.\n" } ]
[ { "from": "human", "value": "Extract name and version field via the `recsel` command" }, { "from": "gpt", "value": "`recsel {{[-p|--print]}} name,version {{data.rec}}`" } ]
[ { "from": "human", "value": "Use \"~\" to match a string with a given regular expression via the `recsel` command" }, { "from": "gpt", "value": "`recsel {{[-e|--expression]}} \"{{field_name}} ~ '{{regular_expression}}' {{data.rec}}\"`" } ]
[ { "from": "human", "value": "Use a predicate to match a name and a version via the `recsel` command" }, { "from": "gpt", "value": "`recsel {{[-e|--expression]}} \"name ~ '{{regular_expression}}' && version ~ '{{regular_expression}}'\" {{data.rec}}`" } ]
[ { "from": "human", "value": "Tell me about `rector`." }, { "from": "gpt", "value": "An automated tool for updating and refactoring PHP 5.3+ code.\nMore information: <https://github.com/rectorphp/rector>.\n" } ]
[ { "from": "human", "value": "Process a specific directory via the `rector` command" }, { "from": "gpt", "value": "`rector process {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Process a directory without applying changes (dry run) via the `rector` command" }, { "from": "gpt", "value": "`rector process {{path/to/directory}} --dry-run`" } ]
[ { "from": "human", "value": "Process a directory and apply coding standards via the `rector` command" }, { "from": "gpt", "value": "`rector process {{path/to/directory}} --with-style`" } ]
[ { "from": "human", "value": "Display a list of available levels via the `rector` command" }, { "from": "gpt", "value": "`rector levels`" } ]
[ { "from": "human", "value": "Process a directory with a specific level via the `rector` command" }, { "from": "gpt", "value": "`rector process {{path/to/directory}} --level {{level_name}}`" } ]
[ { "from": "human", "value": "Tell me about `redis-benchmark`." }, { "from": "gpt", "value": "Benchmark a Redis server.\nMore information: <https://redis.io/docs/latest/operate/oss_and_stack/management/optimization/benchmarks/>.\n" } ]
[ { "from": "human", "value": "Run full benchmark via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark`" } ]
[ { "from": "human", "value": "Run benchmark on a specific Redis server via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark -h {{host}} -p {{port}} -a {{password}}`" } ]
[ { "from": "human", "value": "Run a subset of tests with default 100000 requests via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark -h {{host}} -p {{port}} -t {{set,lpush}} -n {{100000}}`" } ]
[ { "from": "human", "value": "Run with a specific script via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark -n {{100000}} script load \"{{redis.call('set', 'foo', 'bar')}}\"`" } ]
[ { "from": "human", "value": "Run benchmark by using 100000 [r]andom keys via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark -t {{set}} -r {{100000}}`" } ]
[ { "from": "human", "value": "Run benchmark by using a [P]ipelining of 16 commands via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark -n {{1000000}} -t {{set,get}} -P {{16}}`" } ]
[ { "from": "human", "value": "Run benchmark [q]uietly and only show query per seconds result via the `redis-benchmark` command" }, { "from": "gpt", "value": "`redis-benchmark -q`" } ]
[ { "from": "human", "value": "Tell me about `redis-cli`." }, { "from": "gpt", "value": "Opens a connection to a Redis server.\nMore information: <https://redis.io/topics/rediscli>.\n" } ]
[ { "from": "human", "value": "Connect to the local server via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli`" } ]
[ { "from": "human", "value": "Connect to a remote server on the default port (6379) via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli -h {{host}}`" } ]
[ { "from": "human", "value": "Connect to a remote server specifying a port number via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli -h {{host}} -p {{port}}`" } ]
[ { "from": "human", "value": "Connect to a remote server specifying a URI via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli -u {{uri}}`" } ]
[ { "from": "human", "value": "Specify a password via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli -a {{password}}`" } ]
[ { "from": "human", "value": "Execute Redis command via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli {{redis_command}}`" } ]
[ { "from": "human", "value": "Connect to the local cluster via the `redis-cli` command" }, { "from": "gpt", "value": "`redis-cli -c`" } ]
[ { "from": "human", "value": "Tell me about `redis-server`." }, { "from": "gpt", "value": "Persistent key-value database.\nMore information: <https://redis.io>.\n" } ]
[ { "from": "human", "value": "Start Redis server, using the default port (6379), and write logs to `stdout` via the `redis-server` command" }, { "from": "gpt", "value": "`redis-server`" } ]
[ { "from": "human", "value": "Start Redis server, using the default port, as a background process via the `redis-server` command" }, { "from": "gpt", "value": "`redis-server --daemonize yes`" } ]
[ { "from": "human", "value": "Start Redis server, using the specified port, as a background process via the `redis-server` command" }, { "from": "gpt", "value": "`redis-server --port {{port}} --daemonize yes`" } ]
[ { "from": "human", "value": "Start Redis server with a custom configuration file via the `redis-server` command" }, { "from": "gpt", "value": "`redis-server {{path/to/redis.conf}}`" } ]
[ { "from": "human", "value": "Start Redis server with verbose logging via the `redis-server` command" }, { "from": "gpt", "value": "`redis-server --loglevel {{warning|notice|verbose|debug}}`" } ]
[ { "from": "human", "value": "Tell me about `redshift`." }, { "from": "gpt", "value": "Adjust the color temperature of your screen according to your surroundings.\nMore information: <https://manned.org/redshift>.\n" } ]
[ { "from": "human", "value": "Turn on Redshift with a specific [t]emperature during day (e.g., 5700K) and at night (e.g., 3600K) via the `redshift` command" }, { "from": "gpt", "value": "`redshift -t {{5700}}:{{3600}}`" } ]