This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
l = log | |
i = init | |
cl = clone | |
d = diff | |
dn = --no-pager diff --name-only | |
di = icdiff | |
pr = pull-request | |
dc = diff --cached | |
dci = icdiff --cached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// So you have co-workers who love raving about buzzwords like Semantic styles, unobstructive css, BEM etc | |
// which never made sense? | |
// | |
// Drop this into your project, grab some popcorn and hit commit. | |
// | |
// Now the screams begin ... | |
@each $dim in 5, 10, 20 { | |
@each $attr-key, $attr in (m: margin, p: padding) { | |
.u-#{$attr-key}#{$dim} { #{$attr}: #{$dim}px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "\n--" | |
echo "Checking for debugger calls" | |
echo "--\n" | |
for name in `git diff --name-only --cached` | |
do | |
echo "Analysing: $name" | |
cat $name | egrep -n "\b(byebug|binding.pry|debugger)\b" | while read line | |
do | |
echo " -> $line" | |
echo "\n--" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.icon { | |
font-family: 'EntypoRegular'; | |
} | |
.icon.social { | |
font-family: 'EntypoSocialRegular'; | |
} | |
.icon.phone:before { content: '\1F4DE';} | |
.icon.mobile:before { content: '\1F4F1';} | |
.icon.mouse:before { content: '\E789';} |
NewerOlder