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