conversations
listlengths
2
2
[ { "from": "human", "value": "Open editor to edit a bookmark" }, { "from": "gpt", "value": "buku --write bookmark_id" } ]
[ { "from": "human", "value": "Remove \"search engine\" tag from a bookmark" }, { "from": "gpt", "value": "buku --update bookmark_id --tag - search engine" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr ptpython" } ]
[ { "from": "human", "value": "Initialize project files (`lerna.json`, `package.json`, `.git`, etc.)" }, { "from": "gpt", "value": "lerna init" } ]
[ { "from": "human", "value": "Install all external dependencies of each package and symlink together local dependencies" }, { "from": "gpt", "value": "lerna bootstrap" } ]
[ { "from": "human", "value": "Run a specific script for every package that contains it in its `package.json`" }, { "from": "gpt", "value": "lerna run script" } ]
[ { "from": "human", "value": "Execute an arbitrary shell command in every package" }, { "from": "gpt", "value": "lerna exec -- ls" } ]
[ { "from": "human", "value": "Publish all packages that have changed since the last release" }, { "from": "gpt", "value": "lerna publish" } ]
[ { "from": "human", "value": "Initialize a new local repository" }, { "from": "gpt", "value": "dvc init" } ]
[ { "from": "human", "value": "Initialize DVC without Git" }, { "from": "gpt", "value": "dvc init --no-scm" } ]
[ { "from": "human", "value": "Initialize DVC in a subdirectory" }, { "from": "gpt", "value": "cd path/to/subdir && dvc init --sudir" } ]
[ { "from": "human", "value": "Run the compiler interactively" }, { "from": "gpt", "value": "prqlc compile" } ]
[ { "from": "human", "value": "Compile a specific `.prql` file to `stdout`" }, { "from": "gpt", "value": "prqlc compile path/to/file.prql" } ]
[ { "from": "human", "value": "Compile a `.prql` file to a `.sql` file" }, { "from": "gpt", "value": "prqlc compile path/to/source.prql path/to/target.sql" } ]
[ { "from": "human", "value": "Compile a query" }, { "from": "gpt", "value": "echo \"from employees | filter has_dog | select salary\" | prqlc compile" } ]
[ { "from": "human", "value": "Watch a directory and compile on file modification" }, { "from": "gpt", "value": "prqlc watch path/to/directory" } ]
[ { "from": "human", "value": "Create an app" }, { "from": "gpt", "value": "doctl apps create" } ]
[ { "from": "human", "value": "Create a deployment for a specific app" }, { "from": "gpt", "value": "doctl apps create-deployment app_id" } ]
[ { "from": "human", "value": "Delete an app interactively" }, { "from": "gpt", "value": "doctl apps delete app_id" } ]
[ { "from": "human", "value": "Get an app" }, { "from": "gpt", "value": "doctl apps get" } ]
[ { "from": "human", "value": "List all apps" }, { "from": "gpt", "value": "doctl apps list" } ]
[ { "from": "human", "value": "List all deployments from a specific app" }, { "from": "gpt", "value": "doctl apps list-deployments app_id" } ]
[ { "from": "human", "value": "Get logs from a specific app" }, { "from": "gpt", "value": "doctl apps logs app_id" } ]
[ { "from": "human", "value": "Update a specific app with a given app spec" }, { "from": "gpt", "value": "doctl apps update app_id --spec path/to/spec.yml" } ]
[ { "from": "human", "value": "Yank the specified version of a crate" }, { "from": "gpt", "value": "cargo yank crate@version" } ]
[ { "from": "human", "value": "Undo a yank (i.e. allow downloading it again)" }, { "from": "gpt", "value": "cargo yank --undo crate@version" } ]
[ { "from": "human", "value": "Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>)" }, { "from": "gpt", "value": "cargo yank --registry name crate@version" } ]
[ { "from": "human", "value": "Install one or more versions of Ruby" }, { "from": "gpt", "value": "rvm install version1 version2 ..." } ]
[ { "from": "human", "value": "Display a list of installed versions" }, { "from": "gpt", "value": "rvm list" } ]
[ { "from": "human", "value": "Use a specific version of Ruby" }, { "from": "gpt", "value": "rvm use version" } ]
[ { "from": "human", "value": "Set the default Ruby version" }, { "from": "gpt", "value": "rvm --default use version" } ]
[ { "from": "human", "value": "Upgrade a version of Ruby to a new version" }, { "from": "gpt", "value": "rvm upgrade current_version new_version" } ]
[ { "from": "human", "value": "Uninstall a version of Ruby and keep its sources" }, { "from": "gpt", "value": "rvm uninstall version" } ]
[ { "from": "human", "value": "Remove a version of Ruby and its sources" }, { "from": "gpt", "value": "rvm remove version" } ]
[ { "from": "human", "value": "Show specific dependencies for your OS" }, { "from": "gpt", "value": "rvm requirements" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr pio" } ]
[ { "from": "human", "value": "Show events for today and tomorrow (or the weekend on Friday) from the default calendar" }, { "from": "gpt", "value": "calendar" } ]
[ { "from": "human", "value": "Look [A]head, showing events for the next 30 days" }, { "from": "gpt", "value": "calendar -A 30" } ]
[ { "from": "human", "value": "Look [B]ack, showing events for the previous 7 days" }, { "from": "gpt", "value": "calendar -B 7" } ]
[ { "from": "human", "value": "Show events from a custom calendar [f]ile" }, { "from": "gpt", "value": "calendar -f path/to/file" } ]
[ { "from": "human", "value": "Calculate the SHA512 checksum for one or more files" }, { "from": "gpt", "value": "sha512sum path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Calculate and save the list of SHA512 checksums to a file" }, { "from": "gpt", "value": "sha512sum path/to/file1 path/to/file2 ... > path/to/file.sha512" } ]
[ { "from": "human", "value": "Calculate a SHA512 checksum from `stdin`" }, { "from": "gpt", "value": "command | sha512sum" } ]
[ { "from": "human", "value": "Read a file of SHA512 checksums and filenames and verify all files have matching checksums" }, { "from": "gpt", "value": "sha512sum [-c|--check] path/to/file.sha512" } ]
[ { "from": "human", "value": "Only show a message for missing files or when verification fails" }, { "from": "gpt", "value": "sha512sum [-c|--check] --quiet path/to/file.sha512" } ]
[ { "from": "human", "value": "Only show a message when verification fails, ignoring missing files" }, { "from": "gpt", "value": "sha512sum --ignore-missing [-c|--check] --quiet path/to/file.sha512" } ]
[ { "from": "human", "value": "Check a known SHA512 checksum of a file" }, { "from": "gpt", "value": "echo known_sha512_checksum_of_the_file path/to/file | sha512sum [-c|--check]" } ]
[ { "from": "human", "value": "Clone the specified VM" }, { "from": "gpt", "value": "VBoxManage clonevm vm_name" } ]
[ { "from": "human", "value": "Specify a new name for the new VM" }, { "from": "gpt", "value": "VBoxManage clonevm vm_name --name new_vm_name" } ]
[ { "from": "human", "value": "Indicate the folder where the new VM configuration is saved" }, { "from": "gpt", "value": "VBoxManage clonevm vm_name --basefolder path/to/directory" } ]
[ { "from": "human", "value": "Register the cloned VM in VirtualBox" }, { "from": "gpt", "value": "VBoxManage clonevm vm_name --register" } ]
[ { "from": "human", "value": "Recursively find files matching a specific pattern in the current directory" }, { "from": "gpt", "value": "fd \"string|regex\"" } ]
[ { "from": "human", "value": "Find files that begin with a specific string" }, { "from": "gpt", "value": "fd \"^string\"" } ]
[ { "from": "human", "value": "Find files with a specific extension" }, { "from": "gpt", "value": "fd --extension txt" } ]
[ { "from": "human", "value": "Find files in a specific directory" }, { "from": "gpt", "value": "fd \"string|regex\" path/to/directory" } ]
[ { "from": "human", "value": "Include ignored and hidden files in the search" }, { "from": "gpt", "value": "fd --hidden --no-ignore \"string|regex\"" } ]
[ { "from": "human", "value": "Execute a command on each search result returned" }, { "from": "gpt", "value": "fd \"string|regex\" --exec command" } ]
[ { "from": "human", "value": "Build and add package `libcurl` to the `vcpkg` environment" }, { "from": "gpt", "value": "vcpkg install curl" } ]
[ { "from": "human", "value": "Build and add `zlib` using the `emscripten` toolchain" }, { "from": "gpt", "value": "vcpkg install --triplet=wasm32-emscripten zlib" } ]
[ { "from": "human", "value": "Search for a package" }, { "from": "gpt", "value": "vcpkg search pkg_name" } ]
[ { "from": "human", "value": "Configure a CMake project to use `vcpkg` packages" }, { "from": "gpt", "value": "cmake -B build -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg_install_directory/scripts/buildsystems/vcpkg.cmake" } ]
[ { "from": "human", "value": "List currently running Docker machines" }, { "from": "gpt", "value": "docker-machine ls" } ]
[ { "from": "human", "value": "Create a new Docker machine with specific name" }, { "from": "gpt", "value": "docker-machine create name" } ]
[ { "from": "human", "value": "Get the status of a machine" }, { "from": "gpt", "value": "docker-machine status name" } ]
[ { "from": "human", "value": "Start a machine" }, { "from": "gpt", "value": "docker-machine start name" } ]
[ { "from": "human", "value": "Stop a machine" }, { "from": "gpt", "value": "docker-machine stop name" } ]
[ { "from": "human", "value": "Inspect information about a machine" }, { "from": "gpt", "value": "docker-machine inspect name" } ]
[ { "from": "human", "value": "List available images" }, { "from": "gpt", "value": "openstack image list --private|--shared|--all" } ]
[ { "from": "human", "value": "Display image details" }, { "from": "gpt", "value": "openstack image show --human-readable image_id" } ]
[ { "from": "human", "value": "Create/upload an image" }, { "from": "gpt", "value": "openstack image create --file path/to/file --private|--shared|--all image_name" } ]
[ { "from": "human", "value": "Delete image(s)" }, { "from": "gpt", "value": "openstack image delete image_id1 image_id2 ..." } ]
[ { "from": "human", "value": "Save an image locally" }, { "from": "gpt", "value": "openstack image save --file filename image_id" } ]
[ { "from": "human", "value": "Get all projects" }, { "from": "gpt", "value": "doppler projects" } ]
[ { "from": "human", "value": "Get info for a project" }, { "from": "gpt", "value": "doppler projects get name|project_id" } ]
[ { "from": "human", "value": "Create a project" }, { "from": "gpt", "value": "doppler projects create name" } ]
[ { "from": "human", "value": "Update a project's name and description" }, { "from": "gpt", "value": "doppler projects update name|project_id --name \"new_name\" --description \"new_description\"" } ]
[ { "from": "human", "value": "Delete a project" }, { "from": "gpt", "value": "doppler projects delete name|project_id" } ]
[ { "from": "human", "value": "Compare two specific files" }, { "from": "gpt", "value": "xzcmp path/to/file1 path/to/file2" } ]
[ { "from": "human", "value": "Open one or more files in read-only mode" }, { "from": "gpt", "value": "libreoffice --view path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Display the content of one or more files" }, { "from": "gpt", "value": "libreoffice --cat path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Print files using a specific printer" }, { "from": "gpt", "value": "libreoffice --pt printer_name path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Convert all `.doc` files in current directory to PDF" }, { "from": "gpt", "value": "libreoffice --convert-to pdf *.doc" } ]
[ { "from": "human", "value": "Start a new session" }, { "from": "gpt", "value": "tmux" } ]
[ { "from": "human", "value": "Start a new named session" }, { "from": "gpt", "value": "tmux new -s name" } ]
[ { "from": "human", "value": "List existing sessions" }, { "from": "gpt", "value": "tmux ls" } ]
[ { "from": "human", "value": "Attach to the most recently used session" }, { "from": "gpt", "value": "tmux attach" } ]
[ { "from": "human", "value": "Detach from the current session (inside a tmux session)" }, { "from": "gpt", "value": "<Ctrl b><d>" } ]
[ { "from": "human", "value": "Create a new window (inside a tmux session)" }, { "from": "gpt", "value": "<Ctrl b><c>" } ]
[ { "from": "human", "value": "Switch between sessions and windows (inside a tmux session)" }, { "from": "gpt", "value": "<Ctrl b><w>" } ]
[ { "from": "human", "value": "Kill a session by name" }, { "from": "gpt", "value": "tmux kill-session -t name" } ]
[ { "from": "human", "value": "View a CSV file" }, { "from": "gpt", "value": "csvlook data.csv" } ]
[ { "from": "human", "value": "Give a description of the type of the specified file. Works fine for files with no file extension" }, { "from": "gpt", "value": "file path/to/file" } ]
[ { "from": "human", "value": "Look inside a zipped file and determine the file type(s) inside" }, { "from": "gpt", "value": "file [-z|--uncompress] foo.zip" } ]
[ { "from": "human", "value": "Allow file to work with special or device files" }, { "from": "gpt", "value": "file [-s|--special-files] path/to/file" } ]
[ { "from": "human", "value": "Don't stop at first file type match; keep going until the end of the file" }, { "from": "gpt", "value": "file [-k|--keep-going] path/to/file" } ]
[ { "from": "human", "value": "Determine the MIME encoding type of a file" }, { "from": "gpt", "value": "file [-i|--mime] path/to/file" } ]
[ { "from": "human", "value": "Add a file to the index" }, { "from": "gpt", "value": "git add path/to/file" } ]
[ { "from": "human", "value": "Add all files (tracked and untracked)" }, { "from": "gpt", "value": "git add [-A|--all]" } ]
[ { "from": "human", "value": "Add all files recursively starting from the current folder" }, { "from": "gpt", "value": "git add ." } ]
[ { "from": "human", "value": "Only add already tracked files" }, { "from": "gpt", "value": "git add [-u|--update]" } ]