Skip to content

Instantly share code, notes, and snippets.

Evgeny Khoroshilov XOP

Block or report user

Report or block XOP

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@XOP
XOP / webstorm.vmoptions
Created Sep 11, 2018
Webstorm vmoptions
View webstorm.vmoptions
-Xms1024m
-Xmx1536m
-XX:ReservedCodeCacheSize=512m
-XX:+UseCompressedOops
@XOP
XOP / static-post-processing-2016.js
Created Feb 6, 2018
static-post-processing-2016
View static-post-processing-2016.js
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/');
@XOP
XOP / build-css-lint.js
Created Jul 31, 2017
csslint for node analysis
View build-css-lint.js
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)
View webp.js
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
@XOP
XOP / dotjs2016.md
Last active Dec 22, 2016
dotJS 2016 notes
View dotjs2016.md
@XOP
XOP / dotcss2016.md
Last active Dec 22, 2016
dotCSS 2016 notes
View dotcss2016.md
@XOP
XOP / npm-run.js
Created Oct 14, 2016
Node CLI runner
View npm-run.js
#!/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(
View index.html
<div class="body">
<div class="dropdown">
<div class="dropdown__content">
<div class="content">
<div class="content__item">
<input type="checkbox" />
Item 1
</div>
@XOP
XOP / cssconfbp.md
Created May 15, 2016
CSSConf Budapest 11 of May notes
View cssconfbp.md
@XOP
XOP / jsconfbp.md
Last active May 14, 2016
JSConf Budapest 12-13 of May notes
View jsconfbp.md

JSConf Budapest 12-13 May

official site

schedule

Read before Proceed!

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

You can’t perform that action at this time.