aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias2
-rwxr-xr-xtools/init/sync.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index d044706..3cf1371 100644
--- a/alias
+++ b/alias
@@ -331,7 +331,7 @@ alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf'
331alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' 331alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto'
332alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' 332alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto'
333alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' 333alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto'
334alias data.ical='curl -O http://www.google.com/calendar/ical/taiwan__zh_tw@holiday.calendar.google.com/public/basic.ics' 334alias data.ical='curl -LO http://www.google.com/calendar/ical/zh-tw.taiwan%23holiday%40group.v.calendar.google.com/public/basic.ics'
335taiwan_dem() { 335taiwan_dem() {
336 <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ 336 <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\
337 xargs curl -Lo taiwan_dem.zip 337 xargs curl -Lo taiwan_dem.zip
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index 349ca77..47bd9c4 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -14,6 +14,7 @@ sync ~/vimwiki &
14sync ~/.task & 14sync ~/.task &
15sync ~/.password-store & 15sync ~/.password-store &
16sync ~/.vim_runtime & 16sync ~/.vim_runtime &
17sync ~/bean &
17 18
18while true; do 19while true; do
19 if test $(jobs -r | wc -l) -gt 0; then 20 if test $(jobs -r | wc -l) -gt 0; then