Skip to content

Instantly share code, notes, and snippets.

{"name":"CraterGo","icon":"lightbulb","settings":"{\"settings\":\"{\\n\\t\\\"git.autofetch\\\": true,\\n\\t\\\"editor.formatOnSave\\\": true,\\n\\t\\\"gopls\\\": {\\n\\t\\t\\\"ui.semanticTokens\\\": true,\\n\\t\\t\\\"ui.noSemanticString\\\": true, // delegates string syntax highlighting to vscode\\n\\t\\t\\\"ui.noSemanticNumber\\\": true, // delegates number syntax highlighting to vscode\\n\\t},\\n\\t\\\"go.toolsManagement.autoUpdate\\\": true,\\n\\t\\\"go.lintTool\\\": \\\"golangci-lint\\\",\\n\\t\\\"go.lintFlags\\\": [\\n\\t\\t\\\"--fast\\\"\\n\\t],\\n\\t\\\"vs-kubernetes\\\": {\\n\\t\\t\\\"vs-kubernetes.crd-code-completion\\\": \\\"enabled\\\",\\n\\t\\t\\\"vscode-kubernetes.minikube-path-linux\\\": \\\"/home/l1l/.local/state/vs-kubernetes/tools/minikube/linux-amd64/minikube\\\"\\n\\t},\\n\\t\\\"redhat.telemetry.enabled\\\": false,\\n\\t\\\"terminal.integrated.defaultProfile.linux\\\": \\\"zsh\\\",\\n\\t\\\"github.copilot.chat.localeOverride\\\": \\\"zh-CN\\\",\\n}\"}","extensions":"[{\"identifier\":{\"id\"
@MondayCha
MondayCha / biaori-to-anki.js
Created November 10, 2022 08:20 — forked from breezewish/biaori-to-anki.js
将《新标准日语》的音频和单词导入到 Anki https://zhuanlan.zhihu.com/p/58139619
const assert = require("assert").strict;
const child_process = require("child_process");
const path = require("path");
const crypto = require("crypto");
const glob = require("glob");
const fs = require("fs-extra");
const _ = require("lodash");
const sort = require("alphanum-sort");
const Kuroshiro = require("kuroshiro");
const KuromojiAnalyzer = require("kuroshiro-analyzer-kuromoji");