diff options
| author | typebrook <typebrook@gmail.com> | 2019-10-29 17:55:42 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-10-29 17:55:42 +0800 |
| commit | 9e6d7fc26016ecf845163d2e821b90e7c33bb906 (patch) | |
| tree | 2474aee57fd736302a8d6cf724b11a2edb40bb04 /alias | |
| parent | 09410d75a6e0314afbb2cd60eee82743fa79620f (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -145,6 +145,8 @@ alias sample-geojson='curl -O https://docs.mapbox.com/help/data/stations.geojson | |||
| 145 | alias sample-geotiff='curl -O https://docs.mapbox.com/help/data/landsat.tif' | 145 | alias sample-geotiff='curl -O https://docs.mapbox.com/help/data/landsat.tif' |
| 146 | alias sample-csv='curl -O https://docs.mapbox.com/help/data/airports.csv' | 146 | alias sample-csv='curl -O https://docs.mapbox.com/help/data/airports.csv' |
| 147 | alias sample-svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg' | 147 | alias sample-svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg' |
| 148 | alias sample-mbtiles='curl -O https://docs.mapbox.com/help/data/trails.mbtiles' | ||
| 149 | alias sample-kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' | ||
| 148 | 150 | ||
| 149 | # data file | 151 | # data file |
| 150 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' | 152 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' |
| @@ -163,8 +165,7 @@ alias xl='history | tail -1 | grep -oP "^\s*[0-9]+\s\s\K.*" | xsel -ib && xsel - | |||
| 163 | alias xc='xsel -ob | gcc -xc -' | 165 | alias xc='xsel -ob | gcc -xc -' |
| 164 | 166 | ||
| 165 | # image | 167 | # image |
| 166 | alias vertical='_convert' | 168 | vertical() { |
| 167 | _convert() { | ||
| 168 | convert $@ -append output.png | 169 | convert $@ -append output.png |
| 169 | } | 170 | } |
| 170 | 171 | ||