conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Connect to the main Ethereum network and automatically download the full node via the `geth` command"
},
{
"from": "gpt",
"value": "`geth`"
}
] |
[
{
"from": "human",
"value": "Connect to the Ropsten test network via the `geth` command"
},
{
"from": "gpt",
"value": "`geth --testnet`"
}
] |
[
{
"from": "human",
"value": "Create a new account via the `geth` command"
},
{
"from": "gpt",
"value": "`geth account new`"
}
] |
[
{
"from": "human",
"value": "Enable mining via the `geth` command"
},
{
"from": "gpt",
"value": "`geth --mine`"
}
] |
[
{
"from": "human",
"value": "Tell me about `Get-NodeInstallLocation`."
},
{
"from": "gpt",
"value": "Get the current Node.js installation directory for `ps-nvm`.\nPart of `ps-nvm` and can only be run under PowerShell.\nMore information: <https://github.com/aaronpowell/ps-nvm>.\n"
}
] |
[
{
"from": "human",
"value": "Get the current Node.js installation directory via the `get-nodeinstalllocation` command"
},
{
"from": "gpt",
"value": "`Get-NodeInstallLocation`"
}
] |
[
{
"from": "human",
"value": "Tell me about `Get-NodeVersions`."
},
{
"from": "gpt",
"value": "List installed and available Node.js versions for `ps-nvm`.\nPart of `ps-nvm` and can only be run under PowerShell.\nMore information: <https://github.com/aaronpowell/ps-nvm>.\n"
}
] |
[
{
"from": "human",
"value": "List all installed Node.js versions via the `get-nodeversions` command"
},
{
"from": "gpt",
"value": "`Get-NodeVersions`"
}
] |
[
{
"from": "human",
"value": "List all available Node.js versions via the `get-nodeversions` command"
},
{
"from": "gpt",
"value": "`Get-NodeVersions -Remote`"
}
] |
[
{
"from": "human",
"value": "List all available Node.js 20.x versions via the `get-nodeversions` command"
},
{
"from": "gpt",
"value": "`Get-NodeVersions -Remote -Filter \">=20.0.0 <21.0.0\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `GetNPUsers.py`."
},
{
"from": "gpt",
"value": "Enumerate Active Directory accounts with Kerberos pre-authentication disabled, which may be susceptible to AS-REP roasting attacks.\nPart of the Impacket suite.\nMore information: <https://github.com/fortr... |
[
{
"from": "human",
"value": "Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration) via the `getnpusers.py` command"
},
{
"from": "gpt",
"value": "`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}`"
}
] |
[
{
"from": "human",
"value": "Perform AS-REP roasting and dump crackable hashes for offline cracking via the `getnpusers.py` command"
},
{
"from": "gpt",
"value": "`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -request`"
}
] |
[
{
"from": "human",
"value": "Authenticate with valid credentials (if anonymous binding is disabled) via the `getnpusers.py` command"
},
{
"from": "gpt",
"value": "`GetNPUsers.py {{domain}}/{{username}}:{{password}} -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}`"
}
] |
[
{
"from": "human",
"value": "Use pass-the-hash authentication instead of a password via the `getnpusers.py` command"
},
{
"from": "gpt",
"value": "`GetNPUsers.py {{domain}}/{{username}} -hashes {{LM_Hash}}:{{NT_Hash}} -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}`"
}
] |
[
{
"from": "human",
"value": "Save the output to a file for further analysis via the `getnpusers.py` command"
},
{
"from": "gpt",
"value": "`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -request > {{output.txt}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `getopts`."
},
{
"from": "gpt",
"value": "Parse shell options from arguments.\nThis command does not support longform options and thus using `getopt` is recommended instead.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-ge... |
[
{
"from": "human",
"value": "Check if an option is set via the `getopts` command"
},
{
"from": "gpt",
"value": "`getopts {{x}} {{opt}}; echo $opt`"
}
] |
[
{
"from": "human",
"value": "Set an option to require an argument and check said argument via the `getopts` command"
},
{
"from": "gpt",
"value": "`getopts {{x}}: {{opt}}; echo $OPTARG`"
}
] |
[
{
"from": "human",
"value": "Check for multiple options via the `getopts` command"
},
{
"from": "gpt",
"value": "`while getopts {{xyz}} {{opt}}; do case $opt in x) echo x is set;; y) echo y is set;; z) echo z is set;; esac; done`"
}
] |
[
{
"from": "human",
"value": "Set `getopts` to silent mode and handle option errors via the `getopts` command"
},
{
"from": "gpt",
"value": "`while getopts :{{x:}} {{opt}}; do case $opt in x) ;; :) echo \"Argument required\";; ?) echo \"Invalid argument\" esac;; done`"
}
] |
[
{
"from": "human",
"value": "Reset `getopts` via the `getopts` command"
},
{
"from": "gpt",
"value": "`OPTIND=1`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gettext`."
},
{
"from": "gpt",
"value": "Get string translations.\nMore information: <https://www.gnu.org/software/gettext/manual/html_node/gettext-Invocation.html>.\n"
}
] |
[
{
"from": "human",
"value": "Get the translation of a string or output a default string if it doesn't exist via the `gettext` command"
},
{
"from": "gpt",
"value": "`LANGUAGE={{locale}} gettext {{msgid}} {{default_value}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gettext` command"
},
{
"from": "gpt",
"value": "`gettext {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `GetUserSPNs.py`."
},
{
"from": "gpt",
"value": "Retrieve Service Principal Names (SPNs) associated with Active Directory user accounts.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n"
}
] |
[
{
"from": "human",
"value": "Enumerate user accounts with an SPN and request their Kerberos TGS tickets via the `getuserspns.py` command"
},
{
"from": "gpt",
"value": "`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}}`"
}
] |
[
{
"from": "human",
"value": "Use pass-the-hash authentication via the `getuserspns.py` command"
},
{
"from": "gpt",
"value": "`GetUserSPNs.py {{domain}}/{{username}} -hashes {{LM_Hash}}:{{NT_Hash}} -dc-ip {{domain_controller_ip}}`"
}
] |
[
{
"from": "human",
"value": "Save the output to a file via the `getuserspns.py` command"
},
{
"from": "gpt",
"value": "`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}} -outputfile {{output_file}}`"
}
] |
[
{
"from": "human",
"value": "Request only TGS tickets via the `getuserspns.py` command"
},
{
"from": "gpt",
"value": "`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}} -request`"
}
] |
[
{
"from": "human",
"value": "Request only TGS tickets using pass-the-hash authentication via the `getuserspns.py` command"
},
{
"from": "gpt",
"value": "`GetUserSPNs.py {{domain}}/{{username}} -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} -request`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gfortran`."
},
{
"from": "gpt",
"value": "Preprocess and compile Fortran source files, then assemble and link them together.\nMore information: <https://gcc.gnu.org/wiki/GFortran>.\n"
}
] |
[
{
"from": "human",
"value": "Compile multiple source files into an executable via the `gfortran` command"
},
{
"from": "gpt",
"value": "`gfortran {{path/to/source1.f90 path/to/source2.f90 ...}} -o {{path/to/output_executable}}`"
}
] |
[
{
"from": "human",
"value": "Show common warnings, debug symbols in output, and optimize without affecting debugging via the `gfortran` command"
},
{
"from": "gpt",
"value": "`gfortran {{path/to/source.f90}} -Wall -g -Og -o {{path/to/output_executable}}`"
}
] |
[
{
"from": "human",
"value": "Include libraries from a different path via the `gfortran` command"
},
{
"from": "gpt",
"value": "`gfortran {{path/to/source.f90}} -o {{path/to/output_executable}} -I{{path/to/mod_and_include}} -L{{path/to/library}} -l{{library_name}}`"
}
] |
[
{
"from": "human",
"value": "Compile source code into Assembler instructions via the `gfortran` command"
},
{
"from": "gpt",
"value": "`gfortran -S {{path/to/source.f90}}`"
}
] |
[
{
"from": "human",
"value": "Compile source code into an object file without linking via the `gfortran` command"
},
{
"from": "gpt",
"value": "`gfortran -c {{path/to/source.f90}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gh alias`."
},
{
"from": "gpt",
"value": "Manage GitHub CLI command aliases.\nMore information: <https://cli.github.com/manual/gh_alias>.\n"
}
] |
[
{
"from": "human",
"value": "List all the aliases `gh` is configured to use via the `gh-alias` command"
},
{
"from": "gpt",
"value": "`gh alias list`"
}
] |
[
{
"from": "human",
"value": "Create a `gh` subcommand alias via the `gh-alias` command"
},
{
"from": "gpt",
"value": "`gh alias set {{pv}} '{{pr view}}'`"
}
] |
[
{
"from": "human",
"value": "Set a shell command as a `gh` subcommand via the `gh-alias` command"
},
{
"from": "gpt",
"value": "`gh alias set --shell {{alias_name}} {{command}}`"
}
] |
[
{
"from": "human",
"value": "Delete a command shortcut via the `gh-alias` command"
},
{
"from": "gpt",
"value": "`gh alias delete {{alias_name}}`"
}
] |
[
{
"from": "human",
"value": "Display the subcommand help via the `gh-alias` command"
},
{
"from": "gpt",
"value": "`gh alias`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gh api`."
},
{
"from": "gpt",
"value": "Make authenticated HTTP requests to the GitHub API and print the response.\nMore information: <https://cli.github.com/manual/gh_api>.\n"
}
] |
[
{
"from": "human",
"value": "Display the releases for the current repository in JSON format via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api repos/:owner/:repo/releases`"
}
] |
[
{
"from": "human",
"value": "Create a reaction for a specific issue via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api --header {{Accept:application/vnd.github.squirrel-girl-preview+json}} --raw-field '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}`"
}
] |
[
{
"from": "human",
"value": "Display the result of a GraphQL query in JSON format via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api graphql --field {{name=':repo'}} --raw-field '{{query}}'`"
}
] |
[
{
"from": "human",
"value": "Send a request using a custom HTTP method via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api --method {{POST}} {{endpoint}}`"
}
] |
[
{
"from": "human",
"value": "Include the HTTP response headers in the output via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api --include {{endpoint}}`"
}
] |
[
{
"from": "human",
"value": "Do not print the response body via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api --silent {{endpoint}}`"
}
] |
[
{
"from": "human",
"value": "Send a request to a specific GitHub Enterprise Server via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api --hostname {{github.example.com}} {{endpoint}}`"
}
] |
[
{
"from": "human",
"value": "Display the subcommand help via the `gh-api` command"
},
{
"from": "gpt",
"value": "`gh api --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gh auth`."
},
{
"from": "gpt",
"value": "Authenticate with a GitHub host.\nMore information: <https://cli.github.com/manual/gh_auth>.\n"
}
] |
[
{
"from": "human",
"value": "Log in with interactive prompt via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`gh auth login`"
}
] |
[
{
"from": "human",
"value": "Log in with a token from `stdin` (created in <https://github.com/settings/tokens>) via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`echo {{your_token}} | gh auth login --with-token`"
}
] |
[
{
"from": "human",
"value": "Check if you are logged in via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`gh auth status`"
}
] |
[
{
"from": "human",
"value": "Log out via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`gh auth logout`"
}
] |
[
{
"from": "human",
"value": "Log in with a specific GitHub Enterprise Server via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`gh auth login --hostname {{github.example.com}}`"
}
] |
[
{
"from": "human",
"value": "Refresh the session to ensure authentication credentials have the correct minimum scopes (removes additional scopes requested previously) via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`gh auth refresh`"
}
] |
[
{
"from": "human",
"value": "Expand the permission scopes via the `gh-auth` command"
},
{
"from": "gpt",
"value": "`gh auth refresh --scopes {{repo,admin:repo_hook,admin:org,admin:public_key,admin:org_hook,...}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gh browse`."
},
{
"from": "gpt",
"value": "Open a GitHub repository in the browser or print the URL.\nMore information: <https://cli.github.com/manual/gh_browse>.\n"
}
] |
[
{
"from": "human",
"value": "Open the homepage of the current repository in the default web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse`"
}
] |
[
{
"from": "human",
"value": "Open the homepage of a specific repository in the default web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse {{owner}}/{{repository}}`"
}
] |
[
{
"from": "human",
"value": "Open the settings page of the current repository in the default web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse --settings`"
}
] |
[
{
"from": "human",
"value": "Open the wiki of the current repository in the default web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse --wiki`"
}
] |
[
{
"from": "human",
"value": "Open a specific issue or pull request in the web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse {{issue_number|pull_request_number}}`"
}
] |
[
{
"from": "human",
"value": "Open a specific branch in the web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse --branch {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "Open a specific file or directory of the current repository in the web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Print the destination URL without open the web browser via the `gh-browse` command"
},
{
"from": "gpt",
"value": "`gh browse --no-browser`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ghcid`."
},
{
"from": "gpt",
"value": "Simple and efficient CLI IDE for Haskell that reloads code on file changes.\nContinuously displays compile errors, warnings, and test results.\nMore information: <https://github.com/ndmitchell/ghcid>.\n"
}
] |
[
{
"from": "human",
"value": "Start `ghcid` and monitor a Haskell file for changes via the `ghcid` command"
},
{
"from": "gpt",
"value": "`ghcid {{path/to/Main.hs}}`"
}
] |
[
{
"from": "human",
"value": "Start `ghcid` with a specific command, such as loading a Stack or Cabal project via the `ghcid` command"
},
{
"from": "gpt",
"value": "`ghcid --command \"{{stack ghci Main.hs}}\"`"
}
] |
[
{
"from": "human",
"value": "Run an action (default `main`) on each file save via the `ghcid` command"
},
{
"from": "gpt",
"value": "`ghcid --run={{action}} {{path/to/Main.hs}}`"
}
] |
[
{
"from": "human",
"value": "Set maximum height and width (default to console height and width) via the `ghcid` command"
},
{
"from": "gpt",
"value": "`ghcid --height={{height}} --width={{width}} {{path/to/Main.hs}}`"
}
] |
[
{
"from": "human",
"value": "Write full GHC compiler output to a file via the `ghcid` command"
},
{
"from": "gpt",
"value": "`ghcid --outputfile={{path/to/output_file.txt}} {{path/to/Main.hs}}`"
}
] |
[
{
"from": "human",
"value": "Execute REPL commands (eg. `-- $> 1+1`) on each file save via the `ghcid` command"
},
{
"from": "gpt",
"value": "`ghcid --allow-eval {{path/to/Main.hs}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ghci`."
},
{
"from": "gpt",
"value": "The Glasgow Haskell Compiler's interactive environment.\nMore information: <https://downloads.haskell.org/ghc/latest/docs/html/users_guide/ghci.html>.\n"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell) via the `ghci` command"
},
{
"from": "gpt",
"value": "`ghci`"
}
] |
[
{
"from": "human",
"value": "Start a REPL and load the specified Haskell source file via the `ghci` command"
},
{
"from": "gpt",
"value": "`ghci {{source_file.hs}}`"
}
] |
[
{
"from": "human",
"value": "Start a REPL and enable a language option via the `ghci` command"
},
{
"from": "gpt",
"value": "`ghci -X{{language_option}}`"
}
] |
[
{
"from": "human",
"value": "Start a REPL and enable some level of compiler warnings (e.g. `all` or `compact`) via the `ghci` command"
},
{
"from": "gpt",
"value": "`ghci -W{{warning_level}}`"
}
] |
[
{
"from": "human",
"value": "Start a REPL with a colon-separated list of directories for finding source files via the `ghci` command"
},
{
"from": "gpt",
"value": "`ghci -i{{path/to/directory1:path/to/directory2:...}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ghc`."
},
{
"from": "gpt",
"value": "The Glasgow Haskell Compiler.\nCompiles and links Haskell source files.\nMore information: <https://www.haskell.org/ghc>.\n"
}
] |
[
{
"from": "human",
"value": "Find and compile all modules in the current directory via the `ghc` command"
},
{
"from": "gpt",
"value": "`ghc Main`"
}
] |
[
{
"from": "human",
"value": "Compile a single file via the `ghc` command"
},
{
"from": "gpt",
"value": "`ghc {{path/to/file.hs}}`"
}
] |
[
{
"from": "human",
"value": "Compile using extra optimization via the `ghc` command"
},
{
"from": "gpt",
"value": "`ghc -O {{path/to/file.hs}}`"
}
] |
[
{
"from": "human",
"value": "Stop compilation after generating object files (.o) via the `ghc` command"
},
{
"from": "gpt",
"value": "`ghc -c {{path/to/file.hs}}`"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell) via the `ghc` command"
},
{
"from": "gpt",
"value": "`ghci`"
}
] |
[
{
"from": "human",
"value": "Evaluate a single expression via the `ghc` command"
},
{
"from": "gpt",
"value": "`ghc -e {{expression}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gh codespace`."
},
{
"from": "gpt",
"value": "Connect and manage your codespaces in GitHub.\nMore information: <https://cli.github.com/manual/gh_codespace>.\n"
}
] |
[
{
"from": "human",
"value": "Create a codespace in GitHub interactively via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace create`"
}
] |
[
{
"from": "human",
"value": "List all available codespaces via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace list`"
}
] |
[
{
"from": "human",
"value": "Connect to a codespace via SSH interactively via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace ssh`"
}
] |
[
{
"from": "human",
"value": "Transfer a specific file to a codespace interactively via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace cp {{path/to/source_file}} remote:{{path/to/remote_file}}`"
}
] |
[
{
"from": "human",
"value": "List the ports of a codespace interactively via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace ports`"
}
] |
[
{
"from": "human",
"value": "Display the logs from a codespace interactively via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace logs`"
}
] |
[
{
"from": "human",
"value": "Delete a codespace interactively via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace delete`"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand via the `gh-codespace` command"
},
{
"from": "gpt",
"value": "`gh codespace {{code|cp|create|delete|edit|...}} --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gh completion`."
},
{
"from": "gpt",
"value": "Generate shell completion scripts for GitHub CLI commands.\nMore information: <https://cli.github.com/manual/gh_completion>.\n"
}
] |
[
{
"from": "human",
"value": "Print a completion script via the `gh-completion` command"
},
{
"from": "gpt",
"value": "`gh completion --shell {{bash|zsh|fish|powershell}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.