Skip to content

Instantly share code, notes, and snippets.

View wizardnet972's full-sized avatar
:octocat:
Angularing...

Shlomi Levi wizardnet972

:octocat:
Angularing...
View GitHub Profile
6003 silly decomposeActions preinstall [email protected]
6004 silly decomposeActions build [email protected]
6005 silly decomposeActions install [email protected]
6006 silly decomposeActions postinstall [email protected]
6007 silly decomposeActions finalize [email protected]
6008 silly decomposeActions refresh-package-json [email protected]
6009 silly decomposeActions fetch [email protected]
6010 silly decomposeActions extract [email protected]
6011 silly decomposeActions preinstall [email protected]
6012 silly decomposeActions build [email protected]
var users = [{
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "[email protected]",
"address": {
"street": "Kulas Light",
"suite": "Apt. 556",
"city": "Gwenborough",
"zipcode": "92998-3874",
const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin')
const CleanWebpackPlugin = require('clean-webpack-plugin');
const HtmlWebPackPlugin = require("html-webpack-plugin");
const HtmlWebpackInlineSVGPlugin = require('html-webpack-inline-svg-plugin');
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
@wizardnet972
wizardnet972 / README-Template.md
Created March 11, 2018 07:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

class Program
{
public const int codeAccess_admin = 1;
public const int codeAccess_user = 2;
public const int codeAccess_author = 3;
public const string codeAccess_special = "100";
static void Main(string[] args)
{
var accessCodeFromRequest = "100";
@wizardnet972
wizardnet972 / ejs partials
Created March 4, 2018 18:31
handle ejs with partials and webpack
index.ejs:
<!doctype html>
<html lang="en">
<head>
....
</head>
<body>
<%- include partials/header -%>
</body>
const path = require('path');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const HtmlWebPackPlugin = require("html-webpack-plugin");
const HtmlWebpackInlineSVGPlugin = require('html-webpack-inline-svg-plugin');
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const HtmlWebpackCriticalPlugin = require('html-webpack-critical-plugin');
const extractSass = new ExtractTextPlugin({
@wizardnet972
wizardnet972 / delete node_modules in subfolder
Created February 1, 2018 07:12
delete node_modules in subfolder
for /d /r . %d in (node_modules) do @if exist "%d" rd /s/q "%d"
@wizardnet972
wizardnet972 / stop events from propagating
Created January 29, 2018 07:43
top events from propagating:
The fastest way to enable a native scrollbar inside is to stop events from propagating:
const el = document.querySelector('.overflow');
[
'touchmove',
'mousewheel',
'wheel',
].forEach((eventType) => {
el.addEventListener(eventType, (e) => e.stopPropagation());
@wizardnet972
wizardnet972 / console
Created January 22, 2018 15:24
console
copy it to console:
([]+![])[+!+[]+!+[]+!+[]][([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]]+([][([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]]+([]+[][+!+[]])[+!+[]]+([]+![])[+!+[]+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+!![])[+!+[]]+([]+!![])[+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]]+([]+!![])[+!+[]]][([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]]+([]+[][+!+[]])[+!+[]]+([]+![])[+!+[]+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+!![])[+!+[]]+([]+!![])[+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]]+([]+!![])[+!+[]]](([]+!![])[+!+[]]+([]+[][+[]])[+!+[]+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+!![])[+!+[]+!+[]]+([]+!![])[+!+[]]+([]+[][+!+[]])[+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([]+{})[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[])[([]+{})[+!+[]+!+[]+!+[]+!+[