conversations
listlengths
2
2
[ { "from": "human", "value": "Check the connection to the `npm` registry" }, { "from": "gpt", "value": "npm doctor connection" } ]
[ { "from": "human", "value": "Check the versions of Node.js and `npm` in use" }, { "from": "gpt", "value": "npm doctor versions" } ]
[ { "from": "human", "value": "Check for permissions issues with `npm` directories and cache" }, { "from": "gpt", "value": "npm doctor permissions" } ]
[ { "from": "human", "value": "Validate the cached package files and checksums" }, { "from": "gpt", "value": "npm doctor cache" } ]
[ { "from": "human", "value": "Set a specific latitude and longitude" }, { "from": "gpt", "value": "idevicesetlocation latitude longitude" } ]
[ { "from": "human", "value": "Reset the simulated location" }, { "from": "gpt", "value": "idevicesetlocation reset" } ]
[ { "from": "human", "value": "View the man page for a given command from the default toolchain" }, { "from": "gpt", "value": "rustup man command" } ]
[ { "from": "human", "value": "View the man page for a given command from the specified toolchain" }, { "from": "gpt", "value": "rustup man --toolchain command" } ]
[ { "from": "human", "value": "View documentation for `adb pair`" }, { "from": "gpt", "value": "tldr adb connect" } ]
[ { "from": "human", "value": "Pin the `nixpkgs` revision to the current version of the upstream repository" }, { "from": "gpt", "value": "nix registry pin nixpkgs" } ]
[ { "from": "human", "value": "Pin an entry to the latest version of the branch, or a particular reivision of a GitHub repository" }, { "from": "gpt", "value": "nix registry pin entry github:owner/repo/branch_or_revision" } ]
[ { "from": "human", "value": "Add a new entry that always points to the latest version of a GitHub repository, updating automatically" }, { "from": "gpt", "value": "nix registry add entry github:owner/repo" } ]
[ { "from": "human", "value": "Remove a registry entry" }, { "from": "gpt", "value": "nix registry remove entry" } ]
[ { "from": "human", "value": "See documentation about what Nix flake registries are" }, { "from": "gpt", "value": "nix registry --help" } ]
[ { "from": "human", "value": "Compile a DVI document" }, { "from": "gpt", "value": "latex source.tex" } ]
[ { "from": "human", "value": "Compile a DVI document, specifying an output directory" }, { "from": "gpt", "value": "latex -output-directory=path/to/directory source.tex" } ]
[ { "from": "human", "value": "Compile a DVI document, exiting on each error" }, { "from": "gpt", "value": "latex -halt-on-error source.tex" } ]
[ { "from": "human", "value": "Deploy the current directory" }, { "from": "gpt", "value": "vercel" } ]
[ { "from": "human", "value": "Deploy the current directory to production" }, { "from": "gpt", "value": "vercel --prod" } ]
[ { "from": "human", "value": "Deploy a directory" }, { "from": "gpt", "value": "vercel path/to/project" } ]
[ { "from": "human", "value": "Initialize an example project" }, { "from": "gpt", "value": "vercel init" } ]
[ { "from": "human", "value": "Deploy with Environment Variables" }, { "from": "gpt", "value": "vercel --env ENV=var" } ]
[ { "from": "human", "value": "Build with Environment Variables" }, { "from": "gpt", "value": "vercel --build-env ENV=var" } ]
[ { "from": "human", "value": "Set default regions to enable the deployment on" }, { "from": "gpt", "value": "vercel --regions region_id" } ]
[ { "from": "human", "value": "Remove a deployment" }, { "from": "gpt", "value": "vercel remove project_name" } ]
[ { "from": "human", "value": "Generate a bonsai in live mode" }, { "from": "gpt", "value": "cbonsai -l" } ]
[ { "from": "human", "value": "Generate a bonsai in infinite mode" }, { "from": "gpt", "value": "cbonsai -i" } ]
[ { "from": "human", "value": "Append a message to the bonsai" }, { "from": "gpt", "value": "cbonsai -m \"message\"" } ]
[ { "from": "human", "value": "Display extra information about the bonsai" }, { "from": "gpt", "value": "cbonsai -v" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "cbonsai -h" } ]
[ { "from": "human", "value": "Display a list of available aliased Phars" }, { "from": "gpt", "value": "phive list" } ]
[ { "from": "human", "value": "Install a specified Phar to the local directory" }, { "from": "gpt", "value": "phive install alias|url" } ]
[ { "from": "human", "value": "Install a specified Phar globally" }, { "from": "gpt", "value": "phive install alias|url --global" } ]
[ { "from": "human", "value": "Install a specified Phar to a target directory" }, { "from": "gpt", "value": "phive install alias|url --target path/to/directory" } ]
[ { "from": "human", "value": "Update all Phar files to the latest version" }, { "from": "gpt", "value": "phive update" } ]
[ { "from": "human", "value": "Remove a specified Phar file" }, { "from": "gpt", "value": "phive remove alias|url" } ]
[ { "from": "human", "value": "Remove unused Phar files" }, { "from": "gpt", "value": "phive purge" } ]
[ { "from": "human", "value": "List all available commands" }, { "from": "gpt", "value": "phive help" } ]
[ { "from": "human", "value": "Recompress a directory of FLAC files" }, { "from": "gpt", "value": "reflac path/to/directory" } ]
[ { "from": "human", "value": "Enable maximum compression (very slow)" }, { "from": "gpt", "value": "reflac --best path/to/directory" } ]
[ { "from": "human", "value": "Display filenames as they are processed" }, { "from": "gpt", "value": "reflac --verbose path/to/directory" } ]
[ { "from": "human", "value": "Recurse into subdirectories" }, { "from": "gpt", "value": "reflac --recursive path/to/directory" } ]
[ { "from": "human", "value": "Preserve file modification times" }, { "from": "gpt", "value": "reflac --preserve path/to/directory" } ]
[ { "from": "human", "value": "Convert a Shapefile into a GeoPackage" }, { "from": "gpt", "value": "ogr2ogr -f GPKG path/to/output.gpkg path/to/input.shp" } ]
[ { "from": "human", "value": "Reduce a GeoJSON to features matching a condition" }, { "from": "gpt", "value": "ogr2ogr -where 'myProperty > 42' -f GeoJSON path/to/output.geojson path/to/input.geojson" } ]
[ { "from": "human", "value": "Change coordinate reference system of a GeoPackage from `EPSG:4326` to `EPSG:3857`" }, { "from": "gpt", "value": "ogr2ogr -s_srs EPSG:4326 -t_srs EPSG:3857 -f GPKG path/to/output.gpkg path/to/input.gpkg" } ]
[ { "from": "human", "value": "Convert a CSV file into a GeoPackage, specifying the names of the coordinate columns and assigning a coordinate reference system" }, { "from": "gpt", "value": "ogr2ogr -f GPKG path/to/output.gpkg path/to/input.csv -oo X_POSSIBLE_NAMES=longitude -oo Y_POSSIBLE_NAMES=l...
[ { "from": "human", "value": "Load a GeoPackage into a PostGIS database" }, { "from": "gpt", "value": "ogr2ogr -f PostgreSQL PG:dbname=\"database_name\" path/to/input.gpkg" } ]
[ { "from": "human", "value": "Clip layers of a GeoPackage file to the given bounding box" }, { "from": "gpt", "value": "ogr2ogr -spat min_x min_y max_x max_y -f GPKG path/to/output.gpkg path/to/input.gpkg" } ]
[ { "from": "human", "value": "Execute the specified commands if the condition command's exit status is zero" }, { "from": "gpt", "value": "if condition_command; then echo \"Condition is true\"; fi" } ]
[ { "from": "human", "value": "Execute the specified commands if the condition command's exit status is not zero" }, { "from": "gpt", "value": "if ! condition_command; then echo \"Condition is true\"; fi" } ]
[ { "from": "human", "value": "Execute the first specified commands if the condition command's exit status is zero otherwise execute the second specified commands" }, { "from": "gpt", "value": "if condition_command; then echo \"Condition is true\"; else echo \"Condition is false\"; fi" } ]
[ { "from": "human", "value": "Check whether a [f]ile exists" }, { "from": "gpt", "value": "if [[ -f path/to/file ]]; then echo \"Condition is true\"; fi" } ]
[ { "from": "human", "value": "Check whether a [d]irectory exists" }, { "from": "gpt", "value": "if [[ -d path/to/directory ]]; then echo \"Condition is true\"; fi" } ]
[ { "from": "human", "value": "Check whether a file or directory [e]xists" }, { "from": "gpt", "value": "if [[ -e path/to/file_or_directory ]]; then echo \"Condition is true\"; fi" } ]
[ { "from": "human", "value": "Check whether a variable is defined" }, { "from": "gpt", "value": "if [[ -n \"$variable\" ]]; then echo \"Condition is true\"; fi" } ]
[ { "from": "human", "value": "List all possible conditions (`test` is an alias to `[`; both are commonly used with `if`)" }, { "from": "gpt", "value": "man test" } ]
[ { "from": "human", "value": "Check the consistency of the whole TeX Live installation" }, { "from": "gpt", "value": "tlmgr check all" } ]
[ { "from": "human", "value": "Check the consistency of the whole TeX Live information in verbose mode" }, { "from": "gpt", "value": "tlmgr check all -v" } ]
[ { "from": "human", "value": "Check for missing dependencies" }, { "from": "gpt", "value": "tlmgr check depends" } ]
[ { "from": "human", "value": "Check if all TeX Live executables are present" }, { "from": "gpt", "value": "tlmgr check executes" } ]
[ { "from": "human", "value": "Check if all files listed in the local TLPDB are present" }, { "from": "gpt", "value": "tlmgr check files" } ]
[ { "from": "human", "value": "Check for duplicate filenames in the runfiles sections" }, { "from": "gpt", "value": "tlmgr check runfiles" } ]
[ { "from": "human", "value": "Generate a new initial TypeORM project structure" }, { "from": "gpt", "value": "typeorm init" } ]
[ { "from": "human", "value": "Create an empty migration file" }, { "from": "gpt", "value": "typeorm migration:create --name migration_name" } ]
[ { "from": "human", "value": "Create a migration file with the SQL statements to update the schema" }, { "from": "gpt", "value": "typeorm migration:generate --name migration_name" } ]
[ { "from": "human", "value": "Run all pending migrations" }, { "from": "gpt", "value": "typeorm migration:run" } ]
[ { "from": "human", "value": "Create a new entity file in a specific directory" }, { "from": "gpt", "value": "typeorm entity:create --name entity --dir path/to/directory" } ]
[ { "from": "human", "value": "Display the SQL statements to be executed by `typeorm schema:sync` on the default connection" }, { "from": "gpt", "value": "typeorm schema:log" } ]
[ { "from": "human", "value": "Execute a specific SQL statement on the default connection" }, { "from": "gpt", "value": "typeorm query sql_sentence" } ]
[ { "from": "human", "value": "Display help for a subcommand" }, { "from": "gpt", "value": "typeorm subcommand --help" } ]
[ { "from": "human", "value": "Start KeePass 2, opening the most recently opened password database" }, { "from": "gpt", "value": "keepass2" } ]
[ { "from": "human", "value": "Start KeePass 2, opening a specific password database" }, { "from": "gpt", "value": "keepass2 path/to/database.kbdx" } ]
[ { "from": "human", "value": "Use a specific key file to open a password database" }, { "from": "gpt", "value": "keepass2 path/to/database.kbdx -keyfile:path/to/key/file.key" } ]
[ { "from": "human", "value": "Encrypt a file" }, { "from": "gpt", "value": "sops -e path/to/file.json > path/to/file.enc.json" } ]
[ { "from": "human", "value": "Decrypt a file to `stdout`" }, { "from": "gpt", "value": "sops -d path/to/file.enc.json" } ]
[ { "from": "human", "value": "Update the declared keys in a `sops` file" }, { "from": "gpt", "value": "sops updatekeys path/to/file.enc.yaml" } ]
[ { "from": "human", "value": "Rotate data keys for a `sops` file" }, { "from": "gpt", "value": "sops -r path/to/file.enc.yaml" } ]
[ { "from": "human", "value": "Change the extension of the file once encrypted" }, { "from": "gpt", "value": "sops -d --input-type json path/to/file.enc.json" } ]
[ { "from": "human", "value": "Extract keys by naming them, and array elements by numbering them" }, { "from": "gpt", "value": "sops -d --extract '[\"an_array\"][1]' path/to/file.enc.json" } ]
[ { "from": "human", "value": "Show the difference between two `sops` files" }, { "from": "gpt", "value": "diff <(sops -d path/to/secret1.enc.yaml) <(sops -d path/to/secret2.enc.yaml)" } ]
[ { "from": "human", "value": "Optimise a set of JPEG images, retaining all associated data" }, { "from": "gpt", "value": "jpegoptim image1.jpeg image2.jpeg imageN.jpeg" } ]
[ { "from": "human", "value": "Optimise JPEG images, stripping all non-essential data" }, { "from": "gpt", "value": "jpegoptim --strip-all image1.jpeg image2.jpeg imageN.jpeg" } ]
[ { "from": "human", "value": "Force the output images to be progressive" }, { "from": "gpt", "value": "jpegoptim --all-progressive image1.jpeg image2.jpeg imageN.jpeg" } ]
[ { "from": "human", "value": "Force the output images to have a fixed maximum filesize" }, { "from": "gpt", "value": "jpegoptim --size=250k image1.jpeg image2.jpeg imageN.jpeg" } ]
[ { "from": "human", "value": "List supported file formats" }, { "from": "gpt", "value": "mat2 --list" } ]
[ { "from": "human", "value": "Remove metadata from a file" }, { "from": "gpt", "value": "mat2 path/to/file" } ]
[ { "from": "human", "value": "Remove metadata from a file and print detailed output to the console" }, { "from": "gpt", "value": "mat2 --verbose path/to/file" } ]
[ { "from": "human", "value": "Show metadata in a file without removing it" }, { "from": "gpt", "value": "mat2 --show path/to/file" } ]
[ { "from": "human", "value": "Partially remove metadata from a file" }, { "from": "gpt", "value": "mat2 --lightweight path/to/file" } ]
[ { "from": "human", "value": "Remove metadata from a file in place, without creating a backup" }, { "from": "gpt", "value": "mat2 --inplace path/to/file" } ]
[ { "from": "human", "value": "Restore an unstaged file to the staged version" }, { "from": "gpt", "value": "git restore path/to/file" } ]
[ { "from": "human", "value": "Restore an unstaged file to the version of a specific commit" }, { "from": "gpt", "value": "git restore --source commit path/to/file" } ]
[ { "from": "human", "value": "Discard all unstaged changes to tracked files" }, { "from": "gpt", "value": "git restore :/" } ]
[ { "from": "human", "value": "Unstage a file" }, { "from": "gpt", "value": "git restore --staged path/to/file" } ]
[ { "from": "human", "value": "Unstage all files" }, { "from": "gpt", "value": "git restore --staged :/" } ]
[ { "from": "human", "value": "Discard all changes to files, both staged and unstaged" }, { "from": "gpt", "value": "git restore --worktree --staged :/" } ]
[ { "from": "human", "value": "Interactively select sections of files to restore" }, { "from": "gpt", "value": "git restore --patch" } ]
[ { "from": "human", "value": "Boot from image emulating i386 architecture" }, { "from": "gpt", "value": "qemu-system-i386 -hda image_name.img" } ]
[ { "from": "human", "value": "Boot from image emulating x64 architecture" }, { "from": "gpt", "value": "qemu-system-x86_64 -hda image_name.img" } ]