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
"editor.unicodeHighlight.allowedCharacters": { | |
"б": true, | |
"о": true, | |
"е": true, | |
"Ѕ": true, | |
"І": true, | |
"Ј": true, | |
"А": true, | |
"В": true, | |
"Е": 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
{ | |
"title": "Change caps_lock key to control-option-7", | |
"rules": [ | |
{ | |
"description": "Change caps_lock key to control-option-7", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock" |
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
dark-pastel | |
paul-millr | |
pro | |
argonaut | |
dracula | |
vibrant-ink |
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
docker system prune -fa && docker volume prune -f && docker system df |
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
yarn add @feathersjs/express @feathersjs/feathers @feathersjs/socketio |
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 gulp = require('gulp'); | |
gulp.task('js', async () => { | |
const rollup = require('rollup'); | |
const replace = require('rollup-plugin-replace'); | |
const postcss = require('rollup-plugin-postcss'); | |
const resolve = require('rollup-plugin-node-resolve'); | |
const babel = require('rollup-plugin-babel'); | |
const { terser } = require('rollup-plugin-terser'); | |
const commonjs = require('rollup-plugin-commonjs'); |
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-sprite -s --symbol-sprite='sprite.svg' --symbol-dest=public/assets --shape-id-generator='icon-%s' source/icons/*.svg |
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
self.addEventListener('fetch', function(event) { | |
// Polyfill | |
if (/https:\/\/fonts.googleapis.com\/css/.test(event.request.url)) { | |
return event.respondWith(fontDisplayPolyfill(event.request)); | |
} | |
return event; | |
}); | |
async function fontDisplayPolyfill(request) { |
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 PRODUCTION_MODE = process.argv.indexOf('--minify') !== -1; | |
const gulp = require('gulp'); | |
const _ = require('gulp-load-plugins')(); | |
gulp.task('javascript', () => { | |
const sources = ['./source/js/index.js', 'source/js/sw.js'] | |
gulp.src(sources, { read: false }) | |
.pipe(_.parcel({ |
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 PRODUCTION_MODE = process.argv.indexOf('--minify') !== -1; | |
const gulp = require('gulp'); | |
const _ = require('gulp-load-plugins')(); | |
const fs = require('fs'); | |
gulp.task('javascript', () => { | |
const browserify = require('browserify'); | |
const tasks = ['./source/js/index.js', 'source/js/sw.js'] |
NewerOlder