conversations
listlengths
2
2
[ { "from": "human", "value": "Add a user to the current project" }, { "from": "gpt", "value": "add user username;" } ]
[ { "from": "human", "value": "Grant a set of authorities to a user" }, { "from": "gpt", "value": "grant action_list on object_type object_name to user username;" } ]
[ { "from": "human", "value": "Show authorities of a user" }, { "from": "gpt", "value": "show grants for username;" } ]
[ { "from": "human", "value": "Create a user role" }, { "from": "gpt", "value": "create role role_name;" } ]
[ { "from": "human", "value": "Grant a set of authorities to a role" }, { "from": "gpt", "value": "grant action_list on object_type object_name to role role_name;" } ]
[ { "from": "human", "value": "Describe authorities of a role" }, { "from": "gpt", "value": "desc role role_name;" } ]
[ { "from": "human", "value": "Grant a role to a user" }, { "from": "gpt", "value": "grant role_name to username;" } ]
[ { "from": "human", "value": "Run `sleep 10` and terminate it after 3 seconds" }, { "from": "gpt", "value": "timeout 3s sleep 10" } ]
[ { "from": "human", "value": "Send a signal to the command after the time limit expires (`TERM` by default, `kill -l` to list all signals)" }, { "from": "gpt", "value": "timeout [-s|--signal] INT|HUP|KILL|... 5s sleep 10" } ]
[ { "from": "human", "value": "Send verbose output to `stderr` showing signal sent upon timeout" }, { "from": "gpt", "value": "timeout [-v|--verbose] 0.5s|1m|1h|1d|... command" } ]
[ { "from": "human", "value": "Preserve the exit status of the command regardless of timing out" }, { "from": "gpt", "value": "timeout [-p|--preserve-status] 1s|1m|1h|1d|... command" } ]
[ { "from": "human", "value": "Send a forceful `KILL` signal after certain duration if the command ignores initial signal upon timeout" }, { "from": "gpt", "value": "timeout [-k|--kill-after] 5m 30s command" } ]
[ { "from": "human", "value": "Start a HTTP server for the current directory" }, { "from": "gpt", "value": "updog" } ]
[ { "from": "human", "value": "Start a HTTP server for a specified directory" }, { "from": "gpt", "value": "updog --directory /path/to/directory" } ]
[ { "from": "human", "value": "Start a HTTP server on a specified port" }, { "from": "gpt", "value": "updog --port port" } ]
[ { "from": "human", "value": "Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field)" }, { "from": "gpt", "value": "updog --password password" } ]
[ { "from": "human", "value": "Enable transport encryption via SSL" }, { "from": "gpt", "value": "updog --ssl" } ]
[ { "from": "human", "value": "Call `ls -la` when any file in the current directory changes" }, { "from": "gpt", "value": "watchexec ls -la" } ]
[ { "from": "human", "value": "Run `make` when any JavaScript, CSS and HTML file in the current directory changes" }, { "from": "gpt", "value": "watchexec --exts js,css,html make" } ]
[ { "from": "human", "value": "Run `make` when any file in the `lib` or `src` directory changes" }, { "from": "gpt", "value": "watchexec --watch lib --watch src make" } ]
[ { "from": "human", "value": "Call/restart `my_server` when any file in the current directory changes, sending `SIGKILL` to stop the child process" }, { "from": "gpt", "value": "watchexec --restart --stop-signal SIGKILL my_server" } ]
[ { "from": "human", "value": "Interactively initialize deployer in the local path (use a framework template with `--template=template`)" }, { "from": "gpt", "value": "dep init" } ]
[ { "from": "human", "value": "Deploy an application to a remote host" }, { "from": "gpt", "value": "dep deploy hostname" } ]
[ { "from": "human", "value": "Rollback to the previous working release" }, { "from": "gpt", "value": "dep rollback" } ]
[ { "from": "human", "value": "Connect to a remote host via SSH" }, { "from": "gpt", "value": "dep ssh hostname" } ]
[ { "from": "human", "value": "List commands" }, { "from": "gpt", "value": "dep list" } ]
[ { "from": "human", "value": "Run any arbitrary command on the remote hosts" }, { "from": "gpt", "value": "dep run \"command\"" } ]
[ { "from": "human", "value": "Display help for a command" }, { "from": "gpt", "value": "dep help command" } ]
[ { "from": "human", "value": "Create a stack from a template file" }, { "from": "gpt", "value": "aws cloudformation create-stack --stack-name stack-name --region region --template-body file://path/to/file.yml --profile profile" } ]
[ { "from": "human", "value": "Delete a stack" }, { "from": "gpt", "value": "aws cloudformation delete-stack --stack-name stack-name --profile profile" } ]
[ { "from": "human", "value": "List all stacks" }, { "from": "gpt", "value": "aws cloudformation list-stacks --profile profile" } ]
[ { "from": "human", "value": "List all running stacks" }, { "from": "gpt", "value": "aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile profile" } ]
[ { "from": "human", "value": "Check the status of a stack" }, { "from": "gpt", "value": "aws cloudformation describe-stacks --stack-name stack-id --profile profile" } ]
[ { "from": "human", "value": "Initiate drift detection for a stack" }, { "from": "gpt", "value": "aws cloudformation detect-stack-drift --stack-name stack-id --profile profile" } ]
[ { "from": "human", "value": "Check the drift status output of a stack using 'StackDriftDetectionId' from the previous command output" }, { "from": "gpt", "value": "aws cloudformation describe-stack-resource-drifts --stack-name stack-drift-detection-id --profile profile" } ]
[ { "from": "human", "value": "View documentation for the current command" }, { "from": "gpt", "value": "tldr pamenlarge" } ]
[ { "from": "human", "value": "Revert the most recent commit" }, { "from": "gpt", "value": "git revert HEAD" } ]
[ { "from": "human", "value": "Revert the 5th last commit" }, { "from": "gpt", "value": "git revert HEAD~4" } ]
[ { "from": "human", "value": "Revert a specific commit" }, { "from": "gpt", "value": "git revert 0c01a9" } ]
[ { "from": "human", "value": "Revert multiple commits" }, { "from": "gpt", "value": "git revert branch_name~5..branch_name~2" } ]
[ { "from": "human", "value": "Don't create new commits, just change the working tree" }, { "from": "gpt", "value": "git revert [-n|--no-commit] 0c01a9..9a1743" } ]
[ { "from": "human", "value": "Cancel a Git revert after a merge conflict" }, { "from": "gpt", "value": "git revert --abort" } ]
[ { "from": "human", "value": "Change `stdin` buffer size to 512 KiB" }, { "from": "gpt", "value": "stdbuf [-i|--input] 512K command" } ]
[ { "from": "human", "value": "Change `stdout` buffer to line-buffered" }, { "from": "gpt", "value": "stdbuf [-o|--output] L command" } ]
[ { "from": "human", "value": "Change `stderr` buffer to unbuffered" }, { "from": "gpt", "value": "stdbuf [-e|--error] 0 command" } ]
[ { "from": "human", "value": "Replace the colors in an image with those in the specified color palette" }, { "from": "gpt", "value": "pnmremap [-ma|-mapfile] path/to/palette_file.ppm path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Use Floyd-Steinberg dithering for representing colors missing in the color palette" }, { "from": "gpt", "value": "pnmremap [-ma|-mapfile] path/to/palette_file.ppm [-fs|-floyd] path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Use the first color in the palette for representing colors missing in the color palette" }, { "from": "gpt", "value": "pnmremap [-ma|-mapfile] path/to/palette_file.ppm [-fi|-firstisdefault] path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Use the specified color for representing colors missing in the color palette" }, { "from": "gpt", "value": "pnmremap [-ma|-mapfile] path/to/palette_file.ppm [-m|-missingcolor] color path/to/input.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Roll 3 6-sided dice and sums the results" }, { "from": "gpt", "value": "roll 3d" } ]
[ { "from": "human", "value": "Roll 1 8-sided die, add 3 and sum the results" }, { "from": "gpt", "value": "roll d8 + 3" } ]
[ { "from": "human", "value": "Roll 4 6-sided dice, keep the 3 highest results and sum the results" }, { "from": "gpt", "value": "roll 4d6h3" } ]
[ { "from": "human", "value": "Roll 2 12-sided dice 2 times and show every roll" }, { "from": "gpt", "value": "roll --verbose 2{2d12}" } ]
[ { "from": "human", "value": "Roll 2 20-sided dice until the result is bigger than 10" }, { "from": "gpt", "value": "roll \"2d20>10\"" } ]
[ { "from": "human", "value": "Roll 2 5-sided dice 3 times and show the total sum" }, { "from": "gpt", "value": "roll --sum-series 3{2d5}" } ]
[ { "from": "human", "value": "Download table to local file" }, { "from": "gpt", "value": "tunnel download table_name path/to/file;" } ]
[ { "from": "human", "value": "Upload local file to a table partition" }, { "from": "gpt", "value": "tunnel upload path/to/file table_name/partition_spec;" } ]
[ { "from": "human", "value": "Upload table specifying field and record delimiters" }, { "from": "gpt", "value": "tunnel upload path/to/file table_name -fd field_delim -rd record_delim;" } ]
[ { "from": "human", "value": "Upload table using multiple threads" }, { "from": "gpt", "value": "tunnel upload path/to/file table_name -threads num;" } ]
[ { "from": "human", "value": "Switch the default Rust toolchain (see `rustup help toolchain` for more information)" }, { "from": "gpt", "value": "rustup default toolchain" } ]
[ { "from": "human", "value": "Install an emulator" }, { "from": "gpt", "value": "sfdk emulator install name" } ]
[ { "from": "human", "value": "Remove an emulator" }, { "from": "gpt", "value": "sfdk emulator remove name" } ]
[ { "from": "human", "value": "Display the available emulators" }, { "from": "gpt", "value": "sfdk emulator list -a" } ]
[ { "from": "human", "value": "Display the installed emulators" }, { "from": "gpt", "value": "sfdk emulator list" } ]
[ { "from": "human", "value": "List available tools" }, { "from": "gpt", "value": "go tool" } ]
[ { "from": "human", "value": "Run the go link tool" }, { "from": "gpt", "value": "go tool link path/to/main.o" } ]
[ { "from": "human", "value": "Print the command that would be executed, but do not execute it (similar to `whereis`)" }, { "from": "gpt", "value": "go tool -n command arguments" } ]
[ { "from": "human", "value": "View documentation for a specified tool" }, { "from": "gpt", "value": "go tool command --help" } ]
[ { "from": "human", "value": "List all available cross-compilation targets" }, { "from": "gpt", "value": "go tool dist list" } ]
[ { "from": "human", "value": "Fetch data" }, { "from": "gpt", "value": "snmptable -v version -c community ip oid" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "snmptable [-h|--help]" } ]
[ { "from": "human", "value": "Run a project if the current directory contains a `project.godot` file, otherwise open the project manager" }, { "from": "gpt", "value": "godot" } ]
[ { "from": "human", "value": "Edit a project (the current directory must contain a `project.godot` file)" }, { "from": "gpt", "value": "godot -e" } ]
[ { "from": "human", "value": "Open the project manager even if the current directory contains a `project.godot` file" }, { "from": "gpt", "value": "godot -p" } ]
[ { "from": "human", "value": "Export a project for a given export preset (the preset must be defined in the project)" }, { "from": "gpt", "value": "godot --export preset output_path" } ]
[ { "from": "human", "value": "Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`)" }, { "from": "gpt", "value": "godot -s script.gd" } ]
[ { "from": "human", "value": "Import a BSON data dump from a directory to a MongoDB database" }, { "from": "gpt", "value": "mongorestore --db database_name path/to/directory" } ]
[ { "from": "human", "value": "Import a BSON data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password)" }, { "from": "gpt", "value": "mongorestore --host database_host:port --db database_name --us...
[ { "from": "human", "value": "Import a collection from a BSON file to a MongoDB database" }, { "from": "gpt", "value": "mongorestore --db database_name path/to/file" } ]
[ { "from": "human", "value": "Import a collection from a BSON file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password)" }, { "from": "gpt", "value": "mongorestore --host database_host:port --db database_name --userna...
[ { "from": "human", "value": "Unstage everything" }, { "from": "gpt", "value": "git reset" } ]
[ { "from": "human", "value": "Unstage specific file(s)" }, { "from": "gpt", "value": "git reset path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Interactively unstage portions of a file" }, { "from": "gpt", "value": "git reset --patch path/to/file" } ]
[ { "from": "human", "value": "Undo the last commit, keeping its changes (and any further uncommitted changes) in the filesystem" }, { "from": "gpt", "value": "git reset HEAD~" } ]
[ { "from": "human", "value": "Undo the last two commits, adding their changes to the index, i.e. staged for commit" }, { "from": "gpt", "value": "git reset --soft HEAD~2" } ]
[ { "from": "human", "value": "Discard any uncommitted changes, staged or not (for only unstaged changes, use `git checkout`)" }, { "from": "gpt", "value": "git reset --hard" } ]
[ { "from": "human", "value": "Reset the repository to a given commit, discarding committed, staged and uncommitted changes since then" }, { "from": "gpt", "value": "git reset --hard commit" } ]
[ { "from": "human", "value": "Open the current directory in WebStorm" }, { "from": "gpt", "value": "webstorm" } ]
[ { "from": "human", "value": "Open a specific directory in WebStorm" }, { "from": "gpt", "value": "webstorm path/to/directory" } ]
[ { "from": "human", "value": "Open specific files in the LightEdit mode" }, { "from": "gpt", "value": "webstorm -e path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Open and wait until done editing a specific file in the LightEdit mode" }, { "from": "gpt", "value": "webstorm --wait -e path/to/file" } ]
[ { "from": "human", "value": "Open a file with the cursor at the specific line" }, { "from": "gpt", "value": "webstorm --line line_number path/to/file" } ]
[ { "from": "human", "value": "Open and compare files (supports up to 3 files)" }, { "from": "gpt", "value": "webstorm diff path/to/file1 path/to/file2 path/to/optional_file3" } ]
[ { "from": "human", "value": "Open and perform a three-way merge" }, { "from": "gpt", "value": "webstorm merge path/to/left_file path/to/right_file path/to/target_file" } ]
[ { "from": "human", "value": "Send a file or directory" }, { "from": "gpt", "value": "croc send path/to/file_or_directory" } ]
[ { "from": "human", "value": "Send a file or directory with a specific passphrase" }, { "from": "gpt", "value": "croc send --code passphrase path/to/file_or_directory" } ]
[ { "from": "human", "value": "Receive a file or directory on receiving machine" }, { "from": "gpt", "value": "croc passphrase" } ]
[ { "from": "human", "value": "Send and connect over a custom relay" }, { "from": "gpt", "value": "croc --relay ip_to_relay send path/to/file_or_directory" } ]
[ { "from": "human", "value": "Receive and connect over a custom relay" }, { "from": "gpt", "value": "croc --relay ip_to_relay passphrase" } ]
[ { "from": "human", "value": "Host a croc relay on the default ports" }, { "from": "gpt", "value": "croc relay" } ]