diff options
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -406,7 +406,11 @@ alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' | |||
406 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' | 406 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' |
407 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' | 407 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' |
408 | alias sample.lorem='curl http://metaphorpsum.com/paragraphs/4/16' | 408 | alias sample.lorem='curl http://metaphorpsum.com/paragraphs/4/16' |
409 | alias lorem='curl http://metaphorpsum.com/paragraphs/4/16' | 409 | lorem() { |
410 | paragraph=${1:-4} | ||
411 | sentences=${2:-6} | ||
412 | curl http://metaphorpsum.com/paragraphs/$paragraph/$sentences | ||
413 | } | ||
410 | alias sample.wmts='curl -O https://gis.sinica.edu.tw/tileserver/wmts' | 414 | alias sample.wmts='curl -O https://gis.sinica.edu.tw/tileserver/wmts' |
411 | sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } | 415 | sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } |
412 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' | 416 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' |