conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Dump database info"
},
{
"from": "gpt",
"value": "duc info"
}
] |
[
{
"from": "human",
"value": "Start a new game"
},
{
"from": "gpt",
"value": "openttd -g"
}
] |
[
{
"from": "human",
"value": "Load save game at start"
},
{
"from": "gpt",
"value": "openttd -g path/to/file"
}
] |
[
{
"from": "human",
"value": "Start with the specified window resolution"
},
{
"from": "gpt",
"value": "openttd -r 1920x1080"
}
] |
[
{
"from": "human",
"value": "Start with a custom configuration file"
},
{
"from": "gpt",
"value": "openttd -c path/to/file"
}
] |
[
{
"from": "human",
"value": "Start with selected video, sound, and music drivers"
},
{
"from": "gpt",
"value": "openttd -v video_driver -s sound_driver -m music_driver"
}
] |
[
{
"from": "human",
"value": "Start a dedicated server, forked in the background"
},
{
"from": "gpt",
"value": "openttd -f -D host:port"
}
] |
[
{
"from": "human",
"value": "Join a server with a password"
},
{
"from": "gpt",
"value": "openttd -n host:port#player_name -p password"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr pamtopnm"
}
] |
[
{
"from": "human",
"value": "List available subcommands (or create a new project if no configuration exists)"
},
{
"from": "gpt",
"value": "hardhat"
}
] |
[
{
"from": "human",
"value": "Compile the current project and build all artifacts"
},
{
"from": "gpt",
"value": "hardhat compile"
}
] |
[
{
"from": "human",
"value": "Run a user-defined script after compiling the project"
},
{
"from": "gpt",
"value": "hardhat run path/to/script.js"
}
] |
[
{
"from": "human",
"value": "Run Mocha tests"
},
{
"from": "gpt",
"value": "hardhat test"
}
] |
[
{
"from": "human",
"value": "Run all given test files"
},
{
"from": "gpt",
"value": "hardhat test path/to/file1.js path/to/file2.js"
}
] |
[
{
"from": "human",
"value": "Start a local Ethereum JSON-RPC node for development"
},
{
"from": "gpt",
"value": "hardhat node"
}
] |
[
{
"from": "human",
"value": "Start a local Ethereum JSON-RPC node with a specific hostname and port"
},
{
"from": "gpt",
"value": "hardhat node --hostname hostname --port port"
}
] |
[
{
"from": "human",
"value": "Clean the cache and all artifacts"
},
{
"from": "gpt",
"value": "hardhat clean"
}
] |
[
{
"from": "human",
"value": "Capture packets and display information about wireless network(s) on the 2.4GHz band"
},
{
"from": "gpt",
"value": "sudo airodump-ng interface"
}
] |
[
{
"from": "human",
"value": "Capture packets and display information about wireless network(s) on the 5GHz band"
},
{
"from": "gpt",
"value": "sudo airodump-ng interface --band a"
}
] |
[
{
"from": "human",
"value": "Capture packets and display information about wireless network(s) on both 2.4GHz and 5GHz bands"
},
{
"from": "gpt",
"value": "sudo airodump-ng interface --band abg"
}
] |
[
{
"from": "human",
"value": "Capture packets and display information about a wireless network given the MAC address and channel, and save the output to a file"
},
{
"from": "gpt",
"value": "sudo airodump-ng --channel channel --write path/to/file --bssid mac interface"
}
] |
[
{
"from": "human",
"value": "Authenticate to Immich server"
},
{
"from": "gpt",
"value": "immich login server_url/api server_key"
}
] |
[
{
"from": "human",
"value": "Upload some image files"
},
{
"from": "gpt",
"value": "immich upload file1.jpg file2.jpg"
}
] |
[
{
"from": "human",
"value": "Upload a directory including subdirectories"
},
{
"from": "gpt",
"value": "immich upload --recursive path/to/directory"
}
] |
[
{
"from": "human",
"value": "Create an album based on a directory"
},
{
"from": "gpt",
"value": "immich upload --album-name \"My summer holiday\" --recursive path/to/directory"
}
] |
[
{
"from": "human",
"value": "Skip assets matching a glob pattern"
},
{
"from": "gpt",
"value": "immich upload --ignore **/Raw/** **/*.tif --recursive path/to/directory"
}
] |
[
{
"from": "human",
"value": "Include hidden files"
},
{
"from": "gpt",
"value": "immich upload --include-hidden --recursive path/to/directory"
}
] |
[
{
"from": "human",
"value": "Print statistics about a Bitcode file"
},
{
"from": "gpt",
"value": "llvm-bcanalyzer path/to/file.bc"
}
] |
[
{
"from": "human",
"value": "Print an SGML representation and statistics about a Bitcode file"
},
{
"from": "gpt",
"value": "llvm-bcanalyzer -dump path/to/file.bc"
}
] |
[
{
"from": "human",
"value": "Read a Bitcode file from `stdin` and analyze it"
},
{
"from": "gpt",
"value": "cat path/to/file.bc | llvm-bcanalyzer"
}
] |
[
{
"from": "human",
"value": "Extract pages from PDF file and make a separate PDF file for each page"
},
{
"from": "gpt",
"value": "pdfseparate path/to/source_filename.pdf path/to/destination_filename-%d.pdf"
}
] |
[
{
"from": "human",
"value": "Specify the first/start page for extraction"
},
{
"from": "gpt",
"value": "pdfseparate -f 3 path/to/source_filename.pdf path/to/destination_filename-%d.pdf"
}
] |
[
{
"from": "human",
"value": "Specify the last page for extraction"
},
{
"from": "gpt",
"value": "pdfseparate -l 10 path/to/source_filename.pdf path/to/destination_filename-%d.pdf"
}
] |
[
{
"from": "human",
"value": "List applications"
},
{
"from": "gpt",
"value": "argocd app list --output json|yaml|wide"
}
] |
[
{
"from": "human",
"value": "Get application details"
},
{
"from": "gpt",
"value": "argocd app get app_name --output json|yaml|wide"
}
] |
[
{
"from": "human",
"value": "Deploy application internally (to the same cluster that Argo CD is running in)"
},
{
"from": "gpt",
"value": "argocd app create app_name --repo git_repo_url --path path/to/repo --dest-server https://kubernetes.default.svc --dest-namespace ns"
}
] |
[
{
"from": "human",
"value": "Delete an application"
},
{
"from": "gpt",
"value": "argocd app delete app_name"
}
] |
[
{
"from": "human",
"value": "Enable application auto-sync"
},
{
"from": "gpt",
"value": "argocd app set app_name --sync-policy auto --auto-prune --self-heal"
}
] |
[
{
"from": "human",
"value": "Preview app synchronization without affecting cluster"
},
{
"from": "gpt",
"value": "argocd app sync app_name --dry-run --prune"
}
] |
[
{
"from": "human",
"value": "Show application deployment history"
},
{
"from": "gpt",
"value": "argocd app history app_name --output wide|id"
}
] |
[
{
"from": "human",
"value": "Rollback application to a previous deployed version by history ID (deleting unexpected resources)"
},
{
"from": "gpt",
"value": "argocd app rollback app_name history_id --prune"
}
] |
[
{
"from": "human",
"value": "Display the whole configuration of the specified interface"
},
{
"from": "gpt",
"value": "ifdata -p eth0"
}
] |
[
{
"from": "human",
"value": "Indicate the [e]xistence of the specified interface via the exit code"
},
{
"from": "gpt",
"value": "ifdata -e eth0"
}
] |
[
{
"from": "human",
"value": "Display the IPv4 [a]dress and the [n]etmask of the specified interface"
},
{
"from": "gpt",
"value": "ifdata -pa -pn eth0"
}
] |
[
{
"from": "human",
"value": "Display the [N]etwork adress, the [b]roadcast adress, and the MTU of the specified interface"
},
{
"from": "gpt",
"value": "ifdata -pN -pb -pm eth0"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "ifdata"
}
] |
[
{
"from": "human",
"value": "Open a `zstd` compressed file"
},
{
"from": "gpt",
"value": "zstdless path/to/file.zst"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell) using a specific Scala and JVM version"
},
{
"from": "gpt",
"value": "scala-cli --scala 3.1.0 --jvm temurin:17"
}
] |
[
{
"from": "human",
"value": "Compile and run a Scala script"
},
{
"from": "gpt",
"value": "scala-cli run path/to/script.scala"
}
] |
[
{
"from": "human",
"value": "Compile and test a Scala script"
},
{
"from": "gpt",
"value": "scala-cli test path/to/script.scala"
}
] |
[
{
"from": "human",
"value": "Format a Scala script, updating the file in-place"
},
{
"from": "gpt",
"value": "scala-cli fmt path/to/script.scala"
}
] |
[
{
"from": "human",
"value": "Generate files for IDE (VSCode and IntelliJ) support"
},
{
"from": "gpt",
"value": "scala-cli setup-ide path/to/script.scala"
}
] |
[
{
"from": "human",
"value": "Connect to a local database on the default port (`mongodb://localhost:27017`)"
},
{
"from": "gpt",
"value": "mongo"
}
] |
[
{
"from": "human",
"value": "Connect to a database"
},
{
"from": "gpt",
"value": "mongo --host host --port port db_name"
}
] |
[
{
"from": "human",
"value": "Authenticate using the specified username on the specified database (you will be prompted for a password)"
},
{
"from": "gpt",
"value": "mongo --host host --port port --username username --authenticationDatabase authdb_name db_name"
}
] |
[
{
"from": "human",
"value": "Evaluate a JavaScript expression on a database"
},
{
"from": "gpt",
"value": "mongo --eval 'JSON.stringify(db.foo.findOne())' db_name"
}
] |
[
{
"from": "human",
"value": "Set an environment variable"
},
{
"from": "gpt",
"value": "export VARIABLE=value"
}
] |
[
{
"from": "human",
"value": "Unset an environment variable"
},
{
"from": "gpt",
"value": "export -n VARIABLE"
}
] |
[
{
"from": "human",
"value": "Export a function to child processes"
},
{
"from": "gpt",
"value": "export -f FUNCTION_NAME"
}
] |
[
{
"from": "human",
"value": "Append a pathname to the environment variable `PATH`"
},
{
"from": "gpt",
"value": "export PATH=$PATH:path/to/append"
}
] |
[
{
"from": "human",
"value": "Display a list of active exported variables in shell command form"
},
{
"from": "gpt",
"value": "export -p"
}
] |
[
{
"from": "human",
"value": "Check the last commit message"
},
{
"from": "gpt",
"value": "gitlint"
}
] |
[
{
"from": "human",
"value": "The range of commits to lint"
},
{
"from": "gpt",
"value": "gitlint --commits single_refspec_argument"
}
] |
[
{
"from": "human",
"value": "Path to a directory or Python module with extra user-defined rules"
},
{
"from": "gpt",
"value": "gitlint --extra-path path/to/directory"
}
] |
[
{
"from": "human",
"value": "Start a specific CI job"
},
{
"from": "gpt",
"value": "gitlint --target path/to/target_directory"
}
] |
[
{
"from": "human",
"value": "Path to a file containing a commit-msg"
},
{
"from": "gpt",
"value": "gitlint --msg-filename path/to/filename"
}
] |
[
{
"from": "human",
"value": "Read staged commit meta-info from the local repository"
},
{
"from": "gpt",
"value": "gitlint --staged"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr mssqlclient.py"
}
] |
[
{
"from": "human",
"value": "Start the DBMS"
},
{
"from": "gpt",
"value": "neo4j-admin server start"
}
] |
[
{
"from": "human",
"value": "Stop the DBMS"
},
{
"from": "gpt",
"value": "neo4j-admin server stop"
}
] |
[
{
"from": "human",
"value": "Set the initial password of the default `neo4j` user (prerequisite for the first start of the DBMS)"
},
{
"from": "gpt",
"value": "neo4j-admin dbms set-initial-password database_name"
}
] |
[
{
"from": "human",
"value": "Create an archive (dump) of an offline database to a file named `database_name.dump`"
},
{
"from": "gpt",
"value": "neo4j-admin database dump --to-path=path/to/directory database_name"
}
] |
[
{
"from": "human",
"value": "Load a database from an archive named `database_name.dump`"
},
{
"from": "gpt",
"value": "neo4j-admin database load --from-path=path/to/directory database_name --overwrite-destination=true"
}
] |
[
{
"from": "human",
"value": "Load a database from a specified archive file through `stdin`"
},
{
"from": "gpt",
"value": "neo4j-admin database load --from-stdin database_name --overwrite-destination=true < path/to/filename.dump"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "neo4j-admin --help"
}
] |
[
{
"from": "human",
"value": "Set the currently focused window opacity to a specific percentage"
},
{
"from": "gpt",
"value": "picom-trans --current --opacity 90"
}
] |
[
{
"from": "human",
"value": "Set the opacity of a window with a specific name"
},
{
"from": "gpt",
"value": "picom-trans --name Firefox --opacity 90"
}
] |
[
{
"from": "human",
"value": "Set the opacity of a specific window selected via mouse cursor"
},
{
"from": "gpt",
"value": "picom-trans --select --opacity 90"
}
] |
[
{
"from": "human",
"value": "Toggle the opacity of a specific window"
},
{
"from": "gpt",
"value": "picom-trans --name Firefox --toggle"
}
] |
[
{
"from": "human",
"value": "Invert the colors or greyscale values in a PNM image"
},
{
"from": "gpt",
"value": "pnminvert path/to/input.pnm > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Compare two images"
},
{
"from": "gpt",
"value": "magick compare path/to/image1.png path/to/image2.png path/to/diff.png"
}
] |
[
{
"from": "human",
"value": "Compare two images using the specified metric"
},
{
"from": "gpt",
"value": "magick compare -verbose -metric PSNR path/to/image1.png path/to/image2.png path/to/diff.png"
}
] |
[
{
"from": "human",
"value": "Search for a string in tracked files"
},
{
"from": "gpt",
"value": "git grep search_string"
}
] |
[
{
"from": "human",
"value": "Search for a string in files matching a pattern in tracked files"
},
{
"from": "gpt",
"value": "git grep search_string -- file_glob_pattern"
}
] |
[
{
"from": "human",
"value": "Search for a string in tracked files, including submodules"
},
{
"from": "gpt",
"value": "git grep --recurse-submodules search_string"
}
] |
[
{
"from": "human",
"value": "Search for a string at a specific point in history"
},
{
"from": "gpt",
"value": "git grep search_string HEAD~2"
}
] |
[
{
"from": "human",
"value": "Search for a string across all branches"
},
{
"from": "gpt",
"value": "git grep search_string $(git rev-list --all)"
}
] |
[
{
"from": "human",
"value": "Define a function with the specified name"
},
{
"from": "gpt",
"value": "function func_name { echo \"Function contents here\"; }"
}
] |
[
{
"from": "human",
"value": "Run a function named `func_name`"
},
{
"from": "gpt",
"value": "func_name"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "help function"
}
] |
[
{
"from": "human",
"value": "Cancel current job on the default printer"
},
{
"from": "gpt",
"value": "lprm"
}
] |
[
{
"from": "human",
"value": "Cancel a job of a specific server"
},
{
"from": "gpt",
"value": "lprm -h server[:port] job_id"
}
] |
[
{
"from": "human",
"value": "Cancel multiple jobs with a encrypted connection to the server"
},
{
"from": "gpt",
"value": "lprm -E job_id1 job_id2 ..."
}
] |
[
{
"from": "human",
"value": "Cancel all jobs"
},
{
"from": "gpt",
"value": "lprm -"
}
] |
[
{
"from": "human",
"value": "Cancel the current job of a specific printer or class"
},
{
"from": "gpt",
"value": "lprm -P destination[/instance]"
}
] |
[
{
"from": "human",
"value": "Show deleted files"
},
{
"from": "gpt",
"value": "git ls-files --deleted"
}
] |
[
{
"from": "human",
"value": "Show modified and deleted files"
},
{
"from": "gpt",
"value": "git ls-files --modified"
}
] |
[
{
"from": "human",
"value": "Show ignored and untracked files"
},
{
"from": "gpt",
"value": "git ls-files --others"
}
] |
[
{
"from": "human",
"value": "Show untracked files, not ignored"
},
{
"from": "gpt",
"value": "git ls-files --others --exclude-standard"
}
] |
[
{
"from": "human",
"value": "Log in to Azure"
},
{
"from": "gpt",
"value": "az login"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.