CURRENCY | DIGITS | PAYPAL / STRIPE |
---|---|---|
[AED] UAE Dirham | 2 | ✗ / ✓ |
[AFN] Afghani | 2 | ✗ / ✓ |
[ALL] Lek | 2 | ✗ / ✓ |
[AMD] Armenian Dram | 2 | ✗ / ✓ |
[ANG] Netherlands Antillean Guilder | 2 | ✗ / ✓ |
[AOA] Kwanza | 2 | ✗ / ✓ |
[ARS] Argentine Peso | 2 | ✗ / ✓ |
[AUD] Australian Dollar | 2 | ✓ / ✓ |
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
{ | |
"meta": { "theme": "elegant" }, | |
"basics": { | |
"name": "Peter deHaan", | |
"label": "Quality Engineer", | |
"image": "", | |
"email": "[email protected]", | |
"phone": "(250) 951-7536", | |
"url": "https://pdehaan.dev", | |
"summary": "Quality Engineer/Developer with 17+ years industry experience helping organizations ship high quality software used by hundreds of millions of users.\n\nA unique skill set that spans product testing, documentation, developer relations, and customer support, I enjoy a good challenge and seek out collaboration and inspiration across all levels of an organization.", |
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 fs from "node:fs"; | |
import fg from "fast-glob"; | |
import { XMLParser } from "fast-xml-parser"; | |
import { z } from "zod"; | |
const testsuiteSchema = z.object({ | |
testsuite: z.array( | |
z.object({ | |
testcase: z.array( | |
z.object({ |
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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
const HIBP_URL = "https://haveibeenpwned.com/api/v3/breaches"; | |
const breaches = await fetch(HIBP_URL).then(res => res.json()); | |
const count = breaches.length; | |
const stats = breaches.reduce((stats, breach) => { |
DATA CLASS | BREACH COUNT (674) | BREACH PERCENT | TOTAL PWN COUNT |
---|---|---|---|
Email addresses | 668 | 99% | 12,550,581,668 |
Passwords | 528 | 78% | 8,129,073,504 |
Usernames | 356 | 53% | 3,848,673,897 |
Names | 321 | 48% | 6,419,053,031 |
IP addresses | 289 | 43% | 3,127,783,590 |
Phone numbers | 202 | 30% | 4,054,006,665 |
Dates of birth | 179 | 27% | 3,115,021,728 |
Physical addresses | 158 | 23% | 2,489,450,219 |
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
const arr = []; | |
const breaches = await fetchBreaches(); | |
for (const { Name, Title } of breaches) { | |
if (Name !== Title) { | |
arr.push({ Name, Title }); | |
} | |
} | |
console.log(JSON.stringify(arr, null, 2)); |
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 cp from 'node:child_process'; | |
import _groupBy from 'lodash.groupby'; | |
main('packages'); | |
function main(base) { | |
const results = grepESLintDisable(base); | |
const matches = _groupBy(results, 'package'); | |
logger(matches); | |
} |
{ filesWithImport: 1815, filesWithRequire: 813 }
fxa-admin-panel
- packages/fxa-admin-panel/server/lib/server.ts
39: const release = require('../../package.json').version;
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
const $classes = ` | |
Mon Apr 3 7pm-10pm (PDT) | |
Mon Apr 10 7pm-10pm | |
Mon Apr 17 7pm-10pm | |
Mon Apr 24 7pm-10pm | |
$120 USD, 8 (of 8) enrolled | |
`; | |
const classes = $classes.split("\n").filter(Boolean); |
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
const { DateTime } = require("luxon"); | |
const start = parseDateTime("Thu Apr 13", "1pm"); | |
const end = parseDateTime("Mon Dec 19 2022", "4pM"); | |
console.log(`${start} -- ${end}`); | |
function parseDateTime(dateString, timeString) { | |
const CURR_YEAR = new Date().getFullYear(); | |
const DATE_FORMAT = /* ccc */ "LLL d yyyy"; | |
const TIME_FORMAT = "h:mma"; |
NewerOlder