conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Tell me about `rails new`."
},
{
"from": "gpt",
"value": "Create a new Rails application.\nMore information: <https://guides.rubyonrails.org/command_line.html#rails-new>.\n"
}
] |
[
{
"from": "human",
"value": "Create a Rails app named `blog` in the current directory via the `rails-new` command"
},
{
"from": "gpt",
"value": "`rails new blog`"
}
] |
[
{
"from": "human",
"value": "Create a Rails app with API-only configuration via the `rails-new` command"
},
{
"from": "gpt",
"value": "`rails new {{app_name}} --api`"
}
] |
[
{
"from": "human",
"value": "Create a Rails app with `postgresql` as the database via the `rails-new` command"
},
{
"from": "gpt",
"value": "`rails new {{app_name}} --database postgresql`"
}
] |
[
{
"from": "human",
"value": "Create a Rails app without generating JavaScript files via the `rails-new` command"
},
{
"from": "gpt",
"value": "`rails new {{app_name}} --skip-javascript`"
}
] |
[
{
"from": "human",
"value": "Display help via the `rails-new` command"
},
{
"from": "gpt",
"value": "`rails new --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rails routes`."
},
{
"from": "gpt",
"value": "List routes in a Rails application.\nMore information: <https://guides.rubyonrails.org/routing.html>.\n"
}
] |
[
{
"from": "human",
"value": "List all routes via the `rails-routes` command"
},
{
"from": "gpt",
"value": "`rails routes`"
}
] |
[
{
"from": "human",
"value": "List all routes in an expanded format via the `rails-routes` command"
},
{
"from": "gpt",
"value": "`rails routes --expanded`"
}
] |
[
{
"from": "human",
"value": "List routes partially matching URL helper method name, HTTP verb, or URL path via the `rails-routes` command"
},
{
"from": "gpt",
"value": "`rails routes -g {{posts_path|GET|/posts}}`"
}
] |
[
{
"from": "human",
"value": "List routes that map to a specified controller via the `rails-routes` command"
},
{
"from": "gpt",
"value": "`rails routes -c {{posts|Posts|Blogs::PostsController}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rails server`."
},
{
"from": "gpt",
"value": "Serve the Rails app in the current directory using the Puma web server, which comes bundled with Rails.\nMore information: <https://guides.rubyonrails.org/command_line.html#bin-rails-server>.\n"
}
] |
[
{
"from": "human",
"value": "Run the web server via the `rails-server` command"
},
{
"from": "gpt",
"value": "`rails server`"
}
] |
[
{
"from": "human",
"value": "Run the web server on a specified port via the `rails-server` command"
},
{
"from": "gpt",
"value": "`rails server --port {{port_number}}`"
}
] |
[
{
"from": "human",
"value": "Run the web server on a specified IP address via the `rails-server` command"
},
{
"from": "gpt",
"value": "`rails server --binding {{ip_address}}`"
}
] |
[
{
"from": "human",
"value": "Run the web server on a specified environment via the `rails-server` command"
},
{
"from": "gpt",
"value": "`rails server --environment {{environment}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `rails-server` command"
},
{
"from": "gpt",
"value": "`rails server --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `railway`."
},
{
"from": "gpt",
"value": "Connect code to a Railway project.\nMore information: <https://railway.app/>.\n"
}
] |
[
{
"from": "human",
"value": "Login to a Railway account via the `railway` command"
},
{
"from": "gpt",
"value": "`railway login`"
}
] |
[
{
"from": "human",
"value": "Link to an existing Project under a Railway account or team via the `railway` command"
},
{
"from": "gpt",
"value": "`railway link {{projectId}}`"
}
] |
[
{
"from": "human",
"value": "Create a new project via the `railway` command"
},
{
"from": "gpt",
"value": "`railway init`"
}
] |
[
{
"from": "human",
"value": "Run a local command using variables from the active environment via the `railway` command"
},
{
"from": "gpt",
"value": "`railway run {{cmd}}`"
}
] |
[
{
"from": "human",
"value": "Deploy the linked project directory (if running from a subdirectory, the project root is still deployed) via the `railway` command"
},
{
"from": "gpt",
"value": "`railway up`"
}
] |
[
{
"from": "human",
"value": "Open an interactive shell to a database via the `railway` command"
},
{
"from": "gpt",
"value": "`railway connect`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rainbowstream`."
},
{
"from": "gpt",
"value": "Terminal-based Twitter client supporting realtime tweetstream, trends, sending, search, favorites and user management.\nOnline help with `<h>`, `<ArrowUp>` and `<ArrowDown>` for history, `<Tab>` to auto-co... |
[
{
"from": "human",
"value": "Open RainbowStream via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`rainbowstream`"
}
] |
[
{
"from": "human",
"value": "Show your timeline (optional number of tweets to display, default is 5) via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`home [{{num_of_last_tweets}}]`"
}
] |
[
{
"from": "human",
"value": "Show profile of a given user via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`whois @{{user}}`"
}
] |
[
{
"from": "human",
"value": "Tweet the message as-is via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`t {{message}}`"
}
] |
[
{
"from": "human",
"value": "Retweet the tweet with given ID (ID is beside the time) via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`rt {{tweet_id}}`"
}
] |
[
{
"from": "human",
"value": "Favorite the tweet with given ID via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`fav {{tweet_id}}`"
}
] |
[
{
"from": "human",
"value": "Perform a search for a given word (with or without hashtag) via the `rainbowstream` command"
},
{
"from": "gpt",
"value": "`s {{word}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rake`."
},
{
"from": "gpt",
"value": "A Make-like program for Ruby.\nTasks for `rake` are specified in a Rakefile.\nMore information: <https://ruby.github.io/rake>.\n"
}
] |
[
{
"from": "human",
"value": "Run the `default` Rakefile task via the `rake` command"
},
{
"from": "gpt",
"value": "`rake`"
}
] |
[
{
"from": "human",
"value": "Run a specific task via the `rake` command"
},
{
"from": "gpt",
"value": "`rake {{task}}`"
}
] |
[
{
"from": "human",
"value": "Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default) via the `rake` command"
},
{
"from": "gpt",
"value": "`rake --jobs {{n}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific Rakefile via the `rake` command"
},
{
"from": "gpt",
"value": "`rake --rakefile {{path/to/Rakefile}}`"
}
] |
[
{
"from": "human",
"value": "Execute `rake` from another directory via the `rake` command"
},
{
"from": "gpt",
"value": "`rake --directory {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ranger`."
},
{
"from": "gpt",
"value": "Console file manager with VI key bindings.\nSee also: `clifm`, `vifm`, `mc`, `dolphin`.\nMore information: <https://github.com/ranger/ranger>.\n"
}
] |
[
{
"from": "human",
"value": "Launch ranger via the `ranger` command"
},
{
"from": "gpt",
"value": "`ranger`"
}
] |
[
{
"from": "human",
"value": "Show only directories via the `ranger` command"
},
{
"from": "gpt",
"value": "`ranger --show-only-dirs`"
}
] |
[
{
"from": "human",
"value": "Change the configuration directory via the `ranger` command"
},
{
"from": "gpt",
"value": "`ranger --confdir={{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Change the data directory via the `ranger` command"
},
{
"from": "gpt",
"value": "`ranger --datadir={{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Print CPU usage statistics on exit via the `ranger` command"
},
{
"from": "gpt",
"value": "`ranger --profile`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rapper`."
},
{
"from": "gpt",
"value": "The Raptor RDF parsing utility.\nPart of the Raptor RDF Syntax Library.\nMore information: <https://librdf.org/raptor/rapper.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert an RDF/XML document to Turtle via the `rapper` command"
},
{
"from": "gpt",
"value": "`rapper -i rdfxml -o turtle {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Count the number of triples in a Turtle file via the `rapper` command"
},
{
"from": "gpt",
"value": "`rapper -i turtle -c {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rarcrack`."
},
{
"from": "gpt",
"value": "Password cracker for RAR, Zip and 7z archives.\n"
}
] |
[
{
"from": "human",
"value": "Brute force the password for an archive (tries to guess the archive type) via the `rarcrack` command"
},
{
"from": "gpt",
"value": "`rarcrack {{path/to/file.zip}}`"
}
] |
[
{
"from": "human",
"value": "Specify the archive type via the `rarcrack` command"
},
{
"from": "gpt",
"value": "`rarcrack --type {{rar|zip|7z}} {{path/to/file.zip}}`"
}
] |
[
{
"from": "human",
"value": "Use multiple threads via the `rarcrack` command"
},
{
"from": "gpt",
"value": "`rarcrack --threads {{6}} {{path/to/file.zip}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rar`."
},
{
"from": "gpt",
"value": "The RAR archiver. Supports multi-volume archives that can be optionally self-extracting.\nMore information: <https://manned.org/rar>.\n"
}
] |
[
{
"from": "human",
"value": "Archive 1 or more files via the `rar` command"
},
{
"from": "gpt",
"value": "`rar a {{path/to/archive_name.rar}} {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}`"
}
] |
[
{
"from": "human",
"value": "Archive a directory via the `rar` command"
},
{
"from": "gpt",
"value": "`rar a {{path/to/archive_name.rar}} {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Split the archive into parts of equal size (50M) via the `rar` command"
},
{
"from": "gpt",
"value": "`rar a -v{{50M}} -R {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Password protect the resulting archive via the `rar` command"
},
{
"from": "gpt",
"value": "`rar a -p{{password}} {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Encrypt file data and headers with password via the `rar` command"
},
{
"from": "gpt",
"value": "`rar a -hp{{password}} {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific compression level (0-5) via the `rar` command"
},
{
"from": "gpt",
"value": "`rar a -m{{compression_level}} {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rasttopnm`."
},
{
"from": "gpt",
"value": "Convert a Sun rasterfile to a PNM file.\nMore information: <https://netpbm.sourceforge.net/doc/rasttopnm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a RAST image to a PNM file via the `rasttopnm` command"
},
{
"from": "gpt",
"value": "`rasttopnm {{path/to/input.rast}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Use the color map indices in the raster if they are color values via the `rasttopnm` command"
},
{
"from": "gpt",
"value": "`rasttopnm {{[-i|-index]}} {{path/to/input.rast}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rawtopgm`."
},
{
"from": "gpt",
"value": "Convert a raw greyscale image to a PGM image.\nMore information: <https://netpbm.sourceforge.net/doc/rawtopgm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a raw greyscale image to a PGM image via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{width}} {{height}} {{path/to/image.raw}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Convert a raw greyscale image to a PGM image, assume the image to be a square via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{path/to/image.raw}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Convert a raw greyscale image in which the pixels come bottom-first instead of top-first to a PGM image via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{width}} {{height}} {{[-bt|-bottomfirst]}} {{path/to/image.raw}} > {{path/to/output.pgm}}`"
... |
[
{
"from": "human",
"value": "Ignore the first `n` bytes of the specified file via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{width}} {{height}} {{[-h|-headerskip]}} {{n}} {{path/to/image.raw}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Ignore the last m bytes of each row in the specified file via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{width}} {{height}} {{[-r|-rowskip]}} {{m}} {{path/to/image.raw}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the maxval for the grey values in the input to be equal to `n` via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{width}} {{height}} {{[-m|-maxval]}} {{n}} {{path/to/image.raw}} > {{path/to/output.pgm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the number of bytes that represent each sample in the input and that the byte-sequence is to be interpreted as little-endian via the `rawtopgm` command"
},
{
"from": "gpt",
"value": "`rawtopgm {{width}} {{height}} -bpp {{1|2}} {{[-l|-littleendian]}} {{path/to... |
[
{
"from": "human",
"value": "Tell me about `rawtoppm`."
},
{
"from": "gpt",
"value": "Convert a raw RGB stream to a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/rawtoppm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a raw RGB stream to a PPM image via the `rawtoppm` command"
},
{
"from": "gpt",
"value": "`rawtoppm {{width}} {{height}} {{path/to/image.raw}} > {{path/to/output.ppm}}`"
}
] |
[
{
"from": "human",
"value": "Convert a raw RGB stream in which the pixels come bottom-first instead of top-first to a PPM image via the `rawtoppm` command"
},
{
"from": "gpt",
"value": "`rawtoppm {{width}} {{height}} {{path/to/image.raw}} | pamflip {{[-tb|-topbottom]}} > {{path/to/output.ppm}}`"... |
[
{
"from": "human",
"value": "Ignore the first n bytes of the specified file via the `rawtoppm` command"
},
{
"from": "gpt",
"value": "`rawtoppm {{width}} {{height}} {{[-h|-headerskip]}} {{n}} {{path/to/image.raw}} > {{path/to/output.ppm}}`"
}
] |
[
{
"from": "human",
"value": "Ignore the last m bytes of each row in the specified file via the `rawtoppm` command"
},
{
"from": "gpt",
"value": "`rawtoppm {{width}} {{height}} {{[-ro|-rowskip]}} {{m}} {{path/to/image.raw}} > {{path/to/output.ppm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the order of color components for each pixel via the `rawtoppm` command"
},
{
"from": "gpt",
"value": "`rawtoppm {{width}} {{height}} -{{rgb|rbg|grb|gbr|brg|bgr}} {{path/to/image.raw}} > {{path/to/output.ppm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rbac-lookup`."
},
{
"from": "gpt",
"value": "Find roles and cluster roles attached to any user, service account or group name in your Kubernetes cluster.\nMore information: <https://github.com/reactiveops/rbac-lookup>.\n"
}
] |
[
{
"from": "human",
"value": "View all RBAC bindings via the `rbac-lookup` command"
},
{
"from": "gpt",
"value": "`rbac-lookup`"
}
] |
[
{
"from": "human",
"value": "View RBAC bindings that match a given expression via the `rbac-lookup` command"
},
{
"from": "gpt",
"value": "`rbac-lookup {{search_term}}`"
}
] |
[
{
"from": "human",
"value": "View all RBAC bindings along with the source role binding via the `rbac-lookup` command"
},
{
"from": "gpt",
"value": "`rbac-lookup -o wide`"
}
] |
[
{
"from": "human",
"value": "View all RBAC bindings filtered by subject via the `rbac-lookup` command"
},
{
"from": "gpt",
"value": "`rbac-lookup -k {{user|group|serviceaccount}}`"
}
] |
[
{
"from": "human",
"value": "View all RBAC bindings along with IAM roles (if you are using GKE) via the `rbac-lookup` command"
},
{
"from": "gpt",
"value": "`rbac-lookup --gke`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rbash`."
},
{
"from": "gpt",
"value": "Restricted Bash shell, equivalent to `bash --restricted`.\nDoes not permit changing the working directory, redirecting command output, or modifying environment variables, among other things.\nSee also `histexpand`... |
[
{
"from": "human",
"value": "Start an interactive shell session via the `rbash` command"
},
{
"from": "gpt",
"value": "`rbash`"
}
] |
[
{
"from": "human",
"value": "Execute a command and then exit via the `rbash` command"
},
{
"from": "gpt",
"value": "`rbash -c \"{{command}}\"`"
}
] |
[
{
"from": "human",
"value": "Execute a script via the `rbash` command"
},
{
"from": "gpt",
"value": "`rbash {{path/to/script.sh}}`"
}
] |
[
{
"from": "human",
"value": "Execute a script, printing each command before executing it via the `rbash` command"
},
{
"from": "gpt",
"value": "`rbash -x {{path/to/script.sh}}`"
}
] |
[
{
"from": "human",
"value": "Execute commands from a script, stopping at the first error via the `rbash` command"
},
{
"from": "gpt",
"value": "`rbash -e {{path/to/script.sh}}`"
}
] |
[
{
"from": "human",
"value": "Read and execute commands from `stdin` via the `rbash` command"
},
{
"from": "gpt",
"value": "`rbash -s`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rbenv`."
},
{
"from": "gpt",
"value": "Easily install Ruby versions and manage application environments.\nSee also: `asdf`.\nMore information: <https://github.com/rbenv/rbenv>.\n"
}
] |
[
{
"from": "human",
"value": "Install a Ruby version via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv install {{version}}`"
}
] |
[
{
"from": "human",
"value": "Display a list of the latest stable versions for each Ruby via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv install --list`"
}
] |
[
{
"from": "human",
"value": "Display a list of installed Ruby versions via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv versions`"
}
] |
[
{
"from": "human",
"value": "Use a specific Ruby version across the whole system via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv global {{version}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific Ruby version for an application/project directory via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv local {{version}}`"
}
] |
[
{
"from": "human",
"value": "Display the currently selected Ruby version via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv version`"
}
] |
[
{
"from": "human",
"value": "Uninstall a Ruby version via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv uninstall {{version}}`"
}
] |
[
{
"from": "human",
"value": "Display all Ruby versions that contain the specified executable via the `rbenv` command"
},
{
"from": "gpt",
"value": "`rbenv whence {{executable}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `rbt`."
},
{
"from": "gpt",
"value": "RBTools is a set of command-line tools for working with Review Board and RBCommons.\nMore information: <https://www.reviewboard.org/docs/rbtools/dev/>.\n"
}
] |
[
{
"from": "human",
"value": "Post changes to Review Board via the `rbt` command"
},
{
"from": "gpt",
"value": "`rbt post {{change_number}}`"
}
] |
[
{
"from": "human",
"value": "Display the diff that will be sent to Review Board via the `rbt` command"
},
{
"from": "gpt",
"value": "`rbt diff`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.