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
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |
var five = require("johnny-five") | |
// or "./lib/johnny-five" when running from the source | |
var express = require('express'); | |
var app = express(); | |
var value = 0; | |
// Add headers |
# useful for running ssl server on localhost | |
# which in turn is useful for working with WebSocket Secure (wss) | |
# copied from http://www.piware.de/2011/01/creating-an-https-server-in-python/ |
varying vec2 vUv; | |
uniform sampler2D tDiffuse; | |
uniform sampler2D tColorLUT; | |
uniform vec2 resolution; | |
#pragma glslify: blendOverlay = require(./glsl-blend-overlay) | |
#pragma glslify: displace = require(./glsl-displace) | |
#pragma glslify: srcOver = require(./glsl-src-over) | |
#pragma glslify: colorCorrect = require(glsl-lut/flipY) |
brew
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |