This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ct — Claude worktree helpers for parallel work | |
| # https://gist.github.com/craigsc/46979018ee28788602d3452fb08ef814 | |
| # | |
| # Lightweight zsh functions for managing git worktrees, designed for | |
| # running multiple Claude Code sessions in parallel on the same repo. | |
| # | |
| # Each worktree gets its own branch and directory, with configurable | |
| # symlinks so you don't have to reinstall dependencies every time. | |
| # | |
| # Functions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { encode } from "fast-png"; | |
| import type { GeoTIFFImage, ReadRasterResult } from "geotiff"; | |
| import { fromUrl, Pool } from "geotiff"; | |
| import type { RasterSourceSpecification } from "maplibre-gl"; | |
| import maplibregl from "maplibre-gl"; | |
| const tileSize = 256; | |
| const decoderPool = new Pool(); | |
| /** |