Skip to content

Instantly share code, notes, and snippets.

View mattfelten's full-sized avatar

Matt Felten mattfelten

View GitHub Profile
@mattfelten
mattfelten / modifiers.scss
Created July 3, 2018 00:27 — forked from sarahdayan/modifiers.scss
Sass Modifiers Mixin
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
// Sass modifiers mixin by Sarah Dayan
// Generate All Your Utility Classes with Sass Maps: frontstuff.io/generate-all-your-utility-classes-with-sass-maps
// http://frontstuff.io
// https://github.com/sarahdayan
@mattfelten
mattfelten / .bashrc
Last active December 11, 2015 07:58 — forked from TRMW/.bashrc
Forked from https://gist.github.com/4527673 which was still was broken for me. This fixed it. And now I know how to change the colors.
function parse_git_branch {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [\1]/'
}
export PS1='\[\e[0;35m\]⌘\[\e[0m\] \[\e[0;36m\]\w/\[\e[0m\] \[\e[0;33m\]$(parse_git_branch)\[\e[0m\]'