diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-08-05 18:41:51 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-08-05 18:41:51 +0800 |
| commit | b57c461014f585655d897abf0e0ac982807396b7 (patch) | |
| tree | d3b10761cb75d52ff41b0822bc646c9d1c08d935 /alias | |
| parent | cc96870ff94afba7b0f2dc18f0209611ff7201f7 (diff) | |
Update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -409,11 +409,11 @@ alias sample.osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' | |||
| 409 | alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' | 409 | alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' |
| 410 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' | 410 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' |
| 411 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' | 411 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' |
| 412 | alias sample.lorem='curl http://metaphorpsum.com/paragraphs/4/16' | 412 | alias sample.lorem='curl -s http://metaphorpsum.com/paragraphs/4/16' |
| 413 | lorem() { | 413 | lorem() { |
| 414 | paragraph=${1:-4} | 414 | paragraph=${1:-4} |
| 415 | sentences=${2:-6} | 415 | sentences=${2:-6} |
| 416 | curl http://metaphorpsum.com/paragraphs/$paragraph/$sentences | 416 | curl -s http://metaphorpsum.com/paragraphs/$paragraph/$sentences |
| 417 | } | 417 | } |
| 418 | alias sample.wmts='curl -O https://gis.sinica.edu.tw/tileserver/wmts' | 418 | alias sample.wmts='curl -O https://gis.sinica.edu.tw/tileserver/wmts' |
| 419 | sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } | 419 | sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } |