Skip to content

Instantly share code, notes, and snippets.

@wangshuai-007
wangshuai-007 / JetBrainsTrial.bat
Created September 2, 2026 06:54 — forked from Tapanhaz/JetBrainsTrial.bat
Infinite Jetbrains Resharper trial
:: This bat file can be used to renew Resharper C# and Resharper C++ every time it runs out
:: It most likely works for all Jetbrains tools, however, I did not test this.
:: I was not able to find the original author for the reg key and the folders that needs to be deleted so if that is you feel free to reach out for credit
@echo off
setlocal enableDelayedExpansion
:confirm
echo Did you stop all Jetbrains services?
echo Jetbrains toolbox AND any other tool using it such as Rider, Visual Studio, ...
@wangshuai-007
wangshuai-007 / miniprogram.html
Last active May 30, 2026 05:56
微信小程序跳转导航页,使用前配置miniProgramGroups对象即可;每个appid 支持设置 name(名称,必须), icon(图标) testUrl(体验环境地址)和prodUrl(正式环境地址)
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>小程序跳转页</title>
<style>
:root {
--bg: linear-gradient(135deg, #f6fbff 0%, #eef6f2 100%);
--card: rgba(255, 255, 255, 0.92);
@wangshuai-007
wangshuai-007 / append-label-id.user.js
Last active April 25, 2026 16:45
当选中元素包含 .label.label-id 时,把其值按模板追加到元素末尾;用于禅道10.0.alpha
// ==UserScript==
// @name Append label-id on selected element
// @namespace https://tampermonkey.net/
// @description 当选中元素包含 .label.label-id 时,把其值按模板追加到元素末尾;用于禅道10.0.alpha
// @author 王帅
// @match *://*/*
// @version 0.1.3
// @updateURL https://gist.github.com/wangshuai-007/0f040ebf7076c0290a1d1b1a7e5a0d3c/raw/append-label-id.user.js
// @downloadURL https://gist.github.com/wangshuai-007/0f040ebf7076c0290a1d1b1a7e5a0d3c/raw/append-label-id.user.js
// @grant GM_getValue
@wangshuai-007
wangshuai-007 / README.md
Last active August 7, 2026 02:11
clash verge mihomo 扩展脚本 实现appendProxies appendProxyGroups prependRules

Mihomo/Sub-Store 配置增强脚本

修改 实现 Clash for Windows 中的 Parsers 的 prepend-rules append-proxies append-proxy-groups 功能

本脚本用于在原有 Mihomo 配置基础上,动态追加:

  • 自定义代理(appendProxies)
  • 自定义策略组(appendProxyGroups)
  • 自定义规则(prependRules)