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
// Still need to work out how to combine rules for numbers | |
// that share a greatest common factor without the unit-builder | |
// actually containing the fraction to which they can both be | |
// reduced. | |
// Calculate the greatest common factor of two integers | |
@function gcf($a, $b) { | |
@if $b == 0 { | |
@return $a; | |
} |
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
# Install homebrew | |
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" | |
# Install command line tools for Xcode -- requires free Apple ID | |
http://developer.apple.com/downloads | |
# Install requirements | |
brew update | |
brew tap homebrew/dupes | |
brew install autoconf automake apple-gcc42 rbenv ruby-build |
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
brew update | |
wget https://raw.github.com/gist/3258648/9f98d466e00d39ef7ef9555b0f0967afe0c29dc2/rubycocoa.rb -O /usr/local/Library/Formula/rubycocoa.rb | |
brew install rubycocoa |
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
.ellipsis { | |
-o-text-overflow: ellipsis; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
text-wrap: none; | |
white-space: nowrap; | |
word-wrap: none; | |
} |
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
<div class="nav"> | |
<li class="box"><a href="">One</a></li> | |
<li class="box"><a href="">Two</a></li> | |
<li class="box"><a href="">Three</a></li> | |
</div> |
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
wkpdf --source http://google.com/ --output cv.pdf --paper letter --orientation portrait --margins 0 --print-background yes |
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
data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs= |
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
.inliner { | |
height: 100%; | |
} | |
.inliner, | |
.inliner + * { | |
display: inline-block; | |
vertical-align: middle; | |
} |
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
module.exports = function (grunt) { | |
'use strict'; | |
grunt.initConfig({ | |
staging: 'dist/debug/', | |
production: 'dist/release/', | |
pkg: grunt.file.readJSON('package.json'), |
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
%myclass { | |
color: blue; | |
@media (min-width: 600px) { | |
background: red; | |
} | |
@media (min-width: 800px) { | |
font-size: 28px; | |
} | |
} |
OlderNewer