Skip to content

Instantly share code, notes, and snippets.

View BenRichter's full-sized avatar
🎯
Focusing

Ben Richter BenRichter

🎯
Focusing
View GitHub Profile
@fjogeleit
fjogeleit / composer
Created April 27, 2016 06:30 — forked from tommy-muehle/composer
/usr/local/bin/composer
#!/usr/bin/env bash
PHP=/usr/local/opt/php70/bin/php
ARGUMENTS="--ignore-platform-reqs --optimize-autoloader"
EXCLUDE_COMMANDS=(init selfupdate dumpautoload diagnose)
for item in "${EXCLUDE_COMMANDS[@]}"; do
if [[ $1 == "$item" ]]; then ARGUMENTS=""; fi
done
echo "Running composer with $($PHP -v)"
@mikedidthis
mikedidthis / _typography.scss
Created February 7, 2014 12:30
A More Modern Scale for Web Typography - With REMS
// Modern Scale for Web Typography
// Ref: http://typecast.com/blog/a-more-modern-scale-for-web-typography
// -----------------------------------------------------------------------------
// Mobile
// -----------------------------------------------------------------------------
// Elem | Font | Line
// -----------------------------------------------------------------------------
// Body | 16px | 20px
// h1 | 32px | 40px
// h2 | 26px | 30px