conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run on server using UDP mode and set server port to listen on 5001"
},
{
"from": "gpt",
"value": "iperf [-u|--udp] [-s|--server] [-p|--port] 5001"
}
] |
[
{
"from": "human",
"value": "Run on client"
},
{
"from": "gpt",
"value": "iperf [-c|--client] server_address"
}
] |
[
{
"from": "human",
"value": "Run on client every 2 seconds"
},
{
"from": "gpt",
"value": "iperf [-c|--client] server_address [-i|--interval] 2"
}
] |
[
{
"from": "human",
"value": "Run on client with 5 parallel threads"
},
{
"from": "gpt",
"value": "iperf [-c|--client] server_address [-P|--parallel] 5"
}
] |
[
{
"from": "human",
"value": "Run on client using UDP mode"
},
{
"from": "gpt",
"value": "iperf [-u|--udp] [-c|--client] server_address [-p|--port] 5001"
}
] |
[
{
"from": "human",
"value": "Print an ASCII cow saying \"hello, world\""
},
{
"from": "gpt",
"value": "cowsay \"hello, world\""
}
] |
[
{
"from": "human",
"value": "Print an ASCII cow saying text from `stdin`"
},
{
"from": "gpt",
"value": "echo \"hello, world\" | cowsay"
}
] |
[
{
"from": "human",
"value": "List all available art types"
},
{
"from": "gpt",
"value": "cowsay -l"
}
] |
[
{
"from": "human",
"value": "Print the specified ASCII art saying \"hello, world\""
},
{
"from": "gpt",
"value": "cowsay -f art \"hello, world\""
}
] |
[
{
"from": "human",
"value": "Print a dead thinking ASCII cow"
},
{
"from": "gpt",
"value": "cowthink -d \"I'm just a cow, not a great thinker...\""
}
] |
[
{
"from": "human",
"value": "Print an ASCII cow with custom eyes saying \"hello, world\""
},
{
"from": "gpt",
"value": "cowsay -e characters \"hello, world\""
}
] |
[
{
"from": "human",
"value": "Check the correctness of the current project's manifest"
},
{
"from": "gpt",
"value": "cargo verify-project"
}
] |
[
{
"from": "human",
"value": "Check the correctness of the specified manifest file"
},
{
"from": "gpt",
"value": "cargo verify-project --manifest-path path/to/Cargo.toml"
}
] |
[
{
"from": "human",
"value": "Connect to server using a configuration file"
},
{
"from": "gpt",
"value": "sudo openvpn path/to/client.conf"
}
] |
[
{
"from": "human",
"value": "Try to set up an insecure peer-to-peer tunnel on bob.example.com host"
},
{
"from": "gpt",
"value": "sudo openvpn --remote alice.example.com --dev tun1 --ifconfig 10.4.0.1 10.4.0.2"
}
] |
[
{
"from": "human",
"value": "Connect to the awaiting bob.example.com host without encryption"
},
{
"from": "gpt",
"value": "sudo openvpn --remote bob.example.com --dev tun1 --ifconfig 10.4.0.2 10.4.0.1"
}
] |
[
{
"from": "human",
"value": "Create a cryptographic key and save it to file"
},
{
"from": "gpt",
"value": "openvpn --genkey secret path/to/key"
}
] |
[
{
"from": "human",
"value": "Try to set up a peer-to-peer tunnel on bob.example.com host with a static key"
},
{
"from": "gpt",
"value": "sudo openvpn --remote alice.example.com --dev tun1 --ifconfig 10.4.0.1 10.4.0.2 --secret path/to/key"
}
] |
[
{
"from": "human",
"value": "Connect to the awaiting bob.example.com host with the same static key as on bob.example.com"
},
{
"from": "gpt",
"value": "sudo openvpn --remote bob.example.com --dev tun1 --ifconfig 10.4.0.2 10.4.0.1 --secret path/to/key"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command"
},
{
"from": "gpt",
"value": "tldr gemtopnm"
}
] |
[
{
"from": "human",
"value": "Run a JavaScript file or a `package.json` script"
},
{
"from": "gpt",
"value": "bun run path/to/file|script_name"
}
] |
[
{
"from": "human",
"value": "Run unit tests"
},
{
"from": "gpt",
"value": "bun test"
}
] |
[
{
"from": "human",
"value": "Download and install all the packages listed as dependencies in `package.json`"
},
{
"from": "gpt",
"value": "bun install"
}
] |
[
{
"from": "human",
"value": "Add a dependency to `package.json`"
},
{
"from": "gpt",
"value": "bun add module_name"
}
] |
[
{
"from": "human",
"value": "Remove a dependency from `package.json`"
},
{
"from": "gpt",
"value": "bun remove module_name"
}
] |
[
{
"from": "human",
"value": "Create a new Bun project in the current directory"
},
{
"from": "gpt",
"value": "bun init"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "bun repl"
}
] |
[
{
"from": "human",
"value": "Upgrade Bun to the latest version"
},
{
"from": "gpt",
"value": "bun upgrade"
}
] |
[
{
"from": "human",
"value": "Discover directories and files that match in the wordlist"
},
{
"from": "gpt",
"value": "gobuster dir --url https://example.com/ --wordlist path/to/file"
}
] |
[
{
"from": "human",
"value": "Discover subdomains"
},
{
"from": "gpt",
"value": "gobuster dns --domain example.com --wordlist path/to/file"
}
] |
[
{
"from": "human",
"value": "Discover Amazon S3 buckets"
},
{
"from": "gpt",
"value": "gobuster s3 --wordlist path/to/file"
}
] |
[
{
"from": "human",
"value": "Discover other virtual hosts on the server"
},
{
"from": "gpt",
"value": "gobuster vhost --url https://example.com/ --wordlist path/to/file"
}
] |
[
{
"from": "human",
"value": "Fuzz the value of a parameter"
},
{
"from": "gpt",
"value": "gobuster fuzz --url https://example.com/?parameter=FUZZ --wordlist path/to/file"
}
] |
[
{
"from": "human",
"value": "Fuzz the name of a parameter"
},
{
"from": "gpt",
"value": "gobuster fuzz --url https://example.com/?FUZZ=value --wordlist path/to/file"
}
] |
[
{
"from": "human",
"value": "Exit with the exit status of the most recently executed command"
},
{
"from": "gpt",
"value": "exit"
}
] |
[
{
"from": "human",
"value": "Exit with a specific exit status"
},
{
"from": "gpt",
"value": "exit exit_code"
}
] |
[
{
"from": "human",
"value": "Convert an XBM image to a PPM image"
},
{
"from": "gpt",
"value": "xbmtopbm path/to/input_file.xbm > path/to/output_file.pbm"
}
] |
[
{
"from": "human",
"value": "Reject print jobs to the specified destinations"
},
{
"from": "gpt",
"value": "cupsreject destination1 destination2 ..."
}
] |
[
{
"from": "human",
"value": "Specify a different server"
},
{
"from": "gpt",
"value": "cupsreject -h server destination1 destination2 ..."
}
] |
[
{
"from": "human",
"value": "Specify a reason string (\"Reason Unknown\" by default)"
},
{
"from": "gpt",
"value": "cupsreject -r reason destination1 destination2 ..."
}
] |
[
{
"from": "human",
"value": "Start an emulator"
},
{
"from": "gpt",
"value": "sfdk emulator start name"
}
] |
[
{
"from": "human",
"value": "Stop an emulator"
},
{
"from": "gpt",
"value": "sfdk emulator stop name"
}
] |
[
{
"from": "human",
"value": "Display emulator status"
},
{
"from": "gpt",
"value": "sfdk emulator status name"
}
] |
[
{
"from": "human",
"value": "Display the installed emulators"
},
{
"from": "gpt",
"value": "sfdk emulator list"
}
] |
[
{
"from": "human",
"value": "Show the repository browser for the current Git repository"
},
{
"from": "gpt",
"value": "gitk"
}
] |
[
{
"from": "human",
"value": "Show repository browser for a specific file or directory"
},
{
"from": "gpt",
"value": "gitk path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Show commits made since 1 week ago"
},
{
"from": "gpt",
"value": "gitk --since=\"1 week ago\""
}
] |
[
{
"from": "human",
"value": "Show commits older than 1/1/2016"
},
{
"from": "gpt",
"value": "gitk --until=\"1/1/2015\""
}
] |
[
{
"from": "human",
"value": "Show at most 100 changes in all branches"
},
{
"from": "gpt",
"value": "gitk --max-count=100 --all"
}
] |
[
{
"from": "human",
"value": "Produce a mask of areas of a certain color in the specified PPM image"
},
{
"from": "gpt",
"value": "ppmcolormask [-c|-color] red,blue path/to/input.ppm > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Create a table"
},
{
"from": "gpt",
"value": "aws dynamodb create-table --table-name table_name --attribute-definitions AttributeName=S,AttributeType=S --key-schema AttributeName=S,KeyType=HASH --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5"
}
] |
[
{
"from": "human",
"value": "List all tables in the DynamoDB"
},
{
"from": "gpt",
"value": "aws dynamodb list-tables"
}
] |
[
{
"from": "human",
"value": "Get details about a specific table"
},
{
"from": "gpt",
"value": "aws dynamodb describe-table --table-name table_name"
}
] |
[
{
"from": "human",
"value": "Add an item to a table"
},
{
"from": "gpt",
"value": "aws dynamodb put-item --table-name table_name --item '{\"AttributeName\": {\"S\": \"value\"}}'"
}
] |
[
{
"from": "human",
"value": "Retrieve an item from a table"
},
{
"from": "gpt",
"value": "aws dynamodb get-item --table-name table_name --key '{\"ID\": {\"N\": \"1\"}}'"
}
] |
[
{
"from": "human",
"value": "Update an item in the table"
},
{
"from": "gpt",
"value": "aws dynamodb update-item --table-name table_name --key '{\"ID\": {\"N\": \"1\"}}' --update-expression \"SET Name = :n\" --expression-attribute-values '{\":n\": {\"S\": \"Jane\"}}'"
}
] |
[
{
"from": "human",
"value": "Scan items in the table"
},
{
"from": "gpt",
"value": "aws dynamodb scan --table-name table_name"
}
] |
[
{
"from": "human",
"value": "Delete an item from the table"
},
{
"from": "gpt",
"value": "aws dynamodb delete-item --table-name table_name --key '{\"ID\": {\"N\": \"1\"}}'"
}
] |
[
{
"from": "human",
"value": "Display a notification when tar finishes compressing files"
},
{
"from": "gpt",
"value": "noti tar -cjf example.tar.bz2 example/"
}
] |
[
{
"from": "human",
"value": "Display a notification even when you put it after the command to watch"
},
{
"from": "gpt",
"value": "command_to_watch; noti"
}
] |
[
{
"from": "human",
"value": "Monitor a process by PID and trigger a notification when the PID disappears"
},
{
"from": "gpt",
"value": "noti -w process_id"
}
] |
[
{
"from": "human",
"value": "Run without arguments to use the interactive interface"
},
{
"from": "gpt",
"value": "fkill"
}
] |
[
{
"from": "human",
"value": "Kill the process by PID, name or port"
},
{
"from": "gpt",
"value": "fkill pid|name|:port"
}
] |
[
{
"from": "human",
"value": "Commit changes to all DVC-tracked files and directories"
},
{
"from": "gpt",
"value": "dvc commit"
}
] |
[
{
"from": "human",
"value": "Commit changes to a specified DVC-tracked target"
},
{
"from": "gpt",
"value": "dvc commit target"
}
] |
[
{
"from": "human",
"value": "Recursively commit all DVC-tracked files in a directory"
},
{
"from": "gpt",
"value": "dvc commit --recursive path/to/directory"
}
] |
[
{
"from": "human",
"value": "View stories on Hacker News"
},
{
"from": "gpt",
"value": "hn"
}
] |
[
{
"from": "human",
"value": "View _number_ of stories on Hacker News"
},
{
"from": "gpt",
"value": "hn --limit number"
}
] |
[
{
"from": "human",
"value": "View stories on Hacker News, and keep the list open after selecting a link"
},
{
"from": "gpt",
"value": "hn --keep-open"
}
] |
[
{
"from": "human",
"value": "View stories on Hacker News sorted by submission date"
},
{
"from": "gpt",
"value": "hn --latest"
}
] |
[
{
"from": "human",
"value": "Yank using the default delimiters (\\f, \\n, \\r, \\s, \\t)"
},
{
"from": "gpt",
"value": "sudo dmesg | yank"
}
] |
[
{
"from": "human",
"value": "Yank an entire line"
},
{
"from": "gpt",
"value": "sudo dmesg | yank -l"
}
] |
[
{
"from": "human",
"value": "Yank using a specific delimiter"
},
{
"from": "gpt",
"value": "echo hello=world | yank -d ="
}
] |
[
{
"from": "human",
"value": "Only yank fields matching a specific pattern"
},
{
"from": "gpt",
"value": "ps ux | yank -g \"[0-9]+\""
}
] |
[
{
"from": "human",
"value": "Print a secret to `stdout`"
},
{
"from": "gpt",
"value": "secrethub read path/to/secret"
}
] |
[
{
"from": "human",
"value": "Generate a random value and store it as a new or updated secret"
},
{
"from": "gpt",
"value": "secrethub generate path/to/secret"
}
] |
[
{
"from": "human",
"value": "Store a value from the clipboard as a new or updated secret"
},
{
"from": "gpt",
"value": "secrethub write --clip path/to/secret"
}
] |
[
{
"from": "human",
"value": "Store a value supplied on `stdin` as a new or updated secret"
},
{
"from": "gpt",
"value": "echo \"secret_value\" | secrethub write path/to/secret"
}
] |
[
{
"from": "human",
"value": "Audit a repository or secret"
},
{
"from": "gpt",
"value": "secrethub audit path/to/repo_or_secret"
}
] |
[
{
"from": "human",
"value": "Initialize a (local) repository"
},
{
"from": "gpt",
"value": "borg init path/to/repo_directory"
}
] |
[
{
"from": "human",
"value": "Backup a directory into the repository, creating an archive called \"Monday\""
},
{
"from": "gpt",
"value": "borg create --progress path/to/repo_directory::Monday path/to/source_directory"
}
] |
[
{
"from": "human",
"value": "List all archives in a repository"
},
{
"from": "gpt",
"value": "borg list path/to/repo_directory"
}
] |
[
{
"from": "human",
"value": "Extract a specific directory from the \"Monday\" archive in a remote repository, excluding all `*.ext` files"
},
{
"from": "gpt",
"value": "borg extract user@host:path/to/repo_directory::Monday path/to/target_directory --exclude '*.ext'"
}
] |
[
{
"from": "human",
"value": "Prune a repository by deleting all archives older than 7 days, listing changes"
},
{
"from": "gpt",
"value": "borg prune --keep-within 7d --list path/to/repo_directory"
}
] |
[
{
"from": "human",
"value": "Mount a repository as a FUSE filesystem"
},
{
"from": "gpt",
"value": "borg mount path/to/repo_directory::Monday path/to/mountpoint"
}
] |
[
{
"from": "human",
"value": "Display help on creating archives"
},
{
"from": "gpt",
"value": "borg create --help"
}
] |
[
{
"from": "human",
"value": "Start a local meshname DNS server"
},
{
"from": "gpt",
"value": "meshnamed"
}
] |
[
{
"from": "human",
"value": "Convert an IPv6 address into a meshname"
},
{
"from": "gpt",
"value": "meshnamed -getname 200:6fc8:9220:f400:5cc2:305a:4ac6:967e"
}
] |
[
{
"from": "human",
"value": "Convert a meshname to an IPv6 address"
},
{
"from": "gpt",
"value": "meshnamed -getip aiag7sesed2aaxgcgbnevruwpy"
}
] |
[
{
"from": "human",
"value": "Replace all occurrences of a character in a file, and print the result"
},
{
"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"
},
{
"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"
},
{
"from": "gpt",
"value": "tr 'abcd' 'jkmn' < path/to/file"
}
] |
[
{
"from": "human",
"value": "Delete all occurrences of the specified set of characters from the input"
},
{
"from": "gpt",
"value": "tr [-d|--delete] 'input_characters' < path/to/file"
}
] |
[
{
"from": "human",
"value": "Compress a series of identical characters to a single character"
},
{
"from": "gpt",
"value": "tr [-s|--squeeze-repeats] 'input_characters' < path/to/file"
}
] |
[
{
"from": "human",
"value": "Translate the contents of a file to upper-case"
},
{
"from": "gpt",
"value": "tr \"[:lower:]\" \"[:upper:]\" < path/to/file"
}
] |
[
{
"from": "human",
"value": "Strip out non-printable characters from a file"
},
{
"from": "gpt",
"value": "tr [-cd|--complement --delete] \"[:print:]\" < path/to/file"
}
] |
[
{
"from": "human",
"value": "Make an XML document canonical, preserving comments"
},
{
"from": "gpt",
"value": "xml canonic path/to/input.xml|URI > path/to/output.xml"
}
] |
[
{
"from": "human",
"value": "Make an XML document canonical, removing comments"
},
{
"from": "gpt",
"value": "xml canonic --without-comments path/to/input.xml|URI > path/to/output.xml"
}
] |
[
{
"from": "human",
"value": "Make XML exclusively canonical, using an XPATH from a file, preserving comments"
},
{
"from": "gpt",
"value": "xml canonic --exc-with-comments path/to/input.xml|URI path/to/c14n.xpath"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "xml canonic --help"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.