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
git stash show -p stash@{0} > Stash0.patch |
(function(window, document){ | |
'use strict'; | |
var slice = [].slice; | |
var removeClass = function(elem){ | |
elem.classList.remove('focus-within'); | |
}; | |
var update = (function(){ | |
var running, last; | |
var action = function(){ | |
var element = document.activeElement; |
Reference(s):
http://www.sourcegear.com/diffmerge/downloads.php - get the installer version, NOT the dmg version
<!DOCTYPE html> | |
<html> | |
<svg width="80%" height="80%" viewBox="-100 -100 200 200"> | |
<!-- Need this definition to make a drop shadow - based on examples from many articles, including svg spec --> | |
<defs> | |
<filter id="drop-shadow" x="-100%" y="-100%" width="300%" height="300%"> | |
<feGaussianBlur in="SourceAlpha" stdDeviation="2"/> | |
<feOffset dx="5" dy="5" result="offsetblur"/> | |
<feFlood flood-color="#000000"/> |
import React, { useState, useContext, useRef } from 'react' | |
import { DatePicker } from 'material-ui-pickers' | |
import { MuiPickersContext } from 'material-ui-pickers' | |
export default function DateMultiPicker({ | |
value, | |
onChange, | |
labelFunc, | |
format, | |
emptyLabel, |
You can use this diagram as a template to create your own git branching diagrams. Here's how:
https://gist.githubusercontent.com/bryanbraun/8c93e154a93a08794291df1fcdce6918/raw/bf563eb36c3623bb9e7e1faae349c5da802f9fed/template-data.xml