diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-05-04 07:25:32 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-05-04 07:25:32 +0800 |
commit | 65aa7a8876c6a56297eba0f32005f847bbb08c5b (patch) | |
tree | f4170f33fc242afeb20b8d2bf8cbcb4c79739323 | |
parent | 72dd313c629a5a229070fc3b9401d942882ca09b (diff) |
Update
-rw-r--r-- | alias | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -311,6 +311,7 @@ alias b='bean' | |||
311 | alias cdl='cd ~/log' | 311 | alias cdl='cd ~/log' |
312 | alias chw='tig -C ~/log' | 312 | alias chw='tig -C ~/log' |
313 | ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; } | 313 | ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; } |
314 | wj() { echo "$@" >>~/log/buffer.md; } | ||
314 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } | 315 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } |
315 | wi() { cat ~/log/${1%%.md}.md; } | 316 | wi() { cat ~/log/${1%%.md}.md; } |
316 | wD() { rm ~/log/${1%%.md}.md; } | 317 | wD() { rm ~/log/${1%%.md}.md; } |
@@ -389,6 +390,7 @@ alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' | |||
389 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' | 390 | alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' |
390 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' | 391 | alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' |
391 | alias sample.lorem='curl -o lorem http://metaphorpsum.com/paragraphs/4/16' | 392 | alias sample.lorem='curl -o lorem http://metaphorpsum.com/paragraphs/4/16' |
393 | alias sample.wmts='curl -O https://gis.sinica.edu.tw/tileserver/wmts' | ||
392 | sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } | 394 | sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } |
393 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' | 395 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' |
394 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' | 396 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' |