Skip to content

Instantly share code, notes, and snippets.

R. C. Pao (Enmotus.com) rcpao-enmotus

Block or report user

Report or block rcpao-enmotus

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
@rcpao-enmotus
rcpao-enmotus / bdiff.py
Last active Oct 9, 2019 — forked from jacobabrahamb4/bdiff.py
Display diff between two commits.
View bdiff.py
#!/usr/bin/env python
import sys, subprocess, os
TOOLS = ['bcompare', 'meld']
HEAD = 'HEAD'
TMP = '/tmp/'
execute = lambda command: subprocess.check_output(command)
which = lambda tool: execute(['which', tool]).strip()
You can’t perform that action at this time.