Below are elements that are expected to be in a Photoshop pattern library file.
- Headers (h1 - h5)
- Paragraphs
- Lead Copy
- Unordered List
'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)); |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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 }; |
import Foo from './Foo'; | |
import React, { Component } from 'react'; | |
export default class App extends Component { | |
render() { | |
return ( | |
<Foo autostart={true} file="http://example.com" /> | |
); | |
} | |
} |
# Your snippets | |
# | |
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
# expand the prefix into a larger code block with templated values. | |
# | |
# You can create a new snippet in this file by typing "snip" and then hitting | |
# tab. | |
# | |
# An example CoffeeScript snippet to expand log to console.log: | |
# |
ERROR in ./~/modernizr/lib/build.js | |
Module not found: Error: Cannot resolve module 'generate' in /Users/username/Sites/web/gn-join/node_modules/modernizr/lib | |
@ ./~/modernizr/lib/build.js 151:2-72 | |
ERROR in ./~/modernizr/lib/build.js | |
Module not found: Error: Cannot resolve module 'lib/generate-banner' in /Users/username/Sites/web/gn-join/node_modules/modernizr/lib | |
@ ./~/modernizr/lib/build.js 151:2-72 | |
ERROR in ./~/modernizr/lib/build.js | |
Module not found: Error: Cannot resolve module 'package' in /Users/username/Sites/web/gn-join/node_modules/modernizr/lib |
# colorize | |
export CLICOLOR=1 | |
#export LSCOLORS=exfxCxDxbxegedabagacad | |
DIR=ex | |
SYM_LINK=fx | |
SOCKET=Cx | |
PIPE=Dx | |
EXE=cx | |
BLOCK_SP=eg |
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'); |
jQuery.fn.spin = (opts) -> | |
if opts != false | |
opts = | |
className: 'js-spinner' | |
lines: 13 | |
length: 5 | |
width: 3 | |
radius: 7 | |
speed: 1.2 | |
trail: 50 |