This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Minimal MapProxy Middleware demonstrating the decorate_img API | |
To run: | |
1. Install MapProxy in a virtual enviroment together with Gunicorn | |
2. Create a basic MapProxy config and copy this file into the same directory as mapproxy.yaml | |
2. Activate virtual environment | |
3. Change to the directory containing this file | |
4. Run: | |
gunicorn -k eventlet --workers=1 --log-file=- mapproxy_decorate:application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The default ANSI colours are much nicer in MobaXterm (imho) as I find the putty colours a little too dark. | |
To replicate MobaXterm colours in putty here are the RGB settings. | |
The default putty ANSI colours are here in case you want to revert back ;) | |
My preferred font is consolas 9pt cleartype. | |
MobaXterm Default ANSI Colours | |
------------------------------ | |
Black 0 0 0 | |
Bold Black 54 54 54 |