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
gem list | cut -d" " -f1 | xargs gem uninstall -aIx | |
*If this doesn't work - blame Don. |
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
.elementA:before, | |
.elementB:before, | |
.elementA:after, | |
.elementB:after { content: ""; display: table; } | |
.elementA:after | |
.elementB:after { clear: both; } | |
.elementA, | |
.elementB { *zoom: 1; } |
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
@mixin rem-width( $em-size ) { | |
width: $em-size * $base-font-multiplier * 16px; | |
width: $em-size * 1rem; | |
} |
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
@mixin hd($path, $img) { | |
@media (-webkit-max-device-pixel-ratio: 1.49), | |
(-o-max-device-pixel-ratio: 3/2.01), | |
(max-device-pixel-ratio: 1.49) { | |
background-image: url($path + "/" + $img); | |
} | |
@media (-webkit-min-device-pixel-ratio: 1.5), | |
(-o-min-device-pixel-ratio: 3/2), |
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
.valid { | |
background: green; | |
color: #fff; | |
} | |
.error { | |
background: red; | |
color: #fff; | |
} | |
|
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
.valid { | |
background: green; | |
color: #fff; | |
} | |
.error { | |
background: red; | |
color: #fff; | |
} |
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
var mediaCheck = function(options) { | |
var mq, | |
matchMedia = window.matchMedia !== undefined; | |
if (matchMedia) { | |
mqChange = function(mq, options) { | |
if (mq.matches) { | |
options.entry(); | |
} else { | |
options.exit(); |
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
ul { | |
list-style: none; | |
} | |
li { | |
float: left; | |
margin-right: 20px; | |
} | |
.secondary-menu { | |
display: 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
var five = require('johnny-five'), | |
Imp = require("imp-io"), | |
keypress = require('keypress'), | |
board = new five.Board({ | |
repl: false, | |
debug: false, | |
io: new Imp({ | |
agent: 'FPKHeMBXeuim' | |
}) | |
}), |
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
var five = require("johnny-five"), | |
keypress = require('keypress'), | |
board = new five.Board(), | |
stdin = process.stdin; | |
keypress(process.stdin); | |
stdin.setRawMode(true); | |
stdin.resume(); | |
board.on("ready", function() { |