conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Display a list of all available Git subcommands"
},
{
"from": "gpt",
"value": "git help --all"
}
] |
[
{
"from": "human",
"value": "List the available guides"
},
{
"from": "gpt",
"value": "git help --guide"
}
] |
[
{
"from": "human",
"value": "List all possible configuration variables"
},
{
"from": "gpt",
"value": "git help --config"
}
] |
[
{
"from": "human",
"value": "Write the current directory's listing to an XML document"
},
{
"from": "gpt",
"value": "xml list > path/to/dir_list.xml"
}
] |
[
{
"from": "human",
"value": "Write the specified directory's listing to an XML document"
},
{
"from": "gpt",
"value": "xml list path/to/directory > path/to/dir_list.xml"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "xml list --help"
}
] |
[
{
"from": "human",
"value": "Create an executable"
},
{
"from": "gpt",
"value": "gdc path/to/source.d -o path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Print information about module dependencies"
},
{
"from": "gpt",
"value": "gdc -fdeps"
}
] |
[
{
"from": "human",
"value": "Generate Ddoc documentation"
},
{
"from": "gpt",
"value": "gdc -fdoc"
}
] |
[
{
"from": "human",
"value": "Generate D interface files"
},
{
"from": "gpt",
"value": "gdc -fintfc"
}
] |
[
{
"from": "human",
"value": "Do not link the standard GCC libraries in the compilation"
},
{
"from": "gpt",
"value": "gdc -nostdlib"
}
] |
[
{
"from": "human",
"value": "Launch a GitWeb server for the current Git repository"
},
{
"from": "gpt",
"value": "git instaweb --start"
}
] |
[
{
"from": "human",
"value": "Listen only on localhost"
},
{
"from": "gpt",
"value": "git instaweb --start --local"
}
] |
[
{
"from": "human",
"value": "Listen on a specific port"
},
{
"from": "gpt",
"value": "git instaweb --start --port 1234"
}
] |
[
{
"from": "human",
"value": "Use a specified HTTP daemon"
},
{
"from": "gpt",
"value": "git instaweb --start --httpd lighttpd|apache2|mongoose|plackup|webrick"
}
] |
[
{
"from": "human",
"value": "Also auto-launch a web browser"
},
{
"from": "gpt",
"value": "git instaweb --start --browser"
}
] |
[
{
"from": "human",
"value": "Stop the currently running GitWeb server"
},
{
"from": "gpt",
"value": "git instaweb --stop"
}
] |
[
{
"from": "human",
"value": "Restart the currently running GitWeb server"
},
{
"from": "gpt",
"value": "git instaweb --restart"
}
] |
[
{
"from": "human",
"value": "Show the structure of a Type built-in of the .NET Framework"
},
{
"from": "gpt",
"value": "monop System.String"
}
] |
[
{
"from": "human",
"value": "List the types in an assembly"
},
{
"from": "gpt",
"value": "monop -r:path/to/assembly.exe"
}
] |
[
{
"from": "human",
"value": "Show the structure of a Type in a specific assembly"
},
{
"from": "gpt",
"value": "monop -r:path/to/assembly.dll Namespace.Path.To.Type"
}
] |
[
{
"from": "human",
"value": "Only show members defined in the specified Type"
},
{
"from": "gpt",
"value": "monop -r:path/to/assembly.dll --only-declared Namespace.Path.To.Type"
}
] |
[
{
"from": "human",
"value": "Show private members"
},
{
"from": "gpt",
"value": "monop -r:path/to/assembly.dll --private Namespace.Path.To.Type"
}
] |
[
{
"from": "human",
"value": "Hide obsolete members"
},
{
"from": "gpt",
"value": "monop -r:path/to/assembly.dll --filter-obsolete Namespace.Path.To.Type"
}
] |
[
{
"from": "human",
"value": "List the other assemblies that a specified assembly references"
},
{
"from": "gpt",
"value": "monop -r:path/to/assembly.dll --refs"
}
] |
[
{
"from": "human",
"value": "Displace the pixels in a PPM image by a randomized amount that is at most a"
},
{
"from": "gpt",
"value": "ppmspread a path/to/input_file.ppm > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "Specify a seed to a the pseudo-random number generator"
},
{
"from": "gpt",
"value": "ppmspread a path/to/input_file.ppm [-r|-randomseed] seed > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "Open a file in an existing Emacs server (using GUI if available)"
},
{
"from": "gpt",
"value": "emacsclient path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a file in console mode (without an X window)"
},
{
"from": "gpt",
"value": "emacsclient [-nw|--no-window-system] path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a file in a new Emacs window"
},
{
"from": "gpt",
"value": "emacsclient [-c|--create-frame] path/to/file"
}
] |
[
{
"from": "human",
"value": "Evaluate a command, printing the output to `stdout`, and then quit"
},
{
"from": "gpt",
"value": "emacsclient [-e|--eval] '(command)'"
}
] |
[
{
"from": "human",
"value": "Specify an alternative editor in case no Emacs server is running"
},
{
"from": "gpt",
"value": "emacsclient [-a|--alternate-editor] editor path/to/file"
}
] |
[
{
"from": "human",
"value": "Stop a running Emacs server and all its instances, asking for confirmation on unsaved files"
},
{
"from": "gpt",
"value": "emacsclient [-e|--eval] '(save-buffers-kill-emacs)'"
}
] |
[
{
"from": "human",
"value": "Convert YUY2 bytes to PAM"
},
{
"from": "gpt",
"value": "yuy2topam [-w|-width] value [-h|-height] value path/to/file.yuy2 > path/to/file.pam"
}
] |
[
{
"from": "human",
"value": "Open the specified mailbox"
},
{
"from": "gpt",
"value": "mutt -f mailbox"
}
] |
[
{
"from": "human",
"value": "Send an email and specify a subject and a cc recipient"
},
{
"from": "gpt",
"value": "mutt -s subject -c cc@example.com recipient@example.com"
}
] |
[
{
"from": "human",
"value": "Send an email with files attached"
},
{
"from": "gpt",
"value": "mutt -a file1 file2 -- recipient@example.com"
}
] |
[
{
"from": "human",
"value": "Specify a file to include as the message body"
},
{
"from": "gpt",
"value": "mutt -i path/to/file recipient@example.com"
}
] |
[
{
"from": "human",
"value": "Specify a draft file containing the header and the body of the message, in RFC 5322 format"
},
{
"from": "gpt",
"value": "mutt -H path/to/file recipient@example.com"
}
] |
[
{
"from": "human",
"value": "Tail all files matching a pattern in a single stream"
},
{
"from": "gpt",
"value": "multitail -Q 1 'pattern'"
}
] |
[
{
"from": "human",
"value": "Tail all files in a directory in a single stream"
},
{
"from": "gpt",
"value": "multitail -Q 1 'path/to/directory/*'"
}
] |
[
{
"from": "human",
"value": "Automatically add new files to a window"
},
{
"from": "gpt",
"value": "multitail -Q pattern"
}
] |
[
{
"from": "human",
"value": "Show 5 logfiles while merging 2 and put them in 2 columns with only one in the left column"
},
{
"from": "gpt",
"value": "multitail -s 2 -sn 1,3 path/to/mergefile -I path/to/file1 path/to/file2 path/to/file3 path/to/file4"
}
] |
[
{
"from": "human",
"value": "Start PHP's built-in web server for the current Yii application"
},
{
"from": "gpt",
"value": "php yii serve"
}
] |
[
{
"from": "human",
"value": "Generate a controller, views and related files for the CRUD actions on the specified model class"
},
{
"from": "gpt",
"value": "php yii gii/crud --modelClass=ModelName --controllerClass=ControllerName"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "php yii help"
}
] |
[
{
"from": "human",
"value": "Optimize a GIF as a new file"
},
{
"from": "gpt",
"value": "gifsicle path/to/input.gif [-O|--optimize=]3 [-o|--output] path/to/output.gif"
}
] |
[
{
"from": "human",
"value": "Use batch mode (modify each given file in place) and unoptimize a GIF"
},
{
"from": "gpt",
"value": "gifsicle [-b|--batch] path/to/input.gif [-U|--unoptimize]"
}
] |
[
{
"from": "human",
"value": "Extract a frame from a GIF"
},
{
"from": "gpt",
"value": "gifsicle path/to/input.gif '#0' > path/to/first_frame.gif"
}
] |
[
{
"from": "human",
"value": "Make a GIF animation from selected GIFs"
},
{
"from": "gpt",
"value": "gifsicle *.gif [-d|--delay] 10 [-l|--loop] > path/to/output.gif"
}
] |
[
{
"from": "human",
"value": "Reduce file size using lossy compression"
},
{
"from": "gpt",
"value": "gifsicle [-b|--batch] path/to/input.gif [-O|--optimize=]3 --lossy=100 [-k|--colors] 16 [-f|--dither]"
}
] |
[
{
"from": "human",
"value": "Delete the first 10 frames and all frames after frame 20 from a GIF"
},
{
"from": "gpt",
"value": "gifsicle [-b|--batch] path/to/input.gif --delete '#0-9' '#20-'"
}
] |
[
{
"from": "human",
"value": "Modify all frames by cropping them to a rectangle, changing their scale, flipping them, and rotating them"
},
{
"from": "gpt",
"value": "gifsicle [-b|--batch] --crop starting_x,starting_y+rect_widthxrect_height --scale 0.25 --flip-horizontal --rotate-90|180|270 path/... |
[
{
"from": "human",
"value": "Perform a highstate on this minion"
},
{
"from": "gpt",
"value": "salt-call state.highstate"
}
] |
[
{
"from": "human",
"value": "Perform a highstate dry-run, compute all changes but don't actually perform them"
},
{
"from": "gpt",
"value": "salt-call state.highstate test=true"
}
] |
[
{
"from": "human",
"value": "Perform a highstate with verbose debugging output"
},
{
"from": "gpt",
"value": "salt-call -l debug state.highstate"
}
] |
[
{
"from": "human",
"value": "List this minion's grains"
},
{
"from": "gpt",
"value": "salt-call grains.items"
}
] |
[
{
"from": "human",
"value": "Test a server on port 443"
},
{
"from": "gpt",
"value": "sslscan example.com"
}
] |
[
{
"from": "human",
"value": "Test a specified port"
},
{
"from": "gpt",
"value": "sslscan example.com:465"
}
] |
[
{
"from": "human",
"value": "Show certificate information"
},
{
"from": "gpt",
"value": "testssl --show-certificate example.com"
}
] |
[
{
"from": "human",
"value": "Clone an existing repository into a new directory (the default directory is the repository name)"
},
{
"from": "gpt",
"value": "git clone remote_repository_location path/to/directory"
}
] |
[
{
"from": "human",
"value": "Clone an existing repository and its submodules"
},
{
"from": "gpt",
"value": "git clone --recursive remote_repository_location"
}
] |
[
{
"from": "human",
"value": "Clone only the `.git` directory of an existing repository"
},
{
"from": "gpt",
"value": "git clone [-n|--no-checkout] remote_repository_location"
}
] |
[
{
"from": "human",
"value": "Clone a local repository"
},
{
"from": "gpt",
"value": "git clone [-l|--local]]} {{path/to/local/repository"
}
] |
[
{
"from": "human",
"value": "Clone quietly"
},
{
"from": "gpt",
"value": "git clone [-q|--quiet] remote_repository_location"
}
] |
[
{
"from": "human",
"value": "Clone an existing repository only fetching the 10 most recent commits on the default branch (useful to save time)"
},
{
"from": "gpt",
"value": "git clone --depth 10 remote_repository_location"
}
] |
[
{
"from": "human",
"value": "Clone an existing repository only fetching a specific branch"
},
{
"from": "gpt",
"value": "git clone [-b|--branch] name --single-branch remote_repository_location"
}
] |
[
{
"from": "human",
"value": "Clone an existing repository using a specific SSH command"
},
{
"from": "gpt",
"value": "git clone [-c|--config] core.sshCommand=\"ssh -i path/to/private_ssh_key\" remote_repository_location"
}
] |
[
{
"from": "human",
"value": "Return a successful exit code"
},
{
"from": "gpt",
"value": "true"
}
] |
[
{
"from": "human",
"value": "Print a horizontal rule"
},
{
"from": "gpt",
"value": "hr"
}
] |
[
{
"from": "human",
"value": "Print a horizontal rule with a custom string"
},
{
"from": "gpt",
"value": "hr string"
}
] |
[
{
"from": "human",
"value": "Print a multiline horizontal rule"
},
{
"from": "gpt",
"value": "hr string1 string2 ..."
}
] |
[
{
"from": "human",
"value": "Start Sails"
},
{
"from": "gpt",
"value": "sails lift"
}
] |
[
{
"from": "human",
"value": "Create new Sails project"
},
{
"from": "gpt",
"value": "sails new projectName"
}
] |
[
{
"from": "human",
"value": "Generate Sails API"
},
{
"from": "gpt",
"value": "sails generate name"
}
] |
[
{
"from": "human",
"value": "Generate Sails Controller"
},
{
"from": "gpt",
"value": "sails generate controller name"
}
] |
[
{
"from": "human",
"value": "Generate Sails Model"
},
{
"from": "gpt",
"value": "sails generate model name"
}
] |
[
{
"from": "human",
"value": "Read JSON from a file and execute a specified JSONPath expression"
},
{
"from": "gpt",
"value": "ajson '$..json[?(@.path)]' path/to/file.json"
}
] |
[
{
"from": "human",
"value": "Read JSON from `stdin` and execute a specified JSONPath expression"
},
{
"from": "gpt",
"value": "cat path/to/file.json | ajson '$..json[?(@.path)]'"
}
] |
[
{
"from": "human",
"value": "Read JSON from a URL and evaluate a specified JSONPath expression"
},
{
"from": "gpt",
"value": "ajson 'avg($..price)' 'https://example.com/api/'"
}
] |
[
{
"from": "human",
"value": "Read some simple JSON and calculate a value"
},
{
"from": "gpt",
"value": "echo '3' | ajson '2 * pi * $'"
}
] |
[
{
"from": "human",
"value": "View the comments on a Zip archive"
},
{
"from": "gpt",
"value": "zipnote path/to/file.zip"
}
] |
[
{
"from": "human",
"value": "Extract the comments on a Zip archive to a file"
},
{
"from": "gpt",
"value": "zipnote path/to/file.zip > path/to/file.txt"
}
] |
[
{
"from": "human",
"value": "Add/Update comments in a Zip archive from a file"
},
{
"from": "gpt",
"value": "zipnote -w path/to/file.zip < path/to/file.txt"
}
] |
[
{
"from": "human",
"value": "List all WorkMail organizations"
},
{
"from": "gpt",
"value": "aws workmail list-organizations"
}
] |
[
{
"from": "human",
"value": "List all users of a specific organization"
},
{
"from": "gpt",
"value": "aws workmail list-users --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Create a WorkMail user in a specific organization"
},
{
"from": "gpt",
"value": "aws workmail create-user --name username --display-name name --password password --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Register and enable a group/user to WorkMail"
},
{
"from": "gpt",
"value": "aws workmail register-to-work-mail --entity-id entity_id --email email --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Create a WorkMail group in a specific organization"
},
{
"from": "gpt",
"value": "aws workmail create-group --name group_name --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Associate a member to a specific group"
},
{
"from": "gpt",
"value": "aws workmail associate-member-to-group --group-id group_id --member-id member_id --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Deregister and disable a user/group from WorkMail"
},
{
"from": "gpt",
"value": "aws workmail deregister-from-work-mail --entity-id entity_id --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Delete a user from an organization"
},
{
"from": "gpt",
"value": "aws workmail delete-user --user-id user_id --organization-id organization_id"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell session"
},
{
"from": "gpt",
"value": "rbash"
}
] |
[
{
"from": "human",
"value": "Execute a command and then exit"
},
{
"from": "gpt",
"value": "rbash -c \"command\""
}
] |
[
{
"from": "human",
"value": "Execute a script"
},
{
"from": "gpt",
"value": "rbash path/to/script.sh"
}
] |
[
{
"from": "human",
"value": "Execute a script, printing each command before executing it"
},
{
"from": "gpt",
"value": "rbash -x path/to/script.sh"
}
] |
[
{
"from": "human",
"value": "Execute commands from a script, stopping at the first error"
},
{
"from": "gpt",
"value": "rbash -e path/to/script.sh"
}
] |
[
{
"from": "human",
"value": "Read and execute commands from `stdin`"
},
{
"from": "gpt",
"value": "rbash -s"
}
] |
[
{
"from": "human",
"value": "Initialize a new Behat project"
},
{
"from": "gpt",
"value": "behat --init"
}
] |
[
{
"from": "human",
"value": "Run all tests"
},
{
"from": "gpt",
"value": "behat"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.