Skip to content

Instantly share code, notes, and snippets.

View klange's full-sized avatar
🤔
Contemplative.

K Lange klange

🤔
Contemplative.
View GitHub Profile
@klange
klange / ezwall.css
Last active December 14, 2015 01:38 — forked from anonymous/gist:5007241
Here at Yelp, there is a TV that displays Pharos and a Jenkins build monitor. We use these user styles to make them presentable on a large monitor.
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp(".*jenkins\.yelpcorp\.com/ezwall.*") {
.job-status-ok {
/* Smooth gray successes */
background-color: rgba(0,0,0,0) !important;
}
.job-status-ko {
/* Alarmingly red failures */
background-color: #a00 !important;
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("jenkins.yelpcorp.com") {
.SUCCESS *, .SUCCESS {
background-color: #333 !important;
color: #DEDEDE !important;
font-weight: 200 !important;
}
.FAILURE *, .FAILURE {
background-color: #a00 !important;
@klange
klange / image-to-ansi.py
Created January 27, 2012 06:29 — forked from MicahElliott/colortrans.py
Convert images to ANSI escape sequences
#! /usr/bin/env python
""" Convert an image (argv[1]) to an ANSI text string (xterm-256color)
Original readme from colortrans.py follows:
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
Resources: