conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Toggle the highlighted code fold"
},
{
"from": "gpt",
"value": "<z><a>"
}
] |
[
{
"from": "human",
"value": "Display a table of available Virtual Machines"
},
{
"from": "gpt",
"value": "az vm list --output table"
}
] |
[
{
"from": "human",
"value": "Create a virtual machine using the default Ubuntu image and generate SSH keys"
},
{
"from": "gpt",
"value": "az vm create --resource-group rg --name vm_name --image UbuntuLTS --admin-user azureuser --generate-ssh-keys"
}
] |
[
{
"from": "human",
"value": "Stop a Virtual Machine"
},
{
"from": "gpt",
"value": "az vm stop --resource-group rg --name vm_name"
}
] |
[
{
"from": "human",
"value": "Deallocate a Virtual Machine"
},
{
"from": "gpt",
"value": "az vm deallocate --resource-group rg --name vm_name"
}
] |
[
{
"from": "human",
"value": "Start a Virtual Machine"
},
{
"from": "gpt",
"value": "az vm start --resource-group rg --name vm_name"
}
] |
[
{
"from": "human",
"value": "Restart a Virtual Machine"
},
{
"from": "gpt",
"value": "az vm restart --resource-group rg --name vm_name"
}
] |
[
{
"from": "human",
"value": "List VM images available in the Azure Marketplace"
},
{
"from": "gpt",
"value": "az vm image list"
}
] |
[
{
"from": "human",
"value": "Change the owner user of a file/directory"
},
{
"from": "gpt",
"value": "chown user path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Change the owner user and group of a file/directory"
},
{
"from": "gpt",
"value": "chown user:group path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Change the owner user and group to both have the name `user`"
},
{
"from": "gpt",
"value": "chown user: path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Recursively change the owner of a directory and its contents"
},
{
"from": "gpt",
"value": "chown [-R|--recursive] user path/to/directory"
}
] |
[
{
"from": "human",
"value": "Change the owner of a symbolic link"
},
{
"from": "gpt",
"value": "chown [-h|--no-dereference] user path/to/symlink"
}
] |
[
{
"from": "human",
"value": "Change the owner of a file/directory to match a reference file"
},
{
"from": "gpt",
"value": "chown --reference path/to/reference_file path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Convert a PBM image into a UNIX plot file"
},
{
"from": "gpt",
"value": "pbmtoplot path/to/image.pbm > path/to/output.plot"
}
] |
[
{
"from": "human",
"value": "Run default checks on a source file"
},
{
"from": "gpt",
"value": "clang-tidy path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "Don't run any checks other than the `cppcoreguidelines` checks on a file"
},
{
"from": "gpt",
"value": "clang-tidy path/to/file.cpp -checks=-*,cppcoreguidelines-*"
}
] |
[
{
"from": "human",
"value": "List all available checks"
},
{
"from": "gpt",
"value": "clang-tidy -checks=* -list-checks"
}
] |
[
{
"from": "human",
"value": "Specify defines and includes as compilation options (after `--`)"
},
{
"from": "gpt",
"value": "clang-tidy path/to/file.cpp -- -Imy_project/include -Ddefinitions"
}
] |
[
{
"from": "human",
"value": "Reset all tracked files and delete all untracked files"
},
{
"from": "gpt",
"value": "git clear-soft"
}
] |
[
{
"from": "human",
"value": "Check how GIFs differ"
},
{
"from": "gpt",
"value": "gifdiff path/to/first.gif path/to/second.gif"
}
] |
[
{
"from": "human",
"value": "Check if GIFs differ"
},
{
"from": "gpt",
"value": "gifdiff --brief path/to/first.gif path/to/second.gif"
}
] |
[
{
"from": "human",
"value": "Remove the first positional parameter"
},
{
"from": "gpt",
"value": "shift"
}
] |
[
{
"from": "human",
"value": "Remove the first `n` positional parameters"
},
{
"from": "gpt",
"value": "shift n"
}
] |
[
{
"from": "human",
"value": "Check the current directory"
},
{
"from": "gpt",
"value": "mh_lint"
}
] |
[
{
"from": "human",
"value": "Check a specific directory recursively"
},
{
"from": "gpt",
"value": "mh_lint path/to/directory"
}
] |
[
{
"from": "human",
"value": "Check a MATLAB file"
},
{
"from": "gpt",
"value": "mh_lint path/to/file.m"
}
] |
[
{
"from": "human",
"value": "Check an Octave file"
},
{
"from": "gpt",
"value": "mh_lint --octave path/to/file.m"
}
] |
[
{
"from": "human",
"value": "Initialize the email database, optionally specifying the Maildir directory and email addresses"
},
{
"from": "gpt",
"value": "mu init --maildir=path/to/directory --my-address=name@example.com"
}
] |
[
{
"from": "human",
"value": "Index new emails"
},
{
"from": "gpt",
"value": "mu index"
}
] |
[
{
"from": "human",
"value": "Find messages using a specific keyword (in message body, subject, sender, ...)"
},
{
"from": "gpt",
"value": "mu find keyword"
}
] |
[
{
"from": "human",
"value": "Find messages to Alice with subject `jellyfish` containing the words `apples` or `oranges`"
},
{
"from": "gpt",
"value": "mu find to:alice subject:jellyfish apples OR oranges"
}
] |
[
{
"from": "human",
"value": "Find unread messages about words starting with `soc` (the `*` only works at the end of the search term) in the Sent Items folder"
},
{
"from": "gpt",
"value": "mu find 'subject:soc*' flag:unread maildir:'/Sent Items'"
}
] |
[
{
"from": "human",
"value": "Find messages from Sam with attached images, between 2 KiB and 2 MiB, written in 2021"
},
{
"from": "gpt",
"value": "mu find 'mime:image/* size:2k..2m date:20210101..20211231 from:sam"
}
] |
[
{
"from": "human",
"value": "List contacts with `Bob` in either name or email address"
},
{
"from": "gpt",
"value": "mu cfind Bob"
}
] |
[
{
"from": "human",
"value": "Set a size of 10 GB to an existing file, or create a new file with the specified size"
},
{
"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)"
},
{
"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"
},
{
"from": "gpt",
"value": "truncate [-s|--size] -2G path/to/file"
}
] |
[
{
"from": "human",
"value": "Empty the file's content"
},
{
"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"
},
{
"from": "gpt",
"value": "truncate [-c|--no-create] [-s|--size] 0 path/to/file"
}
] |
[
{
"from": "human",
"value": "Start `bpytop`"
},
{
"from": "gpt",
"value": "bpytop"
}
] |
[
{
"from": "human",
"value": "Start in minimal mode without memory and networking boxes"
},
{
"from": "gpt",
"value": "bpytop -m"
}
] |
[
{
"from": "human",
"value": "Toggle minimal mode"
},
{
"from": "gpt",
"value": "<m>"
}
] |
[
{
"from": "human",
"value": "Search for running programs or processes"
},
{
"from": "gpt",
"value": "<f>"
}
] |
[
{
"from": "human",
"value": "Change settings"
},
{
"from": "gpt",
"value": "<M>"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "bpytop -v"
}
] |
[
{
"from": "human",
"value": "Convert the specified PGM image to Usenix FaceSave format"
},
{
"from": "gpt",
"value": "pgmtofs path/to/input.pgm > path/to/output.fs"
}
] |
[
{
"from": "human",
"value": "Generate a new public/private key pair"
},
{
"from": "gpt",
"value": "light-arionum-cli"
}
] |
[
{
"from": "human",
"value": "Display the balance of the current address"
},
{
"from": "gpt",
"value": "light-arionum-cli balance"
}
] |
[
{
"from": "human",
"value": "Display the balance of the specified address"
},
{
"from": "gpt",
"value": "light-arionum-cli balance address"
}
] |
[
{
"from": "human",
"value": "Send a transaction with an optional message"
},
{
"from": "gpt",
"value": "light-arionum-cli send address value optional_message"
}
] |
[
{
"from": "human",
"value": "Export the current wallet information"
},
{
"from": "gpt",
"value": "light-arionum-cli export"
}
] |
[
{
"from": "human",
"value": "Display information about the current block"
},
{
"from": "gpt",
"value": "light-arionum-cli block"
}
] |
[
{
"from": "human",
"value": "Display information about the current address' transactions"
},
{
"from": "gpt",
"value": "light-arionum-cli transactions"
}
] |
[
{
"from": "human",
"value": "Display information about a specific transaction"
},
{
"from": "gpt",
"value": "light-arionum-cli transaction transaction_id"
}
] |
[
{
"from": "human",
"value": "Start a rolling restart of a resource"
},
{
"from": "gpt",
"value": "kubectl rollout restart resource_type/resource_name"
}
] |
[
{
"from": "human",
"value": "Watch the rolling update status of a resource"
},
{
"from": "gpt",
"value": "kubectl rollout status resource_type/resource_name"
}
] |
[
{
"from": "human",
"value": "Roll back a resource to the previous revision"
},
{
"from": "gpt",
"value": "kubectl rollout undo resource_type/resource_name"
}
] |
[
{
"from": "human",
"value": "View the rollout history of a resource"
},
{
"from": "gpt",
"value": "kubectl rollout history resource_type/resource_name"
}
] |
[
{
"from": "human",
"value": "Bring up the default Hyperledger Fabric network"
},
{
"from": "gpt",
"value": "minifab up -i minifab_version"
}
] |
[
{
"from": "human",
"value": "Bring down the Hyperledger Fabric network"
},
{
"from": "gpt",
"value": "minifab down"
}
] |
[
{
"from": "human",
"value": "Install chaincode onto a specified channel"
},
{
"from": "gpt",
"value": "minifab install -n chaincode_name"
}
] |
[
{
"from": "human",
"value": "Install a specific chaincode version onto a channel"
},
{
"from": "gpt",
"value": "minifab install -n chaincode_name -v chaincode_version"
}
] |
[
{
"from": "human",
"value": "Initialize the chaincode after installation/upgrade"
},
{
"from": "gpt",
"value": "minifab approve,commit,initialize,discover"
}
] |
[
{
"from": "human",
"value": "Invoke a chaincode method with the specified arguments"
},
{
"from": "gpt",
"value": "minifab invoke -n chaincode_name -p '\"method_name\", \"argument1\", \"argument2\", ...'"
}
] |
[
{
"from": "human",
"value": "Make a query on the ledger"
},
{
"from": "gpt",
"value": "minifab blockquery block_number"
}
] |
[
{
"from": "human",
"value": "Quickly run an application"
},
{
"from": "gpt",
"value": "minifab apprun -l app_programming_language"
}
] |
[
{
"from": "human",
"value": "Start `gpg-tui`"
},
{
"from": "gpt",
"value": "gpg-tui"
}
] |
[
{
"from": "human",
"value": "Start `gpg-tui` with color and ASCII armored output"
},
{
"from": "gpt",
"value": "gpg-tui --style colored --armor"
}
] |
[
{
"from": "human",
"value": "Quit `gpg-tui`"
},
{
"from": "gpt",
"value": "<q>"
}
] |
[
{
"from": "human",
"value": "Interactively generate a new key"
},
{
"from": "gpt",
"value": "<g>"
}
] |
[
{
"from": "human",
"value": "Export the selected key"
},
{
"from": "gpt",
"value": "<x>"
}
] |
[
{
"from": "human",
"value": "Set the detail level for the selected key"
},
{
"from": "gpt",
"value": "<1>|<2>|<3>"
}
] |
[
{
"from": "human",
"value": "Refresh `gpg-tui`"
},
{
"from": "gpt",
"value": "<r>"
}
] |
[
{
"from": "human",
"value": "Display help in `gpg-tui`"
},
{
"from": "gpt",
"value": "<?>"
}
] |
[
{
"from": "human",
"value": "Create a local branch"
},
{
"from": "gpt",
"value": "git create-branch branch_name"
}
] |
[
{
"from": "human",
"value": "Create a branch locally and on origin"
},
{
"from": "gpt",
"value": "git create-branch --remote branch_name"
}
] |
[
{
"from": "human",
"value": "Create a branch locally and on upstream (through forks)"
},
{
"from": "gpt",
"value": "git create-branch --remote upstream branch_name"
}
] |
[
{
"from": "human",
"value": "Add credentials to the secure keystore"
},
{
"from": "gpt",
"value": "aws-vault add profile"
}
] |
[
{
"from": "human",
"value": "Execute a command with AWS credentials in the environment"
},
{
"from": "gpt",
"value": "aws-vault exec profile -- aws s3 ls"
}
] |
[
{
"from": "human",
"value": "Open a browser window and login to the AWS Console"
},
{
"from": "gpt",
"value": "aws-vault login profile"
}
] |
[
{
"from": "human",
"value": "List profiles, along with their credentials and sessions"
},
{
"from": "gpt",
"value": "aws-vault list"
}
] |
[
{
"from": "human",
"value": "Rotate AWS credentials"
},
{
"from": "gpt",
"value": "aws-vault rotate profile"
}
] |
[
{
"from": "human",
"value": "Remove credentials from the secure keystore"
},
{
"from": "gpt",
"value": "aws-vault remove profile"
}
] |
[
{
"from": "human",
"value": "Create a local Kubernetes cluster"
},
{
"from": "gpt",
"value": "kind create cluster --name cluster_name"
}
] |
[
{
"from": "human",
"value": "Delete one or more clusters"
},
{
"from": "gpt",
"value": "kind delete clusters cluster_name"
}
] |
[
{
"from": "human",
"value": "Get details about clusters, nodes, or the kubeconfig"
},
{
"from": "gpt",
"value": "kind get clusters|nodes|kubeconfig"
}
] |
[
{
"from": "human",
"value": "Export the kubeconfig or the logs"
},
{
"from": "gpt",
"value": "kind export kubeconfig|logs"
}
] |
[
{
"from": "human",
"value": "Display available interfaces"
},
{
"from": "gpt",
"value": "dumpcap --list-interfaces"
}
] |
[
{
"from": "human",
"value": "Capture packets on a specific interface"
},
{
"from": "gpt",
"value": "dumpcap --interface 1"
}
] |
[
{
"from": "human",
"value": "Capture packets to a specific location"
},
{
"from": "gpt",
"value": "dumpcap --interface 1 -w path/to/output_file.pcapng"
}
] |
[
{
"from": "human",
"value": "Write to a ring buffer with a specific max file limit of a specific size"
},
{
"from": "gpt",
"value": "dumpcap --interface 1 -w path/to/output_file.pcapng --ring-buffer filesize:500000 --ring-buffer files:10"
}
] |
[
{
"from": "human",
"value": "Check for the Streamlit installation"
},
{
"from": "gpt",
"value": "streamlit hello"
}
] |
[
{
"from": "human",
"value": "Run your Streamlit application"
},
{
"from": "gpt",
"value": "streamlit run project_name"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "streamlit --help"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "streamlit --version"
}
] |
[
{
"from": "human",
"value": "Print logs from a container"
},
{
"from": "gpt",
"value": "docker logs container_name"
}
] |
[
{
"from": "human",
"value": "Print logs and follow them"
},
{
"from": "gpt",
"value": "docker logs [-f|--follow] container_name"
}
] |
[
{
"from": "human",
"value": "Print last 5 lines"
},
{
"from": "gpt",
"value": "docker logs container_name [-n|--tail] 5"
}
] |
[
{
"from": "human",
"value": "Print logs and append them with timestamps"
},
{
"from": "gpt",
"value": "docker logs [-t|--timestamps] container_name"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.