Below are elements that are expected to be in a Photoshop pattern library file.
- Headers (h1 - h5)
- Paragraphs
- Lead Copy
- Unordered List
jQuery.fn.spin = (opts) -> | |
if opts != false | |
opts = | |
className: 'js-spinner' | |
lines: 13 | |
length: 5 | |
width: 3 | |
radius: 7 | |
speed: 1.2 | |
trail: 50 |
UPDATE wp_options SET option_value = replace(option_value, '${1:OLD_SITE_URL}', '${2:NEW_SITE_URL}') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, '$1','$2'); | |
UPDATE wp_posts SET post_content = replace(post_content, '$1', '$2'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value, '$1', '$2'); |
# colorize | |
export CLICOLOR=1 | |
#export LSCOLORS=exfxCxDxbxegedabagacad | |
DIR=ex | |
SYM_LINK=fx | |
SOCKET=Cx | |
PIPE=Dx | |
EXE=cx | |
BLOCK_SP=eg |
// Position icon background image | |
@mixin icon($index, $y: 0, $width: 80px) { | |
background-position: #{($index * -$width)} $y; | |
} |
// WebKit | |
window.matchMedia('(min-width: ' + document.width + 'px)').matches // true | |
// Every other browser engine | |
window.matchMedia('(min-width: ' + document.width + 'px)').matches // false | |
// Somewhat outdated explanation | |
// http://www.sitepoint.com/rwd-scrollbars-is-chrome-better/ |
var gulp = require('gulp'), | |
q = require('q'), | |
path = require('path'), | |
fs = require('fs'), | |
Grunticon = require('grunticon-lib'); | |
gulp.task('icons', function () { | |
var deferred = q.defer(), | |
iconDir = 'app/images/icons/', | |
options = { enhanceSVG: true }; |
[Error] Blocked a frame with origin "https://cdn3.doubleverify.com" from accessing a frame with origin "http://www.espnfc.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match. | |
execMultipleAds (t2tv7.html, line 21) | |
exec (t2tv7.html, line 23) | |
loadTag2Tag (t2tv7.html, line 25) | |
global code (t2tv7.html, line 26) | |
[Error] Blocked a frame with origin "https://cdn3.doubleverify.com" from accessing a frame with origin "http://tpc.googlesyndication.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match. | |
execMultipleAds (t2tv7.html, line 21) | |
exec (t2tv7.html, line 23) |
var gulp = require('gulp'), | |
$ = require('gulp-load-plugins')(), | |
browserSync = require('browser-sync'), | |
runSequence = require('run-sequence'), | |
del = require('del'); | |
var paths = { | |
app: 'app', | |
html: 'app/**/*.html', | |
styles: 'app/styles/**/*.scss', |
'use strict'; | |
import gulp from 'gulp'; | |
import config from '../config'; | |
import browserSync from 'browser-sync'; | |
gulp.task('default', gulp.parallel('html', 'scripts', 'styles', 'server', () => { | |
gulp.watch(config.paths.html.all, gulp.parallel('html', gulp.series('html', browserSync.reload))); | |
gulp.watch(config.paths.scripts.all, gulp.parallel('scripts', browserSync.reload)); | |
gulp.watch(config.paths.styles.all, gulp.parallel('styles', browserSync.reload)); |