conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Check the Kubernetes config files for issues"
},
{
"from": "gpt",
"value": "kubie lint"
}
] |
[
{
"from": "human",
"value": "Build and serve a site"
},
{
"from": "gpt",
"value": "hugo server"
}
] |
[
{
"from": "human",
"value": "Build and serve a site on a specified port number"
},
{
"from": "gpt",
"value": "hugo server --port port_number"
}
] |
[
{
"from": "human",
"value": "Build and serve a site while minifying supported output formats (HTML, XML, etc.)"
},
{
"from": "gpt",
"value": "hugo server --minify"
}
] |
[
{
"from": "human",
"value": "Build and serve a site in the production environment with full re-renders while minifying supported formats"
},
{
"from": "gpt",
"value": "hugo server --environment production --disableFastRender --minify"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "hugo server --help"
}
] |
[
{
"from": "human",
"value": "Rename a container"
},
{
"from": "gpt",
"value": "docker rename container new_name"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "docker rename --help"
}
] |
[
{
"from": "human",
"value": "Search for a pattern within a compressed file"
},
{
"from": "gpt",
"value": "bzgrep \"search_pattern\" path/to/file"
}
] |
[
{
"from": "human",
"value": "Use extended regular expressions (supports `?`, `+`, `{}`, `()` and `|`), in case-insensitive mode"
},
{
"from": "gpt",
"value": "bzgrep --extended-regexp --ignore-case \"search_pattern\" path/to/file"
}
] |
[
{
"from": "human",
"value": "Print 3 lines of context around, before, or after each match"
},
{
"from": "gpt",
"value": "bzgrep --context|before-context|after-context=3 \"search_pattern\" path/to/file"
}
] |
[
{
"from": "human",
"value": "Print file name and line number for each match"
},
{
"from": "gpt",
"value": "bzgrep --with-filename --line-number \"search_pattern\" path/to/file"
}
] |
[
{
"from": "human",
"value": "Search for lines matching a pattern, printing only the matched text"
},
{
"from": "gpt",
"value": "bzgrep --only-matching \"search_pattern\" path/to/file"
}
] |
[
{
"from": "human",
"value": "Recursively search files in a bzip2 compressed tar archive for a pattern"
},
{
"from": "gpt",
"value": "bzgrep --recursive \"search_pattern\" path/to/tar/file"
}
] |
[
{
"from": "human",
"value": "Search `stdin` for lines that do not match a pattern"
},
{
"from": "gpt",
"value": "cat /path/to/bz/compressed/file | bzgrep --invert-match \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "Join a protected wireless network"
},
{
"from": "gpt",
"value": "wpa_supplicant -i interface -c path/to/wpa_supplicant_conf.conf"
}
] |
[
{
"from": "human",
"value": "Join a protected wireless network and run it in a daemon"
},
{
"from": "gpt",
"value": "wpa_supplicant -B -i interface -c path/to/wpa_supplicant_conf.conf"
}
] |
[
{
"from": "human",
"value": "Start a PXE boot server which provides a `netboot.xyz` boot image"
},
{
"from": "gpt",
"value": "pixiecore quick xyz --dhcp-no-bind"
}
] |
[
{
"from": "human",
"value": "Start a new PXE boot server which provides an Ubuntu boot image"
},
{
"from": "gpt",
"value": "pixiecore quick ubuntu --dhcp-no-bind"
}
] |
[
{
"from": "human",
"value": "List all available boot images for quick mode"
},
{
"from": "gpt",
"value": "pixiecore quick --help"
}
] |
[
{
"from": "human",
"value": "Add a component to a toolchain"
},
{
"from": "gpt",
"value": "rustup component add --toolchain toolchain component"
}
] |
[
{
"from": "human",
"value": "Remove a component from a toolchain"
},
{
"from": "gpt",
"value": "rustup component remove --toolchain toolchain component"
}
] |
[
{
"from": "human",
"value": "List installed and available components for a toolchain"
},
{
"from": "gpt",
"value": "rustup component list --toolchain toolchain"
}
] |
[
{
"from": "human",
"value": "List installed components for a toolchain"
},
{
"from": "gpt",
"value": "rustup component list --toolchain toolchain --installed"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command"
},
{
"from": "gpt",
"value": "tldr bmptopnm"
}
] |
[
{
"from": "human",
"value": "Start a new game"
},
{
"from": "gpt",
"value": "blockout2"
}
] |
[
{
"from": "human",
"value": "Navigate the current piece on a 2D plane"
},
{
"from": "gpt",
"value": "<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>"
}
] |
[
{
"from": "human",
"value": "Rotate the piece on its axis"
},
{
"from": "gpt",
"value": "<q>|<w>|<e>|<a>|<s>|<d>"
}
] |
[
{
"from": "human",
"value": "Hard drop the current piece"
},
{
"from": "gpt",
"value": "<Space>"
}
] |
[
{
"from": "human",
"value": "Pause/unpause the game"
},
{
"from": "gpt",
"value": "<p>"
}
] |
[
{
"from": "human",
"value": "Produce a complete HTML document from a source code file"
},
{
"from": "gpt",
"value": "highlight --out-format=html --style theme_name --syntax language path/to/source_code"
}
] |
[
{
"from": "human",
"value": "Produce an HTML fragment, suitable for inclusion in a larger document"
},
{
"from": "gpt",
"value": "highlight --out-format=html --fragment --syntax language source_file"
}
] |
[
{
"from": "human",
"value": "Inline the CSS styling in every tag"
},
{
"from": "gpt",
"value": "highlight --out-format=html --inline-css --syntax language source_file"
}
] |
[
{
"from": "human",
"value": "List all supported languages, themes, or plugins"
},
{
"from": "gpt",
"value": "highlight --list-scripts langs|themes|plugins"
}
] |
[
{
"from": "human",
"value": "Print a CSS stylesheet for a theme"
},
{
"from": "gpt",
"value": "highlight --out-format=html --print-style --style theme_name --syntax language] --stdout"
}
] |
[
{
"from": "human",
"value": "Compute the hillshade of a DEM"
},
{
"from": "gpt",
"value": "gdaldem hillshade path/to/input.tif path/to/output.tif"
}
] |
[
{
"from": "human",
"value": "Compute the slope of a DEM"
},
{
"from": "gpt",
"value": "gdaldem slope path/to/input.tif path/to/output.tif"
}
] |
[
{
"from": "human",
"value": "Compute the aspect of a DEM"
},
{
"from": "gpt",
"value": "gdaldem aspect path/to/input.tif path/to/output.tif"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr xzgrep"
}
] |
[
{
"from": "human",
"value": "List all running containers"
},
{
"from": "gpt",
"value": "docker compose ps"
}
] |
[
{
"from": "human",
"value": "Create and start all containers in the background using a `docker-compose.yml` file from the current directory"
},
{
"from": "gpt",
"value": "docker compose up --detach"
}
] |
[
{
"from": "human",
"value": "Start all containers, rebuild if necessary"
},
{
"from": "gpt",
"value": "docker compose up --build"
}
] |
[
{
"from": "human",
"value": "Start all containers by specifying a project name and using an alternate compose file"
},
{
"from": "gpt",
"value": "docker compose -p project_name --file path/to/file up"
}
] |
[
{
"from": "human",
"value": "Stop all running containers"
},
{
"from": "gpt",
"value": "docker compose stop"
}
] |
[
{
"from": "human",
"value": "Stop and remove all containers, networks, images, and volumes"
},
{
"from": "gpt",
"value": "docker compose down --rmi all --volumes"
}
] |
[
{
"from": "human",
"value": "Follow logs for all containers"
},
{
"from": "gpt",
"value": "docker compose logs --follow"
}
] |
[
{
"from": "human",
"value": "Follow logs for a specific container"
},
{
"from": "gpt",
"value": "docker compose logs --follow container_name"
}
] |
[
{
"from": "human",
"value": "Move a single file (open an editor with the source filename on the left and the target filename on the right)"
},
{
"from": "gpt",
"value": "qmv source_file"
}
] |
[
{
"from": "human",
"value": "Move multiple JPEG files"
},
{
"from": "gpt",
"value": "qmv *.jpg"
}
] |
[
{
"from": "human",
"value": "Move multiple directories"
},
{
"from": "gpt",
"value": "qmv [-d|--directory] path/to/directory1 path/to/directory2 path/to/directory3"
}
] |
[
{
"from": "human",
"value": "Move all files and directories inside a directory"
},
{
"from": "gpt",
"value": "qmv [-R|--recursive] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Move files, but swap the positions of the source and the target filenames in the editor"
},
{
"from": "gpt",
"value": "qmv [-o|--option] swap *.jpg"
}
] |
[
{
"from": "human",
"value": "Rename all files and folders in the current directory, but show only target filenames in the editor (you can think of it as a kind of simple mode)"
},
{
"from": "gpt",
"value": "qmv [-f|--format] do ."
}
] |
[
{
"from": "human",
"value": "Create a project using a specific preset"
},
{
"from": "gpt",
"value": "kool create preset project_name"
}
] |
[
{
"from": "human",
"value": "Run a specific script defined in the `kool.yml` file in the current directory"
},
{
"from": "gpt",
"value": "kool run script"
}
] |
[
{
"from": "human",
"value": "Start/stop services in the current directory"
},
{
"from": "gpt",
"value": "kool start|stop"
}
] |
[
{
"from": "human",
"value": "Display status of the services in the current directory"
},
{
"from": "gpt",
"value": "kool status"
}
] |
[
{
"from": "human",
"value": "Update to the latest version"
},
{
"from": "gpt",
"value": "kool self-update"
}
] |
[
{
"from": "human",
"value": "Print the completion script for the specified shell"
},
{
"from": "gpt",
"value": "kool completion bash|fish|powershell|zsh"
}
] |
[
{
"from": "human",
"value": "Compare the working directory with a specific commit"
},
{
"from": "gpt",
"value": "git diff-index commit"
}
] |
[
{
"from": "human",
"value": "Compare a specific file or directory in working directory with a commit"
},
{
"from": "gpt",
"value": "git diff-index commit path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Compare the working directory with the index (staging area) to check for staged changes"
},
{
"from": "gpt",
"value": "git diff-index --cached commit"
}
] |
[
{
"from": "human",
"value": "Suppress output and return an exit status to check for differences"
},
{
"from": "gpt",
"value": "git diff-index --quiet commit"
}
] |
[
{
"from": "human",
"value": "Open a new Ghostty window (not supported on macOS)"
},
{
"from": "gpt",
"value": "ghostty"
}
] |
[
{
"from": "human",
"value": "Run a specific command in a new Ghostty window (not supported on macOS)"
},
{
"from": "gpt",
"value": "ghostty -e command"
}
] |
[
{
"from": "human",
"value": "List all default and configured keybindings"
},
{
"from": "gpt",
"value": "ghostty +list-keybinds"
}
] |
[
{
"from": "human",
"value": "List all actions (i.e. what can be triggered via keybindings)"
},
{
"from": "gpt",
"value": "ghostty +list-actions"
}
] |
[
{
"from": "human",
"value": "Browse an interactive list of themes"
},
{
"from": "gpt",
"value": "ghostty +list-themes"
}
] |
[
{
"from": "human",
"value": "Print the default configuration (including comments)"
},
{
"from": "gpt",
"value": "ghostty +show-config --default --docs"
}
] |
[
{
"from": "human",
"value": "Start an interactive session"
},
{
"from": "gpt",
"value": "ispell"
}
] |
[
{
"from": "human",
"value": "Check for typos in the specified file and interactively apply suggestions"
},
{
"from": "gpt",
"value": "ispell path/to/file"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "ispell -v"
}
] |
[
{
"from": "human",
"value": "Make a virtual mosaic from all TIFF files contained in a directory"
},
{
"from": "gpt",
"value": "gdalbuildvrt path/to/output.vrt path/to/input_directory/*.tif"
}
] |
[
{
"from": "human",
"value": "Make a virtual mosaic from files whose name is specified in a text file"
},
{
"from": "gpt",
"value": "gdalbuildvrt -input_file_list path/to/list.txt path/to/output.vrt"
}
] |
[
{
"from": "human",
"value": "Make an RGB virtual mosaic from 3 single-band input files"
},
{
"from": "gpt",
"value": "gdalbuildvrt -separate path/to/rgb.vrt path/to/red.tif path/to/green.tif path/to/blue.tif"
}
] |
[
{
"from": "human",
"value": "Make a virtual mosaic with blue background color (RGB: 0 0 255)"
},
{
"from": "gpt",
"value": "gdalbuildvrt -hidenodata -vrtnodata \"0 0 255\" path/to/output.vrt path/to/input_directory/*.tif"
}
] |
[
{
"from": "human",
"value": "Set the `fuck` alias to `thefuck` tool"
},
{
"from": "gpt",
"value": "eval \"$(thefuck --alias)\""
}
] |
[
{
"from": "human",
"value": "Try to match a rule for the previous command"
},
{
"from": "gpt",
"value": "fuck"
}
] |
[
{
"from": "human",
"value": "Confirm the first choice immediately (correct argument depends on level of annoyance)"
},
{
"from": "gpt",
"value": "fuck --yes|yeah|hard"
}
] |
[
{
"from": "human",
"value": "List the contexts"
},
{
"from": "gpt",
"value": "kubectx"
}
] |
[
{
"from": "human",
"value": "Switch to a named context"
},
{
"from": "gpt",
"value": "kubectx name"
}
] |
[
{
"from": "human",
"value": "Switch to the previous context"
},
{
"from": "gpt",
"value": "kubectx -"
}
] |
[
{
"from": "human",
"value": "Rename a named context"
},
{
"from": "gpt",
"value": "kubectx alias=name"
}
] |
[
{
"from": "human",
"value": "Show the current named context"
},
{
"from": "gpt",
"value": "kubectx -c"
}
] |
[
{
"from": "human",
"value": "Delete a named context"
},
{
"from": "gpt",
"value": "kubectx -d name"
}
] |
[
{
"from": "human",
"value": "Trigger a pipeline to run from a Git branch, commit or tag"
},
{
"from": "gpt",
"value": "vela add deployment --org organization --repo repository_name --target environment --ref branch|commit|refs/tags/git_tag --description \"deploy_description\""
}
] |
[
{
"from": "human",
"value": "List deployments for a repository"
},
{
"from": "gpt",
"value": "vela get deployment --org organization --repo repository_name"
}
] |
[
{
"from": "human",
"value": "Inspect a specific deployment"
},
{
"from": "gpt",
"value": "vela view deployment --org organization --repo repository_name --deployment deployment_number"
}
] |
[
{
"from": "human",
"value": "Open the current directory in Sublime Text"
},
{
"from": "gpt",
"value": "subl ."
}
] |
[
{
"from": "human",
"value": "Open a file or directory in Sublime Text"
},
{
"from": "gpt",
"value": "subl path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Open a file and jump to a specific line number"
},
{
"from": "gpt",
"value": "subl path/to/file:line_number"
}
] |
[
{
"from": "human",
"value": "Open a file or directory in the currently open window"
},
{
"from": "gpt",
"value": "subl -a path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a file or directory in a new window"
},
{
"from": "gpt",
"value": "subl -n path/to/file"
}
] |
[
{
"from": "human",
"value": "List connected minions"
},
{
"from": "gpt",
"value": "salt '*' test.ping"
}
] |
[
{
"from": "human",
"value": "Execute a highstate on all connected minions"
},
{
"from": "gpt",
"value": "salt '*' state.highstate"
}
] |
[
{
"from": "human",
"value": "Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions"
},
{
"from": "gpt",
"value": "salt '*.example.com' pkg.upgrade"
}
] |
[
{
"from": "human",
"value": "Execute an arbitrary command on a particular minion"
},
{
"from": "gpt",
"value": "salt 'minion_id' cmd.run \"ls \""
}
] |
[
{
"from": "human",
"value": "Run a flow check"
},
{
"from": "gpt",
"value": "flow"
}
] |
[
{
"from": "human",
"value": "Check which files are being checked by flow"
},
{
"from": "gpt",
"value": "flow ls"
}
] |
[
{
"from": "human",
"value": "Run a type coverage check on all files in a directory"
},
{
"from": "gpt",
"value": "flow batch-coverage --show-all --strip-root path/to/directory"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.