Skip to content

Instantly share code, notes, and snippets.

View rickmed's full-sized avatar

Ricardo Medina rickmed

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chrome Speech-to-Text Quality Test</title>
<!-- Mobile debugging console -->
<script src="https://cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
<style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chrome Speech-to-Text Quality Test</title>
<!-- Mobile debugging console -->
<script src="https://cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
<style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chrome Speech-to-Text Quality Test</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
max-width: 800px;
@rickmed
rickmed / colors.js
Created March 14, 2023 22:35
javascript ansi colors with Proxy in Object.Prototype
// https://man7.org/linux/man-pages/man4/console_codes.4.html
const supportedStyleCodes = new Map([
["black", [30, 39]],
["red", [31, 39]],
["green", [32, 39]],
["yellow", [33, 39]],
["blue", [34, 39]],
["magenta", [35, 39]],
["cyan", [36, 39]],
["white", [37, 39]],