aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-10-22 21:02:31 +0800
committertypebrook <typebrook@gmail.com>2019-10-22 21:02:31 +0800
commit23a16329edd4bf01b61623648cc9cd07658e8741 (patch)
treee737d7e349db4146f2fdd6ab7fbefff01d14cd05
parent8910fd103fd43c6e93c8c9716d143a73e0165972 (diff)
update
-rw-r--r--alias6
1 files changed, 5 insertions, 1 deletions
diff --git a/alias b/alias
index f92702e..2b65aeb 100644
--- a/alias
+++ b/alias
@@ -148,9 +148,13 @@ alias sample-svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg'
148 148
149# data file 149# data file
150alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' 150alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf'
151alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml'
152alias data-taiwan-town='curl -o town.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=CD02C824-45C5-48C8-B631-98B205A2E35A' 151alias data-taiwan-town='curl -o town.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=CD02C824-45C5-48C8-B631-98B205A2E35A'
153alias data-taiwan-village='curl -o village.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=B8AF344F-B5C6-4642-AF46-1832054399CE' 152alias data-taiwan-village='curl -o village.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=B8AF344F-B5C6-4642-AF46-1832054399CE'
153alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml'
154alias data-osm-diff="curl https://planet.openstreetmap.org/replication/minute/state.txt |\
155 sed -n 2p | cut -d'=' -f2 | sed 's/\(.\{1\}\)\(.\{3\}\)/00\1\/\2\//' |\
156 xargs -I {} echo -e https://planet.openstreetmap.org/replication/minute/'{}'.osc.gz |\
157 xargs curl -O"
154 158
155# clipboard 159# clipboard
156alias xi='xsel -ib' 160alias xi='xsel -ib'