diff options
author | typebrook <typebrook@gmail.com> | 2019-10-22 21:02:31 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-10-22 21:02:31 +0800 |
commit | 23a16329edd4bf01b61623648cc9cd07658e8741 (patch) | |
tree | e737d7e349db4146f2fdd6ab7fbefff01d14cd05 | |
parent | 8910fd103fd43c6e93c8c9716d143a73e0165972 (diff) |
update
-rw-r--r-- | alias | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
150 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' | 150 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' |
151 | alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml' | ||
152 | alias data-taiwan-town='curl -o town.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=CD02C824-45C5-48C8-B631-98B205A2E35A' | 151 | alias data-taiwan-town='curl -o town.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=CD02C824-45C5-48C8-B631-98B205A2E35A' |
153 | alias data-taiwan-village='curl -o village.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=B8AF344F-B5C6-4642-AF46-1832054399CE' | 152 | alias data-taiwan-village='curl -o village.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=B8AF344F-B5C6-4642-AF46-1832054399CE' |
153 | alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml' | ||
154 | alias 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 |
156 | alias xi='xsel -ib' | 160 | alias xi='xsel -ib' |