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 gutil = require('gulp-util'); | |
var guglify = require('gulp-uglify'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var babelify = require('babelify'); | |
var colors = { |
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
grep '' -IR . | wc -l |
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
module.exports = function (grunt) { | |
var Config = { | |
_assetsRoot: 'skin/frontend/theme/default/', | |
_inStoreAssetsRoot: 'skin/frontend/instore/default/', | |
errorReplaceOptions: { | |
patterns: [{ | |
match: /\.\.\/fonts\//g, |
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
git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -d |
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
$('.merrits').find('.num') | |
.each(function() { | |
// set each .num back to zero and add a class to look for | |
var $t = $(this); | |
$t.data('number', $t.html()); | |
$t.html('0'); | |
}) | |
.on('in.Inview', function() { | |
$(this).data('interval', window.setInterval($.proxy(function() { | |
var $t = $(this), |
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
vagrant ssh | |
redis-cli flushall | |
telnet localhost 11211 | |
flush_all | |
(okay will display) | |
quit |
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
.rating-box { | |
display: inline-block; | |
line-height: 1.8; | |
margin-right: 5px; | |
vertical-align: top; | |
.loop(@total, @i:1) when (@i =< (@total)) { | |
&.rating-@{i} { | |
.rating { |
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
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// Build out replacements for error files | |
replace: { | |
build: { | |
options: { | |
patterns: [{ | |
match: /\.\.\/fonts\//g, |
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
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
imagemin: { | |
skinpng: { | |
options: { | |
progressive: 6 | |
}, | |
files: [{ |
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
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
clean: { | |
js: [ | |
'js/gorilla/deploy/*.js', | |
'js/gorilla/plugins.js' | |
] | |
}, |
NewerOlder