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 gulp = require('gulp'); | |
var less = require('gulp-less'); | |
var path = require('path'); | |
var styl = require('gulp-styl'); | |
var browserify = require('gulp-browserify'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var refresh = require('gulp-livereload'); | |
var lr = require('tiny-lr'); |
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
// Here are some variables, then a mixin and then an application of the mixin - this will only compile using Sass 3.2 | |
//variables | |
$XS: 12.5em; // 200px; | |
$S: 18.75em; // 300px | |
$SM: 35em; // 560px | |
$M: 47.5em; // 760px | |
$L: 63em; // 1008px | |
$XL: 110em; // 1760px | |
$XXL: 180em; // 2880px |
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
upstream php-fpm { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
server_name www.example.com; | |
rewrite ^ http://example.com$request_uri?; | |
} |
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 path = require('path'); | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var clean = require('gulp-clean'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var filesize = require('gulp-filesize'); | |
var less = require('gulp-less'); | |
var changed = require('gulp-changed'); |
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
vendor(prop, args) | |
-webkit-{prop} args | |
-moz-{prop} args | |
-ms-{prop} args | |
-o-{prop} args | |
{prop} args | |
border-radius() | |
vendor('border-radius', arguments) |
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
'use strict'; | |
var | |
chalk = require('chalk'), | |
gulp = require('gulp'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), | |
deporder = require('gulp-deporder'), | |
gulpif = require('gulp-if'), |
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
// | |
// I should probably have turned this into a theme… | |
// but who has time for that? | |
// | |
// Installation: | |
// 1. Choose "Solarized Dark" as your theme. | |
// 2. Install Input from http://input.fontbureau.com/ | |
// (It's free for personal use.) | |
// 3. Stick the contents of this file into your Atom stylesheet. |
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 gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
var harp = require('harp'); | |
/** | |
* Serve the Harp Site from the src directory | |
*/ | |
gulp.task('serve', function () { | |
harp.server(__dirname + '/src', { |
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 gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
var deploy = require('gulp-gh-pages'); | |
var cp = require('child_process'); | |
var harp = require('harp') | |
/** | |
* Serve the Harp Site | |
*/ |
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 gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var cp = require('child_process'); | |
var harp = require('harp') | |
gulp.task('serve', function (done) { | |
harp.server('.', { | |
port: 9000 | |
}); |
OlderNewer