Skip to content

Instantly share code, notes, and snippets.

View dim2k2006's full-sized avatar

Dmitry Malofeev dim2k2006

  • Ombori
  • Stockholm, Sweden
View GitHub Profile
const api = require('./src/api');
const routes = require('./src/routes');
const exportPathMap = async () => {
const categories = await api.getCategories();
const tags = categories
.map((category) => ({
...category,
tags: category.tags.map((tag) => ({ ...tag, categorySlug: category.link })),
}))
const exportPathMap = require('./exportPathMap');
module.exports = {
exportPathMap,
exportTrailingSlash: true,
};
Downloading 649 deployment files...
Installing build runtime...
Build runtime installed: 551.377ms
Looking up build cache...
Build cache not found
Installing dependencies...
> core-js@2.6.11 postinstall /zeit/2dabd6d/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
@media screen and (max-width: 540px) {
.et_pb_section .et_pb_row,
.et_pb_section.et_section_specialty .et_pb_row {
width: 90%;
}
}
@media screen and (max-width: 440px) {
.et_pb_section .et_pb_row,
.et_pb_section.et_section_specialty .et_pb_row {
@dim2k2006
dim2k2006 / commit-msg
Created June 13, 2017 18:46 — forked from wesbos/commit-msg
ESLint 3.0 Git Pre Commit Hook
#!/bin/bash
files=$(git diff --cached --name-only | grep '\.jsx\?$')
# Prevent ESLint help message if no files matched
if [[ $files = "" ]] ; then
exit 0
fi
failed=0
for file in ${files}; do
import gulp from 'gulp';
import gulpif from 'gulp-if';
import plumber from 'gulp-plumber';
import inheritance from 'gulp-sass-inheritance';
import filter from 'gulp-filter';
import sass from 'gulp-sass';
import sassGlob from 'gulp-sass-glob';
import postcss from 'gulp-postcss';
import autoprefixer from 'autoprefixer';
import cmq from 'gulp-combine-mq';
@dim2k2006
dim2k2006 / gist:305bec51cf56f1731b3e
Created August 17, 2015 12:01
Scan network in osx
ifconfig | grep broadcast | arp -a
display: block;
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: 0;
margin: auto;