This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>arr.forEach vs for</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
This file contains hidden or 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
#!/usr/bin/env bash | |
sudo systemctl disable apparmor | |
sudo systemctl disable hassio-apparmor.service | |
sudo systemctl disable hassio-supervisor.service | |
sudo systemctl daemon-reload | |
sudo systemctl reset-failed | |
sudo rm /etc/systemd/system/hassio-supervisor.service | |
sudo rm /etc/systemd/system/hassio-apparmor.service |
This file contains hidden or 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
{ | |
"bidders": [ | |
{ | |
"code": "leader_plus_top", | |
"sizes": [[728,90],[970,66],[970,250],[970,90]], | |
"bids": { | |
"apac": [], | |
"ca": [], | |
"emea": [], | |
"us": [ |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
console.table(pbjs._bidsReceived.map(function(b){ return { bidder: b.bidder,unit: b.adUnitCode, duration:b.timeToRespond, bid: b.cpm, size: [b.width,b.height].join("x")}})); |