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
// Define project paths. | |
// Note: all of these are relative to the project root. | |
var projectPaths = { | |
scssSources: 'src/scss', | |
outputRoot: 'output' | |
}; | |
// Import required dependencies. | |
var gulp = require('gulp'), | |
browserSync = require('browser-sync'), |
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
/*! | |
Copyright 2015 Initech | |
This will always be present, no matter the output style. | |
*/ | |
/* | |
Multi-line comment. | |
This will be present in all output styles other than compressed. |
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
#!/usr/bin/env node | |
var Metalsmith = require('metalsmith'), | |
browserSync = require('metalsmith-browser-sync'); | |
// Hard-coded value. In more complex scripts, this value is read from | |
// CLI args. | |
var isWatchEnabled = true; | |
var browserSyncOptions = { |
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
{ | |
"name": "git-urls-test", | |
"version": "1.0.0", | |
"dependencies": { | |
"gist-minimum-module": "git+https://gist.github.com/15b5e6c8762342a8ce38.git", | |
"github-minimum-module": "git+https://github.com/claycarpenter/github-minimum-module.git" | |
}, | |
"license": "ISC" | |
} |
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
{ | |
"name": "git-shorthands-test", | |
"version": "1.0.0", | |
"dependencies": { | |
"gist-minimum-module": "gist:15b5e6c8762342a8ce38", | |
"github-minimum-module": "github:claycarpenter/github-minimum-module" | |
}, | |
"license": "ISC" | |
} |
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
{ | |
"name": "gist-minimum-module", | |
"version": "0.0.7" | |
} |
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 _ = require('lodash'); | |
var browserSync = require('browser-sync').create(); | |
var debug = require('debug')('metalsmith-browser-sync'); | |
var isBrowserSyncRunning = false; | |
function browserSyncPlugin(options){ | |
function plugin(files, metalsmith, done) { | |
if (isBrowserSyncRunning) { | |
// BrowserSync is already running, mark done without starting |
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 lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="utf-8"> | |
<title></title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> |
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> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<h1>Lorem Ipsum Title Sit Amet</h1> | |
<p>Support collaborative catalyst Rosa Parks; criteria; compassion; social entrepreneurship citizenry change movements. Revitalize opportunity insurmountable challenges stakeholders cause institutions, healthcare; Arab Spring enabler. Asylum combat poverty cooperation, implementation research proper resources human experience sustainable future educate partnership The Elders. | |
</p> |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
. /etc/apache2/envvars | |
# If not running interactively, don't do anything else | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines or lines starting with space in the history. |
NewerOlder