From 489803c83dd53cf8ab6af737429def394d9f6209 Mon Sep 17 00:00:00 2001 From: another Date: Thu, 29 Feb 2024 00:19:39 +0800 Subject: [PATCH] build: prototype --- .../DownloadList.txt | 0 douyin-tool/settings.json | 319 ++++++++++++++++++ users.1.txt => douyin-tool/users.1.txt | 0 users.txt => douyin-tool/users.txt | 0 ...\344\273\213\346\217\217\350\277\260.html" | 0 ...00\344\273\213\346\217\217\350\277\260.py" | 0 6 files changed, 319 insertions(+) rename DownloadList.txt => douyin-tool/DownloadList.txt (100%) create mode 100644 douyin-tool/settings.json rename users.1.txt => douyin-tool/users.1.txt (100%) rename users.txt => douyin-tool/users.txt (100%) rename "\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.html" => "douyin-tool/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.html" (100%) rename "\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.py" => "douyin-tool/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.py" (100%) diff --git a/DownloadList.txt b/douyin-tool/DownloadList.txt similarity index 100% rename from DownloadList.txt rename to douyin-tool/DownloadList.txt diff --git a/douyin-tool/settings.json b/douyin-tool/settings.json new file mode 100644 index 000000000..ed338ccd8 --- /dev/null +++ b/douyin-tool/settings.json @@ -0,0 +1,319 @@ +{ + /* --------------------------------- editor --------------------------------- */ + "editor.fontSize": 18, + "editor.tabSize": 2, + "editor.tabCompletion": "on", // 在按下 Tab 键时进行 Tab 补全,将插入最佳匹配建议。 + "editor.suggest.showSnippets": true, // 启用后,IntelliSense 将显示“片段”建议。 + "editor.suggestSelection": "recentlyUsedByPrefix", // 每当显示内联建议时,显示内联建议工具栏。 + "editor.suggest.snippetsPreventQuickSuggestions": false, // 控制活动代码段是否阻止快速建议。 + "editor.inlineSuggest.showToolbar": "always", // 每当显示内联建议时,显示内联建议工具栏。 + "editor.bracketPairColorization.independentColorPoolPerBracketType": true, // 控制每个方括号类型是否具有自己的独立颜色池。 + "editor.linkedEditing": true, // 启用或禁用链接编辑。 + "editor.stickyScroll.enabled": true, // 在编辑器顶部的滚动过程中显示嵌套的当前作用域。 + "editor.multiCursorModifier": "ctrlCmd", + "editor.accessibilitySupport": "off", // 控制编辑器是否应运行在无障碍模式下。 + "editor.cursorSmoothCaretAnimation": "on", // 启用或禁用光标平滑过渡动画。 + "editor.detectIndentation": false, // 控制在基于文件内容打开文件时是否自动检测 + "editor.fontLigatures": true, // 启用/禁用字体连字。 + "editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", + "editor.renderControlCharacters": true, // 控制编辑器是否应呈现控制字符。 + "editor.renderWhitespace": "selection", // 控制编辑器是否应呈现空格。 + "editor.smoothScrolling": true, // 控制编辑器是否使用动画滚动。 + // 控制键入时是否应自动显示建议。这可以用于在注释、字符串和其他代码中键入时进行控制。 + "editor.quickSuggestions": { + "comments": "on", + "strings": "on", + "other": "on" + }, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.fixAll.eslint": "explicit", + "source.fixAll.markdownlint": "explicit" + }, + "workbench.colorTheme": "One Dark Pro Darker", // 控制活动栏是否可见。 + "workbench.commandPalette.preserveInput": true, // 保留命令面板中的输入内容。 + "workbench.editor.scrollToSwitchTabs": true, // 控制在切换选项卡时是否滚动到顶部。 + "workbench.startupEditor": "welcomePage", // 控制在启动时打开的编辑器。 + "security.workspace.trust.untrustedFiles": "open", + /* ------------------------- Language configuration ------------------------- */ + "[vue]": { + "editor.defaultFormatter": "Vue.volar" + }, + "[javascript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" + }, + "[scss]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[markdown]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + /* ---------------------------------- emmet --------------------------------- */ + // emmet 包含 wxml 视为 html + "emmet.includeLanguages": { + "wxml": "html", + "vue": "html", + "vue-html": "html", + "javascript": "javascriptreact" + }, + // 用于 Emmet 代码片段的变量。 + "emmet.variables": { + "lang": "zh-CN", + "charset": "UTF-8" + }, + // 为指定的语法定义配置文件或使用带有特定规则的配置文件。 + "emmet.syntaxProfiles": { + "vue-html": "html", + "vue": "html" + }, + // "emmet.showAbbreviationSuggestions": true, // 在输入时显示 Emmet 缩写建议。 + // "emmet.showExpandedAbbreviation": "always", // 在输入时显示 Emmet 缩写展开。 + // "emmet.triggerExpansionOnTab": true, // 按 Tab 时会展开 Emmet 缩写,即使未显示完成。 + /* -------------------------------- leetcode -------------------------------- */ + // "leetcode.workspaceFolder": "/Users/another/.leetcode", // Mac Developer + "leetcode.endpoint": "leetcode-cn", + "leetcode.workspaceFolder": "C:\\Users\\ccuser\\.leetcode", + "leetcode.hint.setDefaultLanguage": false, + "leetcode.defaultLanguage": "javascript", + "leetcode.hint.commandShortcut": false, + "leetcode.hint.commentDescription": false, + "leetcode.hint.configWebviewMarkdown": false, + /* ---------------------------------- volar --------------------------------- */ + "vue.autoInsert.dotValue": true, // 在对象文字中插入点值。 + "vue.codeActions.enabled": false, // 启用代码操作。 + "vue.splitEditors.icon": true, // 在编辑器的标题区域显示分割编辑器图标。 + "vue.splitEditors.layout.left": ["script", "scriptSetup", "styles"], + "vue.splitEditors.layout.right": ["template", "customBlocks"], + "volar.format.initialIndent": { + "script": 0, + "scriptSetup": 0, + "style": 0, + "template": 0, + "customBlocks": 0 + }, + /* ----------------------------------- git ---------------------------------- */ + "git.enableSmartCommit": true, // 在没有暂存的更改时提交所有更改。 + "git.confirmSync": false, // 同步 Git 存储库前请先进行确认。 + "git.autofetch": true, // 在差异编辑器中忽略空格。 + "diffEditor.renderSideBySide": true, // 在差异编辑器中呈现差异的一侧。 + /* --------------------------------- gitlens -------------------------------- */ + "git.ignoreRebaseWarning": true, + "git-graph.date.format": "ISO Date & Time", + "gitlens.defaultDateFormat": "YYYY-MM-DD HH:mm", + "gitlens.defaultDateShortFormat": "YYYY-MM-DD", + "gitlens.defaultTimeFormat": "HH:mm", + "gitlens.gitCommands.closeOnFocusOut": true, + "gitlens.views.repositories.branches.layout": "list", + "gitlens.advanced.messages": { + "suppressCommitNotFoundWarning": true, + "suppressRebaseSwitchToTextWarning": true + }, + /* ----------------------------- Markdown Image ----------------------------- */ + "markdown-image.base.fileNameFormat": "${timestamp}", + "markdown-image.base.altFormat": "${rand,500}", + "markdown-image.base.uploadMethod": "S3", + "markdown-image.s3.bucketName": "temporaryx", + "markdown-image.s3.accessKeyId": "LTAI4GAD6En8Wp6vk1EoL8fF", + "markdown-image.s3.endpoint": "https://oss-cn-hongkong.aliyuncs.com", + "markdown-image.s3.region": "oss-cn-hongkong", + "markdown-image.s3.secretAccessKey": "WOjbplCSH3ymINSgMD7JL0GCVQsBzb", + "markdown-image.local.path": "./attachments", + /* ------------------------------ search/files ------------------------------ */ + // 搜索时排除文件。 + "search.exclude": { + "**/dist": true, + "**/node_modules": true, + "**/yarn.lock": true, + // "**/theme-reference": true, + "**/package-lock.json": true + }, + // 文件不会显示在工作空间 + "files.exclude": { + "**/.git": true + }, + "files.eol": "\r\n", // 换行符 + /* ----------------------------- turboConsoleLog ---------------------------- */ + "turboConsoleLog.quote": "`", + "turboConsoleLog.delimiterInsideMessage": "-", + "turboConsoleLog.includeFileNameAndLineNum": false, // 是否包含文件名和行号 + /* ----------------------------- 驼峰翻译助手 baidu ---------------------------- */ + "varTranslation.translationEngine": "baidu", + "varTranslation.baiduSecret": "20190710000316646,XnSV_tSrHPNLcq8aLvpv", + /* --------------------------------- 终端设置 -------------------------------- */ + "terminal.external.linuxExec": "bash", + "terminal.integrated.confirmOnExit": "hasChildProcesses", + "terminal.integrated.copyOnSelection": true, + "terminal.integrated.enableBell": true, + "terminal.integrated.defaultProfile.windows": "PowerShell", + "terminal.integrated.defaultProfile.linux": "bash", + "terminal.integrated.env.linux": { + "NODE_OPTIONS": "--max_old_space_size=4096" + }, + "terminal.integrated.env.windows": { + "NODE_OPTIONS": "--max_old_space_size=4096" + }, + "terminal.integrated.profiles.windows": { + "PowerShell": { + "source": "PowerShell", + "overrideName": true, + "icon": "terminal-powershell", + "args": ["-NoLogo"] + } + }, + "terminal.integrated.shellIntegration.enabled": true, + "terminal.integrated.smoothScrolling": true, + "terminal.integrated.tabs.enabled": true, + /* --------------------------------- npm --------------------------------- */ + "npm.enableRunFromFolder": true, + "npm.packageManager": "auto", + "npm.scriptExplorerAction": "run", + "npm-intellisense.importQuotes": "\"", + "npm-intellisense.packageSubfoldersIntellisense": true, + "npm-intellisense.scanDevDependencies": true, + "npm-intellisense.showBuildInLibs": true, + /* ---------------------------- // typescript 配置 ---------------------------- */ + "javascript.format.semicolons": "insert", + "javascript.referencesCodeLens.enabled": true, + "javascript.suggest.completeFunctionCalls": true, + "javascript.preferences.quoteStyle": "double", + "javascript.updateImportsOnFileMove.enabled": "always", + "typescript.locale": "zh-CN", + "typescript.enablePromptUseWorkspaceTsdk": true, + "typescript.format.semicolons": "insert", + "typescript.preferences.quoteStyle": "double", + "typescript.referencesCodeLens.enabled": true, + "typescript.suggest.completeFunctionCalls": true, + "typescript.updateImportsOnFileMove.enabled": "always", + /* -------------------------------- // eslint ------------------------------- */ + "eslint.validate": ["vue", "javascript", "typescript", "javascriptreact", "typescriptreact"], + /* -------------------------------- prettier -------------------------------- */ + "prettier.tabWidth": 2, // 缩进字节数 + "prettier.printWidth": 200, // 超过最大值换行 + "prettier.useTabs": false, // 使用tab缩进还是空格 + "prettier.semi": false, // 句尾添加分号 + "prettier.singleQuote": true, // 使用单引号代替双引号 + "prettier.proseWrap": "preserve", // 默认值。因为使用了一些折行敏感型的渲染器(如GitHub comment)而按照markdown文本样式进行折行 + "prettier.arrowParens": "avoid", // (x) => {} 箭头函数参数只有一个时是否要有小括号。avoid:省略括号 + "prettier.bracketSpacing": true, // 在对象,数组括号与文字之间加空格 "{ foo: bar }" + "prettier.endOfLine": "auto", // 结尾是 \n \r \n\r auto + "prettier.htmlWhitespaceSensitivity": "ignore", // html空白字符不敏感 + "prettier.ignorePath": ".prettierignore", // 不使用prettier格式化的文件填写在项目的.prettierignore文件中 + "prettier.jsxSingleQuote": false, // 在jsx中使用单引号代替双引号 + "prettier.requireConfig": false, // Require a 'prettierconfig' to format prettier + "prettier.trailingComma": "es5", // 在对象或数组最后一个元素后面是否加逗号(在ES5中加尾逗号) + /* ----------------------------- // markdown 设置 ----------------------------- */ + "markdown.validate.enabled": true, // 启用或禁用 Markdown 验证。 + "markdown.extension.orderedList.marker": "one", + "markdown.extension.print.imgToBase64": true, + /* --------------------------- // markdownlint 设置 --------------------------- */ + "markdownlint.config": { + "default": true, + "MD003": { + "style": "atx" + }, + "MD004": { + "style": "dash" + }, + "MD013": false, + "MD024": { + "allow_different_nesting": true + }, + "MD035": { + "style": "---" + } + }, + /* -------------------------------- 项目管理器 -------------------------------- */ + "projectManager.sortList": "Saved", + "projectManager.ignoreProjectsWithinProjects": true, + "projectManager.any.ignoredFolders": ["dist"], + "projectManager.git.baseFolders": ["C:/Users/ccuser/"], + /* -------------------------------- blockman -------------------------------- */ + // "editor.guides.indentation": false, // new API for indent guides. The old one is: "editor.renderIndentGuides": false, + // "editor.guides.bracketPairs": false, // advanced indent guides (But only for brackets) (This does not turn off editor.bracketPairColorization) + // "blockman.n21BorderRadius": 4, + // "blockman.n23AnalyzeSquareBrackets": true, + // "blockman.n24AnalyzeRoundBrackets": true, + // "blockman.n33A01B1FromDepth0ToInwardForAllBorders": "90,1,0,3; rgba(255, 255, 255, 0.05) > rgba(194, 59, 35, 0.35) > rgba(243, 154, 39, 0.35) > rgba(234, 218, 82, 0.35) > rgba(3, 192, 60, 0.35) > rgba(87, 154, 190, 0.35) > rgba(151, 110, 215, 0.35)", + // "blockman.n33A01B2FromDepth0ToInwardForAllBackgrounds": "90,0,0,3; none", + // "blockman.n33A05B1FromFocusToInwardForAllBorders": "100,0,0,0; rgba(255, 165, 0, 0.8)", + // "blockman.n34A01BorderThicknessOfNonFocusedBlock": 2, + // "blockman.n36A01MaxCharCountInAnyLine": 500 + /* ------------------------- highlight-matching-tag ------------------------- */ + "highlight-matching-tag.highlightFromContent": true, // 是否高亮内容中的标签。 + "highlight-matching-tag.highlightSelfClosing": true, // 是否高亮自闭标签。 + "highlight-matching-tag.styles": { + "opening": { "full": { "highlight": "rgba(165, 153, 233, 0.36)" } } + }, + /* ------------------------- material-icon-theme ------------------------ */ + "material-icon-theme.folders.associations": { + "global-components": "Global", + "node": "Node", + "about": "Command", + "intro": "Command", + "file": "Public", + "github": "GitHub", + "composables": "Include", + "service-worker": "config", + "store": "Vuex-store", + "demo": "Examples", + "basic": "Helper", + "vuex": "Vuex-store", + "module": "plugin", + "router": "Routes", + ".vuepress": "vue", + "vuepress": "vue", + "node-js": "Node", + "react": "React-components", + "workflows": "Ci", + "guide": "content", + "git": "Git", + "mysql": "DataBase", + "software": "App", + "tool": "Tools", + "vscode": "VSCode", + "en": "I18n", + "zh": "I18n", + "types": "typescript" + }, + /* ----------------------------------- 其他 ----------------------------------- */ + "window.commandCenter": true, // 将命令启动器与窗口标题一起显示。 + "window.closeWhenEmpty": true, + "window.titleBarStyle": "custom", + "window.dialogStyle": "custom", + "window.newWindowDimensions": "inherit", + "explorer.incrementalNaming": "smart", // 选择在粘贴同名文件(夹)时要使用的重命名方式。 + "extensions.ignoreRecommendations": false, // 在差异编辑器中忽略空格。 + "problems.showCurrentInStatus": true, // 启用后,状态栏中将显示当前问题。 + "typescript.preferences.importModuleSpecifierEnding": "js", + "javascript.preferences.importModuleSpecifierEnding": "js", + "settingsSync.ignoredExtensions": ["github.copilot", "github.copilot-chat"], + "github.copilot.enable": { + "*": true, + "plaintext": false, + "markdown": true, + "scminput": false + }, + "stylusSupremacy.insertColons": true, // 是否插入冒号 + "stylusSupremacy.insertSemicolons": true, // 是否插入分号 + "stylusSupremacy.insertBraces": true, // 是否插入大括号 + "stylusSupremacy.insertNewLineAroundImports": true, // import之后是否换行 + "stylusSupremacy.insertNewLineAroundBlocks": true, + "diffEditor.ignoreTrimWhitespace": false, + "animations.Install-Method": "Custom CSS and JS", + "vscode_custom_css.imports": ["file:///c:/Users/ccuser/.vscode/extensions/brandonkirbyson.vscode-animations-2.0.1/dist/updateHandler.js"] +} diff --git a/users.1.txt b/douyin-tool/users.1.txt similarity index 100% rename from users.1.txt rename to douyin-tool/users.1.txt diff --git a/users.txt b/douyin-tool/users.txt similarity index 100% rename from users.txt rename to douyin-tool/users.txt diff --git "a/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.html" "b/douyin-tool/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.html" similarity index 100% rename from "\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.html" rename to "douyin-tool/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.html" diff --git "a/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.py" "b/douyin-tool/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.py" similarity index 100% rename from "\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.py" rename to "douyin-tool/\346\240\271\346\215\256\346\212\226\351\237\263\344\275\234\350\200\205DOM\345\205\203\347\264\240\346\217\220\345\217\226\347\224\250\346\210\267\347\232\204\346\230\265\347\247\260\343\200\201\345\244\264\345\203\217\343\200\201\345\234\260\345\235\200\343\200\201\347\256\200\344\273\213\346\217\217\350\277\260.py"