Getting started:
Related tutorials:
| const bigObj = { | |
| title: "BLabla", | |
| text: "sda nasd asld asdjas dsa dlajsd sdjdalsdj dasjd asdkj", | |
| bu: "kjjk", | |
| bla: 32, | |
| image: "https://www.blup.com/blabla.png", | |
| }; | |
| let arr = []; |
| const log = (msg) => | |
| console.log( | |
| `%c*SearchScript*: ${msg}`, | |
| "color:white;background-color:#20A6E8;padding:3px" | |
| ); | |
| const URIregx = /^((?:https?:\/\/)?(?:[\w-]+\.)+(\w+)\/?([\w-.?=&+%\@\:]+\/?)*)$/i, | |
| KEYCODE_FOR_NEWTAB = 79, // `o` key | |
| KEYCODE_FOR_SAMETAB = 78; // `n` key |
| [ | |
| // Place your key bindings in this file to overwrite the defaults | |
| /* From the website: | |
| * To remove a specific key binding, add a - to the command and | |
| * the rule will be a removal rule. | |
| */ | |
| { | |
| "key": "alt+cmd+l", | |
| "command": "editor.action.formatDocument", | |
| "when": "editorTextFocus && !editorReadonly" |
| /* | |
| This is the barebones proof of concept: | |
| */ | |
| const gulp = require('gulp'); | |
| const p = { | |
| dashboard: { | |
| orig: ['public/dashboard/scss/style.scss', 'public/dashboard/styles/*.css'], | |
| dest: 'public/dashboard/css/', |
| const path = require('path'); | |
| const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
| const devMode = process.env.NODE_ENV !== 'production'; | |
| module.exports = { | |
| entry: 'multi-entry-loader!',/* { | |
| app: ['./app.js', './public/styles/custom.scss', './public/styles/*.css'], | |
| dashboard: ['./public/dashboard/scss/style.scss'], | |
| }, */ | |
| output: { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>weakPoint algo testing</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
| -- Human.js ----------------------------------------------------- | |
| const Human = () => ({ | |
| name:'', | |
| health: 100, | |
| energy: 100, | |
| hunger: 0, | |
| age: 30, | |
| changeProp: function(pair) { | |
| this[Object.keys(pair)[0]] = Object.values(pair)[0]; |
Getting started:
Related tutorials:
| var autoprefixer = require('gulp-autoprefixer'); | |
| var browserSync = require('browser-sync'); | |
| var concat = require('gulp-concat'); | |
| var del = require('del'); | |
| var gulp = require('gulp'); | |
| var htmlmin = require('gulp-htmlmin'); | |
| var kit = require('gulp-kit'); | |
| var merge = require('merge-stream'); | |
| var minifycss = require('gulp-minify-css'); | |
| var nano = require('gulp-cssnano'); |