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
function forwardPlayers(doc = document) { | |
doc.querySelectorAll(".vjs-v8").forEach(player => { | |
if (player.player.currentTime() < player.player.duration() - 1) { | |
player.player.currentTime(player.player.duration() - 0.1); | |
logs.push(["forwarded: ", player]); | |
} | |
}); | |
} | |
function clickNext(doc = document) { |
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
{ | |
"playerOptions": { | |
"private_cdn": true, | |
"secure_distribution": "content.toastmasters.org" | |
}, | |
"sourceOptions": { | |
"sourceTypes": ["hls"] | |
} | |
} |
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
$text-color: #0c163b; | |
@function HEX2RGB($hex) { | |
@return #{red($hex)},#{green($hex)},#{blue($hex)}; | |
} | |
.a { | |
color: HEX2RGB($text-color); | |
} |
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
{ | |
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36", | |
"environment": { | |
"networkUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4420.0 Safari/537.36 Chrome-Lighthouse", | |
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36", | |
"benchmarkIndex": 1585.5, | |
"credits": { | |
"axe-core": "4.2.3" | |
} | |
}, |
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
import React, { Component } from 'react'; | |
require('ol3-google-maps'); | |
require('openlayers/css/ol.css'); | |
require('./Map.scss'); | |
export default class Map extends Component { | |
componentDidMount() { |
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
Settings |
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
// ---------------------------------------------- | |
// Image Replacement | |
// ---------------------------------------------- | |
@mixin ir($img, $width: image-width($img), $height: image-height($img), $x: 50%, $y: 50%) { | |
background: { | |
image: image-url($img); | |
repeat: no-repeat; | |
position: $x $y; | |
}; |
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
<?php | |
function dpm_list($group) { | |
dpm(array_keys((array) $group)); | |
} |
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
// ---------------------------------------------- | |
// Layout | |
// ---------------------------------------------- | |
// Settings | |
$container: 960px !default; | |
$flow: left !default; | |
$opos: if($flow == left, right, left); |
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
///////////////////////////////////////////////// | |
//// Salsa style layout mixin. Simplified. //// | |
///////////////////////////////////////////////// | |
// See usage examples below. | |
$flow: left !default; | |
$opos: if($flow == left, right, left); | |
// Compass is needed only for the box-sizing() mixin. |
NewerOlder