conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Tell me about `trivy`."
},
{
"from": "gpt",
"value": "Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues.\nMore information: <https://aquasecurity.github.io/trivy>.\n"
}
] |
[
{
"from": "human",
"value": "Scan a Docker image for vulnerabilities and exposed secrets via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy image {{image:tag}}`"
}
] |
[
{
"from": "human",
"value": "Scan a Docker image filtering the output by severity via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy image --severity {{HIGH,CRITICAL}} {{alpine:3.15}}`"
}
] |
[
{
"from": "human",
"value": "Scan a Docker image ignoring any unfixed/unpatched vulnerabilities via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy image --ignore-unfixed {{alpine:3.15}}`"
}
] |
[
{
"from": "human",
"value": "Scan the filesystem for vulnerabilities and misconfigurations via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy fs --security-checks {{vuln,config}} {{path/to/project_directory}}`"
}
] |
[
{
"from": "human",
"value": "Scan a IaC (Terraform, CloudFormation, ARM, Helm and Dockerfile) directory for misconfigurations via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy config {{path/to/iac_directory}}`"
}
] |
[
{
"from": "human",
"value": "Scan a local or remote Git repository for vulnerabilities via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy repo {{path/to/local_repository_directory|remote_repository_URL}}`"
}
] |
[
{
"from": "human",
"value": "Scan a Git repository up to a specific commit hash via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy repo --commit {{commit_hash}} {{repository}}`"
}
] |
[
{
"from": "human",
"value": "Generate output with a SARIF template via the `trivy` command"
},
{
"from": "gpt",
"value": "`trivy image --format {{template}} --template \"{{@sarif.tpl}}\" -o {{path/to/report.sarif}} {{image:tag}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tr`."
},
{
"from": "gpt",
"value": "Translate characters: run replacements based on single characters and character sets.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/tr-invocation.html>.\n"
}
] |
[
{
"from": "human",
"value": "Replace all occurrences of a character in a file, and print the result via the `tr` command"
},
{
"from": "gpt",
"value": "`tr {{find_character}} {{replace_character}} < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Replace all occurrences of a character from another command's output via the `tr` command"
},
{
"from": "gpt",
"value": "`echo {{text}} | tr {{find_character}} {{replace_character}}`"
}
] |
[
{
"from": "human",
"value": "Map each character of the first set to the corresponding character of the second set via the `tr` command"
},
{
"from": "gpt",
"value": "`tr '{{abcd}}' '{{jkmn}}' < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Delete all occurrences of the specified set of characters from the input via the `tr` command"
},
{
"from": "gpt",
"value": "`tr {{[-d|--delete]}} '{{input_characters}}' < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Compress a series of identical characters to a single character via the `tr` command"
},
{
"from": "gpt",
"value": "`tr {{[-s|--squeeze-repeats]}} '{{input_characters}}' < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Translate the contents of a file to upper-case via the `tr` command"
},
{
"from": "gpt",
"value": "`tr \"[:lower:]\" \"[:upper:]\" < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Strip out non-printable characters from a file via the `tr` command"
},
{
"from": "gpt",
"value": "`tr {{[-cd|--complement --delete]}} \"[:print:]\" < {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `troff`."
},
{
"from": "gpt",
"value": "Typesetting processor for the groff (GNU Troff) document formatting system.\nSee also `groff`.\nMore information: <https://manned.org/troff>.\n"
}
] |
[
{
"from": "human",
"value": "Format output for a PostScript printer, saving the output to a file via the `troff` command"
},
{
"from": "gpt",
"value": "`troff {{path/to/input.roff}} | grops > {{path/to/output.ps}}`"
}
] |
[
{
"from": "human",
"value": "Format output for a PostScript printer using the me macro package, saving the output to a file via the `troff` command"
},
{
"from": "gpt",
"value": "`troff -{{me}} {{path/to/input.roff}} | grops > {{path/to/output.ps}}`"
}
] |
[
{
"from": "human",
"value": "Format output as ASCII text using the man macro package via the `troff` command"
},
{
"from": "gpt",
"value": "`troff -T {{ascii}} -{{man}} {{path/to/input.roff}} | grotty`"
}
] |
[
{
"from": "human",
"value": "Format output as a pdf file, saving the output to a file via the `troff` command"
},
{
"from": "gpt",
"value": "`troff -T {{pdf}} {{path/to/input.roff}} | gropdf > {{path/to/output.pdf}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `true`."
},
{
"from": "gpt",
"value": "Returns a successful exit status code of 0.\nUse this with the || operator to make a command always exit with 0.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/true-invocation.html>.\n"... |
[
{
"from": "human",
"value": "Return a successful exit code via the `true` command"
},
{
"from": "gpt",
"value": "`true`"
}
] |
[
{
"from": "human",
"value": "Tell me about `trufflehog`."
},
{
"from": "gpt",
"value": "Find and verify credentials in files, Git repositories, S3 buckets, and Docker images.\nMore information: <https://github.com/trufflesecurity/trufflehog>.\n"
}
] |
[
{
"from": "human",
"value": "Scan a Git repository for verified secrets via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified`"
}
] |
[
{
"from": "human",
"value": "Scan a GitHub organization for verified secrets via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog github --org={{trufflesecurity}} --only-verified`"
}
] |
[
{
"from": "human",
"value": "Scan a GitHub repository for verified keys and get JSON output via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified --json`"
}
] |
[
{
"from": "human",
"value": "Scan a GitHub repository along with its Issues and Pull Requests via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog github --repo={{https://github.com/trufflesecurity/test_keys}} --issue-comments --pr-comments`"
}
] |
[
{
"from": "human",
"value": "Scan an S3 bucket for verified keys via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog s3 --bucket={{bucket name}} --only-verified`"
}
] |
[
{
"from": "human",
"value": "Scan S3 buckets using IAM Roles via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog s3 --role-arn={{iam-role-arn}}`"
}
] |
[
{
"from": "human",
"value": "Scan individual files or directories via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog filesystem {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Scan a Docker image for verified secrets via the `trufflehog` command"
},
{
"from": "gpt",
"value": "`trufflehog docker --image {{trufflesecurity/secrets}} --only-verified`"
}
] |
[
{
"from": "human",
"value": "Tell me about `truffle`."
},
{
"from": "gpt",
"value": "Develop smart contracts for running services on the Ethereum blockchain.\nMore information: <https://www.trufflesuite.com/docs/truffle/reference/truffle-commands>.\n"
}
] |
[
{
"from": "human",
"value": "Download a pre-built Truffle project (Truffle Box) via the `truffle` command"
},
{
"from": "gpt",
"value": "`truffle unbox {{box_name}}`"
}
] |
[
{
"from": "human",
"value": "Compile contract source files in the current directory via the `truffle` command"
},
{
"from": "gpt",
"value": "`truffle compile`"
}
] |
[
{
"from": "human",
"value": "Run JavaScript and Solidity tests via the `truffle` command"
},
{
"from": "gpt",
"value": "`truffle test`"
}
] |
[
{
"from": "human",
"value": "Run migrations to deploy contracts via the `truffle` command"
},
{
"from": "gpt",
"value": "`truffle migrate`"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand via the `truffle` command"
},
{
"from": "gpt",
"value": "`truffle help {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `truncate`."
},
{
"from": "gpt",
"value": "Shrink or extend the size of a file to the specified size.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/truncate-invocation.html>.\n"
}
] |
[
{
"from": "human",
"value": "Set a size of 10 GB to an existing file, or create a new file with the specified size via the `truncate` command"
},
{
"from": "gpt",
"value": "`truncate {{[-s|--size]}} 10G {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Extend the file size by 50 MiB, fill with holes (which reads as zero bytes) via the `truncate` command"
},
{
"from": "gpt",
"value": "`truncate {{[-s|--size]}} +50M {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Shrink the file by 2 GiB, by removing data from the end of file via the `truncate` command"
},
{
"from": "gpt",
"value": "`truncate {{[-s|--size]}} -2G {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Empty the file's content via the `truncate` command"
},
{
"from": "gpt",
"value": "`truncate {{[-s|--size]}} 0 {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Empty the file's content, but do not create the file if it does not exist via the `truncate` command"
},
{
"from": "gpt",
"value": "`truncate {{[-c|--no-create]}} {{[-s|--size]}} 0 {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tsc`."
},
{
"from": "gpt",
"value": "TypeScript compiler.\nMore information: <https://www.typescriptlang.org/docs/handbook/compiler-options.html>.\n"
}
] |
[
{
"from": "human",
"value": "Compile a TypeScript file `foobar.ts` into a JavaScript file `foobar.js` via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc {{foobar.ts}}`"
}
] |
[
{
"from": "human",
"value": "Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`) via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc --target {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT}} {{foobar.ts}}`"
}
] |
[
{
"from": "human",
"value": "Compile a TypeScript file into a JavaScript file with a custom name via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc --outFile {{output.js}} {{input.ts}}`"
}
] |
[
{
"from": "human",
"value": "Compile all `.ts` files of a TypeScript project defined in a `tsconfig.json` file via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc --build {{tsconfig.json}}`"
}
] |
[
{
"from": "human",
"value": "Run the compiler using command-line options and arguments fetched from a text file via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc @{{args.txt}}`"
}
] |
[
{
"from": "human",
"value": "Type-check multiple JavaScript files, and output only the errors via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc --allowJs --checkJs --noEmit {{src/**/*.js}}`"
}
] |
[
{
"from": "human",
"value": "Run the compiler in watch mode, which automatically recompiles code when it changes via the `tsc` command"
},
{
"from": "gpt",
"value": "`tsc --watch`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tslint`."
},
{
"from": "gpt",
"value": "A pluggable linting utility for TypeScript.\nMore information: <https://palantir.github.io/tslint>.\n"
}
] |
[
{
"from": "human",
"value": "Create TSLint config via the `tslint` command"
},
{
"from": "gpt",
"value": "`tslint --init`"
}
] |
[
{
"from": "human",
"value": "Lint on a given set of files via the `tslint` command"
},
{
"from": "gpt",
"value": "`tslint {{path/to/file1.js path/to/file2.js ...}}`"
}
] |
[
{
"from": "human",
"value": "Fix lint issues via the `tslint` command"
},
{
"from": "gpt",
"value": "`tslint --fix`"
}
] |
[
{
"from": "human",
"value": "Lint with the configuration file in the project root via the `tslint` command"
},
{
"from": "gpt",
"value": "`tslint --project {{path/to/project_root}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ts`."
},
{
"from": "gpt",
"value": "Add timestamps to every line from `stdin`.\nMore information: <https://manned.org/ts>.\n"
}
] |
[
{
"from": "human",
"value": "Add a timestamp to the beginning of each line via the `ts` command"
},
{
"from": "gpt",
"value": "`{{command}} | ts`"
}
] |
[
{
"from": "human",
"value": "Add timestamps with microsecond precision via the `ts` command"
},
{
"from": "gpt",
"value": "`{{command}} | ts \"{{%b %d %H:%M:%.S}}\"`"
}
] |
[
{
"from": "human",
"value": "Add [i]ncremental timestamps with microsecond precision, starting from zero via the `ts` command"
},
{
"from": "gpt",
"value": "`{{command}} | ts -i \"{{%H:%M:%.S}}\"`"
}
] |
[
{
"from": "human",
"value": "Convert existing timestamps in a text file (eg. a log file) into [r]elative format via the `ts` command"
},
{
"from": "gpt",
"value": "`cat {{path/to/file}} | ts -r`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ts-node`."
},
{
"from": "gpt",
"value": "Run TypeScript code directly, without any compiling.\nMore information: <https://typestrong.org/ts-node>.\n"
}
] |
[
{
"from": "human",
"value": "Execute a TypeScript file without compiling (`node` + `tsc`) via the `ts-node` command"
},
{
"from": "gpt",
"value": "`ts-node {{path/to/file.ts}}`"
}
] |
[
{
"from": "human",
"value": "Execute a TypeScript file without loading `tsconfig.json` via the `ts-node` command"
},
{
"from": "gpt",
"value": "`ts-node --skip-project {{path/to/file.ts}}`"
}
] |
[
{
"from": "human",
"value": "Evaluate TypeScript code passed as a literal via the `ts-node` command"
},
{
"from": "gpt",
"value": "`ts-node --eval '{{console.log(\"Hello World\")}}'`"
}
] |
[
{
"from": "human",
"value": "Execute a TypeScript file in script mode via the `ts-node` command"
},
{
"from": "gpt",
"value": "`ts-node --script-mode {{path/to/file.ts}}`"
}
] |
[
{
"from": "human",
"value": "Transpile a TypeScript file to JavaScript without executing it via the `ts-node` command"
},
{
"from": "gpt",
"value": "`ts-node --transpile-only {{path/to/file.ts}}`"
}
] |
[
{
"from": "human",
"value": "Display TS-Node help via the `ts-node` command"
},
{
"from": "gpt",
"value": "`ts-node --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tsort`."
},
{
"from": "gpt",
"value": "Perform a topological sort.\nA common use is to show the dependency order of nodes in a directed acyclic graph.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/tsort-invocation.html>.\n... |
[
{
"from": "human",
"value": "Perform a topological sort consistent with a partial sort per line of input separated by blanks via the `tsort` command"
},
{
"from": "gpt",
"value": "`tsort {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Perform a topological sort consistent on strings via the `tsort` command"
},
{
"from": "gpt",
"value": "`echo -e \"{{UI Backend\\nBackend Database\\nDocs UI}}\" | tsort`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tspin`."
},
{
"from": "gpt",
"value": "A log file highlighter based on the `less` pager and basically behaves like any pager.\nMore information: <https://github.com/bensadeh/tailspin>.\n"
}
] |
[
{
"from": "human",
"value": "Read from file and view in `less` via the `tspin` command"
},
{
"from": "gpt",
"value": "`tspin {{path/to/application.log}}`"
}
] |
[
{
"from": "human",
"value": "Read from another command and print to stdout via the `tspin` command"
},
{
"from": "gpt",
"value": "`journalctl -b --follow | tspin`"
}
] |
[
{
"from": "human",
"value": "Read from file and print to `stdout` via the `tspin` command"
},
{
"from": "gpt",
"value": "`tspin {{path/to/application.log}} --print`"
}
] |
[
{
"from": "human",
"value": "Read from `stdin` and print to `stdout` via the `tspin` command"
},
{
"from": "gpt",
"value": "`echo \"2021-01-01 12:00:00 [INFO] This is a log message\" | tspin`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tsv-filter`."
},
{
"from": "gpt",
"value": "Filter lines of a TSV file by running tests against individual fields.\nMore information: <https://github.com/eBay/tsv-utils#tsv-filter>.\n"
}
] |
[
{
"from": "human",
"value": "Print the lines where a specific column is numerically equal to a given number via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter -H --eq {{field_name}}:{{number}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Print the lines where a specific column is [eq]ual/[n]on [e]qual/[l]ess [t]han/[l]ess than or [e]qual/[g]reater [t]han/[g]reater than or [e]qual to a given number via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --{{eq|ne|lt|le|gt|ge}} {{column... |
[
{
"from": "human",
"value": "Print the lines where a specific column is [eq]ual/[n]ot [e]qual/part of/not part of a given string via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --str-{{eq|ne|in-fld|not-in-fld}} {{column_number}}:{{string}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Filter for non-empty fields via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --not-empty {{column_number}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Print the lines where a specific column is empty via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --invert --not-empty {{column_number}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Print the lines that satisfy two conditions via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --eq {{column_number1}}:{{number}} --str-eq {{column_number2}}:{{string}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Print the lines that match at least one condition via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --or --eq {{column_number1}}:{{number}} --str-eq {{column_number2}}:{{string}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Count matching lines, interpreting first line as a [H]eader via the `tsv-filter` command"
},
{
"from": "gpt",
"value": "`tsv-filter --count -H --eq {{field_name}}:{{number}} {{path/to/tsv_file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tt`."
},
{
"from": "gpt",
"value": "A terminal based typing test.\nMore information: <https://github.com/lemnos/tt>.\n"
}
] |
[
{
"from": "human",
"value": "Start quote mode with the builtin quote list in English via the `tt` command"
},
{
"from": "gpt",
"value": "`tt -quotes {{en}}`"
}
] |
[
{
"from": "human",
"value": "Produce a test consisting of 50 randomly drawn words in 5 groups of 10 words each via the `tt` command"
},
{
"from": "gpt",
"value": "`tt -n {{10}} -g {{5}}`"
}
] |
[
{
"from": "human",
"value": "Start a timed test lasting 10 seconds via the `tt` command"
},
{
"from": "gpt",
"value": "`tt -t {{10}}`"
}
] |
[
{
"from": "human",
"value": "Start `tt` with no theming and showing your WPM as you type via the `tt` command"
},
{
"from": "gpt",
"value": "`tt -showwpm -notheme`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tts`."
},
{
"from": "gpt",
"value": "Synthesize speech.\nMore information: <https://github.com/coqui-ai/TTS#command-line-tts>.\n"
}
] |
[
{
"from": "human",
"value": "Run text-to-speech with the default models, writing the output to \"tts_output.wav\" via the `tts` command"
},
{
"from": "gpt",
"value": "`tts --text \"{{text}}\"`"
}
] |
[
{
"from": "human",
"value": "List provided models via the `tts` command"
},
{
"from": "gpt",
"value": "`tts --list_models`"
}
] |
[
{
"from": "human",
"value": "Query info for a model by idx via the `tts` command"
},
{
"from": "gpt",
"value": "`tts --model_info_by_idx {{model_type/model_query_idx}}`"
}
] |
[
{
"from": "human",
"value": "Query info for a model by name via the `tts` command"
},
{
"from": "gpt",
"value": "`tts --model_info_by_name {{model_type/language/dataset/model_name}}`"
}
] |
[
{
"from": "human",
"value": "Run a text-to-speech model with its default vocoder model via the `tts` command"
},
{
"from": "gpt",
"value": "`tts --text \"{{text}}\" --model_name {{model_type/language/dataset/model_name}}`"
}
] |
[
{
"from": "human",
"value": "Run your own text-to-speech model (using the Griffin-Lim vocoder) via the `tts` command"
},
{
"from": "gpt",
"value": "`tts --text \"{{text}}\" --model_path {{path/to/model.pth}} --config_path {{path/to/config.json}} --out_path {{path/to/file.wav}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `tty`."
},
{
"from": "gpt",
"value": "Returns terminal name.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/tty-invocation.html>.\n"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.