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
-Xms1024m | |
-Xmx1536m | |
-XX:ReservedCodeCacheSize=512m | |
-XX:+UseCompressedOops |
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 fs = require('fs'); | |
var path = require('path'); | |
// used deps | |
var inlineCSS = require('inline-css'); | |
var htmlMinify = require('html-minifier').minify; | |
// working paths | |
var projectFolder = path.resolve(__dirname, '../../'); | |
var workingFolder = path.join(projectFolder, 'build/emails/'); |
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
const fs = require('fs'); | |
const path = require('path'); | |
const buildPath = 'build/public'; | |
const csslint = require('csslint').CSSLint; | |
const buildCSSPath = | |
fs.readdirSync(buildPath) | |
.filter(f => f.indexOf('.css') > -1) |
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
import { BROWSER } from '../constants/browser'; | |
export function isWebPSupported (browser) { | |
// webp is supported in some browsers | |
// return true immediately | |
// todo: augment list, check versions etc | |
if (typeof browser !== 'undefined' && ( | |
browser.browser === BROWSER.OPERA || | |
browser.browser === BROWSER.CHROME |
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
#!/usr/bin/env node | |
"use strict"; | |
var log = require('log-util'); | |
var exec = require('child_process').exec; | |
module.exports = function (cmd) { | |
var command = 'npm run ' + cmd; | |
exec( |
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="body"> | |
<div class="dropdown"> | |
<div class="dropdown__content"> | |
<div class="content"> | |
<div class="content__item"> | |
<input type="checkbox" /> | |
Item 1 | |
</div> |
This is the instant notes of the conference flow
Some details are missing (and so do Caps), others just dropped for the sake of brevity
NewerOlder