Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
| WAXP = (function(){ | |
| MutationObserver = window.MutationObserver || window.WebKitMutationObserver; | |
| var SCROLL_INTERVAL = 600, | |
| SCROLL_INCREMENT = 450, | |
| AUTO_SCROLL = true, | |
| NAME_PREFIX = '', | |
| UNKNOWN_CONTACTS_ONLY = false, | |
| MEMBERS_QUEUE = {}, |
| // Copied from | |
| // https://stackoverflow.com/questions/11194287/convert-a-directory-structure-in-the-filesystem-to-json-with-node-js | |
| var fs = require('fs'), | |
| path = require('path') | |
| function dirTree(filename) { | |
| var stats = fs.lstatSync(filename), | |
| info = { | |
| path: filename, |
| // Gulp | |
| import gulp from 'gulp'; | |
| import plumber from 'gulp-plumber'; | |
| import file from 'gulp-file'; | |
| import filter from 'gulp-filter'; | |
| import rename from 'gulp-rename'; | |
| import sourcemaps from 'gulp-sourcemaps'; | |
| import uglify from 'gulp-uglify'; | |
| // Rollup | |
| import { rollup } from 'rollup'; |
| /** | |
| * This code is licensed under the terms of the MIT license | |
| * | |
| * Deep diff between two object, using lodash | |
| * @param {Object} object Object compared | |
| * @param {Object} base Object to compare with | |
| * @return {Object} Return a new object who represent the diff | |
| */ | |
| function difference(object, base) { | |
| function changes(object, base) { |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| <IfModule mod_expires.c> | |
| ExpiresActive on | |
| # Perhaps better to whitelist expires rules? Perhaps. | |
| ExpiresDefault "access plus 1 month" | |
| # Data | |
| ExpiresByType text/xml "access plus 0 seconds" | |
| ExpiresByType application/xml "access plus 0 seconds" | |
| ExpiresByType application/json "access plus 0 seconds" |