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
#!/bin/bash | |
function csview { | |
local file="$1" | |
cat "$file" | sed -e 's/,,/, ,/g' | column -s ";" -t | less -#5 -N -S | |
} |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
javascript:(function(){ try { let cls = 0; const canvas = document.createElement('canvas'); canvas.style.width = '100%'; canvas.style.height = '100%'; canvas.width = window.innerWidth; canvas.height = window.innerHeight; canvas.style.position = 'absolute'; canvas.style.left = 0; canvas.style.top = 0; canvas.style.zIndex = 100000; canvas.style.pointerEvents = 'none'; document.body.appendChild(canvas); const context = canvas.getContext('2d'); const po = new PerformanceObserver((list) => { canvas.style.transition = 'opacity 0s'; canvas.style.opacity = 1; context.clearRect(0, 0, canvas.width, canvas.height); for (const entry of list.getEntries()) { if (!entry.hadRecentInput && entry.value >= 0.0025) { cls += entry.value; let consoleGroup = `%cTotal CLS value: ${cls}`; let styles = ''; if (cls >= 0.1) { styles = 'color: red;'; } console.group(consoleGroup, styles); consol |
OlderNewer