This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
const crypto = require('crypto'); | |
module.exports = WebpackStableChunkHash; | |
function WebpackStableChunkHash() {} | |
WebpackStableChunkHash.prototype.apply = function(compiler) { | |
// | |
// For a while, webpack has had issues with [chunkhash] being unstable and not reflecting the actual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import * as React from 'react'; | |
type Dimensions = {width: number, height: number, ref: ?HTMLElement}; | |
type Props = { | |
children?: React.Node, | |
className?: string, | |
onResize: (dimensions: Dimensions) => any, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function ensureCarouselVisible() { | |
const imgWrap = document.elementFromPoint(100, 100); | |
if (!imgWrap.classList.contains('pswp__item')) { | |
// carousel isn't active, make it so | |
document.querySelector('.gallery img').click(); | |
while (!document.elementFromPoint(100, 100).classList.contains('pswp__item')) { | |
await delay(50); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: ZHA - Lutron Aurora Dimmer Expanded v1.5 | |
description: Control lights with a Lutron Aurora Dimmer Pressing in the dimmer button will toggle between turning lights on to full brightness, and turning the lights off. Rotating the dimmer will increase and decrease the light brightness. Adjust the sensitivity if updates from the dimmer are being sent too quickly. | |
domain: automation | |
input: | |
remote: | |
name: Lutron Aurora Dimmer Switch | |
description: Lutron Aurora Z3-1BRL | |
selector: | |
device: |
OlderNewer