Skip to content

Instantly share code, notes, and snippets.

@solaris9000
solaris9000 / ANSI_Colours.txt
Last active July 5, 2024 16:18
Default ANSI Colours for MobaXterm and Putty
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
@walkermatt
walkermatt / mapproxy_decorate.py
Last active March 22, 2024 16:48
Minimal MapProxy Middleware demonstrating the decorate_img API
""" 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