conversations
listlengths
2
2
[ { "from": "human", "value": "Execute a Sui subcommand" }, { "from": "gpt", "value": "sui subcommand" } ]
[ { "from": "human", "value": "Build tools for a smart contract" }, { "from": "gpt", "value": "sui move subcommand" } ]
[ { "from": "human", "value": "Publish smart contracts, get object information, execute transactions and more" }, { "from": "gpt", "value": "sui client subcommand" } ]
[ { "from": "human", "value": "Start a local network" }, { "from": "gpt", "value": "sui start" } ]
[ { "from": "human", "value": "Update from source" }, { "from": "gpt", "value": "cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui" } ]
[ { "from": "human", "value": "Create a progress bar" }, { "from": "gpt", "value": "seq 10000000 | tqdm --total 10000000 --null" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr clj" } ]
[ { "from": "human", "value": "Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration)" }, { "from": "gpt", "value": "GetNPUsers.py domain/ -usersfile path/to/userslist -dc-ip domain_controller_ip" } ]
[ { "from": "human", "value": "Perform AS-REP roasting and dump crackable hashes for offline cracking" }, { "from": "gpt", "value": "GetNPUsers.py domain/ -usersfile path/to/userslist -dc-ip domain_controller_ip -request" } ]
[ { "from": "human", "value": "Authenticate with valid credentials (if anonymous binding is disabled)" }, { "from": "gpt", "value": "GetNPUsers.py domain/username:password -usersfile path/to/userslist -dc-ip domain_controller_ip" } ]
[ { "from": "human", "value": "Use pass-the-hash authentication instead of a password" }, { "from": "gpt", "value": "GetNPUsers.py domain/username -hashes LM_Hash:NT_Hash -usersfile path/to/userslist -dc-ip domain_controller_ip" } ]
[ { "from": "human", "value": "Save the output to a file for further analysis" }, { "from": "gpt", "value": "GetNPUsers.py domain/ -usersfile path/to/userslist -dc-ip domain_controller_ip -request > output.txt" } ]
[ { "from": "human", "value": "Download and run `rustup-init` to install `rustup` and the default Rust toolchain" }, { "from": "gpt", "value": "curl https://sh.rustup.rs -sSf | sh -s" } ]
[ { "from": "human", "value": "Download and run `rustup-init` and pass arguments to it" }, { "from": "gpt", "value": "curl https://sh.rustup.rs -sSf | sh -s -- arguments" } ]
[ { "from": "human", "value": "Run `rustup-init` and specify additional components or targets to install" }, { "from": "gpt", "value": "rustup-init.sh --target target --component component" } ]
[ { "from": "human", "value": "Run `rustup-init` and specify the default toolchain to install" }, { "from": "gpt", "value": "rustup-init.sh --default-toolchain toolchain" } ]
[ { "from": "human", "value": "Run `rustup-init` and do not install any toolchain" }, { "from": "gpt", "value": "rustup-init.sh --default-toolchain none" } ]
[ { "from": "human", "value": "Run `rustup-init` and specify an installation profile" }, { "from": "gpt", "value": "rustup-init.sh --profile minimal|default|complete" } ]
[ { "from": "human", "value": "Run `rustup-init` without asking for confirmation" }, { "from": "gpt", "value": "rustup-init.sh -y" } ]
[ { "from": "human", "value": "Compress a file, replacing it with a `gzip` archive" }, { "from": "gpt", "value": "gzip path/to/file" } ]
[ { "from": "human", "value": "Decompress a file, replacing it with the original uncompressed version" }, { "from": "gpt", "value": "gzip [-d|--decompress] path/to/file.gz" } ]
[ { "from": "human", "value": "Compress a file, keeping the original file" }, { "from": "gpt", "value": "gzip [-k|--keep] path/to/file" } ]
[ { "from": "human", "value": "Compress a file, specifying the output filename" }, { "from": "gpt", "value": "gzip [-c|--stdout] path/to/file > path/to/compressed_file.gz" } ]
[ { "from": "human", "value": "Decompress a `gzip` archive specifying the output filename" }, { "from": "gpt", "value": "gzip [-c|--stdout] [-d|--decompress] path/to/file.gz > path/to/uncompressed_file" } ]
[ { "from": "human", "value": "Specify the compression level. 1 is the fastest (low compression), 9 is the slowest (high compression), 6 is the default" }, { "from": "gpt", "value": "gzip -1..9 [-c|--stdout] path/to/file > path/to/compressed_file.gz" } ]
[ { "from": "human", "value": "Display the name and reduction percentage for each file compressed or decompressed" }, { "from": "gpt", "value": "gzip [-v|--verbose] [-d|--decompress] path/to/file.gz" } ]
[ { "from": "human", "value": "Store a key and a value on the default database" }, { "from": "gpt", "value": "skate set \"key\" \"value\"" } ]
[ { "from": "human", "value": "Show your keys saved on the default database" }, { "from": "gpt", "value": "skate list" } ]
[ { "from": "human", "value": "Delete key and value from the default database" }, { "from": "gpt", "value": "skate delete \"key\"" } ]
[ { "from": "human", "value": "Create a new key and value in a new database" }, { "from": "gpt", "value": "skate set \"key\"@\"database_name\" \"value\"" } ]
[ { "from": "human", "value": "Show your keys saved in a non default database" }, { "from": "gpt", "value": "skate list @\"database_name\"" } ]
[ { "from": "human", "value": "Delete key and value from a specific database" }, { "from": "gpt", "value": "skate delete \"key\"@\"database_name\"" } ]
[ { "from": "human", "value": "Show the databases available" }, { "from": "gpt", "value": "skate list-dbs" } ]
[ { "from": "human", "value": "Delete local db and pull down fresh copy from Charm Cloud" }, { "from": "gpt", "value": "skate reset @\"database_name\"" } ]
[ { "from": "human", "value": "Add the latest version of a dependency to the current project" }, { "from": "gpt", "value": "cargo add dependency" } ]
[ { "from": "human", "value": "Add a specific version of a dependency" }, { "from": "gpt", "value": "cargo add dependency@version" } ]
[ { "from": "human", "value": "Add a dependency and enable one or more specific features" }, { "from": "gpt", "value": "cargo add dependency --features feature_1,feature_2" } ]
[ { "from": "human", "value": "Add an optional dependency, which then gets exposed as a feature of the crate" }, { "from": "gpt", "value": "cargo add dependency --optional" } ]
[ { "from": "human", "value": "Add a local crate as a dependency" }, { "from": "gpt", "value": "cargo add --path path/to/crate_directory" } ]
[ { "from": "human", "value": "Add a development or build dependency" }, { "from": "gpt", "value": "cargo add dependency --dev|build" } ]
[ { "from": "human", "value": "Add a dependency with all default features disabled" }, { "from": "gpt", "value": "cargo add dependency --no-default-features" } ]
[ { "from": "human", "value": "Spray the specified [p]assword against a list of [u]sernames on the specified target" }, { "from": "gpt", "value": "nxc ssh 192.168.178.2 -u path/to/usernames.txt -p password" } ]
[ { "from": "human", "value": "Search for valid credentials by trying out every combination in the specified lists of [u]sernames and [p]asswords" }, { "from": "gpt", "value": "nxc ssh 192.168.178.2 -u path/to/usernames.txt -p path/to/passwords.txt" } ]
[ { "from": "human", "value": "Use the specified private key for authentication, using the supplied [p]assword as the key's passphrase" }, { "from": "gpt", "value": "nxc ssh 192.186.178.2 -u path/to/usernames.txt -p password --key-file path/to/id_rsa" } ]
[ { "from": "human", "value": "Try a combination of [u]sername and [p]assword on a number of targets" }, { "from": "gpt", "value": "nxc ssh 192.168.178.0/24 -u username -p password" } ]
[ { "from": "human", "value": "Check for `sudo` privileges on a successful login" }, { "from": "gpt", "value": "nxc ssh 192.168.178.2 -u username -p path/to/passwords.txt --sudo-check" } ]
[ { "from": "human", "value": "Print lines from `stdin` [m/] matching regex1 and case insensitive [/i] regex2" }, { "from": "gpt", "value": "perl -n -e 'print if m/regex1/ and m/regex2/i'" } ]
[ { "from": "human", "value": "Say [-E] first match group, using a regexp, ignoring space in regex [/x]" }, { "from": "gpt", "value": "perl -n -E 'say $1 if m/before ( group_regex ) after/x'" } ]
[ { "from": "human", "value": "[-i]n-place, with backup, [s/] substitute all occurrence [/g] of regex with replacement" }, { "from": "gpt", "value": "perl -i'.bak' -p -e 's/regex/replacement/g' path/to/files" } ]
[ { "from": "human", "value": "Use perl's inline documentation, some pages also available via manual pages on Linux" }, { "from": "gpt", "value": "perldoc perlrun ; perldoc module ; perldoc -f splice; perldoc -q perlfaq1" } ]
[ { "from": "human", "value": "Start an interactive shell session" }, { "from": "gpt", "value": "bash" } ]
[ { "from": "human", "value": "Start an interactive shell session without loading startup configs" }, { "from": "gpt", "value": "bash --norc" } ]
[ { "from": "human", "value": "Execute specific [c]ommands" }, { "from": "gpt", "value": "bash -c \"echo 'bash is executed'\"" } ]
[ { "from": "human", "value": "Execute a specific script" }, { "from": "gpt", "value": "bash path/to/script.sh" } ]
[ { "from": "human", "value": "E[x]ecute a specific script, printing each command before executing it" }, { "from": "gpt", "value": "bash -x path/to/script.sh" } ]
[ { "from": "human", "value": "Execute a specific script and stop at the first [e]rror" }, { "from": "gpt", "value": "bash -e path/to/script.sh" } ]
[ { "from": "human", "value": "Execute specific commands from `stdin`" }, { "from": "gpt", "value": "echo \"echo 'bash is executed'\" | bash" } ]
[ { "from": "human", "value": "Start a [r]estricted shell session" }, { "from": "gpt", "value": "bash -r" } ]
[ { "from": "human", "value": "Sync files and directories from local to a bucket" }, { "from": "gpt", "value": "aws s3 sync path/to/file_or_directory s3://bucket_target_name/path/to/remote_location" } ]
[ { "from": "human", "value": "Sync files and directories from a bucket to local" }, { "from": "gpt", "value": "aws s3 sync s3://bucket_source_name/path/to/remote_location path/to/file_or_directory" } ]
[ { "from": "human", "value": "Sync objects between two buckets" }, { "from": "gpt", "value": "aws s3 sync s3://bucket_source_name/path/to/remote_location s3://bucket_target_name/path/to/remote_location" } ]
[ { "from": "human", "value": "Sync local files to S3 while excluding specific files or directories" }, { "from": "gpt", "value": "aws s3 sync path/to/file_or_directory s3://bucket_target_name/path/to/remote_location --exclude path/to/file --exclude path/to/directory/*" } ]
[ { "from": "human", "value": "Sync objects between buckets and delete destination files not in source" }, { "from": "gpt", "value": "aws s3 sync s3://bucket_source_name/path/to/remote_location s3://bucket_target_name/path/to/remote_location --delete" } ]
[ { "from": "human", "value": "Sync to S3 with advanced options (set ACL and storage class)" }, { "from": "gpt", "value": "aws s3 sync path/to/local_directory s3://bucket_name/path/to/remote_location --acl private|public-read --storage-class STANDARD_IA|GLACIER" } ]
[ { "from": "human", "value": "Sync files to S3 and skip unchanged ones (compare size and modification time)" }, { "from": "gpt", "value": "aws s3 sync path/to/file_or_directory s3://bucket_name/path/to/remote_location --size-only" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "aws s3 sync help" } ]
[ { "from": "human", "value": "Format an XML document, indenting with tabs" }, { "from": "gpt", "value": "xml format --indent-tab path/to/input.xml|URI > path/to/output.xml" } ]
[ { "from": "human", "value": "Format an HTML document, indenting with 4 spaces" }, { "from": "gpt", "value": "xml format --html --indent-spaces 4 path/to/input.html|URI > path/to/output.html" } ]
[ { "from": "human", "value": "Recover parsable parts of a malformed XML document, without indenting" }, { "from": "gpt", "value": "xml format --recover --noindent path/to/malformed.xml|URI > path/to/recovered.xml" } ]
[ { "from": "human", "value": "Format an XML document from `stdin`, removing the `DOCTYPE` declaration" }, { "from": "gpt", "value": "cat path\\to\\input.xml | xml format --dropdtd > path/to/output.xml" } ]
[ { "from": "human", "value": "Format an XML document, omitting the XML declaration" }, { "from": "gpt", "value": "xml format --omit-decl path\\to\\input.xml|URI > path/to/output.xml" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "xml format --help" } ]
[ { "from": "human", "value": "Convert a PPM file to an HP LaserJet PCL 5 Color file" }, { "from": "gpt", "value": "ppmtolj path/to/input.ppm > path/to/output.lj" } ]
[ { "from": "human", "value": "Apply a gamma correction using the specified gamma value" }, { "from": "gpt", "value": "ppmtolj [-g|-gamma] gamma path/to/input.ppm > path/to/output.lj" } ]
[ { "from": "human", "value": "Specify the required resolution" }, { "from": "gpt", "value": "ppmtolj [-r|-resolution] 75|100|150|300|600 path/to/input.ppm > path/to/output.lj" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr xzless" } ]
[ { "from": "human", "value": "Create a new environment, installing the specified packages into it" }, { "from": "gpt", "value": "mamba create [-n|--name] environment_name python=3.10 matplotlib" } ]
[ { "from": "human", "value": "Install packages into the current environment, specifying the package channel" }, { "from": "gpt", "value": "mamba install [-c|--channel] conda-forge python=3.6 numpy" } ]
[ { "from": "human", "value": "Update all packages in the current environment" }, { "from": "gpt", "value": "mamba update --all" } ]
[ { "from": "human", "value": "Search for a specific package across repositories" }, { "from": "gpt", "value": "mamba repoquery search numpy" } ]
[ { "from": "human", "value": "List all environments" }, { "from": "gpt", "value": "mamba info --envs" } ]
[ { "from": "human", "value": "Remove unused [p]ackages and [t]arballs from the cache" }, { "from": "gpt", "value": "mamba clean -pt" } ]
[ { "from": "human", "value": "Activate an environment" }, { "from": "gpt", "value": "mamba activate environment_name" } ]
[ { "from": "human", "value": "List all installed packages in the currently activated environment" }, { "from": "gpt", "value": "mamba list" } ]
[ { "from": "human", "value": "Create random passwords (default password length is 8)" }, { "from": "gpt", "value": "apg" } ]
[ { "from": "human", "value": "Create a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L)" }, { "from": "gpt", "value": "apg -M SNCL" } ]
[ { "from": "human", "value": "Create a password with 16 characters" }, { "from": "gpt", "value": "apg -m 16" } ]
[ { "from": "human", "value": "Create a password with maximum length of 16" }, { "from": "gpt", "value": "apg -x 16" } ]
[ { "from": "human", "value": "Create a password that doesn't appear in a dictionary (the dictionary file has to be provided)" }, { "from": "gpt", "value": "apg -r path/to/dictionary_file" } ]
[ { "from": "human", "value": "Start a GUI for `tlmgr`" }, { "from": "gpt", "value": "sudo tlmgr gui" } ]
[ { "from": "human", "value": "Start a GUI specifying the background color" }, { "from": "gpt", "value": "sudo tlmgr gui -background \"#f39bc3\"" } ]
[ { "from": "human", "value": "Start a GUI specifying the foreground color" }, { "from": "gpt", "value": "sudo tlmgr gui -foreground \"#0ef3bd\"" } ]
[ { "from": "human", "value": "Start a GUI specifying the font and font size" }, { "from": "gpt", "value": "sudo tlmgr gui -font \"helvetica 18\"" } ]
[ { "from": "human", "value": "Start a GUI setting a specific geometry" }, { "from": "gpt", "value": "sudo tlmgr gui -geometry widthxheight-xpos+ypos" } ]
[ { "from": "human", "value": "Start a GUI passing an arbitrary X resource string" }, { "from": "gpt", "value": "sudo tlmgr gui -xrm xresource" } ]
[ { "from": "human", "value": "Display a selectable menu of contexts" }, { "from": "gpt", "value": "kubie ctx" } ]
[ { "from": "human", "value": "Switch current shell to the given context" }, { "from": "gpt", "value": "kubie ctx context" } ]
[ { "from": "human", "value": "Switch current shell to the given namespace" }, { "from": "gpt", "value": "kubie ns namespace" } ]
[ { "from": "human", "value": "Switch current shell to the given context and namespace" }, { "from": "gpt", "value": "kubie ctx context -n namespace" } ]
[ { "from": "human", "value": "Execute a command in the given context and namespace, without spawning a shell" }, { "from": "gpt", "value": "kubie exec context namespace command" } ]