conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run the specified command if and only if `stdin` is empty, otherwise pass `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "ifne -n command options ..."
}
] |
[
{
"from": "human",
"value": "Switch to an existing branch"
},
{
"from": "gpt",
"value": "git switch branch_name"
}
] |
[
{
"from": "human",
"value": "Create a new branch and switch to it"
},
{
"from": "gpt",
"value": "git switch [-c|--create] branch_name"
}
] |
[
{
"from": "human",
"value": "Create a new branch based on an existing commit and switch to it"
},
{
"from": "gpt",
"value": "git switch [-c|--create] branch_name commit"
}
] |
[
{
"from": "human",
"value": "Switch to the previous branch"
},
{
"from": "gpt",
"value": "git switch -"
}
] |
[
{
"from": "human",
"value": "Switch to a branch and update all submodules to match"
},
{
"from": "gpt",
"value": "git switch --recurse-submodules branch_name"
}
] |
[
{
"from": "human",
"value": "Switch to a branch and automatically merge the current branch and any uncommitted changes into it"
},
{
"from": "gpt",
"value": "git switch [-m|--merge] branch_name"
}
] |
[
{
"from": "human",
"value": "Start `supervisord` with specified configuration file"
},
{
"from": "gpt",
"value": "supervisord -c path/to/file"
}
] |
[
{
"from": "human",
"value": "Run supervisord in the foreground"
},
{
"from": "gpt",
"value": "supervisord -n"
}
] |
[
{
"from": "human",
"value": "Cut and rearrange fields"
},
{
"from": "gpt",
"value": "echo \"foo bar baz\" | tuc -d ' ' -f 3,2,1"
}
] |
[
{
"from": "human",
"value": "Replace the delimiter `space` with an arrow"
},
{
"from": "gpt",
"value": "echo \"foo bar baz\" | tuc -d ' ' -r ' ➡ '"
}
] |
[
{
"from": "human",
"value": "Keep a range of fields"
},
{
"from": "gpt",
"value": "echo \"foo bar baz\" | tuc -d ' ' -f 2:"
}
] |
[
{
"from": "human",
"value": "Cut using regular expressions"
},
{
"from": "gpt",
"value": "echo \"a,b, c\" | tuc -e '[, ]+' -f 1,3"
}
] |
[
{
"from": "human",
"value": "Emit JSON output"
},
{
"from": "gpt",
"value": "echo \"foo bar baz\" | tuc -d ' ' --json"
}
] |
[
{
"from": "human",
"value": "Watch the source for changes and run `rsync` to synchronize files to the destination on every change"
},
{
"from": "gpt",
"value": "lsyncd -rsync path/to/source host::share_name"
}
] |
[
{
"from": "human",
"value": "Use SSH instead of `rsyncd` shares"
},
{
"from": "gpt",
"value": "lsyncd -rsyncssh path/to/source host path/to/destination"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr xzgrep"
}
] |
[
{
"from": "human",
"value": "Flash a firmware file to an ESP chip with a given port and baud rate"
},
{
"from": "gpt",
"value": "sudo esptool.py --port port --baud baud_rate write_flash 0x0 path/to/firmware.bin"
}
] |
[
{
"from": "human",
"value": "Clear the flash of an ESP chip"
},
{
"from": "gpt",
"value": "sudo esptool.py --port port --baud baud_rate erase_flash"
}
] |
[
{
"from": "human",
"value": "Analyze a file, showing both macro code and analysis results"
},
{
"from": "gpt",
"value": "olevba path/to/file"
}
] |
[
{
"from": "human",
"value": "Recursively analyze all supported files in a directory"
},
{
"from": "gpt",
"value": "olevba -r path/to/directory"
}
] |
[
{
"from": "human",
"value": "Provide a password for encrypted Microsoft Office files (may be repeated)"
},
{
"from": "gpt",
"value": "olevba --password password path/to/encrypted_file"
}
] |
[
{
"from": "human",
"value": "Display only analysis results, without showing macro source code"
},
{
"from": "gpt",
"value": "olevba -a path/to/file"
}
] |
[
{
"from": "human",
"value": "Display only macro source code"
},
{
"from": "gpt",
"value": "olevba -c path/to/file"
}
] |
[
{
"from": "human",
"value": "Show obfuscated strings and their decoded content"
},
{
"from": "gpt",
"value": "olevba --decode path/to/file"
}
] |
[
{
"from": "human",
"value": "Install a package and its dependencies"
},
{
"from": "gpt",
"value": "sudo tlmgr install package"
}
] |
[
{
"from": "human",
"value": "Reinstall a package"
},
{
"from": "gpt",
"value": "sudo tlmgr install --reinstall package"
}
] |
[
{
"from": "human",
"value": "Simulate installing a package without making any changes"
},
{
"from": "gpt",
"value": "tlmgr install --dry-run package"
}
] |
[
{
"from": "human",
"value": "Install a package without its dependencies"
},
{
"from": "gpt",
"value": "sudo tlmgr install --no-depends package"
}
] |
[
{
"from": "human",
"value": "Install a package from a specific file"
},
{
"from": "gpt",
"value": "sudo tlmgr install --file path/to/package"
}
] |
[
{
"from": "human",
"value": "Compress a file using xz"
},
{
"from": "gpt",
"value": "xz path/to/file"
}
] |
[
{
"from": "human",
"value": "Decompress an XZ file"
},
{
"from": "gpt",
"value": "xz --decompress path/to/file.xz"
}
] |
[
{
"from": "human",
"value": "Compress a file using lzma"
},
{
"from": "gpt",
"value": "xz --format=lzma path/to/file"
}
] |
[
{
"from": "human",
"value": "Decompress an LZMA file"
},
{
"from": "gpt",
"value": "xz --decompress --format=lzma path/to/file.lzma"
}
] |
[
{
"from": "human",
"value": "Decompress a file and write to `stdout` (implies `--keep`)"
},
{
"from": "gpt",
"value": "xz --decompress --stdout path/to/file.xz"
}
] |
[
{
"from": "human",
"value": "Compress a file, but don't delete the original"
},
{
"from": "gpt",
"value": "xz --keep path/to/file"
}
] |
[
{
"from": "human",
"value": "Compress a file using the fastest compression"
},
{
"from": "gpt",
"value": "xz -0 path/to/file"
}
] |
[
{
"from": "human",
"value": "Compress a file using the best compression"
},
{
"from": "gpt",
"value": "xz -9 path/to/file"
}
] |
[
{
"from": "human",
"value": "List local Docker images"
},
{
"from": "gpt",
"value": "docker image ls"
}
] |
[
{
"from": "human",
"value": "Delete unused local Docker images"
},
{
"from": "gpt",
"value": "docker image prune"
}
] |
[
{
"from": "human",
"value": "Delete all unused images (not just those without a tag)"
},
{
"from": "gpt",
"value": "docker image prune --all"
}
] |
[
{
"from": "human",
"value": "Show the history of a local Docker image"
},
{
"from": "gpt",
"value": "docker image history image"
}
] |
[
{
"from": "human",
"value": "View documentation for `docker image rm`"
},
{
"from": "gpt",
"value": "tldr docker rmi"
}
] |
[
{
"from": "human",
"value": "Create MicroVM based on Fedora"
},
{
"from": "gpt",
"value": "krunvm create docker.io/fedora --cpus number_of_vcpus --mem memory_in_megabytes --name \"name\""
}
] |
[
{
"from": "human",
"value": "Start a specific image"
},
{
"from": "gpt",
"value": "krunvm start \"image_name\""
}
] |
[
{
"from": "human",
"value": "List images"
},
{
"from": "gpt",
"value": "krunvm list"
}
] |
[
{
"from": "human",
"value": "Change a specific image"
},
{
"from": "gpt",
"value": "krunvm changevm --cpus number_of_vcpus --mem memory_in_megabytes --name \"new_vm_name\" \"current_vm_name\""
}
] |
[
{
"from": "human",
"value": "Delete a specific image"
},
{
"from": "gpt",
"value": "krunvm delete \"image_name\""
}
] |
[
{
"from": "human",
"value": "Open the remote control console"
},
{
"from": "gpt",
"value": "birdc"
}
] |
[
{
"from": "human",
"value": "Reload the configuration without restarting BIRD"
},
{
"from": "gpt",
"value": "birdc configure"
}
] |
[
{
"from": "human",
"value": "Show the current status of BIRD"
},
{
"from": "gpt",
"value": "birdc show status"
}
] |
[
{
"from": "human",
"value": "Show all configured protocols"
},
{
"from": "gpt",
"value": "birdc show protocols"
}
] |
[
{
"from": "human",
"value": "Show all details about a protocol"
},
{
"from": "gpt",
"value": "birdc show protocols upstream1 all"
}
] |
[
{
"from": "human",
"value": "Show all routes that contain a specific AS number"
},
{
"from": "gpt",
"value": "birdc \"show route where bgp_path ~ [4242120045]\""
}
] |
[
{
"from": "human",
"value": "Show all best routes"
},
{
"from": "gpt",
"value": "birdc show route primary"
}
] |
[
{
"from": "human",
"value": "Show all details of all routes from a given prefix"
},
{
"from": "gpt",
"value": "birdc show route for fd00:/8 all"
}
] |
[
{
"from": "human",
"value": "Change all files modification time to their last commit date"
},
{
"from": "gpt",
"value": "git utimes"
}
] |
[
{
"from": "human",
"value": "Change files modification time that are newer than their last commit date, preserving original modification time of files that were committed from the local repository"
},
{
"from": "gpt",
"value": "git utimes --newer"
}
] |
[
{
"from": "human",
"value": "Clone an SVN repository"
},
{
"from": "gpt",
"value": "git svn clone https://example.com/subversion_repo local_dir"
}
] |
[
{
"from": "human",
"value": "Clone an SVN repository starting at a given revision number"
},
{
"from": "gpt",
"value": "git svn clone [-r|--revision] 1234:HEAD https://svn.example.net/subversion/repo local_dir"
}
] |
[
{
"from": "human",
"value": "Update local clone from the remote SVN repository"
},
{
"from": "gpt",
"value": "git svn rebase"
}
] |
[
{
"from": "human",
"value": "Fetch updates from the remote SVN repository without changing the Git HEAD"
},
{
"from": "gpt",
"value": "git svn fetch"
}
] |
[
{
"from": "human",
"value": "Commit back to the SVN repository"
},
{
"from": "gpt",
"value": "git svn commit"
}
] |
[
{
"from": "human",
"value": "Access your account"
},
{
"from": "gpt",
"value": "b2 authorize_account key_id"
}
] |
[
{
"from": "human",
"value": "List the existing buckets in your account"
},
{
"from": "gpt",
"value": "b2 list_buckets"
}
] |
[
{
"from": "human",
"value": "Create a bucket, provide the bucket name, and access type (e.g. allPublic or allPrivate)"
},
{
"from": "gpt",
"value": "b2 create_bucket bucket_name allPublic|allPrivate"
}
] |
[
{
"from": "human",
"value": "Upload a file. Choose a file, bucket, and a folder"
},
{
"from": "gpt",
"value": "b2 upload_file bucket_name path/to/file folder_name"
}
] |
[
{
"from": "human",
"value": "Upload a source directory to a Backblaze B2 bucket destination"
},
{
"from": "gpt",
"value": "b2 sync path/to/source_file bucket_name"
}
] |
[
{
"from": "human",
"value": "Copy a file from one bucket to another bucket"
},
{
"from": "gpt",
"value": "b2 copy-file-by-id path/to/source_file_id destination_bucket_name path/to/b2_file"
}
] |
[
{
"from": "human",
"value": "Show the files in your bucket"
},
{
"from": "gpt",
"value": "b2 ls bucket_name"
}
] |
[
{
"from": "human",
"value": "Remove a \"folder\" or a set of files matching a pattern"
},
{
"from": "gpt",
"value": "b2 rm path/to/folder|pattern"
}
] |
[
{
"from": "human",
"value": "Repeatedly output \"message\""
},
{
"from": "gpt",
"value": "yes message"
}
] |
[
{
"from": "human",
"value": "Repeatedly output \"y\""
},
{
"from": "gpt",
"value": "yes"
}
] |
[
{
"from": "human",
"value": "Accept everything prompted by the `apt-get` command"
},
{
"from": "gpt",
"value": "yes | sudo apt-get install program"
}
] |
[
{
"from": "human",
"value": "Repeatedly output a newline to always accept the default option of a prompt"
},
{
"from": "gpt",
"value": "yes ''"
}
] |
[
{
"from": "human",
"value": "Analyze a Composer JSON file"
},
{
"from": "gpt",
"value": "composer-require-checker check path/to/composer.json"
}
] |
[
{
"from": "human",
"value": "Analyze a Composer JSON file with a specific configuration"
},
{
"from": "gpt",
"value": "composer-require-checker check --config-file path/to/config.json path/to/composer.json"
}
] |
[
{
"from": "human",
"value": "Show why a Yarn package is installed"
},
{
"from": "gpt",
"value": "yarn-why package"
}
] |
[
{
"from": "human",
"value": "Replace a regex pattern in all files of the current directory, ignoring files on .ignore and .gitignore"
},
{
"from": "gpt",
"value": "fastmod regex_pattern replacement"
}
] |
[
{
"from": "human",
"value": "Replace a regex pattern in case-insensitive mode in specific files or directories"
},
{
"from": "gpt",
"value": "fastmod --ignore-case regex_pattern replacement -- path/to/file path/to/directory ..."
}
] |
[
{
"from": "human",
"value": "Replace a regex pattern in a specific directory in files filtered with a case-insensitive glob pattern"
},
{
"from": "gpt",
"value": "fastmod regex replacement --dir path/to/directory --iglob '**/*.{js,json}'"
}
] |
[
{
"from": "human",
"value": "Replace for an exact string in `.js` or JSON files"
},
{
"from": "gpt",
"value": "fastmod --fixed-strings exact_string replacement --extensions json,js"
}
] |
[
{
"from": "human",
"value": "Replace for an exact string without prompt for a confirmation (disables regular expressions)"
},
{
"from": "gpt",
"value": "fastmod --accept-all --fixed-strings exact_string replacement"
}
] |
[
{
"from": "human",
"value": "Replace for an exact string without prompt for a confirmation, printing changed files"
},
{
"from": "gpt",
"value": "fastmod --accept-all --print-changed-files --fixed-strings exact_string replacement"
}
] |
[
{
"from": "human",
"value": "Run each command, providing each one with a distinct copy of `stdin`"
},
{
"from": "gpt",
"value": "pee command1 command2 ..."
}
] |
[
{
"from": "human",
"value": "Write a copy of `stdin` to `stdout` (like `tee`)"
},
{
"from": "gpt",
"value": "pee cat command1 command2 ..."
}
] |
[
{
"from": "human",
"value": "Immediately terminate upon SIGPIPEs and write errors"
},
{
"from": "gpt",
"value": "pee --no-ignore-sigpipe --no-ignore-write-errors command1 command2 ..."
}
] |
[
{
"from": "human",
"value": "Generate completions for Bash"
},
{
"from": "gpt",
"value": "sudo pueue completions bash /usr/share/bash-completion/completions/pueue.bash"
}
] |
[
{
"from": "human",
"value": "Generate completions for Zsh"
},
{
"from": "gpt",
"value": "sudo pueue completions zsh /usr/share/zsh/site-functions"
}
] |
[
{
"from": "human",
"value": "Generate completions for fish"
},
{
"from": "gpt",
"value": "sudo pueue completions fish /usr/share/fish/completions"
}
] |
[
{
"from": "human",
"value": "Debug the dbt project and the connection to the database"
},
{
"from": "gpt",
"value": "dbt debug"
}
] |
[
{
"from": "human",
"value": "Run all models of the project"
},
{
"from": "gpt",
"value": "dbt run"
}
] |
[
{
"from": "human",
"value": "Run all tests of `example_model`"
},
{
"from": "gpt",
"value": "dbt test --select example_model"
}
] |
[
{
"from": "human",
"value": "Build (load seeds, run models, snapshots, and tests associated with) `example_model` and its downstream dependents"
},
{
"from": "gpt",
"value": "dbt build --select example_model+"
}
] |
[
{
"from": "human",
"value": "Build all models, except the ones with the tag `not_now`"
},
{
"from": "gpt",
"value": "dbt build --exclude \"tag:not_now\""
}
] |
[
{
"from": "human",
"value": "Build all models with tags `one` and `two`"
},
{
"from": "gpt",
"value": "dbt build --select \"tag:one,tag:two\""
}
] |
[
{
"from": "human",
"value": "Build all models with tags `one` or `two`"
},
{
"from": "gpt",
"value": "dbt build --select \"tag:one tag:two\""
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "julia"
}
] |
[
{
"from": "human",
"value": "Execute a Julia program and exit"
},
{
"from": "gpt",
"value": "julia program.jl"
}
] |
[
{
"from": "human",
"value": "Execute a Julia program that takes arguments"
},
{
"from": "gpt",
"value": "julia program.jl arguments"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.