Skip to content

Instantly share code, notes, and snippets.

Jeremy Attali jtheoof

Block or report user

Report or block jtheoof

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pandasauce / radiff2.log
Last active Aug 4, 2019
Chrome 75.0.3770.142 font rendering fix
View radiff2.log
# 75.0.3770.142
0x04b58615 7626 => 9090 0x04b58615
0x04b5861d 31c0488945 => 9090909090 0x04b5861d
Due to a beautiful bug in Chromium, it turns out you don't need this binary patch and can **enable** subpixel positioning by asking Chrome **to disable it**:
Needless to say, I won't be maintaining this gist any longer.
hannu / gist:4604611
Last active Jan 22, 2017
Filter your own commit messages from git log and group by day. (Modified from
View gist:4604611
AUTHOR=$(git config
DATE=$(date +%F)
git log --no-merges --format="%cd" --date=short --no-merges --author="$AUTHOR" --all | sort -u -r | while read DATE ; do
if [ $NEXT != "" ]
echo [$NEXT]
GIT_PAGER=cat git log --no-merges --format=" %s" --since=$DATE --until=$NEXT --author="$AUTHOR" --all


A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

jtheoof / gist:2880413
Created Jun 6, 2012
pre-commit SVN hook to prevent a commit if Jenkins is building or build is broken
View gist:2880413
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
# [1] REPOS-PATH (the path to this repository)
MicahElliott /
Created Nov 29, 2010
Convert values between RGB hex codes and xterm-256 color codes.
#! /usr/bin/env python
""" Convert values between RGB hex codes and xterm-256 color codes.
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
jQuery templates use constructs like:
{{if condition}} print something{{/if}}
This, of course, completely screws up Django templates,
because Django thinks {{ and }} mean something.
Wrap {% verbatim %} and {% endverbatim %} around those
blocks of jQuery templates and this will try its best
You can’t perform that action at this time.