DNS | 1 | 2 | 3 | 4 | 5 | Avg |
---|---|---|---|---|---|---|
Cloudflare DNS | 13 | 33 | 7 | 19 | 22 | 18.000 |
Google Public DNS | 15 | 40 | 17 | 14 | 36 | 22.667 |
NextDNS(Filter) | 80 | 88 | 89 | 89 | 79 | 85.667 |
NextDNS(No-Filter) | 105 | 73 | 77 | 87 | 69 | 79.000 |
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 * as kuromoji from "kuromoji"; | |
const builder = kuromoji.builder({ | |
dicPath: "node_modules/kuromoji/dict" | |
}); | |
builder.build((err, tokenizer) => { | |
if (err) { | |
throw err; | |
} |
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
#!/bin/bash | |
yum update -y | |
yum upgrade -y | |
timedatectl set-timezone Asia/Tokyo | |
localectl set-locale LANG=ja_JP.UTF-8 | |
localectl set-keymap jp106 | |
localectl set-keymap jp-OADG109A |
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 { createWorker } = require("tesseract.js"); | |
const worker = createWorker(); | |
(async () => { | |
await worker.load(); | |
await worker.loadLanguage("jpn"); | |
await worker.initialize("jpn"); | |
const { | |
data: { text } |
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
version: '2' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- ./.data/db:/var/lib/mysql | |
ports: | |
- 3306:3306 | |
restart: always | |
environment: |
DNS | 1 | 2 | 3 | 4 | 5 | Avg |
---|---|---|---|---|---|---|
Cloudflare DNS | 2 | 2 | 2 | 2 | 3 | 2.000 |
Google Public DNS | 2 | 2 | 2 | 2 | 2 | 2.000 |
NextDNS(Filter) | 69 | 71 | 71 | 69 | 69 | 69.667 |
NextDNS(No-Filter) | 69 | 69 | 71 | 69 | 69 | 69.000 |
DNS | 1 | 2 | 3 | 4 | 5 | Avg |
---|---|---|---|---|---|---|
Cloudflare DNS | 3 | 3 | 2 | 2 | 2 | 2.333 |
Google Public DNS | 5 | 2 | 2 | 2 | 2 | 2.000 |
NextDNS(Filter) | 15 | 13 | 13 | 13 | 13 | 13.000 |
NextDNS(No-Filter) | 14 | 14 | 11 | 13 | 12 | 13.000 |
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
function* createFibonacciGenerator() { | |
let a = 0n; | |
let b = 1n; | |
while (true) { | |
yield a; | |
[a, b] = [b, a + b]; | |
} | |
} | |
const fg = createFibonacciGenerator(); |
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
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Chatwork API", | |
"version": "v2" | |
}, | |
"servers": [ | |
{ | |
"url": "https://api.chatwork.com/{version}", | |
"variables": { |
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
openapi: 3.0.0 | |
info: | |
title: Chatwork API | |
version: v2 | |
servers: | |
- url: 'https://api.chatwork.com/{version}' | |
variables: | |
version: | |
default: version | |
paths: |
OlderNewer