Skip to content

Instantly share code, notes, and snippets.

@2045gemini
2045gemini / 懒人覆写模板.js
Last active November 25, 2025 16:39
懒人配置js覆写模板mihomo (Clash Meta)
// Mihomo (Clash Meta) 通用 JavaScript 覆写脚本模板 v1.1
// By: 2045gemini
//
// 导入链接:https://gist.githubusercontent.com/2045gemini/4aea375b94c60a883f8e6c16ca3875b8/raw/d6779c142d9a298436f99a7bfc277610c52f49a1/%25E6%2587%2592%25E4%25BA%25BA%25E8%25A6%2586%25E5%2586%2599%25E6%25A8%25A1%25E6%259D%25BF.js
// ghfast.top加速导入链接(适用于无proxy):https://ghfast.top/https://gist.githubusercontent.com/2045gemini/4aea375b94c60a883f8e6c16ca3875b8/raw/d6779c142d9a298436f99a7bfc277610c52f49a1/%25E6%2587%2592%25E4%25BA%25BA%25E8%25A6%2586%25E5%2586%2599%25E6%25A8%25A1%25E6%259D%25BF.js
//
// 这是一个 Mihomo (Clash Meta) "懒人配置" 的补充覆写脚本模板。
// 感谢原作者 笨蛋ovo (bdovo.cc) 的懒人配置!
// 懒人配置 Gist 地址: https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
// Clash Meta 文档 (官方 Wiki): https://wiki.metacubex.one
@liuran001
liuran001 / config.yaml
Last active December 8, 2025 03:02
mihomo (Clash Meta) 懒人配置
# AFF
# 如果你想支持我,可以通过我的邀请链接购买机场
# 感谢支持
# 1. 倾城极速 邀请码: 0jiB5uAA https://qcjs.ovh/#/register?code=0jiB5uAA
# 2. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH
# 一定要填我的邀请码,不填我哭给你看😭
# mihomo (Clash Meta) 懒人配置
# 版本 V1.22-250718
@matinrco
matinrco / gitProxy.md
Last active June 15, 2025 07:10
Configure git/ssh to use socks/http proxy in windows, linux & wsl2

Windows

Add this to your ssh config file ( which is located in %USERPROFILE%\.ssh\config ) or create one if it's missing:

Http proxy & repo access via ssh:

Host *
    ProxyCommand "C:/Program Files/Git/mingw64/bin/connect.exe" -H {proxyserver}:{port} %h %p

or (for specific host name)

Host gitlab.com
@vitaLee
vitaLee / compact_expand_css_command.py
Created June 3, 2012 13:26
SublimeText command for compacting/expanding CSS rules
import sublime
import sublime_plugin
import re
class CompactExpandCssCommand(sublime_plugin.TextCommand):
def run(self, edit, action='compact'):
rule_starts = self.view.find_all('\{')
rule_ends = self.view.find_all('\}')