conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Backup any modified files before formatting (the original file is renamed with a `.bk` extension)"
},
{
"from": "gpt",
"value": "rustfmt --backup path/to/source.rs"
}
] |
[
{
"from": "human",
"value": "Generate an RSA private key of 2048 bits to `stdout`"
},
{
"from": "gpt",
"value": "openssl genrsa"
}
] |
[
{
"from": "human",
"value": "Save an RSA private key of an arbitrary number of bits to the output file"
},
{
"from": "gpt",
"value": "openssl genrsa -out output_file.key 1234"
}
] |
[
{
"from": "human",
"value": "Generate an RSA private key and encrypt it with AES256 (you will be prompted for a passphrase)"
},
{
"from": "gpt",
"value": "openssl genrsa -aes256"
}
] |
[
{
"from": "human",
"value": "List available runtimes for a web application"
},
{
"from": "gpt",
"value": "az webapp list-runtimes --os-type windows|linux"
}
] |
[
{
"from": "human",
"value": "Create a web application"
},
{
"from": "gpt",
"value": "az webapp up --name name --location location --runtime runtime"
}
] |
[
{
"from": "human",
"value": "List all web applications"
},
{
"from": "gpt",
"value": "az webapp list"
}
] |
[
{
"from": "human",
"value": "Delete a specific web application"
},
{
"from": "gpt",
"value": "az webapp delete --name name --resource-group resource_group"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr GetUserSPNs.py"
}
] |
[
{
"from": "human",
"value": "Decompose one or more graphs into their connected components"
},
{
"from": "gpt",
"value": "ccomps path/to/input1.gv path/to/input2.gv ... > path/to/output.gv"
}
] |
[
{
"from": "human",
"value": "Print the number of nodes, edges, and connected components in one or more graphs"
},
{
"from": "gpt",
"value": "ccomps -v -s path/to/input1.gv path/to/input2.gv ..."
}
] |
[
{
"from": "human",
"value": "Write each connected component to numbered filenames based on `output.gv`"
},
{
"from": "gpt",
"value": "ccomps -x -o path/to/output.gv path/to/input1.gv path/to/input2.gv ..."
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "ccomps -?"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to an RLE image"
},
{
"from": "gpt",
"value": "pnmtorle path/to/input.pnm > path/to/output.rle"
}
] |
[
{
"from": "human",
"value": "Print PNM header information to `stdout`"
},
{
"from": "gpt",
"value": "pnmtorle [-verb|-verbose] path/to/input.pnm > path/to/output.rle"
}
] |
[
{
"from": "human",
"value": "Include a transparency channel in the output image in which every black pixel is set to fully transparent and every other pixel is set to fully opaque"
},
{
"from": "gpt",
"value": "pnmtorle [-a|-alpha] path/to/input.pnm > path/to/output.rle"
}
] |
[
{
"from": "human",
"value": "Start PHP's built-in web server for the current Laravel application"
},
{
"from": "gpt",
"value": "php artisan serve"
}
] |
[
{
"from": "human",
"value": "Start an interactive PHP command-line interface"
},
{
"from": "gpt",
"value": "php artisan tinker"
}
] |
[
{
"from": "human",
"value": "Generate a new Eloquent model class with a migration, factory and resource controller"
},
{
"from": "gpt",
"value": "php artisan make:model ModelName --all"
}
] |
[
{
"from": "human",
"value": "Display a list of all available commands"
},
{
"from": "gpt",
"value": "php artisan help"
}
] |
[
{
"from": "human",
"value": "Start in interactive mode"
},
{
"from": "gpt",
"value": "ddgr"
}
] |
[
{
"from": "human",
"value": "Search DuckDuckGo for a keyword"
},
{
"from": "gpt",
"value": "ddgr keyword"
}
] |
[
{
"from": "human",
"value": "Limit the number of search results to `n`"
},
{
"from": "gpt",
"value": "ddgr -n n keyword"
}
] |
[
{
"from": "human",
"value": "Display the complete URL in search results"
},
{
"from": "gpt",
"value": "ddgr -x keyword"
}
] |
[
{
"from": "human",
"value": "Search DuckDuckGo for a keyword and open the first result in the browser"
},
{
"from": "gpt",
"value": "ddgr !w keyword"
}
] |
[
{
"from": "human",
"value": "Perform a website-specific search"
},
{
"from": "gpt",
"value": "ddgr -w site keyword"
}
] |
[
{
"from": "human",
"value": "Search for a specific file type"
},
{
"from": "gpt",
"value": "ddgr keyword filetype:filetype"
}
] |
[
{
"from": "human",
"value": "Display help in interactive mode"
},
{
"from": "gpt",
"value": "<?>"
}
] |
[
{
"from": "human",
"value": "Run a WirePlumber script"
},
{
"from": "gpt",
"value": "wpexec path/to/file.lua"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "wpexec --help"
}
] |
[
{
"from": "human",
"value": "Show only the file name from a path"
},
{
"from": "gpt",
"value": "basename path/to/file"
}
] |
[
{
"from": "human",
"value": "Show only the rightmost directory name from a path"
},
{
"from": "gpt",
"value": "basename path/to/directory"
}
] |
[
{
"from": "human",
"value": "Show only the file name from a path, with a suffix removed"
},
{
"from": "gpt",
"value": "basename path/to/file suffix"
}
] |
[
{
"from": "human",
"value": "Initialize a new React Native project in a directory of the same name"
},
{
"from": "gpt",
"value": "react-native init project_name"
}
] |
[
{
"from": "human",
"value": "Start the metro bundler"
},
{
"from": "gpt",
"value": "react-native start"
}
] |
[
{
"from": "human",
"value": "Start the metro bundler with a clean cache"
},
{
"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"
},
{
"from": "gpt",
"value": "react-native run-android"
}
] |
[
{
"from": "human",
"value": "Build the current application and start it on an iOS simulator"
},
{
"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"
},
{
"from": "gpt",
"value": "react-native run-android --variant=release"
}
] |
[
{
"from": "human",
"value": "Start `logkitty` and print logs to `stdout`"
},
{
"from": "gpt",
"value": "react-native log-android"
}
] |
[
{
"from": "human",
"value": "Start `tail system.log` for an iOS simulator and print logs to `stdout`"
},
{
"from": "gpt",
"value": "react-native log-ios"
}
] |
[
{
"from": "human",
"value": "Update the Maza database"
},
{
"from": "gpt",
"value": "maza update"
}
] |
[
{
"from": "human",
"value": "Start Maza"
},
{
"from": "gpt",
"value": "sudo maza start"
}
] |
[
{
"from": "human",
"value": "Stop Maza"
},
{
"from": "gpt",
"value": "sudo maza stop"
}
] |
[
{
"from": "human",
"value": "Show the status of Maza"
},
{
"from": "gpt",
"value": "maza status"
}
] |
[
{
"from": "human",
"value": "Calculate the SHA224 checksum for one or more files"
},
{
"from": "gpt",
"value": "sha224sum path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Calculate and save the list of SHA224 checksums to a file"
},
{
"from": "gpt",
"value": "sha224sum path/to/file1 path/to/file2 ... > path/to/file.sha224"
}
] |
[
{
"from": "human",
"value": "Calculate a SHA224 checksum from `stdin`"
},
{
"from": "gpt",
"value": "command | sha224sum"
}
] |
[
{
"from": "human",
"value": "Read a file of SHA224 checksums and filenames and verify all files have matching checksums"
},
{
"from": "gpt",
"value": "sha224sum [-c|--check] path/to/file.sha224"
}
] |
[
{
"from": "human",
"value": "Only show a message for missing files or when verification fails"
},
{
"from": "gpt",
"value": "sha224sum [-c|--check] --quiet path/to/file.sha224"
}
] |
[
{
"from": "human",
"value": "Only show a message when verification fails, ignoring missing files"
},
{
"from": "gpt",
"value": "sha224sum --ignore-missing [-c|--check] --quiet path/to/file.sha224"
}
] |
[
{
"from": "human",
"value": "Check a known SHA224 checksum of a file"
},
{
"from": "gpt",
"value": "echo known_sha224_checksum_of_the_file path/to/file | sha224sum [-c|--check]"
}
] |
[
{
"from": "human",
"value": "Download changes from default remote repository and merge it"
},
{
"from": "gpt",
"value": "git pull"
}
] |
[
{
"from": "human",
"value": "Download changes from default remote repository and use fast-forward"
},
{
"from": "gpt",
"value": "git pull [-r|--rebase]"
}
] |
[
{
"from": "human",
"value": "Download changes from given remote repository and branch, then merge them into HEAD"
},
{
"from": "gpt",
"value": "git pull remote_name branch"
}
] |
[
{
"from": "human",
"value": "Validate a specific file"
},
{
"from": "gpt",
"value": "html5validator path/to/file"
}
] |
[
{
"from": "human",
"value": "Validate all HTML files in a specific directory"
},
{
"from": "gpt",
"value": "html5validator --root path/to/directory"
}
] |
[
{
"from": "human",
"value": "Show warnings as well as errors"
},
{
"from": "gpt",
"value": "html5validator --show-warnings path/to/file"
}
] |
[
{
"from": "human",
"value": "Match multiple files using a glob pattern"
},
{
"from": "gpt",
"value": "html5validator --root path/to/directory --match \"*.html *.php\""
}
] |
[
{
"from": "human",
"value": "Ignore specific directory names"
},
{
"from": "gpt",
"value": "html5validator --root path/to/directory --blacklist \"node_modules vendor\""
}
] |
[
{
"from": "human",
"value": "Output the results in a specific format"
},
{
"from": "gpt",
"value": "html5validator --format gnu|xml|json|text path/to/file"
}
] |
[
{
"from": "human",
"value": "Output the log at a specific verbosity level"
},
{
"from": "gpt",
"value": "html5validator --root path/to/directory --log debug|info|warning"
}
] |
[
{
"from": "human",
"value": "Display all filesystems and their disk usage"
},
{
"from": "gpt",
"value": "df"
}
] |
[
{
"from": "human",
"value": "Display all filesystems and their disk usage in human-readable form"
},
{
"from": "gpt",
"value": "df [-h|--human-readable]"
}
] |
[
{
"from": "human",
"value": "Display the filesystem and its disk usage containing the given file or directory"
},
{
"from": "gpt",
"value": "df path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Include statistics on the number of free inodes"
},
{
"from": "gpt",
"value": "df [-i|--inodes]"
}
] |
[
{
"from": "human",
"value": "Display filesystems but exclude the specified types"
},
{
"from": "gpt",
"value": "df [-x|--exclude-type] squashfs [-x|--exclude-type] tmpfs"
}
] |
[
{
"from": "human",
"value": "Display filesystem types"
},
{
"from": "gpt",
"value": "df [-T|--print-type]"
}
] |
[
{
"from": "human",
"value": "Initialize it inside an existing Git repository"
},
{
"from": "gpt",
"value": "git flow init"
}
] |
[
{
"from": "human",
"value": "Start developing on a feature branch based on `develop`"
},
{
"from": "gpt",
"value": "git flow feature start feature"
}
] |
[
{
"from": "human",
"value": "Finish development on a feature branch, merging it into the `develop` branch and deleting it"
},
{
"from": "gpt",
"value": "git flow feature finish feature"
}
] |
[
{
"from": "human",
"value": "Publish a feature to the remote server"
},
{
"from": "gpt",
"value": "git flow feature publish feature"
}
] |
[
{
"from": "human",
"value": "Get a feature published by another user"
},
{
"from": "gpt",
"value": "git flow feature pull origin feature"
}
] |
[
{
"from": "human",
"value": "Convert tldr-pages files and save into the same directories"
},
{
"from": "gpt",
"value": "md-to-clip path/to/page1.md path/to/page2.md ..."
}
] |
[
{
"from": "human",
"value": "Convert tldr-pages files and save into a specific directory"
},
{
"from": "gpt",
"value": "md-to-clip --output-directory path/to/directory path/to/page1.md path/to/page2.md ..."
}
] |
[
{
"from": "human",
"value": "Convert a tldr-page file to `stdout`"
},
{
"from": "gpt",
"value": "md-to-clip --no-file-save <(echo 'page-content')"
}
] |
[
{
"from": "human",
"value": "Convert tldr-pages files while recognizing additional placeholders from a specific config"
},
{
"from": "gpt",
"value": "md-to-clip --special-placeholder-config path/to/config.yaml path/to/page1.md path/to/page2.md ..."
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "md-to-clip --help"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "md-to-clip --version"
}
] |
[
{
"from": "human",
"value": "Initialize an .rspec configuration and a spec helper file"
},
{
"from": "gpt",
"value": "rspec --init"
}
] |
[
{
"from": "human",
"value": "Run all tests"
},
{
"from": "gpt",
"value": "rspec"
}
] |
[
{
"from": "human",
"value": "Run a specific directory of tests"
},
{
"from": "gpt",
"value": "rspec path/to/directory"
}
] |
[
{
"from": "human",
"value": "Run one or more test files"
},
{
"from": "gpt",
"value": "rspec path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Run a specific test in a file (e.g. the test starts on line 83)"
},
{
"from": "gpt",
"value": "rspec path/to/file:83"
}
] |
[
{
"from": "human",
"value": "Run specs with a specific seed"
},
{
"from": "gpt",
"value": "rspec --seed seed_number"
}
] |
[
{
"from": "human",
"value": "Cut a file"
},
{
"from": "gpt",
"value": "xcv x input_file"
}
] |
[
{
"from": "human",
"value": "Copy a file"
},
{
"from": "gpt",
"value": "xcv c input_file"
}
] |
[
{
"from": "human",
"value": "Paste a file"
},
{
"from": "gpt",
"value": "xcv v output_file"
}
] |
[
{
"from": "human",
"value": "List files available for pasting"
},
{
"from": "gpt",
"value": "xcv l"
}
] |
[
{
"from": "human",
"value": "Build a package from nixpkgs, symlinking the result to `./result`"
},
{
"from": "gpt",
"value": "nix build nixpkgs#pkg"
}
] |
[
{
"from": "human",
"value": "Build a package from a flake in the current directory, showing the build logs in the process"
},
{
"from": "gpt",
"value": "nix build -L .#pkg"
}
] |
[
{
"from": "human",
"value": "Build the default package from a flake in some directory"
},
{
"from": "gpt",
"value": "nix build ./path/to/directory"
}
] |
[
{
"from": "human",
"value": "Build a package without making the `result` symlink, instead printing the store path to the `stdout`"
},
{
"from": "gpt",
"value": "nix build --no-link --print-out-paths"
}
] |
[
{
"from": "human",
"value": "Build a project (assuming only one `*.gpr` file exists in the current directory)"
},
{
"from": "gpt",
"value": "gprbuild"
}
] |
[
{
"from": "human",
"value": "Build a specific [P]roject file"
},
{
"from": "gpt",
"value": "gprbuild -Pproject_name"
}
] |
[
{
"from": "human",
"value": "Clean up the build workspace"
},
{
"from": "gpt",
"value": "gprclean"
}
] |
[
{
"from": "human",
"value": "Install compiled binaries"
},
{
"from": "gpt",
"value": "gprinstall --prefix path/to/installation/dir"
}
] |
[
{
"from": "human",
"value": "Cancel a stack's currently running update, if any"
},
{
"from": "gpt",
"value": "pulumi cancel stack_name"
}
] |
[
{
"from": "human",
"value": "Skip confirmation prompts, and proceed with cancellation anyway"
},
{
"from": "gpt",
"value": "pulumi cancel --yes"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pulumi cancel --help"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.