Skip to content

Instantly share code, notes, and snippets.

Micah Mutrux doub1ejack

View GitHub Profile
@doub1ejack
doub1ejack / .profile
Created Mar 14, 2019
Display current git branch in bash prompt
View .profile
################
# PROMPT #
################
# This is the meat of things right here..
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
# Let's add colors!
@doub1ejack
doub1ejack / README.md
Last active Mar 14, 2019
D3.js Bubble Chart
View README.md

Simple Bubble Chart D3 v4

var color = d3.scaleOrdinal(d3.schemeCategory20);

var bubble = d3.pack(dataset)
            .size([diameter, diameter])
            .padding(1.5);
You can’t perform that action at this time.