conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Set the file [a]ccess or [m]odification times to the current one and don't create file if it doesn't exist"
},
{
"from": "gpt",
"value": "touch [-c|--no-create] -a|m path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Set the file [t]ime to a specific value and don't create file if it doesn't exist"
},
{
"from": "gpt",
"value": "touch [-c|--no-create] -t YYYYMMDDHHMM.SS path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Set the files' timestamp to the reference file's timestamp, and do not create the file if it does not exist"
},
{
"from": "gpt",
"value": "touch [-c|--no-create] [-r|--reference] path/to/reference_file path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Insert an entity into a table"
},
{
"from": "gpt",
"value": "az storage entity insert --entity space_separated_key_value_pairs --table-name table_name --account-name storage_account_name --account-key storage_account_key"
}
] |
[
{
"from": "human",
"value": "Delete an existing entity from a table"
},
{
"from": "gpt",
"value": "az storage entity delete --partition-key partition_key --row-key row_key --table-name table_name --account-name storage_account_name --account-key storage_account_key"
}
] |
[
{
"from": "human",
"value": "Update an existing entity by merging its properties"
},
{
"from": "gpt",
"value": "az storage entity merge --entity space_separated_key_value_pairs --table-name table_name --account-name storage_account_name --account-key storage_account_key"
}
] |
[
{
"from": "human",
"value": "List entities which satisfy a query"
},
{
"from": "gpt",
"value": "az storage entity query --filter query_filter --table-name table_name --account-name storage_account_name --account-key storage_account_key"
}
] |
[
{
"from": "human",
"value": "Get an entity from the specified table"
},
{
"from": "gpt",
"value": "az storage entity show --partition-key partition_key --row-key row_key --table-name table_name --account-name storage_account_name --account-key storage_account_key"
}
] |
[
{
"from": "human",
"value": "Display the changes that would be performed without performing them (dry-run)"
},
{
"from": "gpt",
"value": "2to3 path/to/file.py"
}
] |
[
{
"from": "human",
"value": "Convert a Python 2 file to Python 3"
},
{
"from": "gpt",
"value": "2to3 --write path/to/file.py"
}
] |
[
{
"from": "human",
"value": "Convert specific Python 2 language features to Python 3"
},
{
"from": "gpt",
"value": "2to3 --write path/to/file.py --fix raw_input --fix print"
}
] |
[
{
"from": "human",
"value": "Convert all Python 2 language features except the specified ones to Python 3"
},
{
"from": "gpt",
"value": "2to3 --write path/to/file.py --nofix has_key --nofix isinstance"
}
] |
[
{
"from": "human",
"value": "List all available language features that can be converted from Python 2 to Python 3"
},
{
"from": "gpt",
"value": "2to3 --list-fixes"
}
] |
[
{
"from": "human",
"value": "Convert all Python 2 files in a directory to Python 3"
},
{
"from": "gpt",
"value": "2to3 --output-dir path/to/python3_directory --write-unchanged-files --nobackups path/to/python2_directory"
}
] |
[
{
"from": "human",
"value": "Run 2to3 with multiple threads"
},
{
"from": "gpt",
"value": "2to3 --processes 4 --output-dir path/to/python3_directory --write --nobackups --no-diff path/to/python2_directory"
}
] |
[
{
"from": "human",
"value": "Output the content of `warts` files verbose"
},
{
"from": "gpt",
"value": "sc_wartsdump path/to/file1.warts path/to/file2.warts ..."
}
] |
[
{
"from": "human",
"value": "Compile a source file"
},
{
"from": "gpt",
"value": "ocamlopt -o path/to/binary path/to/source_file.ml"
}
] |
[
{
"from": "human",
"value": "Compile with debugging enabled"
},
{
"from": "gpt",
"value": "ocamlopt -g -o path/to/binary path/to/source_file.ml"
}
] |
[
{
"from": "human",
"value": "Add a file or directory to a new or existing archive"
},
{
"from": "gpt",
"value": "zpaq [a|add] path/to/archive.zpaq path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Create or add to an encrypted archive"
},
{
"from": "gpt",
"value": "zpaq [a|add] -kpassword path/to/archive.zpaq path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Extract the most recent versions of files"
},
{
"from": "gpt",
"value": "zpaq [x|extract] path/to/archive.zpaq"
}
] |
[
{
"from": "human",
"value": "List the archive contents"
},
{
"from": "gpt",
"value": "zpaq [l|list] path/to/archive.zpaq"
}
] |
[
{
"from": "human",
"value": "Set the level of compression (higher means more compression but slower)"
},
{
"from": "gpt",
"value": "zpaq [a|add] path/to/archive.zpaq -m1|2|3|4|5 path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Extract the specified files from the archive that are not newer than the specified date"
},
{
"from": "gpt",
"value": "zpaq [x|extract] path/to/archive.zpaq path/in/archive/to/extract -to path/to/output -until YYYY-MM-DD"
}
] |
[
{
"from": "human",
"value": "Log out from the active account"
},
{
"from": "gpt",
"value": "az logout"
}
] |
[
{
"from": "human",
"value": "Log out a specific username"
},
{
"from": "gpt",
"value": "az logout --username alias@somedomain.com"
}
] |
[
{
"from": "human",
"value": "Fetch the values"
},
{
"from": "gpt",
"value": "snmpstatus -v version -c community ip"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "snmpstatus [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Detect protection on a single URL, optionally use verbose output"
},
{
"from": "gpt",
"value": "whatwaf [-u|--url] https://example.com --verbose"
}
] |
[
{
"from": "human",
"value": "Detect protection on a list of URLs in parallel from a file (one URL per line)"
},
{
"from": "gpt",
"value": "whatwaf [-t|--threads] number [-l|--list] path/to/file"
}
] |
[
{
"from": "human",
"value": "Send requests through a proxy and use custom payload list from a file (one payload per line)"
},
{
"from": "gpt",
"value": "whatwaf --proxy http://127.0.0.1:8080 --pl path/to/file [-u|--url] https://example.com"
}
] |
[
{
"from": "human",
"value": "Send requests through Tor (Tor must be installed) using custom payloads (comma-separated)"
},
{
"from": "gpt",
"value": "whatwaf --tor [-p|--payloads] 'payload1,payload2,...' [-u|--url] https://example.com"
}
] |
[
{
"from": "human",
"value": "Use a random user-agent, set throttling and timeout, send a POST request, and force HTTPS connection"
},
{
"from": "gpt",
"value": "whatwaf --ra --throttle seconds --timeout seconds [-P|--post] --force-ssl [-u|--url] http://example.com"
}
] |
[
{
"from": "human",
"value": "List all WAFs that can be detected"
},
{
"from": "gpt",
"value": "whatwaf --wafs"
}
] |
[
{
"from": "human",
"value": "List all available tamper scripts"
},
{
"from": "gpt",
"value": "whatwaf --tampers"
}
] |
[
{
"from": "human",
"value": "List all supported operations (enabled operations are indicated with asterisks)"
},
{
"from": "gpt",
"value": "virt-sysprep --list-operations"
}
] |
[
{
"from": "human",
"value": "Remove sensitive system data from a virtual machine image"
},
{
"from": "gpt",
"value": "sudo virt-sysprep [-a|--add] path/to/image.qcow2"
}
] |
[
{
"from": "human",
"value": "Specify a virtual machine by its name and run all enabled operations but don't actually apply the changes"
},
{
"from": "gpt",
"value": "sudo virt-sysprep [-d|--domain] vm_name [-n|--dry-run]"
}
] |
[
{
"from": "human",
"value": "Run only the specified operations"
},
{
"from": "gpt",
"value": "sudo virt-sysprep [-d|--domain] vm_name --operations operation1,operation2,..."
}
] |
[
{
"from": "human",
"value": "Generate a new `/etc/machine-id` file and enable customizations to be able to change the host name to avoid network conflicts"
},
{
"from": "gpt",
"value": "sudo virt-sysprep [-d|--domain] vm_name --enable customizations --hostname host_name --operation machine-id"
... |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "virt-sysprep [-he|--help]"
}
] |
[
{
"from": "human",
"value": "Display the sound file metadata"
},
{
"from": "gpt",
"value": "soxi path/to/file.wav"
}
] |
[
{
"from": "human",
"value": "List all branches (local and remote; the current branch is highlighted by `*`)"
},
{
"from": "gpt",
"value": "git branch [-a|--all]"
}
] |
[
{
"from": "human",
"value": "List which branches include a specific Git commit in their history"
},
{
"from": "gpt",
"value": "git branch [-a|--all] --contains commit_hash"
}
] |
[
{
"from": "human",
"value": "Show the name of the current branch"
},
{
"from": "gpt",
"value": "git branch --show-current"
}
] |
[
{
"from": "human",
"value": "Create new branch based on the current commit"
},
{
"from": "gpt",
"value": "git branch branch_name"
}
] |
[
{
"from": "human",
"value": "Create new branch based on a specific commit"
},
{
"from": "gpt",
"value": "git branch branch_name commit_hash"
}
] |
[
{
"from": "human",
"value": "Rename a branch (you must switch to a different branch before doing this)"
},
{
"from": "gpt",
"value": "git branch [-m|--move] old_branch_name new_branch_name"
}
] |
[
{
"from": "human",
"value": "Delete a local branch (you must switch to a different branch before doing this)"
},
{
"from": "gpt",
"value": "git branch [-d|--delete] branch_name"
}
] |
[
{
"from": "human",
"value": "Delete a remote branch"
},
{
"from": "gpt",
"value": "git push remote_name [-d|--delete] remote_branch_name"
}
] |
[
{
"from": "human",
"value": "Open the source of the Nix expression of a package from nixpkgs in your `$EDITOR`"
},
{
"from": "gpt",
"value": "nix edit nixpkgs#pkg"
}
] |
[
{
"from": "human",
"value": "Dump the source of a package to `stdout`"
},
{
"from": "gpt",
"value": "EDITOR=cat nix edit nixpkgs#pkg"
}
] |
[
{
"from": "human",
"value": "Download a torrent"
},
{
"from": "gpt",
"value": "deluge url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Download a torrent using a specific configuration file"
},
{
"from": "gpt",
"value": "deluge -c path/to/configuration_file url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Download a torrent and launch the specified user interface"
},
{
"from": "gpt",
"value": "deluge -u gtk|web|console url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Download a torrent and output the log to a file"
},
{
"from": "gpt",
"value": "deluge -l path/to/log_file url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "View documentation for the `for` keyword"
},
{
"from": "gpt",
"value": "tldr for"
}
] |
[
{
"from": "human",
"value": "Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors"
},
{
"from": "gpt",
"value": "vagrant validate"
}
] |
[
{
"from": "human",
"value": "Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options"
},
{
"from": "gpt",
"value": "vagrant validate [-p|--ignore-provider] {{docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop}"
}
] |
[
{
"from": "human",
"value": "Generate a PPM image file as output for an Interleaf image file as input"
},
{
"from": "gpt",
"value": "leaftoppm path/to/file.pl"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "leaftoppm [-v|-version]"
}
] |
[
{
"from": "human",
"value": "Calculate the SHA256 digest for a file, saving the result to a specific file"
},
{
"from": "gpt",
"value": "openssl dgst -sha256 -binary -out output_file input_file"
}
] |
[
{
"from": "human",
"value": "Sign a file using an RSA key, saving the result to a specific file"
},
{
"from": "gpt",
"value": "openssl dgst -sign private_key_file -sha256 -sigopt rsa_padding_mode:pss -out output_file input_file"
}
] |
[
{
"from": "human",
"value": "Verify an RSA signature"
},
{
"from": "gpt",
"value": "openssl dgst -verify public_key_file -signature signature_file -sigopt rsa_padding_mode:pss signature_message_file"
}
] |
[
{
"from": "human",
"value": "Sign a file using and ECDSA key"
},
{
"from": "gpt",
"value": "openssl dgst -sign private_key_file -sha256 -out output_file input_file"
}
] |
[
{
"from": "human",
"value": "Verify an ECDSA signature"
},
{
"from": "gpt",
"value": "openssl dgst -verify public_key_file -signature signature_file signature_message_file"
}
] |
[
{
"from": "human",
"value": "Format `stdin` as multiple columns"
},
{
"from": "gpt",
"value": "ls | git column --mode=column"
}
] |
[
{
"from": "human",
"value": "Format `stdin` as multiple columns with a maximum width of `100`"
},
{
"from": "gpt",
"value": "ls | git column --mode=column --width=100"
}
] |
[
{
"from": "human",
"value": "Format `stdin` as multiple columns with a maximum padding of `30`"
},
{
"from": "gpt",
"value": "ls | git column --mode=column --padding=30"
}
] |
[
{
"from": "human",
"value": "Print all strings in a binary"
},
{
"from": "gpt",
"value": "strings path/to/file"
}
] |
[
{
"from": "human",
"value": "Limit results to strings at least n characters long"
},
{
"from": "gpt",
"value": "strings -n n path/to/file"
}
] |
[
{
"from": "human",
"value": "Prefix each result with its offset within the file"
},
{
"from": "gpt",
"value": "strings -t d path/to/file"
}
] |
[
{
"from": "human",
"value": "Prefix each result with its offset within the file in hexadecimal"
},
{
"from": "gpt",
"value": "strings -t x path/to/file"
}
] |
[
{
"from": "human",
"value": "Create a new repository in a named file"
},
{
"from": "gpt",
"value": "fossil init path/to/filename"
}
] |
[
{
"from": "human",
"value": "Fetch dependencies specified in `Cargo.lock` (for all targets)"
},
{
"from": "gpt",
"value": "cargo fetch"
}
] |
[
{
"from": "human",
"value": "Fetch dependencies for the specified target"
},
{
"from": "gpt",
"value": "cargo fetch --target target_triple"
}
] |
[
{
"from": "human",
"value": "Open a URL"
},
{
"from": "gpt",
"value": "w3m https://example.com"
}
] |
[
{
"from": "human",
"value": "Open a URL in monochrome mode"
},
{
"from": "gpt",
"value": "w3m https://example.com -M"
}
] |
[
{
"from": "human",
"value": "Open a URL without mouse support"
},
{
"from": "gpt",
"value": "w3m https://example.com -no-mouse"
}
] |
[
{
"from": "human",
"value": "Open a new browser tab"
},
{
"from": "gpt",
"value": "<Shift t>"
}
] |
[
{
"from": "human",
"value": "Display your browser history"
},
{
"from": "gpt",
"value": "<Ctrl h>"
}
] |
[
{
"from": "human",
"value": "Quit w3m"
},
{
"from": "gpt",
"value": "<q><y>"
}
] |
[
{
"from": "human",
"value": "Synchronize labels using a local `labels.json` file"
},
{
"from": "gpt",
"value": "github-label-sync --access-token token repository_name"
}
] |
[
{
"from": "human",
"value": "Synchronize labels using a specific labels JSON file"
},
{
"from": "gpt",
"value": "github-label-sync --access-token token --labels url|path/to/json_file repository_name"
}
] |
[
{
"from": "human",
"value": "Perform a dry run instead of actually synchronizing labels"
},
{
"from": "gpt",
"value": "github-label-sync --access-token token --dry-run repository_name"
}
] |
[
{
"from": "human",
"value": "Keep labels that aren't in `labels.json`"
},
{
"from": "gpt",
"value": "github-label-sync --access-token token --allow-added-labels repository_name"
}
] |
[
{
"from": "human",
"value": "Synchronize using the `GITHUB_ACCESS_TOKEN` environment variable"
},
{
"from": "gpt",
"value": "github-label-sync repository_name"
}
] |
[
{
"from": "human",
"value": "List all the currently connected printers"
},
{
"from": "gpt",
"value": "lpinfo -v"
}
] |
[
{
"from": "human",
"value": "List all the currently installed printer drivers"
},
{
"from": "gpt",
"value": "lpinfo -m"
}
] |
[
{
"from": "human",
"value": "Search installed printer drivers by make and model"
},
{
"from": "gpt",
"value": "lpinfo --make-and-model \"printer_model\" -m"
}
] |
[
{
"from": "human",
"value": "Launch an attack lasting 30 seconds"
},
{
"from": "gpt",
"value": "echo \"GET https://example.com\" | vegeta attack -duration=30s"
}
] |
[
{
"from": "human",
"value": "Launch an attack on a server with a self-signed HTTPS certificate"
},
{
"from": "gpt",
"value": "echo \"GET https://example.com\" | vegeta attack -insecure -duration=30s"
}
] |
[
{
"from": "human",
"value": "Launch an attack with a rate of 10 requests per second"
},
{
"from": "gpt",
"value": "echo \"GET https://example.com\" | vegeta attack -duration=30s -rate=10"
}
] |
[
{
"from": "human",
"value": "Launch an attack and display a report"
},
{
"from": "gpt",
"value": "echo \"GET https://example.com\" | vegeta attack -duration=30s | vegeta report"
}
] |
[
{
"from": "human",
"value": "Launch an attack and plot the results on a graph (latency over time)"
},
{
"from": "gpt",
"value": "echo \"GET https://example.com\" | vegeta attack -duration=30s | vegeta plot > path/to/results.html"
}
] |
[
{
"from": "human",
"value": "Launch an attack against multiple URLs from a file"
},
{
"from": "gpt",
"value": "vegeta attack -duration=30s -targets=requests.txt | vegeta report"
}
] |
[
{
"from": "human",
"value": "Deploy a dockerized application to Kubernetes"
},
{
"from": "gpt",
"value": "kompose up -f docker-compose.yml"
}
] |
[
{
"from": "human",
"value": "Delete instantiated services/deployments from Kubernetes"
},
{
"from": "gpt",
"value": "kompose down -f docker-compose.yml"
}
] |
[
{
"from": "human",
"value": "Convert a docker-compose file into Kubernetes resources file"
},
{
"from": "gpt",
"value": "kompose convert -f docker-compose.yml"
}
] |
[
{
"from": "human",
"value": "Concatenate all PDF files into one"
},
{
"from": "gpt",
"value": "sam2p *.pdf path/to/output.pdf"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.