conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Add a safe target"
},
{
"from": "gpt",
"value": "safe target vault_addr target_name"
}
] |
[
{
"from": "human",
"value": "Authenticate the CLI client against the Vault server, using an authentication token"
},
{
"from": "gpt",
"value": "safe auth authentication_token"
}
] |
[
{
"from": "human",
"value": "Print the environment variables describing the current target"
},
{
"from": "gpt",
"value": "safe env"
}
] |
[
{
"from": "human",
"value": "Display a tree hierarchy of all reachable keys for a given path"
},
{
"from": "gpt",
"value": "safe tree path"
}
] |
[
{
"from": "human",
"value": "Move a secret from one path to another"
},
{
"from": "gpt",
"value": "safe move old/path/to/secret new/path/to/secret"
}
] |
[
{
"from": "human",
"value": "Generate a new 2048-bit SSH key-pair and store it"
},
{
"from": "gpt",
"value": "safe ssh 2048 path/to/secret"
}
] |
[
{
"from": "human",
"value": "Set non-sensitive keys for a secret"
},
{
"from": "gpt",
"value": "safe set path/to/secret key=value"
}
] |
[
{
"from": "human",
"value": "Set auto-generated password in a secret"
},
{
"from": "gpt",
"value": "safe gen path/to/secret key"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command"
},
{
"from": "gpt",
"value": "tldr pamtowinicon"
}
] |
[
{
"from": "human",
"value": "Display logs in real time"
},
{
"from": "gpt",
"value": "varnishlog"
}
] |
[
{
"from": "human",
"value": "Only display requests to a specific domain"
},
{
"from": "gpt",
"value": "varnishlog -q 'ReqHeader eq \"Host: example.com\"'"
}
] |
[
{
"from": "human",
"value": "Only display POST requests"
},
{
"from": "gpt",
"value": "varnishlog -q 'ReqMethod eq \"POST\"'"
}
] |
[
{
"from": "human",
"value": "Only display requests to a specific path"
},
{
"from": "gpt",
"value": "varnishlog -q 'ReqURL eq \"/path\"'"
}
] |
[
{
"from": "human",
"value": "Only display requests to paths matching a regular expression"
},
{
"from": "gpt",
"value": "varnishlog -q 'ReqURL ~ \"regex\"'"
}
] |
[
{
"from": "human",
"value": "Display the full list of builtin commands"
},
{
"from": "gpt",
"value": "help"
}
] |
[
{
"from": "human",
"value": "Print instructions on how to use the `while` loop construct"
},
{
"from": "gpt",
"value": "help while"
}
] |
[
{
"from": "human",
"value": "Print instructions on how to use the `for` loop construct"
},
{
"from": "gpt",
"value": "help for"
}
] |
[
{
"from": "human",
"value": "Print instructions on how to use `[[ ]]` for conditional commands"
},
{
"from": "gpt",
"value": "help [[ ]]"
}
] |
[
{
"from": "human",
"value": "Print instruction on how to use `(( ))` to evaluate arithmetic expressions"
},
{
"from": "gpt",
"value": "help \\( \\)"
}
] |
[
{
"from": "human",
"value": "Print instructions on how to use the `cd` command"
},
{
"from": "gpt",
"value": "help cd"
}
] |
[
{
"from": "human",
"value": "Convert an e-book into another format"
},
{
"from": "gpt",
"value": "ebook-convert path/to/input_file output_file"
}
] |
[
{
"from": "human",
"value": "Convert Markdown or HTML to e-book with TOC, title and author"
},
{
"from": "gpt",
"value": "ebook-convert path/to/input_file output_file --level1-toc=\"//h:h1\" --level2-toc=\"//h:h2\" --level3-toc=\"//h:h3\" --title=title --authors=author"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell session"
},
{
"from": "gpt",
"value": "sh"
}
] |
[
{
"from": "human",
"value": "Execute a command and then exit"
},
{
"from": "gpt",
"value": "sh -c \"command\""
}
] |
[
{
"from": "human",
"value": "Execute a script"
},
{
"from": "gpt",
"value": "sh path/to/script.sh"
}
] |
[
{
"from": "human",
"value": "Read and execute commands from `stdin`"
},
{
"from": "gpt",
"value": "sh -s"
}
] |
[
{
"from": "human",
"value": "Print documentation on a subject (Python keyword, topic, function, module, package, etc.)"
},
{
"from": "gpt",
"value": "pydoc subject"
}
] |
[
{
"from": "human",
"value": "Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation"
},
{
"from": "gpt",
"value": "pydoc -b"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pydoc"
}
] |
[
{
"from": "human",
"value": "Create anomaly monitor"
},
{
"from": "gpt",
"value": "aws ce create-anomaly-monitor --monitor monitor_name --monitor-type monitor_type"
}
] |
[
{
"from": "human",
"value": "Create anomaly subscription"
},
{
"from": "gpt",
"value": "aws ce create-anomaly-subscription --subscription subscription_name --monitor-arn monitor_arn --subscribers subscribers"
}
] |
[
{
"from": "human",
"value": "Get anomalies"
},
{
"from": "gpt",
"value": "aws ce get-anomalies --monitor-arn monitor_arn --start-time start_time --end-time end_time"
}
] |
[
{
"from": "human",
"value": "Get cost and usage"
},
{
"from": "gpt",
"value": "aws ce get-cost-and-usage --time-period start_date/end_date --granularity granularity --metrics metrics"
}
] |
[
{
"from": "human",
"value": "Get cost forecast"
},
{
"from": "gpt",
"value": "aws ce get-cost-forecast --time-period start_date/end_date --granularity granularity --metric metric"
}
] |
[
{
"from": "human",
"value": "Get reservation utilization"
},
{
"from": "gpt",
"value": "aws ce get-reservation-utilization --time-period start_date/end_date --granularity granularity"
}
] |
[
{
"from": "human",
"value": "List cost category definitions"
},
{
"from": "gpt",
"value": "aws ce list-cost-category-definitions"
}
] |
[
{
"from": "human",
"value": "Tag resource"
},
{
"from": "gpt",
"value": "aws ce tag-resource --resource-arn resource_arn --tags tags"
}
] |
[
{
"from": "human",
"value": "Read a PPM image from the input file, convert it to a Berkeley YUV image and store it in the specified output file"
},
{
"from": "gpt",
"value": "ppmtoeyuv path/to/input_file.ppm > path/to/output_file.eyuv"
}
] |
[
{
"from": "human",
"value": "Run a script"
},
{
"from": "gpt",
"value": "npm run script_name"
}
] |
[
{
"from": "human",
"value": "Pass arguments to a script"
},
{
"from": "gpt",
"value": "npm run script_name -- argument --option"
}
] |
[
{
"from": "human",
"value": "Run a script named `start`"
},
{
"from": "gpt",
"value": "npm start"
}
] |
[
{
"from": "human",
"value": "Run a script named `stop`"
},
{
"from": "gpt",
"value": "npm stop"
}
] |
[
{
"from": "human",
"value": "Run a script named `restart`"
},
{
"from": "gpt",
"value": "npm restart"
}
] |
[
{
"from": "human",
"value": "Run a script named `test`"
},
{
"from": "gpt",
"value": "npm test"
}
] |
[
{
"from": "human",
"value": "Choose a template interactively"
},
{
"from": "gpt",
"value": "pulumi new"
}
] |
[
{
"from": "human",
"value": "Create a project from a specific template (e.g `azure-python`)"
},
{
"from": "gpt",
"value": "pulumi new provided-template"
}
] |
[
{
"from": "human",
"value": "Create a project from a local file"
},
{
"from": "gpt",
"value": "pulumi new path/to/templates/aws-typescript"
}
] |
[
{
"from": "human",
"value": "Create a project from a Git repository"
},
{
"from": "gpt",
"value": "pulumi new url"
}
] |
[
{
"from": "human",
"value": "Use the specified secrets provider with the <pulumi.com> backend"
},
{
"from": "gpt",
"value": "pulumi new --secrets-provider=passphrase"
}
] |
[
{
"from": "human",
"value": "Initialize a Satis configuration"
},
{
"from": "gpt",
"value": "satis init satis.json"
}
] |
[
{
"from": "human",
"value": "Add a VCS repository to the Satis configuration"
},
{
"from": "gpt",
"value": "satis add repository_url"
}
] |
[
{
"from": "human",
"value": "Build the static output from the configuration"
},
{
"from": "gpt",
"value": "satis build satis.json path/to/output_directory"
}
] |
[
{
"from": "human",
"value": "Build the static output by updating only the specified repository"
},
{
"from": "gpt",
"value": "satis build --repository-url repository_url satis.json path/to/output_directory"
}
] |
[
{
"from": "human",
"value": "Remove useless archive files"
},
{
"from": "gpt",
"value": "satis purge satis.json path/to/output_directory"
}
] |
[
{
"from": "human",
"value": "Extract textural features from a PGM image"
},
{
"from": "gpt",
"value": "pgmtexture path/to/image.pgm > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Specify the distance parameter for the feature extraction algorithm"
},
{
"from": "gpt",
"value": "pgmtexture -d distance path/to/image.pgm > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Start an SSH Agent for the current shell"
},
{
"from": "gpt",
"value": "eval $(ssh-agent)"
}
] |
[
{
"from": "human",
"value": "Kill the currently running agent"
},
{
"from": "gpt",
"value": "ssh-agent -k"
}
] |
[
{
"from": "human",
"value": "Scan a file for vulnerabilities"
},
{
"from": "gpt",
"value": "clamscan path/to/file"
}
] |
[
{
"from": "human",
"value": "Scan all files recursively in a specific directory"
},
{
"from": "gpt",
"value": "clamscan -r path/to/directory"
}
] |
[
{
"from": "human",
"value": "Scan data from `stdin`"
},
{
"from": "gpt",
"value": "command | clamscan -"
}
] |
[
{
"from": "human",
"value": "Specify a virus database file or directory of files"
},
{
"from": "gpt",
"value": "clamscan --database path/to/database_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Scan the current directory and output only infected files"
},
{
"from": "gpt",
"value": "clamscan --infected"
}
] |
[
{
"from": "human",
"value": "Print the scan report to a log file"
},
{
"from": "gpt",
"value": "clamscan --log path/to/log_file"
}
] |
[
{
"from": "human",
"value": "Move infected files to a specific directory"
},
{
"from": "gpt",
"value": "clamscan --move path/to/quarantine_directory"
}
] |
[
{
"from": "human",
"value": "Remove infected files"
},
{
"from": "gpt",
"value": "clamscan --remove yes"
}
] |
[
{
"from": "human",
"value": "Run a command from a package, without installing it"
},
{
"from": "gpt",
"value": "uv tool run command"
}
] |
[
{
"from": "human",
"value": "Install a Python package system-wide"
},
{
"from": "gpt",
"value": "uv tool install package"
}
] |
[
{
"from": "human",
"value": "Upgrade an installed Python package"
},
{
"from": "gpt",
"value": "uv tool upgrade package"
}
] |
[
{
"from": "human",
"value": "Uninstall a Python package"
},
{
"from": "gpt",
"value": "uv tool uninstall package"
}
] |
[
{
"from": "human",
"value": "List Python packages installed system-wide"
},
{
"from": "gpt",
"value": "uv tool list"
}
] |
[
{
"from": "human",
"value": "Output the traceroute of `warts` files one after the other in an easy-to-parse format"
},
{
"from": "gpt",
"value": "sc_analysis_dump path/to/file1.warts path/to/file2.warts ..."
}
] |
[
{
"from": "human",
"value": "Intersect file [a] and file(s) [b] regarding the sequences' [s]trand and save the result to a specific file"
},
{
"from": "gpt",
"value": "bedtools intersect -a path/to/file_A -b path/to/file_B1 path/to/file_B2 ... -s > path/to/output_file"
}
] |
[
{
"from": "human",
"value": "Intersect two files with a [l]eft [o]uter [j]oin, i.e. report each feature from `file1` and NULL if no overlap with `file2`"
},
{
"from": "gpt",
"value": "bedtools intersect -a path/to/file1 -b path/to/file2 -loj > path/to/output_file"
}
] |
[
{
"from": "human",
"value": "Using more efficient algorithm to intersect two pre-sorted files"
},
{
"from": "gpt",
"value": "bedtools intersect -a path/to/file1 -b path/to/file2 -sorted > path/to/output_file"
}
] |
[
{
"from": "human",
"value": "[g]roup a file based on the first three and the fifth [c]olumn and apply the sum [o]peration on the sixth column"
},
{
"from": "gpt",
"value": "bedtools groupby -i path/to/file -c 1-3,5 -g 6 -o sum"
}
] |
[
{
"from": "human",
"value": "Convert bam-formatted [i]nput file to a bed-formatted one"
},
{
"from": "gpt",
"value": "bedtools bamtobed -i path/to/file.bam > path/to/file.bed"
}
] |
[
{
"from": "human",
"value": "Find for all features in `file1.bed` the closest one in `file2.bed` and write their [d]istance in an extra column (input files must be sorted)"
},
{
"from": "gpt",
"value": "bedtools closest -a path/to/file1.bed -b path/to/file2.bed -d"
}
] |
[
{
"from": "human",
"value": "Authorize `twurl` to access a Twitter account"
},
{
"from": "gpt",
"value": "twurl authorize --consumer-key twitter_api_key --consumer-secret twitter_api_secret"
}
] |
[
{
"from": "human",
"value": "Make a GET request to an API endpoint"
},
{
"from": "gpt",
"value": "twurl -X GET twitter_api_endpoint"
}
] |
[
{
"from": "human",
"value": "Make a POST request to an API endpoint"
},
{
"from": "gpt",
"value": "twurl -X POST -d 'endpoint_params' twitter_api_endpoint"
}
] |
[
{
"from": "human",
"value": "Upload media to Twitter"
},
{
"from": "gpt",
"value": "twurl -H \"twitter_upload_url\" -X POST \"twitter_upload_endpoint\" --file \"path/to/media.jpg\" --file-field \"media\""
}
] |
[
{
"from": "human",
"value": "Access a different Twitter API host"
},
{
"from": "gpt",
"value": "twurl -H twitter_api_url -X GET twitter_api_endpoint"
}
] |
[
{
"from": "human",
"value": "Create an alias for a requested resource"
},
{
"from": "gpt",
"value": "twurl alias alias_name resource"
}
] |
[
{
"from": "human",
"value": "Check for all updates"
},
{
"from": "gpt",
"value": "rustup check"
}
] |
[
{
"from": "human",
"value": "Strip nondeterministic information from a file"
},
{
"from": "gpt",
"value": "strip-nondeterminism path/to/file"
}
] |
[
{
"from": "human",
"value": "Strip nondeterministic information from a file manually specifying the filetype"
},
{
"from": "gpt",
"value": "strip-nondeterminism --type filetype path/to/file"
}
] |
[
{
"from": "human",
"value": "Strip nondeterministic information from a file; instead of removing timestamps set them to the specified UNIX timestamp"
},
{
"from": "gpt",
"value": "strip-nondeterminism --timestamp unix_timestamp path/to/file"
}
] |
[
{
"from": "human",
"value": "Update the list of available packages and versions (it's recommended to run this before other `paci` commands)"
},
{
"from": "gpt",
"value": "paci refresh"
}
] |
[
{
"from": "human",
"value": "Configure its behaviour"
},
{
"from": "gpt",
"value": "paci configure"
}
] |
[
{
"from": "human",
"value": "Search for a given package"
},
{
"from": "gpt",
"value": "paci search package"
}
] |
[
{
"from": "human",
"value": "Install a package"
},
{
"from": "gpt",
"value": "paci install package"
}
] |
[
{
"from": "human",
"value": "Update a package"
},
{
"from": "gpt",
"value": "paci update package"
}
] |
[
{
"from": "human",
"value": "List all available repositories from which a package can be installed"
},
{
"from": "gpt",
"value": "tlmgr candidates package"
}
] |
[
{
"from": "human",
"value": "Show the feed of a given URL and wait for new entries appearing at the bottom"
},
{
"from": "gpt",
"value": "rsstail -u url"
}
] |
[
{
"from": "human",
"value": "Show the feed in reverse chronological order (newer at the bottom)"
},
{
"from": "gpt",
"value": "rsstail -r -u url"
}
] |
[
{
"from": "human",
"value": "Include publication date and link"
},
{
"from": "gpt",
"value": "rsstail -pl -u url"
}
] |
[
{
"from": "human",
"value": "Set update interval"
},
{
"from": "gpt",
"value": "rsstail -u url -i interval_in_seconds"
}
] |
[
{
"from": "human",
"value": "Show feed and exit"
},
{
"from": "gpt",
"value": "rsstail -1 -u url"
}
] |
[
{
"from": "human",
"value": "Debug an executable"
},
{
"from": "gpt",
"value": "gdb executable"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.