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 { dirname, join } from "https://deno.land/std@0.182.0/path/mod.ts"; | |
import { | |
BlobWriter, | |
Entry, | |
ZipReader, | |
} from "https://deno.land/x/zipjs@v2.7.6/index.js"; | |
interface Option { | |
destination: string; | |
} |
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
api.unmap("H"); | |
api.unmap("L"); | |
api.unmap("O"); | |
api.unmap("o"); | |
api.unmap("Y"); | |
api.unmap("M"); | |
api.unmap("m"); | |
api.unmap("B"); | |
api.unmap("b"); |
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 random | |
from collections.abc import Iterator | |
from dataclasses import dataclass | |
from queue import Queue | |
@dataclass | |
class Hoge: | |
parsed: str | |
current: str |
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
require "benchmark" | |
Benchmark.bm do |x| | |
count = 1000 | |
data = [1, 2] | |
x.report("case1") do | |
count.times do | |
_ = "#{data[0]} #{data[1]}" |
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
require "benchmark" | |
Benchmark.bm do |x| | |
count = 10000 | |
mappings = { "a" => [1, 1], "t" => [-1, 1], "g" => [-1, -1], "c" => [1, -1] } | |
x.report("hash.values.sample.size") do | |
_ = mappings.values.sample.size | |
end | |
x.report("hash.values[0].length ") do |
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
let g:dein_dir = expand('~/.vim/dein') | |
let s:dein_repo_dir = g:dein_dir . '/repos/github.com/Shougo/dein.vim' | |
if &runtimepath !~# '/dein.vim' | |
if !isdirectory(s:dein_repo_dir) | |
execute '!git clone https://github.com/Shougo/dein.vim' s:dein_repo_dir | |
endif | |
execute 'set runtimepath^=' . s:dein_repo_dir | |
endif |
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
*://techacademy.jp/* | |
*://www.sejuku.net/* |