conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run GDB server on port 4500"
},
{
"from": "gpt",
"value": "st-util -p 4500"
}
] |
[
{
"from": "human",
"value": "Connect to GDB server"
},
{
"from": "gpt",
"value": "(gdb) target extended-remote localhost:4500"
}
] |
[
{
"from": "human",
"value": "Write firmware to device"
},
{
"from": "gpt",
"value": "(gdb) load firmware.elf"
}
] |
[
{
"from": "human",
"value": "Search for valid credentials by trying out every combination in the specified lists of [u]sernames and [p]asswords"
},
{
"from": "gpt",
"value": "nxc wmi 192.168.178.2 -u path/to/usernames.txt -p path/to/passwords.txt"
}
] |
[
{
"from": "human",
"value": "Authenticate via local authentication (as opposed to authenticating to the domain)"
},
{
"from": "gpt",
"value": "nxc wmi 192.168.178.2 -u username -p password --local-auth"
}
] |
[
{
"from": "human",
"value": "Issue the specified WMI query"
},
{
"from": "gpt",
"value": "nxc wmi 192.168.178.2 -u username -p password --wmi wmi_query"
}
] |
[
{
"from": "human",
"value": "Execute the specified command on the targeted host"
},
{
"from": "gpt",
"value": "nxc wmi 192.168.178.2 -u username -p password --x command"
}
] |
[
{
"from": "human",
"value": "List all available and configured networks on Docker daemon"
},
{
"from": "gpt",
"value": "docker network ls"
}
] |
[
{
"from": "human",
"value": "Create a user-defined network"
},
{
"from": "gpt",
"value": "docker network create --driver driver_name network_name"
}
] |
[
{
"from": "human",
"value": "Display detailed information about one or more networks"
},
{
"from": "gpt",
"value": "docker network inspect network_name1 network_name2 ..."
}
] |
[
{
"from": "human",
"value": "Connect a container to a network using a name or ID"
},
{
"from": "gpt",
"value": "docker network connect network_name container_name|ID"
}
] |
[
{
"from": "human",
"value": "Disconnect a container from a network"
},
{
"from": "gpt",
"value": "docker network disconnect network_name container_name|ID"
}
] |
[
{
"from": "human",
"value": "Remove all unused (not referenced by any container) networks"
},
{
"from": "gpt",
"value": "docker network prune"
}
] |
[
{
"from": "human",
"value": "Remove one or more unused networks"
},
{
"from": "gpt",
"value": "docker network rm network_name1 network_name2 ..."
}
] |
[
{
"from": "human",
"value": "Edit the crontab file for the current user"
},
{
"from": "gpt",
"value": "crontab -e"
}
] |
[
{
"from": "human",
"value": "Edit the crontab file for a specific user"
},
{
"from": "gpt",
"value": "sudo crontab -e -u user"
}
] |
[
{
"from": "human",
"value": "Replace the current crontab with the contents of the given file"
},
{
"from": "gpt",
"value": "crontab path/to/file"
}
] |
[
{
"from": "human",
"value": "View a list of existing cron jobs for current user"
},
{
"from": "gpt",
"value": "crontab -l"
}
] |
[
{
"from": "human",
"value": "Remove all cron jobs for the current user"
},
{
"from": "gpt",
"value": "crontab -r"
}
] |
[
{
"from": "human",
"value": "Sample job which runs at 10:00 every day (* means any value)"
},
{
"from": "gpt",
"value": "0 10 * * * command_to_execute"
}
] |
[
{
"from": "human",
"value": "Sample crontab entry, which runs a command every 10 minutes"
},
{
"from": "gpt",
"value": "*/10 * * * * command_to_execute"
}
] |
[
{
"from": "human",
"value": "Sample crontab entry, which runs a certain script at 02:30 every Friday"
},
{
"from": "gpt",
"value": "30 2 * * Fri /absolute/path/to/script.sh"
}
] |
[
{
"from": "human",
"value": "Decrypt a file using a specified key, key ring, and location"
},
{
"from": "gpt",
"value": "gcloud kms decrypt --key=key_name --keyring=keyring_name --location=global --ciphertext-file=path/to/ciphertext --plaintext-file=path/to/plaintext"
}
] |
[
{
"from": "human",
"value": "Decrypt a file with additional authenticated data (AAD) and write the decrypted plaintext to `stdout`"
},
{
"from": "gpt",
"value": "gcloud kms decrypt --key=key_name --keyring=keyring_name --location=global --additional-authenticated-data-file=path/to/file.aad --cip... |
[
{
"from": "human",
"value": "Print the absolute path of the current Git repository"
},
{
"from": "gpt",
"value": "git root"
}
] |
[
{
"from": "human",
"value": "Print the current working directory relative to the root of the current Git repository"
},
{
"from": "gpt",
"value": "git root --relative"
}
] |
[
{
"from": "human",
"value": "Display the start and expiry dates for a domain's certificate"
},
{
"from": "gpt",
"value": "openssl s_client -connect host:port 2>/dev/null | openssl x509 -noout -dates"
}
] |
[
{
"from": "human",
"value": "Display the certificate presented by an SSL/TLS server"
},
{
"from": "gpt",
"value": "openssl s_client -connect host:port </dev/null"
}
] |
[
{
"from": "human",
"value": "Set the Server Name Indicator (SNI) when connecting to the SSL/TLS server"
},
{
"from": "gpt",
"value": "openssl s_client -connect host:port -servername hostname"
}
] |
[
{
"from": "human",
"value": "Display the complete certificate chain of an HTTPS server"
},
{
"from": "gpt",
"value": "openssl s_client -connect host:443 -showcerts </dev/null"
}
] |
[
{
"from": "human",
"value": "Start monitoring time in project"
},
{
"from": "gpt",
"value": "watson start project"
}
] |
[
{
"from": "human",
"value": "Start monitoring time in project with tags"
},
{
"from": "gpt",
"value": "watson start project +tag"
}
] |
[
{
"from": "human",
"value": "Stop monitoring time for the current project"
},
{
"from": "gpt",
"value": "watson stop"
}
] |
[
{
"from": "human",
"value": "Display the latest working sessions"
},
{
"from": "gpt",
"value": "watson log"
}
] |
[
{
"from": "human",
"value": "Edit most recent frame"
},
{
"from": "gpt",
"value": "watson edit"
}
] |
[
{
"from": "human",
"value": "Remove most recent frame"
},
{
"from": "gpt",
"value": "watson remove"
}
] |
[
{
"from": "human",
"value": "Download the daily offer book into the current directory with the specified book format (defaults to `pdf`)"
},
{
"from": "gpt",
"value": "packtpub download --type pdf|ebup|mobi"
}
] |
[
{
"from": "human",
"value": "Download the daily offer book into the specified directory"
},
{
"from": "gpt",
"value": "packtpub download --dir path/to/directory"
}
] |
[
{
"from": "human",
"value": "Start an interactive login to packtpub.com"
},
{
"from": "gpt",
"value": "packtpub login"
}
] |
[
{
"from": "human",
"value": "Log out from packtpub.com"
},
{
"from": "gpt",
"value": "packtpub logout"
}
] |
[
{
"from": "human",
"value": "Display the daily offer"
},
{
"from": "gpt",
"value": "packtpub view-offer"
}
] |
[
{
"from": "human",
"value": "Open the daily offer in the default web browser"
},
{
"from": "gpt",
"value": "packtpub view-offer"
}
] |
[
{
"from": "human",
"value": "Display the currently logged-in user"
},
{
"from": "gpt",
"value": "packtpub whoami"
}
] |
[
{
"from": "human",
"value": "Add the latest version of a package"
},
{
"from": "gpt",
"value": "uv add package"
}
] |
[
{
"from": "human",
"value": "Add multiple packages"
},
{
"from": "gpt",
"value": "uv add package1 package2 ..."
}
] |
[
{
"from": "human",
"value": "Add a package with a version requirement"
},
{
"from": "gpt",
"value": "uv add package>=1.2.3"
}
] |
[
{
"from": "human",
"value": "Add packages to an optional dependency group, which will be included when published"
},
{
"from": "gpt",
"value": "uv add --optional optional package1 package2 ..."
}
] |
[
{
"from": "human",
"value": "Add packages to a local group, which will not be included when published"
},
{
"from": "gpt",
"value": "uv add --group group package1 package2 ..."
}
] |
[
{
"from": "human",
"value": "Add packages to the dev group, shorthand for `--group dev`"
},
{
"from": "gpt",
"value": "uv add --dev package1 package2 ..."
}
] |
[
{
"from": "human",
"value": "Add package as editable"
},
{
"from": "gpt",
"value": "uv add --editable path/to/package/"
}
] |
[
{
"from": "human",
"value": "Enable an extra when installing package, may be provided multiple times"
},
{
"from": "gpt",
"value": "uv add package --extra extra_feature"
}
] |
[
{
"from": "human",
"value": "Compile and link 2 source files to generate an executable"
},
{
"from": "gpt",
"value": "tcc -o executable_name path/to/file1.c path/to/file2.c"
}
] |
[
{
"from": "human",
"value": "Directly run an input file like a script and pass arguments to it"
},
{
"from": "gpt",
"value": "tcc -run path/to/source_file.c arguments"
}
] |
[
{
"from": "human",
"value": "Interpret C source files with a shebang inside the file"
},
{
"from": "gpt",
"value": "#!/full/path/to/tcc -run"
}
] |
[
{
"from": "human",
"value": "Start SSO session and refresh access tokens. Requires setup using `aws configure sso`"
},
{
"from": "gpt",
"value": "aws sso login"
}
] |
[
{
"from": "human",
"value": "End SSO session and clear cached access tokens"
},
{
"from": "gpt",
"value": "aws sso logout"
}
] |
[
{
"from": "human",
"value": "List all AWS accounts accessible to the user"
},
{
"from": "gpt",
"value": "aws sso list-accounts"
}
] |
[
{
"from": "human",
"value": "List all roles accessible to the user for a given AWS account"
},
{
"from": "gpt",
"value": "aws sso list-account-roles --account-id account --access-token token"
}
] |
[
{
"from": "human",
"value": "Retrieve short-term credentials for a specific account"
},
{
"from": "gpt",
"value": "aws get-role-credentials --account-id account --role-name role --access-token token"
}
] |
[
{
"from": "human",
"value": "Search for remote gem(s) and show all available versions"
},
{
"from": "gpt",
"value": "gem search regular_expression --all"
}
] |
[
{
"from": "human",
"value": "Install the latest version of a gem"
},
{
"from": "gpt",
"value": "gem install gem_name"
}
] |
[
{
"from": "human",
"value": "Install a specific version of a gem"
},
{
"from": "gpt",
"value": "gem install gem_name --version 1.0.0"
}
] |
[
{
"from": "human",
"value": "Install the latest matching (SemVer) version of a gem"
},
{
"from": "gpt",
"value": "gem install gem_name --version '~> 1.0'"
}
] |
[
{
"from": "human",
"value": "Update a gem"
},
{
"from": "gpt",
"value": "gem update gem_name"
}
] |
[
{
"from": "human",
"value": "List all local gems"
},
{
"from": "gpt",
"value": "gem list"
}
] |
[
{
"from": "human",
"value": "Uninstall a gem"
},
{
"from": "gpt",
"value": "gem uninstall gem_name"
}
] |
[
{
"from": "human",
"value": "Uninstall a specific version of a gem"
},
{
"from": "gpt",
"value": "gem uninstall gem_name --version 1.0.0"
}
] |
[
{
"from": "human",
"value": "Open a file in write mode without parsing the file format headers"
},
{
"from": "gpt",
"value": "radare2 -nw path/to/binary"
}
] |
[
{
"from": "human",
"value": "Debug a program"
},
{
"from": "gpt",
"value": "radare2 -d path/to/binary"
}
] |
[
{
"from": "human",
"value": "Run a script before entering the interactive CLI"
},
{
"from": "gpt",
"value": "radare2 -i path/to/script.r2 path/to/binary"
}
] |
[
{
"from": "human",
"value": "Display help text for any command in the interactive CLI"
},
{
"from": "gpt",
"value": "> radare2_command?"
}
] |
[
{
"from": "human",
"value": "Run a shell command from the interactive CLI"
},
{
"from": "gpt",
"value": "> !shell_command"
}
] |
[
{
"from": "human",
"value": "Dump raw bytes of current block to a file"
},
{
"from": "gpt",
"value": "> pr > path/to/file.bin"
}
] |
[
{
"from": "human",
"value": "List all duplicate packages within `node_modules`"
},
{
"from": "gpt",
"value": "npm find-dupes"
}
] |
[
{
"from": "human",
"value": "Include `devDependencies` in duplicate detection"
},
{
"from": "gpt",
"value": "npm find-dupes --include=dev"
}
] |
[
{
"from": "human",
"value": "List all duplicate instances of a specific package in `node-modules`"
},
{
"from": "gpt",
"value": "npm find-dupes package_name"
}
] |
[
{
"from": "human",
"value": "Exclude optional dependencies from duplicate detection"
},
{
"from": "gpt",
"value": "npm find-dupes --omit=optional"
}
] |
[
{
"from": "human",
"value": "Set the logging level for output"
},
{
"from": "gpt",
"value": "npm find-dupes --loglevel=silent|error|warn|info|verbose"
}
] |
[
{
"from": "human",
"value": "Output duplicate information in JSON format"
},
{
"from": "gpt",
"value": "npm find-dupes --json"
}
] |
[
{
"from": "human",
"value": "Limit duplicate search to specific scopes"
},
{
"from": "gpt",
"value": "npm find-dupes --scope=@scope1,@scope2"
}
] |
[
{
"from": "human",
"value": "Exclude specific scopes from duplicate detection"
},
{
"from": "gpt",
"value": "npm find-dupes --omit-scope=@scope1,@scope2"
}
] |
[
{
"from": "human",
"value": "Remove the entire `target` directory"
},
{
"from": "gpt",
"value": "cargo clean"
}
] |
[
{
"from": "human",
"value": "Remove documentation artifacts (the `target/doc` directory)"
},
{
"from": "gpt",
"value": "cargo clean --doc"
}
] |
[
{
"from": "human",
"value": "Remove release artifacts (the `target/release` directory)"
},
{
"from": "gpt",
"value": "cargo clean --release"
}
] |
[
{
"from": "human",
"value": "Remove artifacts in the directory of the given profile (in this case, `target/debug`)"
},
{
"from": "gpt",
"value": "cargo clean --profile dev"
}
] |
[
{
"from": "human",
"value": "Create a serverless project"
},
{
"from": "gpt",
"value": "serverless create"
}
] |
[
{
"from": "human",
"value": "Create a serverless project from a template"
},
{
"from": "gpt",
"value": "serverless create --template template_name"
}
] |
[
{
"from": "human",
"value": "Deploy to a cloud provider"
},
{
"from": "gpt",
"value": "serverless deploy"
}
] |
[
{
"from": "human",
"value": "Display information about a serverless project"
},
{
"from": "gpt",
"value": "serverless info"
}
] |
[
{
"from": "human",
"value": "Invoke a deployed function"
},
{
"from": "gpt",
"value": "serverless invoke -f function_name"
}
] |
[
{
"from": "human",
"value": "Follow the logs for a project"
},
{
"from": "gpt",
"value": "serverless logs -t"
}
] |
[
{
"from": "human",
"value": "Freeze one or more specified stages"
},
{
"from": "gpt",
"value": "dvc freeze stage_name1 stage_name2 ..."
}
] |
[
{
"from": "human",
"value": "Create a new Ember application"
},
{
"from": "gpt",
"value": "ember new my_new_app"
}
] |
[
{
"from": "human",
"value": "Create a new Ember addon"
},
{
"from": "gpt",
"value": "ember addon my_new_addon"
}
] |
[
{
"from": "human",
"value": "Build the project"
},
{
"from": "gpt",
"value": "ember build"
}
] |
[
{
"from": "human",
"value": "Build the project in production mode"
},
{
"from": "gpt",
"value": "ember build -prod"
}
] |
[
{
"from": "human",
"value": "Run the development server"
},
{
"from": "gpt",
"value": "ember serve"
}
] |
[
{
"from": "human",
"value": "Run the test suite"
},
{
"from": "gpt",
"value": "ember test"
}
] |
[
{
"from": "human",
"value": "Run a blueprint to generate something like a route or component"
},
{
"from": "gpt",
"value": "ember generate type name"
}
] |
[
{
"from": "human",
"value": "Install an ember-cli addon"
},
{
"from": "gpt",
"value": "ember install name_of_addon"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.