-
- Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
- References are at the end of the document.
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
| name: Protobuf Codegen | |
| concurrency: protobuf-gen | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| protobuf_gen_golang: | |
| runs-on: ubuntu-latest |
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
| // ==UserScript== | |
| // @name GitHub Repo Size Display | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @license MIT | |
| // @description Display repository size on GitHub repository pages | |
| // @author RainbowBird | |
| // @match https://github.com/* | |
| // @grant GM_xmlhttpRequest | |
| // @connect api.github.com |
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
| // ==UserScript== | |
| // @name GitHub Issue 快速编辑器 | |
| // @namespace https://github.com/ | |
| // @version 0.2.2 | |
| // @description 通过点击 GitHub Issue 标题栏快速进入编辑模式 | |
| // @author RainbowBird | |
| // @match https://github.com/*/*/issues/* | |
| // @match https://github.com/*/*/issues | |
| // @grant none | |
| // @run-at document-end |
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
| { | |
| "workbench.colorTheme": "Default Dark+", | |
| "window.titleBarStyle": "custom", | |
| "editor.scrollbar.vertical": "visible", | |
| "editor.scrollbar.horizontal": "visible", | |
| "editor.scrollbar.verticalScrollbarSize": 8, | |
| "editor.scrollbar.horizontalScrollbarSize": 8, | |
| "breadcrumbs.showFiles": true, | |
| "breadcrumbs.showArrays": false, | |
| "breadcrumbs.showBooleans": false, |
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
| #!/bin/bash | |
| # Define colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' | |
| NC='\033[0m' | |
| # Define package groups | |
| MIRROR="https://mirrors.tuna.tsinghua.edu.cn/ubuntu" |
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
| # 检查当前用户是否具有管理员权限 | |
| if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
| Write-Host "请以管理员身份运行此脚本。" | |
| exit | |
| } | |
| # 注册表路径 | |
| $regPath = "HKLM:\SYSTEM\CurrentControlSet\Enum\HID" | |
| # 获取所有以 VID_ 开头的设备 |
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
| .editor-group-watermark > .letterpress{ | |
| background-image: url(https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png) !important; | |
| opacity: .75; | |
| } |
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
| patch: | |
| # 菜单 | |
| menu: | |
| page_size: 8 # 候选词个数 | |
| # alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签 | |
| # alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键 | |
| # ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml | |
| # 中西文切换 | |
| # | |
| # 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。 |
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 requests | |
| import json | |
| import random | |
| Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid=' | |
| headers = { | |
| 'Cookie': "Replace Me With REAL COOKIE" , | |
| 'Pragma': 'no-cache', |
NewerOlder