Skip to content

Instantly share code, notes, and snippets.

View blaze33's full-sized avatar

Maxime Rouyrre blaze33

View GitHub Profile
@blaze33
blaze33 / README.md
Last active December 10, 2015 08:28 — forked from mbostock/.block

The NASA Blue Marble is reprojected using d3.geo.kavrayskiy7’s invert function.

@blaze33
blaze33 / git-branches-vs-origin-master
Created November 10, 2012 17:10
show git ahead and behind info for branches vs origin/master
#!/bin/bash
# by http://github.com/jacobevans
# -- Added some nice color/formatting
# modified from http://github.com/kortina
# modified from http://github.com/jehiah
# this prints out branch ahead/behind status vs origin/master for all branches
# example:
# $ git branch-status
# dns_check (ahead 1) | (behind 112) origin/master
@blaze33
blaze33 / bash_prompt.sh
Created May 2, 2012 08:57 — forked from gilsondev/bash_prompt.sh
Set color bash prompt according to active virtualenv, git branch, mercurial branch and return status of last command. I won't maintain this fork anymore as I reused this script here: https://github.com/blaze33/effings
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the branch/status of the current mercurial repository
# * the return value of the previous command
#