(it turns out the meaning of life is not 42, i's 5381 and 33!)
"cyrb53" (actually 64 bits (2x 32 bits in parallel), but limited to Javascript 53-bit integers)
Uses Math.imul().
| const { app, BrowserWindow } = require("electron"); | |
| const testURL = async (headersPassthrough, url, done) => { | |
| console.log("-----------------------------------"); | |
| console.log(url); | |
| console.log("-----------------------------------"); | |
| const browserWindow = new BrowserWindow(); | |
| // https://www.electronjs.org/docs/api/web-request#webrequestonbeforesendheadersfilter-listener |
(it turns out the meaning of life is not 42, i's 5381 and 33!)
"cyrb53" (actually 64 bits (2x 32 bits in parallel), but limited to Javascript 53-bit integers)
Uses Math.imul().
| module.exports = { | |
| settings: { | |
| // optionally, if TypeScript project: | |
| // 'import/parsers': { | |
| // '@typescript-eslint/parser': ['.ts', '.tsx'], | |
| // }, | |
| 'import/resolver': { | |
| // optionally, if TypeScript project: | |
| // https://github.com/alexgorbatchev/eslint-import-resolver-typescript | |
| // typescript: { |