conversations
listlengths
2
2
[ { "from": "human", "value": "Use symbol definitions from a file" }, { "from": "gpt", "value": "gnatprep source_file target_file definitions_file" } ]
[ { "from": "human", "value": "Specify symbol values in the command-line" }, { "from": "gpt", "value": "gnatprep -Dname=value source_file target_file" } ]
[ { "from": "human", "value": "Edit the sudoers file" }, { "from": "gpt", "value": "sudo visudo" } ]
[ { "from": "human", "value": "Check the sudoers file for errors" }, { "from": "gpt", "value": "sudo visudo -c" } ]
[ { "from": "human", "value": "Edit the sudoers file using a specific editor" }, { "from": "gpt", "value": "sudo EDITOR=editor visudo" } ]
[ { "from": "human", "value": "Display version information" }, { "from": "gpt", "value": "visudo --version" } ]
[ { "from": "human", "value": "Create a commit object with the specified message" }, { "from": "gpt", "value": "git commit-tree tree -m \"message\"" } ]
[ { "from": "human", "value": "Create a commit object reading the message from a file (use `-` for `stdin`)" }, { "from": "gpt", "value": "git commit-tree tree -F path/to/file" } ]
[ { "from": "human", "value": "Create a GPG-signed commit object" }, { "from": "gpt", "value": "git commit-tree tree -m \"message\" --gpg-sign" } ]
[ { "from": "human", "value": "Create a commit object with the specified parent commit object" }, { "from": "gpt", "value": "git commit-tree tree -m \"message\" -p parent_commit_sha" } ]
[ { "from": "human", "value": "Start an interactive shell with a transient in-memory database" }, { "from": "gpt", "value": "duckdb" } ]
[ { "from": "human", "value": "Start an interactive shell on a database file. If the file does not exist, a new database is created" }, { "from": "gpt", "value": "duckdb path/to/dbfile" } ]
[ { "from": "human", "value": "Directly query a CSV, JSON, or Parquet file" }, { "from": "gpt", "value": "duckdb -c \"SELECT * FROM 'data_source.[csv|csv.gz|json|json.gz|parquet]'\"" } ]
[ { "from": "human", "value": "Run an SQL script" }, { "from": "gpt", "value": "duckdb -f path/to/script.sql" } ]
[ { "from": "human", "value": "Run query on database file and keep the interactive shell open" }, { "from": "gpt", "value": "duckdb path/to/dbfile -cmd \"SELECT DISTINCT * FROM tbl\"" } ]
[ { "from": "human", "value": "Run SQL queries in file on database and keep the interactive shell open" }, { "from": "gpt", "value": "duckdb path/to/dbfile -init path/to/script.sql" } ]
[ { "from": "human", "value": "Read CSV from `stdin` and write CSV to `stdout`" }, { "from": "gpt", "value": "cat path/to/source.csv | duckdb -c \"COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)\"" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "duckdb -help" } ]
[ { "from": "human", "value": "Setup up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`" }, { "from": "gpt", "value": "chezmoi init" } ]
[ { "from": "human", "value": "Set up `chezmoi` from existing dotfiles of a Git repository" }, { "from": "gpt", "value": "chezmoi init repository_url" } ]
[ { "from": "human", "value": "Start tracking one or more dotfiles" }, { "from": "gpt", "value": "chezmoi add path/to/dotfile1 path/to/dotfile2 ..." } ]
[ { "from": "human", "value": "Update repository with local changes" }, { "from": "gpt", "value": "chezmoi re-add path/to/dotfile1 path/to/dotfile2 ..." } ]
[ { "from": "human", "value": "Edit the source state of a tracked dotfile" }, { "from": "gpt", "value": "chezmoi edit path/to/dotfile_or_symlink" } ]
[ { "from": "human", "value": "See pending changes" }, { "from": "gpt", "value": "chezmoi diff" } ]
[ { "from": "human", "value": "Apply the changes" }, { "from": "gpt", "value": "chezmoi -v apply" } ]
[ { "from": "human", "value": "Pull changes from a remote repository and apply them" }, { "from": "gpt", "value": "chezmoi update" } ]
[ { "from": "human", "value": "Create a backup (user will be prompted for a password)" }, { "from": "gpt", "value": "mysqldump --user user --password database_name --result-file=path/to/file.sql" } ]
[ { "from": "human", "value": "Backup a specific table redirecting the output to a file (user will be prompted for a password)" }, { "from": "gpt", "value": "mysqldump --user user --password database_name table_name > path/to/file.sql" } ]
[ { "from": "human", "value": "Backup all databases redirecting the output to a file (user will be prompted for a password)" }, { "from": "gpt", "value": "mysqldump --user user --password --all-databases > path/to/file.sql" } ]
[ { "from": "human", "value": "Backup all databases from a remote host, redirecting the output to a file (user will be prompted for a password)" }, { "from": "gpt", "value": "mysqldump --host=ip_or_hostname --user user --password --all-databases > path/to/file.sql" } ]
[ { "from": "human", "value": "Update Bash-it to the latest stable/development version" }, { "from": "gpt", "value": "bash-it update stable|dev" } ]
[ { "from": "human", "value": "Reload Bash profile (set `BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE` to non-empty value for an automatic reload)" }, { "from": "gpt", "value": "bash-it reload" } ]
[ { "from": "human", "value": "Restart Bash" }, { "from": "gpt", "value": "bash-it restart" } ]
[ { "from": "human", "value": "Reload Bash profile with enabled error and warning logging" }, { "from": "gpt", "value": "bash-it doctor" } ]
[ { "from": "human", "value": "Reload Bash profile with enabled error/warning/entire logging" }, { "from": "gpt", "value": "bash-it doctor errors|warnings|all" } ]
[ { "from": "human", "value": "Search for Bash-it aliases/plugins/completions" }, { "from": "gpt", "value": "bash-it search alias|plugin|completion" } ]
[ { "from": "human", "value": "Search for Bash-it aliases/plugins/completions and enable/disable all found items" }, { "from": "gpt", "value": "bash-it search --enable|disable alias|plugin|completion" } ]
[ { "from": "human", "value": "Start an Android emulator device" }, { "from": "gpt", "value": "emulator -avd name" } ]
[ { "from": "human", "value": "Display the webcams on your development computer that are available for emulation" }, { "from": "gpt", "value": "emulator -avd name -webcam-list" } ]
[ { "from": "human", "value": "Start an emulator overriding the facing back camera setting (use `-camera-front` for front camera)" }, { "from": "gpt", "value": "emulator -avd name -camera-back none|emulated|webcamN" } ]
[ { "from": "human", "value": "Start an emulator, with a maximum network speed" }, { "from": "gpt", "value": "emulator -avd name -netspeed gsm|hscsd|gprs|edge|hsdpa|lte|evdo|full" } ]
[ { "from": "human", "value": "Start an emulator with network latency" }, { "from": "gpt", "value": "emulator -avd name -netdelay gsm|hscsd|gprs|edge|hsdpa|lte|evdo|none" } ]
[ { "from": "human", "value": "Start an emulator, making all TCP connections through a specified HTTP/HTTPS proxy (port number is required)" }, { "from": "gpt", "value": "emulator -avd name -http-proxy http://example.com:80" } ]
[ { "from": "human", "value": "Start an emulator with a given SD card partition image file" }, { "from": "gpt", "value": "emulator -avd name -sdcard path/to/sdcard.img" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "emulator -help" } ]
[ { "from": "human", "value": "Initialize opam for first use" }, { "from": "gpt", "value": "opam init" } ]
[ { "from": "human", "value": "Search for packages" }, { "from": "gpt", "value": "opam search query" } ]
[ { "from": "human", "value": "Install a package and all of its dependencies" }, { "from": "gpt", "value": "opam install package" } ]
[ { "from": "human", "value": "Display detailed information about a package" }, { "from": "gpt", "value": "opam show package" } ]
[ { "from": "human", "value": "List all installed packages" }, { "from": "gpt", "value": "opam list" } ]
[ { "from": "human", "value": "Update the local package database" }, { "from": "gpt", "value": "opam update" } ]
[ { "from": "human", "value": "Upgrade all installed packages" }, { "from": "gpt", "value": "opam upgrade" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "opam help" } ]
[ { "from": "human", "value": "Capture a screenshot of the entire desktop" }, { "from": "gpt", "value": "spectacle" } ]
[ { "from": "human", "value": "Capture a screenshot of the active window" }, { "from": "gpt", "value": "spectacle --activewindow" } ]
[ { "from": "human", "value": "Capture a screenshot of a specific region" }, { "from": "gpt", "value": "spectacle --region" } ]
[ { "from": "human", "value": "Create a volume" }, { "from": "gpt", "value": "docker volume create volume_name" } ]
[ { "from": "human", "value": "Create a volume with a specific label" }, { "from": "gpt", "value": "docker volume create --label label volume_name" } ]
[ { "from": "human", "value": "Create a `tmpfs` volume a size of 100 MiB and an uid of 1000" }, { "from": "gpt", "value": "docker volume create --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000 volume_name" } ]
[ { "from": "human", "value": "List all volumes" }, { "from": "gpt", "value": "docker volume ls" } ]
[ { "from": "human", "value": "Remove a volume" }, { "from": "gpt", "value": "docker volume rm volume_name" } ]
[ { "from": "human", "value": "Display information about a volume" }, { "from": "gpt", "value": "docker volume inspect volume_name" } ]
[ { "from": "human", "value": "Remove all unused local volumes" }, { "from": "gpt", "value": "docker volume prune" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "docker volume subcommand --help" } ]
[ { "from": "human", "value": "Start browsh" }, { "from": "gpt", "value": "browsh" } ]
[ { "from": "human", "value": "Start browsh in a specific webpage" }, { "from": "gpt", "value": "browsh --startup-url URL" } ]
[ { "from": "human", "value": "Focus URL bar" }, { "from": "gpt", "value": "<Ctrl l>" } ]
[ { "from": "human", "value": "Exit browsh" }, { "from": "gpt", "value": "<Ctrl q>" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "browsh [-h|--help]" } ]
[ { "from": "human", "value": "Convert a RAST image to a PNM file" }, { "from": "gpt", "value": "rasttopnm path/to/input.rast > path/to/output.pnm" } ]
[ { "from": "human", "value": "Use the color map indices in the raster if they are color values" }, { "from": "gpt", "value": "rasttopnm [-i|-index] path/to/input.rast > path/to/output.pnm" } ]
[ { "from": "human", "value": "Start a sudoku game" }, { "from": "gpt", "value": "nudoku" } ]
[ { "from": "human", "value": "Choose the difficulty of the game" }, { "from": "gpt", "value": "nudoku -d easy|normal|hard" } ]
[ { "from": "human", "value": "Navigate the board" }, { "from": "gpt", "value": "<h>|<j>|<k>|<l>|<ArrowKeys>" } ]
[ { "from": "human", "value": "Delete a number" }, { "from": "gpt", "value": "<Backspace>|<x>" } ]
[ { "from": "human", "value": "Get a hint" }, { "from": "gpt", "value": "<H>" } ]
[ { "from": "human", "value": "See the complete solution" }, { "from": "gpt", "value": "<S>" } ]
[ { "from": "human", "value": "Create a new puzzle" }, { "from": "gpt", "value": "<N>" } ]
[ { "from": "human", "value": "Quit the game" }, { "from": "gpt", "value": "<Q>" } ]
[ { "from": "human", "value": "Parse the contents of a URL or file" }, { "from": "gpt", "value": "nokogiri url|path/to/file" } ]
[ { "from": "human", "value": "Parse as a specific type" }, { "from": "gpt", "value": "nokogiri url|path/to/file --type xml|html" } ]
[ { "from": "human", "value": "Load a specific initialization file before parsing" }, { "from": "gpt", "value": "nokogiri url|path/to/file -C path/to/config_file" } ]
[ { "from": "human", "value": "Parse using a specific encoding" }, { "from": "gpt", "value": "nokogiri url|path/to/file --encoding encoding" } ]
[ { "from": "human", "value": "Validate using a RELAX NG file" }, { "from": "gpt", "value": "nokogiri url|path/to/file --rng url|path/to/file" } ]
[ { "from": "human", "value": "Run a recipe specified in the justfile" }, { "from": "gpt", "value": "just recipe" } ]
[ { "from": "human", "value": "Initialize new justfile in project root" }, { "from": "gpt", "value": "just --init" } ]
[ { "from": "human", "value": "Edit justfile in the default editor" }, { "from": "gpt", "value": "just -e" } ]
[ { "from": "human", "value": "List available recipes in the justfile" }, { "from": "gpt", "value": "just -l" } ]
[ { "from": "human", "value": "Print justfile" }, { "from": "gpt", "value": "just --dump" } ]
[ { "from": "human", "value": "Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system" }, { "from": "gpt", "value": "virsh pool-define-as --name pool_name --type dir --target /var/vms" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr hexdump" } ]
[ { "from": "human", "value": "Run a CPU benchmark with 1 thread for 10 seconds" }, { "from": "gpt", "value": "sysbench cpu run" } ]
[ { "from": "human", "value": "Run a CPU benchmark with multiple threads for a specified time" }, { "from": "gpt", "value": "sysbench --threads=number_of_threads --time=seconds" } ]
[ { "from": "human", "value": "Run a memory benchmark with 1 thread for 10 seconds" }, { "from": "gpt", "value": "sysbench memory run" } ]
[ { "from": "human", "value": "Prepare a filesystem-level read benchmark" }, { "from": "gpt", "value": "sysbench fileio prepare" } ]
[ { "from": "human", "value": "Run a filesystem-level benchmark" }, { "from": "gpt", "value": "sysbench --file-test-mode=rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr fileio run" } ]
[ { "from": "human", "value": "Detect unused secrets" }, { "from": "gpt", "value": "k8s-unused-secret-detector" } ]
[ { "from": "human", "value": "Detect unused secrets in a specific namespace" }, { "from": "gpt", "value": "k8s-unused-secret-detector -n namespace" } ]
[ { "from": "human", "value": "Delete unused secrets in a specific namespace" }, { "from": "gpt", "value": "k8s-unused-secret-detector -n namespace | kubectl delete secret -n namespace" } ]
[ { "from": "human", "value": "List local branches (current branch is highlighted by `*`)" }, { "from": "gpt", "value": "dolt branch" } ]