diff options
-rw-r--r-- | alias | 2 | ||||
-rwxr-xr-x | tools/init/sync.sh | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -331,7 +331,7 @@ alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' | |||
331 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' | 331 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' |
332 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' | 332 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' |
333 | alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' | 333 | alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' |
334 | alias data.ical='curl -O http://www.google.com/calendar/ical/taiwan__zh_tw@holiday.calendar.google.com/public/basic.ics' | 334 | alias data.ical='curl -LO http://www.google.com/calendar/ical/zh-tw.taiwan%23holiday%40group.v.calendar.google.com/public/basic.ics' |
335 | taiwan_dem() { | 335 | taiwan_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 & | |||
14 | sync ~/.task & | 14 | sync ~/.task & |
15 | sync ~/.password-store & | 15 | sync ~/.password-store & |
16 | sync ~/.vim_runtime & | 16 | sync ~/.vim_runtime & |
17 | sync ~/bean & | ||
17 | 18 | ||
18 | while true; do | 19 | while true; do |
19 | if test $(jobs -r | wc -l) -gt 0; then | 20 | if test $(jobs -r | wc -l) -gt 0; then |