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
wget http://nodejs.org/dist/v0.10.5/node-v0.10.5-linux-arm-pi.tar.gz | |
cd /usr/local | |
sudo tar xzvf ~/node-v0.10.5-linux-arm-pi.tar.gz --strip=1 | |
vi ~/.bash_aliases | |
export PATH=$PATH:/usr/local/bin/node | |
bash | |
node -v |
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
/*global -$ */ | |
'use strict'; | |
// generated on 2015-06-03 using generator-gulp-webapp 0.3.0 | |
var gulp = require('gulp'); | |
var $ = require('gulp-load-plugins')(); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
gulp.task('styles', function () { | |
return gulp.src('app/css/main.scss') |
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
@import "easing" | |
// === BASE ============================================ | |
$base-font-size: 16 | |
@function emCalc($pixel, $context:$base-font-size) | |
@return $pixel / $context + 0em | |
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
<!doctype html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/main.css"> |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Blank Project</title> | |
<meta name="viewport" content="width=device-width, initial-scale=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
compass install compass --syntax sass --sass-dir "sass" --css-dir "css" --javascripts-dir "js" --images-dir "img" |
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
/* Sample usage: +caret(bottom, 8px, #000); */ | |
=caret($side, $size, $color) | |
$opposite: opposite-position($side) | |
+stretch(50%,auto,auto,50%) | |
border: $size solid transparent | |
border-#{$opposite}: $size solid $color | |
border-#{$side}: 0 | |
content: '' | |
display: block |
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
@import compass | |
$icons: sprite-map("icons/*.png") | |
$icons-hd: sprite-map("icons-hd/*.png") | |
i | |
background: $icons | |
display: inline-block | |
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) | |
background: $icons-hd |
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
// HELPER: #key_value | |
// | |
// Usage: {{#key_value obj}} Key: {{key}} // Value: {{value}} {{/key_value}} | |
// | |
// Iterate over an object, setting 'key' and 'value' for each property in | |
// the object. | |
Handlebars.registerHelper("key_value", function(obj, fn) { | |
var buffer = "", | |
key; |
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
$easeInCubic : cubic-bezier(0.550, 0.055, 0.675, 0.190) | |
$easeOutCubic : cubic-bezier(0.215, 0.610, 0.355, 1.000) | |
$easeInOutCubic : cubic-bezier(0.645, 0.045, 0.355, 1.000) | |
$easeInCirc : cubic-bezier(0.600, 0.040, 0.980, 0.335) | |
$easeOutCirc : cubic-bezier(0.075, 0.820, 0.165, 1.000) | |
$easeInOutCirc : cubic-bezier(0.785, 0.135, 0.150, 0.860) | |
$easeInExpo : cubic-bezier(0.950, 0.050, 0.795, 0.035) | |
$easeOutExpo : cubic-bezier(0.190, 1.000, 0.220, 1.000) |
NewerOlder