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 gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var del = require('del'); | |
var uglify = require('gulp-uglify'); | |
var gulpif = require('gulp-if'); | |
var exec = require('child_process').exec; | |
var notify = require('gulp-notify'); |
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
{ | |
"scripts": { | |
"start": "npm run tunnels && npm run build && npm run start-server", | |
"stop": "npm run stop-server", | |
"restart": "npm run restart-tunnels && npm run build && npm run restart-server", | |
"start-server": "./path/to/webserver run", | |
"stop-server": "lsof -i:5005 -i:8888 | grep LISTEN | awk '{print $2}' | uniq | xargs kill -9", | |
"restart-server": "npm run stop-server && npm run start-server", | |
"tunnels": "./scripts/setup-ssh-tunnels.sh", | |
"restart-tunnels": "FORCE_RESTART=1 npm run tunnels", |
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="rte-content"> | |
<p>One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment. </p> | |
<br /> | |
<p>His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. "What's happened to me?" he thought. It wasn't a dream. His room, a proper human room although a little too small, lay peacefully between its four familiar walls.</p> | |
</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
<div class="blue thingy"> | |
<div class="col original"> | |
<span class="label">Original</span> | |
</div> | |
<div class="col lighten"> | |
<span class="label">Lighten</span> | |
</div> | |
<div class="col darken"> | |
<span class="label">Darken</span> | |
</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
<div class="blue thingy"> | |
<div class="col lighten"> | |
<span class="label">Lighten</span> | |
</div> | |
<div class="col darken"> | |
<span class="label">Darken</span> | |
</div> | |
<div class="col mix"> | |
<span class="label">Mix</span> | |
</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
/** | |
* Assumes you are using the images loaded plugin by desandro | |
* but you are not using inline <img> elements | |
* but instead are using background images | |
* but you need to use the images loaded functionality | |
* for the background images | |
* https://github.com/desandro/imagesloaded/ | |
*/ | |
// create a variable initialized to an image element (with jquery) |
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
/** | |
* Bullshit | |
**/ | |
[id*="social"], | |
[class*="social"], | |
[id*="addthis"], | |
[class*="addthis"], | |
[id*="share"], | |
[class*="share"], | |
[id*="yodr_net"] { |
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
// _____ _____ _____ _____ _____ | |
// |_ _|_ _/ __ \/ ___/ ___| | |
// | | | | | / \/\ `--.\ `--. | |
// | | | | | | `--. \`--. \ | |
// _| |_ | | | \__/\/\__/ /\__/ / | |
// \___/ \_/ \____/\____/\____/ | |
// file partials, in specificity- and alphabetical-order | |
@import "avant.scss"; // settings, functions, mixins |
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 id="sidebar"> | |
</div> | |
<div class="another-sidebar"> | |
</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
<ul class="comma-sep inline list"> | |
<li class="list-item">Item 1</li> | |
<li class="list-item">Item 2</li> | |
<li class="list-item">Item 3</li> | |
<li class="list-item">Item 4</li> | |
</ul> |