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
// https://drand.love/blog/2023/02/22/how-to-use-drand/ | |
// https://research.kudelskisecurity.com/2020/07/28/the-definitive-guide-to-modulo-bias-and-how-to-avoid-it | |
// https://go.dev/src/crypto/rand/util.go | |
// https://go.dev/src/crypto/rand/util.go | |
//follows rejection sampling | |
function getPublicRandom(max, randomHexString){ | |
if(max<=0) | |
throw "max cannot be <=0" |
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
const { chromium } = require('playwright'); | |
const fs = require('node:fs/promises'); | |
(async () => { | |
const browser = await chromium.launch(); | |
const context = await browser.newContext(); | |
const page = await context.newPage(); | |
await page.goto('https://playwright.dev/'); | |
const session = await context.newCDPSession(page) | |
const {data:mhtmlData} = await session.send('Page.captureSnapshot') | |
await fs.writeFile('./mynewmhtml.mhtml', mhtmlData) |
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
TLD | Registration Fees | Renewal Fees | |
---|---|---|---|
example.org.uk | 4.94 | 4.94 | |
example.uk | 4.94 | 4.94 | |
example.me.uk | 4.94 | 4.94 | |
example.co.uk | 4.94 | 4.94 | |
example.date | 4.16 | 5.16 | |
example.trade | 4.16 | 5.16 | |
example.party | 4.16 | 5.16 | |
example.bid | 4.16 | 5.16 | |
example.stream | 4.16 | 5.16 |
OlderNewer