diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-05-25 22:18:46 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-05-25 22:18:46 +0800 |
| commit | 7972d241c352282f39a6635595e098f042b26fe6 (patch) | |
| tree | d8eee8ce5b966d4f7c56daf938f18c5289abac7d | |
| parent | 4c0336385b72b307f7a76e253881a0d385d7dfc7 (diff) | |
Update
| -rw-r--r-- | alias | 2 | ||||
| -rw-r--r-- | tigrc | 3 |
2 files changed, 2 insertions, 3 deletions
| @@ -325,6 +325,7 @@ alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' | |||
| 325 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' | 325 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' |
| 326 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' | 326 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' |
| 327 | alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' | 327 | alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' |
| 328 | alias data.ical='curl -O http://www.google.com/calendar/ical/taiwan__zh_tw@holiday.calendar.google.com/public/basic.ics' | ||
| 328 | taiwan_dem() { | 329 | taiwan_dem() { |
| 329 | <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ | 330 | <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ |
| 330 | xargs curl -Lo taiwan_dem.zip | 331 | xargs curl -Lo taiwan_dem.zip |
| @@ -492,7 +493,6 @@ alias cdma='cd ~/git/mapstew-android' | |||
| 492 | alias cdT='cd ~/git/tilemaker' | 493 | alias cdT='cd ~/git/tilemaker' |
| 493 | alias stew='cd ~/git/mapstew' | 494 | alias stew='cd ~/git/mapstew' |
| 494 | alias vc='vultr-cli' | 495 | alias vc='vultr-cli' |
| 495 | alias jl='jrnl' | ||
| 496 | #hugo(){ | 496 | #hugo(){ |
| 497 | # docker run --rm \ | 497 | # docker run --rm \ |
| 498 | # -u `id -u`:`id -g` \ | 498 | # -u `id -u`:`id -g` \ |
| @@ -140,8 +140,7 @@ bind main p none # override default pager binding | |||
| 140 | bind main pp ?git push | 140 | bind main pp ?git push |
| 141 | bind main pP ?git push -u %(remote) %(branch):%(branch) | 141 | bind main pP ?git push -u %(remote) %(branch):%(branch) |
| 142 | bind main pr ?git push -u %(remote) %(branch):%(branch) | 142 | bind main pr ?git push -u %(remote) %(branch):%(branch) |
| 143 | bind main pb ?git push -u %(remote) %(branch):'%(prompt Which branch? )' | 143 | bind main pR ?git push -u '%(prompt Which remote? )':%(branch) |
| 144 | bind main pR ?git push -u '%(prompt Which remote? )' %(branch):'%(prompt Which branch? )' | ||
| 145 | bind main pF ?git push --force | 144 | bind main pF ?git push --force |
| 146 | bind main pd ?git push %(remote) :%(branch) | 145 | bind main pd ?git push %(remote) :%(branch) |
| 147 | bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Which reference? )' | 146 | bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Which reference? )' |