Skip to content

Instantly share code, notes, and snippets.

View jonascheng's full-sized avatar
🏠
Working from home

Jonas Cheng jonascheng

🏠
Working from home
View GitHub Profile
@jonascheng
jonascheng / term_colors.py
Created December 12, 2017 10:13 — forked from christian-oudard/term_colors.py
Terminal output colors in python
from __future__ import print_function
"""
Utilities for 256 color support in terminals.
Adapted from:
http://stackoverflow.com/questions/1403353/256-color-terminal-library-for-ruby
The color palette is indexed as follows:
0-15: System colors
@jonascheng
jonascheng / p4merge4git.md
Created October 24, 2016 02:55 — forked from tony4d/p4merge4git.md
Setup p4merge as a visual diff and merge tool for git