This file contains hidden or 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
#! /bin/zsh | |
## An automated Drupal backup script using Drush and ZSH globbing. | |
## Ideally place this script in usr/local/bin | |
## Set this to run via a cronjob. | |
## Easy crontab setup: http://crontab-generator.org | |
## Inspiration from: by https://www.drupal.org/node/470114 |
This file contains hidden or 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'), | |
sass = require('gulp-ruby-sass'), | |
spritesmith = require('gulp.spritesmith'), | |
compass = require('gulp-compass'), | |
path = require('path'), | |
minifyCss = require('gulp-minify-css'), | |
browserSync = require('browser-sync'), | |
tinypng = require('gulp-tinypng'), | |
autoprefixer = require('gulp-autoprefixer'), | |
plumber = require('gulp-plumber'); |
This file contains hidden or 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
<script type="text/javascript"> | |
function loadGalleryDeepLink() | |
{ | |
var prefix = "#gallery-"; | |
var h = location.hash; | |
if (document.g_magnific_hash_loaded === undefined && h.indexOf(prefix) === 0) |
This file contains hidden or 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="foo"> | |
<p>Lorum Ipsum</p> | |
</div> |
This file contains hidden or 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
module.exports = function (grunt) { | |
grunt.loadNpmTasks('grunt-cssbeautifier'); | |
grunt.loadNpmTasks('grunt-strip-css-comments'); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON("package.json"), | |
// Define paths. | |
paths: { | |
sass: 'source/sass', | |
devCSS: 'css', |
This file contains hidden or 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 timer = require("grunt-timer"); | |
module.exports = function (grunt) { | |
timer.init(grunt); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
watch: { | |
sass: { | |
files: ['sass/**/*.{scss,sass}', 'sass/_base/**/*.{scss,sass}'], | |
tasks: ['sass:render'] | |
}, //sass |
This file contains hidden or 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
// ---- | |
// libsass (v3.0.2) | |
// ---- | |
// Sass | |
// Colors | |
$sea_green: #16a085; | |
$pomegranate: #c0392b; | |
$orange: #e04604; |
This file contains hidden or 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
// based on https://github.com/nicolashery/nicolashery.com | |
module.exports = function(grunt) { | |
// Load all NPM grunt tasks | |
require('matchdep').filterAll('grunt-*').forEach(grunt.loadNpmTasks); | |
// Project configuration | |
grunt.initConfig({ | |
meta: { | |
scripts: [ |
This file contains hidden or 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="l-main-wrap" role="main"> | |
<h1>Theme Color Palettes</h1> | |
<article> | |
<p>A demo of the Sass @each directive loop for theme color palettes using Susy grids.</p> | |
<ul class="theme-colors"> | |
<li class="cp-turquoise"><span>Turquoise</span></li> | |
<li class="cp-purple"><span>Purple</span></li> |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$white: #fff; | |
$medium_gray: #999; | |
$sea_green: #16a085; | |
$pomegranate: #c0392b; | |
$orange: #e04604; |