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 obj = { | |
a : 'value', | |
b : 'another value' | |
} | |
var objProxy = new Proxy(obj, { | |
set(target, key, value) { | |
console.log({ key, value }) | |
if (key === 'b') { | |
debugger |
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
// 4 spaces to 2 spaces | |
%s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g | |
// Tab to 2 spaces | |
:%s/\t/ /g |
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
/* global process :true, __dirname :true, module :true */ | |
import path from 'path' | |
import webpack from 'webpack' | |
import minimist from 'minimist' | |
import TerserPlugin from 'terser-webpack-plugin' | |
import ManifestPlugin from 'webpack-manifest-plugin' | |
import PnpWebpackPlugin from 'pnp-webpack-plugin' | |
import safePostCssParser from 'postcss-safe-parser' | |
import HtmlWebpackPlugin from 'html-webpack-plugin' |
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
function qs(arr, lf = 0, rt) { | |
function swap(ix1, ix2){ | |
var temp = arr[ix1] | |
arr[ix1] = arr[ix2] | |
arr[ix2] = temp | |
} | |
rt = rt || arr.length - 1; | |
if (rt - lf === 1) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* global process :true, __dirname :true, module :true */ | |
import path from 'path' | |
import webpack from 'webpack' | |
import TerserPlugin from 'terser-webpack-plugin' | |
import ManifestPlugin from 'webpack-manifest-plugin' | |
import PnpWebpackPlugin from 'pnp-webpack-plugin' | |
import safePostCssParser from 'postcss-safe-parser' | |
import HtmlWebpackPlugin from 'html-webpack-plugin' | |
import MiniCssExtractPlugin from 'mini-css-extract-plugin' |
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
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 52 85"><defs><style>.cls-1{fill:url(#Naamloos_verloop_4);}.cls-2{fill:#fff;}.cls-3{fill:#72be89;}</style><linearGradient id="Naamloos_verloop_4" x1="0.1" y1="42.51" x2="52.67" y2="42.51" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#3c529f"/><stop offset="1" stop-color="#201e42"/></linearGradient></defs><title>Logo-smallArtboard 1</title><rect class="cls-1" x="0.1" y="0.1" width="52.57" height="84.82"/><path class="cls-2" d="M13.84,28.55c1.67,0,2.5.88,2.5,2.63V65.13a6.87,6.87,0,0,0,2.38,5.14c1.19,1.25,3.16,1.88,5.89,1.88.08,0,.42,0,1-.13a1,1,0,0,0,.5.13c.09,0,.13,0,.13-.13l.63.13h.25q5.76,0,7.51-3.63a6.28,6.28,0,0,0,1-2.64q-.14-14-.13-21.42V32.31c0-2.25.42-3.38,1.25-3.38,0-.15.42-.27,1.26-.38,1.58.17,2.38.8,2.38,1.88a8.48,8.48,0,0,1,.12,1.51V65.26q0,6.17-5.76,10Q32.35,77,27,77H26a1.36,1.36,0,0,1-.63-.12,3.75,3.75,0,0,1-.87.12q-9.18,0-12.41-8a12.28,12.28,0,0,1-.62-3.76 |
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
let Base = { | |
extends: ['airbnb', 'eslint:recommended', 'plugin:react/recommended'], | |
parser: 'babel-eslint', | |
parserOptions: { | |
ecmaVersion: 8, | |
sourceType: 'module', | |
ecmaFeatures: { | |
jsx: true, | |
experimentalObjectRestSpread: true, | |
impliedStrict: true |
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
let Base = { | |
extends: ['airbnb', 'eslint:recommended', 'plugin:react/recommended'], | |
parser: 'babel-eslint', | |
parserOptions: { | |
ecmaVersion: 8, | |
sourceType: 'module', | |
ecmaFeatures: { | |
jsx: true, | |
experimentalObjectRestSpread: true, | |
impliedStrict: true |
NewerOlder