A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| import { json, urlencoded } from "body-parser"; | |
| import * as compression from "compression"; | |
| import * as express from "express"; | |
| import * as path from "path"; | |
| import { publicRouter } from "./routes/public"; | |
| import { landingPage} from "./routes/index"; | |
| import { aboutRouter } from "./routes/about" ; | |
| const app: express.Application = express(); |
| # Editor configuration, see http://editorconfig.org | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 2 | |
| end_of_line = lf | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
| # See http://help.github.com/ignore-files/ for more about ignoring files. | |
| # compiled output | |
| /dist | |
| /tmp | |
| /build | |
| # dependencies | |
| /node_modules | |
| /bower_components |
| { | |
| "rulesDirectory": [ | |
| "node_modules/codelyzer" | |
| ], | |
| "rules": { | |
| "callable-types": true, | |
| "class-name": true, | |
| "comment-format": [ | |
| true, | |
| "check-space" |
| { | |
| "compileOnSave": false, | |
| "compilerOptions": { | |
| "outDir": "./dist/out-tsc", | |
| "sourceMap": true, | |
| "declaration": false, | |
| "moduleResolution": "node", | |
| "emitDecoratorMetadata": true, | |
| "experimentalDecorators": true, | |
| "lib": [ |
| { | |
| "verbose": false, | |
| "ignore": [ | |
| ".git", | |
| "node_modules/**/node_modules" | |
| ], | |
| "execMap": { | |
| "js": "node" | |
| }, | |
| "watch": [ |
| { | |
| "name": "angular2-express-starter", | |
| "version": "1.0.0", | |
| "description": "Starter application of Angular2 with Express", | |
| "main": "server/app.js", | |
| "license": "MIT", | |
| "scripts": { | |
| "start": " tsc -p ./server && concurrently \"tsc -w -p ./server\" \"nodemon dist/server/bin/www.js\" " | |
| }, |
| Clear-Host | |
| Write-Host "0 -> Change setting in Windows Update app (default)" | |
| Write-Host "1 -> Never check for updates (not recommended)" | |
| Write-Host "2 -> Notify for download and notify for install" | |
| Write-Host "3 -> Auto download and notify for install" | |
| Write-Host "4 -> Auto download and schedule the install" | |
| Write-Host "Enter any character to exit" | |
| Write-Host |
| worker_processes 4; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| default_type application/octet-stream; | |
| log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
| '$status $body_bytes_sent "$http_referer" ' |