Skip to content

Instantly share code, notes, and snippets.

@NickColley
NickColley / ooo.js
Created November 7, 2022 02:02
Get the ooo domains
import { writeFile } from "node:fs/promises";
import { promisify } from "node:util";
import fetch from "node-fetch";
import logUpdate from "log-update";
import logSymbols from "log-symbols";
import { stringify } from "csv";
const toCSV = promisify(stringify);
let count = 0;
let max = 100;
@NickColley
NickColley / lighthouse-single-chart-flourish-on.json
Created April 19, 2021 12:42
Lighthouse Single Chart Flourish ON
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"benchmarkIndex": 1916,
"credits": {
"axe-core": "4.1.1"
}
},
@NickColley
NickColley / lighthouse-single-chart-flourish-off.json
Created April 19, 2021 12:41
Lighthouse Single Chart Flourish OFF
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"benchmarkIndex": 1598,
"credits": {
"axe-core": "4.1.1"
}
},
@NickColley
NickColley / lighthouse-charticle-flourish-on.json
Created April 19, 2021 12:39
Lighthouse Charticle Flourish ON
This file has been truncated, but you can view the full file.
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"benchmarkIndex": 1603.5,
"credits": {
"axe-core": "4.1.1"
}
},
@NickColley
NickColley / lighthouse-charticle-flourish-off.json
Created April 19, 2021 12:38
Lighthouse Report Charticle Flourish OFF
This file has been truncated, but you can view the full file.
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
"benchmarkIndex": 1924,
"credits": {
"axe-core": "4.1.1"
}
},
@NickColley
NickColley / aoc-on-billionaires.txt
Created November 25, 2020 20:22
AOC on Billionaires
Question from Instagram user: I respectfully disagree with you about billionaires. Because, I think you could be a billionaire.
AOC answering: The question of billionaires is less about being a "good" or "bad" individual and more about the immorality of a system and economy that not only allows abuse of everyday people, but financially rewards the powerful who profit off not paying workers a living wage, keeping medicine expensive, profiting off incarceration and war, building unethical and unsustainable food systems, or otherwise hoarding unthinkable levels of wealth for the very few by denying basic dignities of life for the many (aka a living wage, healthcare, peace, worker protections, not burning our planet to death for fossil fuel interests, etc)
If I had a billion dollars (which people need to understand is just not even on the same PLANET as having millions of dollars) while people are dying because they can't afford insulin it's important people understand that those two things are connected. It me
@NickColley
NickColley / index.html
Last active August 11, 2020 10:50
Voluntary Product Accessibility Template (VPAT) - HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>VPAT Template</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html {
max-width: 960px;
@NickColley
NickColley / vpat-template.html
Created August 11, 2020 09:44
VPAT Template HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>VPAT Template</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>[Company] Accessibility Conformance Report WCAG Edition (Based on VPAT® Version 2.4)</h1>
@NickColley
NickColley / VPAT-template.md
Created August 6, 2020 10:58
VPAT Template

[Company] Accessibility Conformance Report WCAG Edition (Based on VPAT® Version 2.4)

Name of Product/Version:

Report Date:

Product Description:

Contact Information:

Notes:

Evaluation Methods Used:

Applicable Standards / Guidelines

@NickColley
NickColley / hello-world.js
Last active May 14, 2020 10:27
hello-world.js
export default console.log("Hello, World.");