Loads of solutions exist, but for changing the system default, alias is not the way to go.
$ update-alternatives --list python update-alternatives: error: no alternatives for python
server { | |
listen 80; | |
server_name localhost; | |
location /oauth2/ { | |
proxy_pass http://oauth-proxy:4180; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Scheme $scheme; | |
proxy_set_header X-Auth-Request-Redirect $request_uri; |
#!/usr/bin/env python3 | |
""" | |
Command line zbase32 encoder and decoder. | |
See http://philzimmermann.com/docs/human-oriented-base-32-encoding.txt | |
Please note that scrip loads the data in memory. | |
Copyright: Tocho Tochev <tocho AT tochev DOT net> | |
Licence: MIT | |
""" |
The difference between XYZ and TMS tiles and how to convert between them
Lots of tile-based maps use either the XYZ or TMS scheme. These are the maps that have tiles
ending in /0/0/0.png
or something. Sometimes if it's a script, it'll look like
&z=0&y=0&x=0
instead. Anyway, these are usually maps in Spherical Mercator.
Good examples are OpenStreetMap, Google Maps, MapBox, MapQuest, etc. Lots of maps.
Most of those are in XYZ. The best documentation for that is slippy map tilenames on the OSM Wiki, and Klokan's Tiles a la Google.