conversations
listlengths
2
2
[ { "from": "human", "value": "Test an Accelerate configuration file" }, { "from": "gpt", "value": "accelerate test --config_file path/to/config.yaml" } ]
[ { "from": "human", "value": "Run a model on CPU with Accelerate" }, { "from": "gpt", "value": "accelerate launch path/to/script.py --cpu" } ]
[ { "from": "human", "value": "Run a model on multi-GPU with Accelerate, with 2 machines" }, { "from": "gpt", "value": "accelerate launch path/to/script.py --multi_gpu --num_machines 2" } ]
[ { "from": "human", "value": "Execute a code snippet" }, { "from": "gpt", "value": "ngs -e \"echo('ngs is executed')\"" } ]
[ { "from": "human", "value": "Execute a script" }, { "from": "gpt", "value": "ngs path/to/script.ngs" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "ngs --version" } ]
[ { "from": "human", "value": "Install project dependencies from `package-lock.json` or `npm-shrinkwrap.json`" }, { "from": "gpt", "value": "npm ci" } ]
[ { "from": "human", "value": "Install project dependencies but skip the specified dependency type" }, { "from": "gpt", "value": "npm ci --omit=dev|optional|peer" } ]
[ { "from": "human", "value": "Install project dependencies without running any pre-/post-scripts defined in `package.json`" }, { "from": "gpt", "value": "npm ci --ignore-scripts" } ]
[ { "from": "human", "value": "View documentation for `gcc`" }, { "from": "gpt", "value": "tldr gcc" } ]
[ { "from": "human", "value": "Install a module globally" }, { "from": "gpt", "value": "yarn global add module_name" } ]
[ { "from": "human", "value": "Install all dependencies referenced in the `package.json` file (the `install` is optional)" }, { "from": "gpt", "value": "yarn install" } ]
[ { "from": "human", "value": "Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency)" }, { "from": "gpt", "value": "yarn add module_name@version" } ]
[ { "from": "human", "value": "Uninstall a module and remove it from the `package.json` file" }, { "from": "gpt", "value": "yarn remove module_name" } ]
[ { "from": "human", "value": "Interactively create a `package.json` file" }, { "from": "gpt", "value": "yarn init" } ]
[ { "from": "human", "value": "Identify whether a module is a dependency and list other modules that depend upon it" }, { "from": "gpt", "value": "yarn why module_name" } ]
[ { "from": "human", "value": "Copy an image from source to target" }, { "from": "gpt", "value": "gcrane [cp|copy] source target" } ]
[ { "from": "human", "value": "Set the maximum number of concurrent copies, defaults to 20" }, { "from": "gpt", "value": "gcrane copy source target [-j|--jobs] nr_of_copies" } ]
[ { "from": "human", "value": "Whether to recurse through repositories" }, { "from": "gpt", "value": "gcrane copy source target [-r|--recursive]" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gcrane copy [-h|--help]" } ]
[ { "from": "human", "value": "Stack the planes of the specified PAM images in the specified order" }, { "from": "gpt", "value": "pamstack path/to/image1.pam path/to/image2.pam ... > path/to/output.pam" } ]
[ { "from": "human", "value": "Specify the tuple type name of the output PAM file (maximum of 255 characters)" }, { "from": "gpt", "value": "pamstack [-t|-tupletype] tuple_type path/to/image1.pam path/to/image2.pam ... > path/to/output.pam" } ]
[ { "from": "human", "value": "Update the local index" }, { "from": "gpt", "value": "bpkg update" } ]
[ { "from": "human", "value": "Install a package globally" }, { "from": "gpt", "value": "bpkg install --global package" } ]
[ { "from": "human", "value": "Install a package in a subdirectory of the current directory" }, { "from": "gpt", "value": "bpkg install package" } ]
[ { "from": "human", "value": "Install a specific version of a package globally" }, { "from": "gpt", "value": "bpkg install package@version -g" } ]
[ { "from": "human", "value": "Show details about a specific package" }, { "from": "gpt", "value": "bpkg show package" } ]
[ { "from": "human", "value": "Run a command, optionally specifying its arguments" }, { "from": "gpt", "value": "bpkg run command argument1 argument2 ..." } ]
[ { "from": "human", "value": "Display the path to the binary in the default toolchain" }, { "from": "gpt", "value": "rustup which command" } ]
[ { "from": "human", "value": "Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information)" }, { "from": "gpt", "value": "rustup which --toolchain toolchain command" } ]
[ { "from": "human", "value": "Start the daemon required to run other commands" }, { "from": "gpt", "value": "ollama serve" } ]
[ { "from": "human", "value": "Run a model and chat with it" }, { "from": "gpt", "value": "ollama run model" } ]
[ { "from": "human", "value": "Run a model with a single prompt" }, { "from": "gpt", "value": "ollama run model prompt" } ]
[ { "from": "human", "value": "List downloaded models" }, { "from": "gpt", "value": "ollama list" } ]
[ { "from": "human", "value": "Pull/Update a specific model" }, { "from": "gpt", "value": "ollama pull model" } ]
[ { "from": "human", "value": "List running models" }, { "from": "gpt", "value": "ollama ps" } ]
[ { "from": "human", "value": "Delete a model" }, { "from": "gpt", "value": "ollama rm model" } ]
[ { "from": "human", "value": "Create a model from a `Modelfile`" }, { "from": "gpt", "value": "ollama create new_model_name [-f|--file] path/to/Modelfile" } ]
[ { "from": "human", "value": "Update the database to a specified migration" }, { "from": "gpt", "value": "dotnet ef database update migration" } ]
[ { "from": "human", "value": "Drop the database" }, { "from": "gpt", "value": "dotnet ef database drop" } ]
[ { "from": "human", "value": "List available `DbContext` types" }, { "from": "gpt", "value": "dotnet ef dbcontext list" } ]
[ { "from": "human", "value": "Generate code for a `DbContext` and entity types for a database" }, { "from": "gpt", "value": "dotnet ef dbcontext scaffold connection_string provider" } ]
[ { "from": "human", "value": "Add a new migration" }, { "from": "gpt", "value": "dotnet ef migrations add name" } ]
[ { "from": "human", "value": "Remove the last migration, rolling back the code changes that were done for the latest migration" }, { "from": "gpt", "value": "dotnet ef migrations remove" } ]
[ { "from": "human", "value": "List available migrations" }, { "from": "gpt", "value": "dotnet ef migrations list" } ]
[ { "from": "human", "value": "Generate an SQL script from migrations range" }, { "from": "gpt", "value": "dotnet ef migrations script from_migration to_migration" } ]
[ { "from": "human", "value": "Produce a request summarizing the changes between the v1.1 release and a specified branch" }, { "from": "gpt", "value": "git request-pull v1.1 https://example.com/project branch_name" } ]
[ { "from": "human", "value": "Produce a request summarizing the changes between the v0.1 release on the `foo` branch and the local `bar` branch" }, { "from": "gpt", "value": "git request-pull v0.1 https://example.com/project foo:bar" } ]
[ { "from": "human", "value": "Interactively input lines into an array" }, { "from": "gpt", "value": "readarray array_name" } ]
[ { "from": "human", "value": "Read lines from a file and insert them in an array" }, { "from": "gpt", "value": "readarray array_name < path/to/file.txt" } ]
[ { "from": "human", "value": "Remove trailing deliminators (newline by default)" }, { "from": "gpt", "value": "readarray -t array_name < path/to/file.txt" } ]
[ { "from": "human", "value": "Copy at most `n` lines" }, { "from": "gpt", "value": "readarray -n n array_name < path/to/file.txt" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "help mapfile" } ]
[ { "from": "human", "value": "Render a static image directly in the terminal" }, { "from": "gpt", "value": "pixterm path/to/file" } ]
[ { "from": "human", "value": "Use the image's original aspect ratio" }, { "from": "gpt", "value": "pixterm -s 2 path/to/file" } ]
[ { "from": "human", "value": "Specify a custom aspect ratio using a specific number of [t]erminal [r]ows and [c]olumns" }, { "from": "gpt", "value": "pixterm -tr 24 -tc 80 path/to/file" } ]
[ { "from": "human", "value": "Filter the output with a [m]atte background color and character [d]ithering" }, { "from": "gpt", "value": "pixterm -m 000000 -d 2 path/to/file" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr nm" } ]
[ { "from": "human", "value": "Launch ranger" }, { "from": "gpt", "value": "ranger" } ]
[ { "from": "human", "value": "Show only directories" }, { "from": "gpt", "value": "ranger --show-only-dirs" } ]
[ { "from": "human", "value": "Change the configuration directory" }, { "from": "gpt", "value": "ranger --confdir=path/to/directory" } ]
[ { "from": "human", "value": "Change the data directory" }, { "from": "gpt", "value": "ranger --datadir=path/to/directory" } ]
[ { "from": "human", "value": "Print CPU usage statistics on exit" }, { "from": "gpt", "value": "ranger --profile" } ]
[ { "from": "human", "value": "Convert an XPM image to a PPM image" }, { "from": "gpt", "value": "xpmtoppm path/to/input_file.xpm > path/to/output_file.ppm" } ]
[ { "from": "human", "value": "Store the transparency mask of the input image in the specified file" }, { "from": "gpt", "value": "xpmtoppm [-a|--alphaout] path/to/alpha_file.pbm path/to/input_file.xpm > path/to/output_file.ppm" } ]
[ { "from": "human", "value": "Capture traffic of all interfaces" }, { "from": "gpt", "value": "ngrep -d any" } ]
[ { "from": "human", "value": "Capture traffic of a specific interface" }, { "from": "gpt", "value": "ngrep -d eth0" } ]
[ { "from": "human", "value": "Capture traffic crossing port 22 of interface eth0" }, { "from": "gpt", "value": "ngrep -d eth0 port 22" } ]
[ { "from": "human", "value": "Capture traffic from or to a host" }, { "from": "gpt", "value": "ngrep host www.example.com" } ]
[ { "from": "human", "value": "Filter keyword 'User-Agent:' of interface eth0" }, { "from": "gpt", "value": "ngrep -d eth0 'User-Agent:'" } ]
[ { "from": "human", "value": "Log in interactively" }, { "from": "gpt", "value": "az login" } ]
[ { "from": "human", "value": "Log in with a service principal using a client secret" }, { "from": "gpt", "value": "az login --service-principal --username http://azure-cli-service-principal --password secret --tenant someone.onmicrosoft.com" } ]
[ { "from": "human", "value": "Log in with a service principal using a client certificate" }, { "from": "gpt", "value": "az login --service-principal --username http://azure-cli-service-principal --password path/to/cert.pem --tenant someone.onmicrosoft.com" } ]
[ { "from": "human", "value": "Log in using a VM's system assigned identity" }, { "from": "gpt", "value": "az login --identity" } ]
[ { "from": "human", "value": "Log in using a VM's user assigned identity" }, { "from": "gpt", "value": "az login --identity --username /subscriptions/subscription_id/resourcegroups/my_rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my_id" } ]
[ { "from": "human", "value": "Add a reference to the project in the current directory" }, { "from": "gpt", "value": "dotnet add reference path/to/reference.csproj" } ]
[ { "from": "human", "value": "Add multiple references to the project in the current directory" }, { "from": "gpt", "value": "dotnet add reference path/to/reference1.csproj path/to/reference2.csproj ..." } ]
[ { "from": "human", "value": "Add a reference to the specific project" }, { "from": "gpt", "value": "dotnet add path/to/project.csproj reference path/to/reference.csproj" } ]
[ { "from": "human", "value": "Add multiple references to the specific project" }, { "from": "gpt", "value": "dotnet add path/to/project.csproj reference path/to/reference1.csproj path/to/reference2.csproj ..." } ]
[ { "from": "human", "value": "Create the documentation" }, { "from": "gpt", "value": "yard" } ]
[ { "from": "human", "value": "Create the documentation and save it to one file" }, { "from": "gpt", "value": "yard --one-file" } ]
[ { "from": "human", "value": "List all undocumented objects" }, { "from": "gpt", "value": "yard stats --list-undoc" } ]
[ { "from": "human", "value": "Open a compressed file" }, { "from": "gpt", "value": "zmore path/to/file.txt.gz" } ]
[ { "from": "human", "value": "Display the next page of the file" }, { "from": "gpt", "value": "<Space>" } ]
[ { "from": "human", "value": "Search for a pattern in the file (press `<n>` to go to next match)" }, { "from": "gpt", "value": "</>regular_expression" } ]
[ { "from": "human", "value": "Exit" }, { "from": "gpt", "value": "<q>" } ]
[ { "from": "human", "value": "Display interactive command help" }, { "from": "gpt", "value": "<h>" } ]
[ { "from": "human", "value": "Remove job number 10" }, { "from": "gpt", "value": "atrm 10" } ]
[ { "from": "human", "value": "Remove many jobs, separated by spaces" }, { "from": "gpt", "value": "atrm 15 17 22" } ]
[ { "from": "human", "value": "Generate tags for a single file, and output them to a file named \"tags\" in the current directory, overwriting the file if it exists" }, { "from": "gpt", "value": "ctags path/to/file" } ]
[ { "from": "human", "value": "Generate tags for all files in the current directory, and output them to a specific file, overwriting the file if it exists" }, { "from": "gpt", "value": "ctags -f path/to/file *" } ]
[ { "from": "human", "value": "Generate tags for all files in the current directory and all subdirectories" }, { "from": "gpt", "value": "ctags --recurse" } ]
[ { "from": "human", "value": "Generate tags for a single file, and output them with start line number and end line number in JSON format" }, { "from": "gpt", "value": "ctags --fields=+ne --output-format=json path/to/file" } ]
[ { "from": "human", "value": "Scale up a PAM image by an integer factor" }, { "from": "gpt", "value": "pamstretch n path/to/image.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Scale up a PAM image by the specified factors in the horizontal and vertical directions" }, { "from": "gpt", "value": "pamstretch [-x|-xscale] xn [-y|-yscale] yn path/to/image.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Show total blame count" }, { "from": "gpt", "value": "git guilt" } ]
[ { "from": "human", "value": "Calculate the change in blame between two revisions" }, { "from": "gpt", "value": "git guilt first_revision last_revision" } ]
[ { "from": "human", "value": "Show author emails instead of names" }, { "from": "gpt", "value": "git guilt --email" } ]
[ { "from": "human", "value": "Ignore whitespace only changes when attributing blame" }, { "from": "gpt", "value": "git guilt --ignore-whitespace" } ]
[ { "from": "human", "value": "Find blame delta over the last three weeks" }, { "from": "gpt", "value": "git guilt 'git log --until=\"3 weeks ago\" --format=\"%H\" -n 1'" } ]