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
| SELECT distinct i,asn1(i),cc1i(i) FROM tab2 ORDER BY rid DESC LIMIT 4000; | |
| WITH RECURSIVE netmask_matrix AS ( | |
| -- Using native 64-bit integer values keeps the memory pipeline stable | |
| SELECT 24 AS netmask, 4294967040 AS bitmask -- This is 0xFFFFFF00 as an integer | |
| UNION ALL | |
| SELECT | |
| netmask - 1, |
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
| import fs from 'node:fs'; | |
| import path from 'node:path'; | |
| import cp from 'child_process'; | |
| import { Worker, isMainThread, parentPort } from 'node:worker_threads'; | |
| import { performance } from 'node:perf_hooks'; | |
| import os from 'node:os'; | |
| import { fileURLToPath } from 'node:url'; | |
| const __filename = fileURLToPath(import.meta.url); | |
| const numWorkers = Math.min(16,os.cpus().length); |
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
| import fs from 'node:fs'; | |
| import path from 'node:path'; | |
| import cp from 'child_process'; | |
| import { Worker, isMainThread, parentPort } from 'node:worker_threads'; | |
| import { performance } from 'node:perf_hooks'; | |
| import os from 'node:os'; | |
| import { fileURLToPath } from 'node:url'; | |
| const __filename = fileURLToPath(import.meta.url); | |
| const numWorkers = Math.min(16,os.cpus().length); |
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 fs = require('fs'); | |
| const buf = Buffer.allocUnsafe(400 * 1024 * 1024); | |
| const regex = /your-pattern-here/g; | |
| let leftover = Buffer.alloc(0); | |
| while (true) { | |
| const bytesRead = fs.readSync(0, buf, 0, buf.length); | |
| if (bytesRead === 0) break; | |
| const current = Buffer.concat([leftover, buf.subarray(0, bytesRead)]); |
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
| <?php | |
| $data = "lazy dog"; | |
| foreach (hash_algos() as $v) { | |
| $r = hash($v, $data, false); | |
| printf("%-12s %3d %s\n", $v, strlen($r), $r); | |
| } | |
| /* |
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
| CREATE OR REPLACE FUNCTION inet_aton(ip) AS ( | |
| cast( | |
| split_part(ip, '.', 1)::UINTEGER * 16777216 + | |
| split_part(ip, '.', 2)::UTINYINT * 65536 + | |
| split_part(ip, '.', 3)::UTINYINT * 256 + | |
| split_part(ip, '.', 4)::UTINYINT as UINTEGER) | |
| ); | |
| -- select inet_aton('255.255.255.252'); |
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
| function getY(max, height, diff, value) { | |
| return parseFloat((height - (value * height / max) + diff).toFixed(2)); | |
| } | |
| function removeChildren(svg) { | |
| [...svg.querySelectorAll("*")].forEach(element => svg.removeChild(element)); | |
| } | |
| function defaultFetch(entry) { | |
| return entry.value; |
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
| <?php | |
| class File_Streamer | |
| { | |
| private $_fileName; | |
| private $_contentLength; | |
| private $_destination; | |
| public function __construct() | |
| { | |
| if (!isset($_SERVER['HTTP_X_FILE_NAME']) |
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://help.duckduckgo.com/duckduckgo-help-pages/results/duckduckbot/ | |
| 20.191.45.212 | |
| 23.21.227.69 | |
| 40.88.21.235 | |
| 50.16.241.113 | |
| 50.16.241.114 | |
| 50.16.241.117 | |
| 50.16.247.234 | |
| 52.5.190.19 |
NewerOlder